theBenForce/data-migration

View on GitHub
packages/data-migration/CHANGELOG.md

Summary

Maintainability
Test Coverage
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.17.0](https://github.com/theBenForce/data-migration/compare/data-migration@2.16.1...data-migration@2.17.0) (2020-10-30)


### Features

* pass parameters on driver load ([70b9193](https://github.com/theBenForce/data-migration/commit/70b91931cc3307cb90165e67994f7384dc23590c))





## [2.16.1](https://github.com/theBenForce/data-migration/compare/data-migration@2.16.0...data-migration@2.16.1) (2020-10-30)


### Bug Fixes

* **processor:** use stage default parameters ([7419835](https://github.com/theBenForce/data-migration/commit/741983578267a789019f96adcdd64131f0746cb3))





# [2.16.0](https://github.com/theBenForce/data-migration/compare/data-migration@2.15.1...data-migration@2.16.0) (2020-10-30)


### Features

* **context:** lazy load driver parameters ([6480456](https://github.com/theBenForce/data-migration/commit/6480456d76871fb990acc8d090f4369486029a29))





## [2.15.1](https://github.com/theBenForce/data-migration/compare/data-migration@2.15.0...data-migration@2.15.1) (2020-07-07)


### Bug Fixes

* clear drivers used list after every script ([2083364](https://github.com/theBenForce/data-migration/commit/2083364b6ff9446a8c726807749b5e486e0d0146))





# [2.15.0](https://github.com/theBenForce/data-migration/compare/data-migration@2.14.1...data-migration@2.15.0) (2020-07-07)


### Features

* sort scripts ([411125a](https://github.com/theBenForce/data-migration/commit/411125aacc31a8d3dbf599e370a4bad4e151dcab))





## [2.14.1](https://github.com/theBenForce/data-migration/compare/data-migration@2.14.0...data-migration@2.14.1) (2020-07-07)


### Bug Fixes

* search for scripts on 2 levels deep ([8cebe72](https://github.com/theBenForce/data-migration/commit/8cebe726fa41e8df8ef31e9a5070ccf6538c6c51))





# [2.14.0](https://github.com/theBenForce/data-migration/compare/data-migration@2.13.0...data-migration@2.14.0) (2020-07-07)


### Features

* log script finding process ([6a77e90](https://github.com/theBenForce/data-migration/commit/6a77e906c45d5bb5cf90e25d8437649d2e51931a))





# [2.13.0](https://github.com/theBenForce/data-migration/compare/data-migration@2.12.1...data-migration@2.13.0) (2020-07-07)


### Features

* convert scope flag to a glob ([38df3dd](https://github.com/theBenForce/data-migration/commit/38df3dd88fc05cb4ab3f772a9dedfcabb1970cd8))





## [2.12.1](https://github.com/theBenForce/data-migration/compare/data-migration@2.12.0...data-migration@2.12.1) (2020-06-25)


### Bug Fixes

* set __dirname and __filename to proper values ([9eb3005](https://github.com/theBenForce/data-migration/commit/9eb300589aaa085d481b05050911b1946005d9fc))
* set __filename and __dirname ([a6a86f5](https://github.com/theBenForce/data-migration/commit/a6a86f56e65317060abdd4198996ead2d897c83e))
* undo adding parameters ([77cbd24](https://github.com/theBenForce/data-migration/commit/77cbd2471e60268761ec15fb1fe4c3a2fa2b2f01))





# [2.12.0](https://github.com/theBenForce/data-migration/compare/data-migration@2.11.0...data-migration@2.12.0) (2020-06-24)


### Features

* add sql file task ([00d2aa2](https://github.com/theBenForce/data-migration/commit/00d2aa247b5d422ebabc10a81341e903262e1f7f))





# [2.11.0](https://github.com/theBenForce/data-migration/compare/data-migration@2.10.0...data-migration@2.11.0) (2020-06-17)


### Bug Fixes

* make parameters optional ([dc43cf1](https://github.com/theBenForce/data-migration/commit/dc43cf145c9f88056604dd971f8ed7fb11f2cd70))


### Features

* add insert method ([010ddfd](https://github.com/theBenForce/data-migration/commit/010ddfd863e108c5e8a6be7865662d346975a6c4))





# [2.10.0](https://github.com/theBenForce/data-migration/compare/data-migration@2.9.5...data-migration@2.10.0) (2020-06-05)


### Features

* pass cli flags to configuration ([f2def84](https://github.com/theBenForce/data-migration/commit/f2def847571d5cd28b4c70d4f5600a0e37c40756))





## [2.9.5](https://github.com/theBenForce/data-migration/compare/data-migration@2.9.4...data-migration@2.9.5) (2020-05-27)


### Bug Fixes

* update data-migration version ([a8818db](https://github.com/theBenForce/data-migration/commit/a8818db1c6c1425c6dc15943158289b4359b8aec))





## [2.8.2](https://github.com/theBenForce/data-migration/compare/data-migration@2.8.1...data-migration@2.8.2) (2020-04-08)


### Bug Fixes

* log error message when loading fails ([315a0a0](https://github.com/theBenForce/data-migration/commit/315a0a01720730d0ebd6961ca2e27a16571eca3b))





## [2.8.1](https://github.com/theBenForce/data-migration/compare/data-migration@2.8.0...data-migration@2.8.1) (2020-04-08)


### Bug Fixes

* **data-migration:** log script compilation errors ([ecc9ec5](https://github.com/theBenForce/data-migration/commit/ecc9ec5e7802f3cf63ddd8fafc0d132dc558065a)), closes [#22](https://github.com/theBenForce/data-migration/issues/22)





# [2.8.0](https://github.com/theBenForce/data-migration/compare/data-migration@2.7.2...data-migration@2.8.0) (2020-03-10)


### Features

* add scope parameter ([ecd1567](https://github.com/theBenForce/data-migration/commit/ecd156708067f3adb09f41bda59b4f491c397433))





## [2.7.2](https://github.com/theBenForce/data-migration/compare/data-migration@2.7.1...data-migration@2.7.2) (2020-03-10)


### Bug Fixes

* update DriverBuilder ([82609c5](https://github.com/theBenForce/data-migration/commit/82609c556a645bde0251f3de6fb4116810cf5c3a))





## [2.7.1](https://github.com/theBenForce/data-migration/compare/data-migration@2.7.0...data-migration@2.7.1) (2020-03-09)


### Bug Fixes

* allow parameters to be anything ([312438a](https://github.com/theBenForce/data-migration/commit/312438a97c3341f390774fc49935d281347f3885))





# [2.7.0](https://github.com/theBenForce/data-migration/compare/data-migration@2.6.8...data-migration@2.7.0) (2020-03-06)


### Features

* add dynamodb bulk delete operations ([c00ec02](https://github.com/theBenForce/data-migration/commit/c00ec02c1913c0a68fe5ed262636d1bd680e96ae))





## [2.6.8](https://github.com/theBenForce/data-migration/compare/data-migration@2.6.7...data-migration@2.6.8) (2020-03-06)


### Bug Fixes

* overwrite default parameters ([a4f9cdb](https://github.com/theBenForce/data-migration/commit/a4f9cdb42295d45700bf46a0415e15487100e16b))





## [2.6.7](https://github.com/theBenForce/data-migration/compare/data-migration@2.6.6...data-migration@2.6.7) (2020-03-06)


### Bug Fixes

* get param values from sourceParams ([2c1694f](https://github.com/theBenForce/data-migration/commit/2c1694f23515792950c0198118370a9d3fe0016f))





## [2.6.6](https://github.com/theBenForce/data-migration/compare/data-migration@2.6.5...data-migration@2.6.6) (2020-03-06)


### Bug Fixes

* properly copy context parameters ([d3f4e8e](https://github.com/theBenForce/data-migration/commit/d3f4e8e8ecd20722005440cf21a162b3583fe2b5))





## [2.6.5](https://github.com/theBenForce/data-migration/compare/data-migration@2.6.4...data-migration@2.6.5) (2020-03-06)


### Bug Fixes

* load default parameters into context ([990f4df](https://github.com/theBenForce/data-migration/commit/990f4df5fade3acab4ee2957cc4d9442e671627b))





## [2.6.4](https://github.com/theBenForce/data-migration/compare/data-migration@2.6.3...data-migration@2.6.4) (2020-03-06)


### Bug Fixes

* make drivers optional ([ee34f47](https://github.com/theBenForce/data-migration/commit/ee34f47f26fb300d431e6237ef5fb4bfd7cb51f3))





## [2.6.3](https://github.com/theBenForce/data-migration/compare/data-migration@2.6.2...data-migration@2.6.3) (2020-03-06)


### Bug Fixes

* update homepage ([a84eadf](https://github.com/theBenForce/data-migration/commit/a84eadf4f6aedb777ca686a524b9ce1851bf4b15))





## [2.6.2](https://github.com/theBenForce/data-migration/compare/data-migration@2.6.1...data-migration@2.6.2) (2020-03-06)


### Bug Fixes

* remove src references ([1536992](https://github.com/theBenForce/data-migration/commit/1536992d37a900ab13ff07c15f8e0b697b65209d))





## [2.6.1](https://github.com/theBenForce/data-migration/compare/data-migration@2.6.0...data-migration@2.6.1) (2020-03-06)


### Bug Fixes

* use generic driver ([7308f8e](https://github.com/theBenForce/data-migration/commit/7308f8e3a3d5ccc1e59a695294521cc4c01eb130))





# [2.6.0](https://github.com/theBenForce/data-migration/compare/data-migration@2.5.0...data-migration@2.6.0) (2020-03-06)


### Features

* use export default ([44e0998](https://github.com/theBenForce/data-migration/commit/44e0998215dad652a980ab14e4e82dff69c41740))





# [2.5.0](https://github.com/theBenForce/data-migration/compare/data-migration@2.4.0...data-migration@2.5.0) (2020-03-06)


### Features

* use typescript configuration files ([c3636e2](https://github.com/theBenForce/data-migration/commit/c3636e288beb292cb8af3fa69192a0aff927f8cf))





# [2.4.0](https://github.com/theBenForce/data-migration/compare/data-migration@2.3.0...data-migration@2.4.0) (2020-03-06)


### Features

* get physical resource ids ([ce6ebc2](https://github.com/theBenForce/data-migration/commit/ce6ebc2e6c509332d56e4777d7332245fad6202b))





# [2.3.0](https://github.com/theBenForce/data-migration/compare/data-migration@2.2.3...data-migration@2.3.0) (2020-03-05)


### Features

* add description to migration scripts ([0fb3fe3](https://github.com/theBenForce/data-migration/commit/0fb3fe3458a0e24893b40ac12f259784ad03d0b8))





## [2.2.3](https://github.com/theBenForce/data-migration/compare/data-migration@2.2.2...data-migration@2.2.3) (2020-03-05)


### Bug Fixes

* show more information while loading scripts ([96f20b6](https://github.com/theBenForce/data-migration/commit/96f20b6f42f683787d1a3f6a8cf9e009439339c3))





## [2.2.2](https://github.com/theBenForce/data-migration/compare/data-migration@2.2.1...data-migration@2.2.2) (2020-03-05)


### Bug Fixes

* show available drivers when one isn't found ([ee98386](https://github.com/theBenForce/data-migration/commit/ee983864decf57a72596a878e1c47529b099d603))





## [2.2.1](https://github.com/theBenForce/data-migration/compare/data-migration@2.2.0...data-migration@2.2.1) (2020-03-05)


### Bug Fixes

* send error to subscriber ([ff94509](https://github.com/theBenForce/data-migration/commit/ff94509b8120af3aec1a86fc6e4523aab44d42fb))





# [2.2.0](https://github.com/theBenForce/data-migration/compare/data-migration@2.1.0...data-migration@2.2.0) (2020-03-05)


### Features

* show logs in cli ([8f18f3d](https://github.com/theBenForce/data-migration/commit/8f18f3d7bfb42cfa3a76d28956b91a6aade6b6dc))





# [2.1.0](https://github.com/theBenForce/data-migration/compare/data-migration@2.0.0...data-migration@2.1.0) (2020-03-05)


### Features

* track execution times ([3a2a708](https://github.com/theBenForce/data-migration/commit/3a2a70869b441c776f7835edfb101a0ac03def95))





# [2.0.0](https://github.com/theBenForce/data-migration/compare/data-migration@1.3.1...data-migration@2.0.0) (2020-03-04)


### Bug Fixes

* remove GetDownScripts ([bdaac1a](https://github.com/theBenForce/data-migration/commit/bdaac1a6b10d4a59ade6a2c5519c2bcee4afac0a))
* **config:** rename context params and drivers ([630c359](https://github.com/theBenForce/data-migration/commit/630c3597ebada4ef50a463a1bb7464f5959a8dac))
* update driver type names ([1907689](https://github.com/theBenForce/data-migration/commit/19076899a0124527973006d53ea6d8ec677472c6))


### Features

* add dynamodb tracker ([30d5456](https://github.com/theBenForce/data-migration/commit/30d54564ff40bf3731c8ccaf5f53dcfb78bb7339))
* use execution trackers ([dda6d3d](https://github.com/theBenForce/data-migration/commit/dda6d3d75c5b6e72d3e05c6c511005eeeafa0692))
* use new getScripts function ([cecdeb2](https://github.com/theBenForce/data-migration/commit/cecdeb21accca7dcf5f4b683f13d37bde1259c4a))
* use the tracker to determine if an up script should run ([da3ff74](https://github.com/theBenForce/data-migration/commit/da3ff74ef8ac2560ed98d998ef67f284b56e03ef))
* **config:** add tracker stage property ([109c3ac](https://github.com/theBenForce/data-migration/commit/109c3acd02db7de2783e5e49b50322c1bd4316ea))
* create execution tracker interfaces ([0e6a8a3](https://github.com/theBenForce/data-migration/commit/0e6a8a366b4b68f3bb32589cff363ecbf886924e))


### BREAKING CHANGES

* **config:** moves driver configuration to drivers property





## [1.3.1](https://github.com/theBenForce/data-migration/compare/data-migration@1.3.0...data-migration@1.3.1) (2020-03-04)


### Bug Fixes

* export driver types ([9861d7b](https://github.com/theBenForce/data-migration/commit/9861d7bc875e5122b8117fb0073700ed96417ff3))





# [1.3.0](https://github.com/theBenForce/data-migration/compare/data-migration@1.2.3...data-migration@1.3.0) (2020-03-04)


### Features

* allow bulk uploads to dynamodb ([a94c777](https://github.com/theBenForce/data-migration/commit/a94c777fd9c1ab052a2d4abf048add124a4f94f4))





## [1.2.3](https://github.com/theBenForce/data-migration/compare/data-migration@1.2.2...data-migration@1.2.3) (2020-03-04)


### Bug Fixes

* make init and cleanup driver methods optional ([0456ea8](https://github.com/theBenForce/data-migration/commit/0456ea889fab04312adcf70dd983c8e623b1eaad))





## [1.2.2](https://github.com/theBenForce/data-migration/compare/data-migration@1.2.1...data-migration@1.2.2) (2020-03-04)


### Bug Fixes

* export driver types ([2cb6f66](https://github.com/theBenForce/data-migration/commit/2cb6f669ca9d6f08904f3a38562fc485da3f35c7))





## [1.2.1](https://github.com/theBenForce/data-migration/compare/data-migration@1.2.0...data-migration@1.2.1) (2020-03-04)


### Bug Fixes

* dont try to load non-existing drivers ([1160b4b](https://github.com/theBenForce/data-migration/commit/1160b4b6a11366638afd7791cd5bc7038613e648))





# [1.2.0](https://github.com/theBenForce/data-migration/compare/data-migration@1.1.0...data-migration@1.2.0) (2020-03-04)


### Bug Fixes

* add stage params property ([29188e7](https://github.com/theBenForce/data-migration/commit/29188e7dd5a0b261443e49a7da357f3cc95a370c))


### Features

* add defaultParams config property ([60af69e](https://github.com/theBenForce/data-migration/commit/60af69e52bb7d57a251278091dc003dc40c8c84d))
* allow queries to be excluded from transaction ([209ac1f](https://github.com/theBenForce/data-migration/commit/209ac1fc98a98f065354e7397c858701ea322c8d))





# 1.1.0 (2020-03-03)


### Bug Fixes

* **build:** fix the build process ([44a1dee](https://github.com/theBenForce/data-migration/commit/44a1dee9335b7d291ec7f82250c49836f80e8873))
* update package names ([f21fd83](https://github.com/theBenForce/data-migration/commit/f21fd83710b0a282b0f1527f983ebf03b4e79050))


### Features

* add dynamodb getAllRecords ([c636999](https://github.com/theBenForce/data-migration/commit/c63699987063f2c8dcd68e88231c76347715056a))
* initial working version of dynamodb driver ([6cad955](https://github.com/theBenForce/data-migration/commit/6cad955c73e9e100fff99e54110fd20b7d38c335))
* **data-migration:** create nosql driver interface ([2f93eda](https://github.com/theBenForce/data-migration/commit/2f93edae8e5812e28fd998a876068e61b94b3df3))