diff --git a/.changeset/big-cats-yell.md b/.changeset/big-cats-yell.md deleted file mode 100644 index 6bb82d0..0000000 --- a/.changeset/big-cats-yell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/mysql': minor ---- - -Implement the first version of the MySQL plugin package. It's three plugins in one: a storage plugin for storing migration history in a MySQL database, a loader plugin for executing migration files written in plain sql and a generator plugin for generating migration file skeletons with the .sql extension. diff --git a/.changeset/calm-grapes-arrive.md b/.changeset/calm-grapes-arrive.md deleted file mode 100644 index 1c56a4b..0000000 --- a/.changeset/calm-grapes-arrive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/plugin-tools': minor ---- - -Add "end" method to storage plugins so they can cleanup resources when a command is finished diff --git a/.changeset/eight-moles-tell.md b/.changeset/eight-moles-tell.md deleted file mode 100644 index 28716d0..0000000 --- a/.changeset/eight-moles-tell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/mysql': patch ---- - -Fix issue with closing the connection pool too early diff --git a/.changeset/friendly-bears-trade.md b/.changeset/friendly-bears-trade.md deleted file mode 100644 index 8e5df61..0000000 --- a/.changeset/friendly-bears-trade.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/storage-fs': minor ---- - -Handle the serialized errors coming from Emigrate, so no need to serialize errors ourselves diff --git a/.changeset/gold-suits-judge.md b/.changeset/gold-suits-judge.md deleted file mode 100644 index 30cc55c..0000000 --- a/.changeset/gold-suits-judge.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/plugin-tools': minor ---- - -Add serializeError utility function for serializing Error instances diff --git a/.changeset/healthy-flies-divide.md b/.changeset/healthy-flies-divide.md deleted file mode 100644 index 66565c7..0000000 --- a/.changeset/healthy-flies-divide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/storage-fs': minor ---- - -Implement an empty "end" method for cleaning up diff --git a/.changeset/large-plants-smoke.md b/.changeset/large-plants-smoke.md deleted file mode 100644 index 39108dd..0000000 --- a/.changeset/large-plants-smoke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': patch ---- - -Handle storage initialization errors in the "list" and "remove" commands diff --git a/.changeset/light-fans-relate.md b/.changeset/light-fans-relate.md deleted file mode 100644 index 851eb8c..0000000 --- a/.changeset/light-fans-relate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -Handle storage initialization errors and show missing loader plugin errors in a better way diff --git a/.changeset/sixty-horses-kiss.md b/.changeset/sixty-horses-kiss.md deleted file mode 100644 index b7374b7..0000000 --- a/.changeset/sixty-horses-kiss.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -Serialize errors before passing them to the storage so that storage plugins doesn't have to care about serialization of errors diff --git a/.changeset/thick-forks-knock.md b/.changeset/thick-forks-knock.md deleted file mode 100644 index b4e6fb3..0000000 --- a/.changeset/thick-forks-knock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emigrate/cli': minor ---- - -Call storage.end() to cleanup resources when a command has finished diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index ca86f4b..2f18d1a 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,20 @@ # @emigrate/cli +## 0.6.0 + +### Minor Changes + +- a8db226: Handle storage initialization errors and show missing loader plugin errors in a better way +- c1d5597: Serialize errors before passing them to the storage so that storage plugins doesn't have to care about serialization of errors +- 703e6f0: Call storage.end() to cleanup resources when a command has finished + +### Patch Changes + +- 703e6f0: Handle storage initialization errors in the "list" and "remove" commands +- Updated dependencies [703e6f0] +- Updated dependencies [c1d5597] + - @emigrate/plugin-tools@0.5.0 + ## 0.5.1 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index e8090f0..0cd8f8d 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/cli", - "version": "0.5.1", + "version": "0.6.0", "publishConfig": { "access": "public" }, diff --git a/packages/mysql/CHANGELOG.md b/packages/mysql/CHANGELOG.md new file mode 100644 index 0000000..4bc4d7a --- /dev/null +++ b/packages/mysql/CHANGELOG.md @@ -0,0 +1,14 @@ +# @emigrate/mysql + +## 0.1.0 + +### Minor Changes + +- 334e209: Implement the first version of the MySQL plugin package. It's three plugins in one: a storage plugin for storing migration history in a MySQL database, a loader plugin for executing migration files written in plain sql and a generator plugin for generating migration file skeletons with the .sql extension. + +### Patch Changes + +- 703e6f0: Fix issue with closing the connection pool too early +- Updated dependencies [703e6f0] +- Updated dependencies [c1d5597] + - @emigrate/plugin-tools@0.5.0 diff --git a/packages/mysql/package.json b/packages/mysql/package.json index 95f321a..71fc789 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/mysql", - "version": "0.0.0", + "version": "0.1.0", "publishConfig": { "access": "public" }, diff --git a/packages/plugin-generate-js/CHANGELOG.md b/packages/plugin-generate-js/CHANGELOG.md index cdc1329..a4b9c14 100644 --- a/packages/plugin-generate-js/CHANGELOG.md +++ b/packages/plugin-generate-js/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/plugin-generate-js +## 0.2.4 + +### Patch Changes + +- Updated dependencies [703e6f0] +- Updated dependencies [c1d5597] + - @emigrate/plugin-tools@0.5.0 + ## 0.2.3 ### Patch Changes diff --git a/packages/plugin-generate-js/package.json b/packages/plugin-generate-js/package.json index deb45cb..2ba5f75 100644 --- a/packages/plugin-generate-js/package.json +++ b/packages/plugin-generate-js/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/plugin-generate-js", - "version": "0.2.3", + "version": "0.2.4", "publishConfig": { "access": "public" }, diff --git a/packages/plugin-tools/CHANGELOG.md b/packages/plugin-tools/CHANGELOG.md index b1b1222..9456cb2 100644 --- a/packages/plugin-tools/CHANGELOG.md +++ b/packages/plugin-tools/CHANGELOG.md @@ -1,5 +1,12 @@ # @emigrate/plugin-tools +## 0.5.0 + +### Minor Changes + +- 703e6f0: Add "end" method to storage plugins so they can cleanup resources when a command is finished +- c1d5597: Add serializeError utility function for serializing Error instances + ## 0.4.1 ### Patch Changes diff --git a/packages/plugin-tools/package.json b/packages/plugin-tools/package.json index d31504e..d6632e1 100644 --- a/packages/plugin-tools/package.json +++ b/packages/plugin-tools/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/plugin-tools", - "version": "0.4.1", + "version": "0.5.0", "publishConfig": { "access": "public" }, diff --git a/packages/reporter-pino/CHANGELOG.md b/packages/reporter-pino/CHANGELOG.md index 33087f7..6f15f8a 100644 --- a/packages/reporter-pino/CHANGELOG.md +++ b/packages/reporter-pino/CHANGELOG.md @@ -1,5 +1,13 @@ # @emigrate/reporter-pino +## 0.1.1 + +### Patch Changes + +- Updated dependencies [703e6f0] +- Updated dependencies [c1d5597] + - @emigrate/plugin-tools@0.5.0 + ## 0.1.0 ### Minor Changes diff --git a/packages/reporter-pino/package.json b/packages/reporter-pino/package.json index 59f3d13..ea6c0cf 100644 --- a/packages/reporter-pino/package.json +++ b/packages/reporter-pino/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/reporter-pino", - "version": "0.1.0", + "version": "0.1.1", "publishConfig": { "access": "public" }, diff --git a/packages/storage-fs/CHANGELOG.md b/packages/storage-fs/CHANGELOG.md index 1b783b9..2b5f3ff 100644 --- a/packages/storage-fs/CHANGELOG.md +++ b/packages/storage-fs/CHANGELOG.md @@ -1,5 +1,18 @@ # @emigrate/storage-fs +## 0.3.0 + +### Minor Changes + +- c1d5597: Handle the serialized errors coming from Emigrate, so no need to serialize errors ourselves +- 703e6f0: Implement an empty "end" method for cleaning up + +### Patch Changes + +- Updated dependencies [703e6f0] +- Updated dependencies [c1d5597] + - @emigrate/plugin-tools@0.5.0 + ## 0.2.1 ### Patch Changes diff --git a/packages/storage-fs/package.json b/packages/storage-fs/package.json index a62f0c0..b9f7d21 100644 --- a/packages/storage-fs/package.json +++ b/packages/storage-fs/package.json @@ -1,6 +1,6 @@ { "name": "@emigrate/storage-fs", - "version": "0.2.1", + "version": "0.3.0", "publishConfig": { "access": "public" },