Releases: salsita/node-pg-migrate
v7.0.0-alpha.2
New & Noteworthy
- The CLI is now TypeScript checked and therefore also got some slightly rework #1066
hopefully nothing broke - The internal
createSchemalize
function now uses options instead of two boolean args #1058
You should mostly not be affected by this, expect from extreme programmatic use-cases utils
got restructured #1053
this should not have changed anything from the usage
What's Changed
- chore(utils): restructure utils by @Shinigami92 in #1053
- chore(utils): improve createTransformer by @Shinigami92 in #1054
- test(utils): enhance escapeValue by @Shinigami92 in #1055
- test(utils): enhance StringIdGenerator by @Shinigami92 in #1056
- chore(utils): allow immutable in utils types by @Shinigami92 in #1057
- refactor(utils): improve createSchemalize by @Shinigami92 in #1058
- test(utils): test utils formatLines by @Shinigami92 in #1059
- chore(utils): allow immutable in utils format by @Shinigami92 in #1060
- test(utils): test utils getMigrationTableSchema by @Shinigami92 in #1061
- chore(utils): allow immutable in utils getSchema by @Shinigami92 in #1062
- chore(utils): add shortcut to isPgLiteral by @Shinigami92 in #1063
- chore(utils): improve makeComment by @Shinigami92 in #1064
- infra: ts-check tests by @Shinigami92 in #1065
- chore(cli): cleanup cli by @Shinigami92 in #1066
- release: 7.0.0-alpha.2 by @Shinigami92 in #1067
Full Changelog: v7.0.0-alpha.1...v7.0.0-alpha.2
v7.0.0-alpha.1
New & Noteworthy
- This release fixes some whitespace issues (dropColumns, createMaterializedView) as well as an invalid swapped operation type #1024.
- The minimum supported Node version is v16.18 and the minimum supported TypeScript version is 4.8 #998
Migration.create
does not accept the deprecated params anymore #1002
if you did not ignored the runtime warning, you should not be affected by this
What's Changed
- chore: enable no-unnecessary-boolean-literal-compare by @Shinigami92 in #981
- chore: enable no-unnecessary-type-assertion by @Shinigami92 in #982
- chore: enable no-unused-vars by @Shinigami92 in #983
- chore: enable prefer-promise-reject-errors by @Shinigami92 in #984
- chore: enable require-await by @Shinigami92 in #985
- chore: enable no-implied-eval by @Shinigami92 in #986
- chore: enable throw-literal by @Shinigami92 in #987
- infra: add issue templates by @Shinigami92 in #988
- chore(deps): update devdependencies by @renovate in #989
- fix(deps): update dependency yargs to ~17.7.0 by @renovate in #991
- fix(deps): mark dependency @types/pg as optional peer dependency by @Shinigami92 in #996
- infra: add ts-check by @Shinigami92 in #997
- chore!: set min node to v16.18 and typescript to v4.8 by @Shinigami92 in #998
- chore: use export type by @Shinigami92 in #999
- infra: set editor configs by @Shinigami92 in #1000
- chore: manual formatting by @Shinigami92 in #1001
- refactor!: remove deprecated create params by @Shinigami92 in #1002
- refactor: use ts for bin by @Shinigami92 in #1003
- infra: remove specific tsconfig by @Shinigami92 in #1004
- test: switch to vitest by @Shinigami92 in #1005
- test: add domains unit tests by @Shinigami92 in #1007
- chore(deps): update dependency json5 to v2.2.3 by @Shinigami92 in #1008
- test: add extensions unit tests by @Shinigami92 in #1009
- test: indent domains tests by @Shinigami92 in #1010
- test: add functions unit tests by @Shinigami92 in #1011
- test: add indexes unit tests by @Shinigami92 in #1012
- infra: enable quotes by @Shinigami92 in #1013
- infra: add vitest coverage report by @Shinigami92 in #1015
- infra: use slugify-value by @Shinigami92 in #1016
- infra: use matrix.branch in report by @Shinigami92 in #1017
- infra: try sha for coverage by @Shinigami92 in #1018
- infra: try run-id for coverage by @Shinigami92 in #1019
- infra: file-coverage-mode all by @Shinigami92 in #1020
- test: add operators unit tests by @Shinigami92 in #1022
- test: add sql unit tests by @Shinigami92 in #1025
- test: add policies unit tests by @Shinigami92 in #1026
- chore(deps): update typescript-eslint to v7.1.1 by @renovate in #1028
- chore(deps): update dependency @types/node to v18.19.22 by @renovate in #1027
- chore(deps): lock file maintenance by @renovate in #995
- test: add roles unit tests by @Shinigami92 in #1029
- test: add schemas unit tests by @Shinigami92 in #1030
- test: add sequences unit tests by @Shinigami92 in #1031
- test: add tables unit tests by @Shinigami92 in #1032
- test: add columns unit tests by @Shinigami92 in #1033
- test: add constraints unit tests by @Shinigami92 in #1034
- test: add runner unit tests by @Shinigami92 in #1035
- test: add triggers unit tests by @Shinigami92 in #1036
- chore(deps): update pnpm to v8.15.5 by @renovate in #1038
- chore(deps): update dependency @types/node to v18.19.24 by @renovate in #1037
- chore(deps): update typescript-eslint to v7.2.0 by @renovate in #1039
- chore(deps): update vitest to v1.4.0 by @renovate in #1040
- test: add types unit tests by @Shinigami92 in #1042
- chore(deps): lock file maintenance by @renovate in #1041
- test: add more types unit tests by @Shinigami92 in #1043
- test: prefer toBe over toStrictEqual by @Shinigami92 in #1044
- test: add views unit tests by @Shinigami92 in #1045
- test: add materialized views unit tests by @Shinigami92 in #1050
- test: reorganize tests by @Shinigami92 in #1051
- chore(deps): update devdependencies by @renovate in #1047
- chore(deps): lock file maintenance by @renovate in #1049
- fix(operators)!: swap operator types by @Shinigami92 in #1024
- release: 7.0.0-alpha.1 by @Shinigami92 in #1052
Full Changelog: v7.0.0-alpha.0...v7.0.0-alpha.1
v7.0.0-alpha.0
New & Noteworthy
The core maintainer of this project moved to @Shinigami92 (also core maintainer of FakerJS and core member of Vite).
The project is and remains under the MIT license.
Please follow New Maintainer @Shinigami92 & planning of restructuring the project #956 for the current process.
This alpha version is a direct replacement for v6.2.2, but supports ESM in addition to CJS 🎉
If you found any bugs while moving from version v6.2.2 to version v7.0.0-alpha.0, please open an issue and report what was broken for you.
What's Changed
- infra: add codeowners file by @Shinigami92 in #958
- infra: add semantic pr validation by @Shinigami92 in #960
- infra: switch to pnpm by @Shinigami92 in #962
- infra: add ci pipeline by @Shinigami92 in #961
- infra: update license file by @Shinigami92 in #963
- infra: reorder package.json by @Shinigami92 in #964
- infra: reconfigure renovate by @Shinigami92 in #965
- infra: rename master to main by @Shinigami92 in #966
- infra: unit test via github action by @Shinigami92 in #967
- infra: integration test via github action by @Shinigami92 in #968
- infra: add clean and preflight scripts by @Shinigami92 in #969
- infra: remove lint-staged by @Shinigami92 in #970
- infra: remove codeql by @Shinigami92 in #971
- infra: upgrade prettier by @Shinigami92 in #972
- infra: upgrade eslint by @Shinigami92 in #973
- chore: organize pack output by @Shinigami92 in #974
- feat: support esm by @Shinigami92 in #975
- chore: enable consistent-type-imports by @Shinigami92 in #976
- chore: enable prefer-includes by @Shinigami92 in #977
- chore: enable no-confusing-void-expression by @Shinigami92 in #978
- infra: add publish workflow by @Shinigami92 in #979
- release: 7.0.0-alpha.0 by @Shinigami92 in #980
Full Changelog: v6.2.2...v7.0.0-alpha.0
v6.2.2
v6.2.1
v6.2.0
v6.1.0
v6.0.0
v5.10.0
• lots of dep updates
• Make the json5 dependency optional (fallback to JSON.parse) #752
• export ConnectionConfig, ClientConfig from pg #657
Commits:
- Add test for cockroach 21 (#802) 13749cd
- Update license (#807) 26ae741
- Update all non-major dependencies (#804) bb1d56b
- Bump normalize-url from 4.5.0 to 4.5.1 (#805) 31a103c
- Update TypeScript to v4.3 (#795) 49618e8
- Update dependency sinon to v11 (#800) 4b22e27
- Update all non-major dependencies (#798) 3e732fd
- Add node 15 test (#793) e1b0039
- Update dependency ws to 7.4.6 [SECURITY] (#797) a5794b4
- Update dependency dotenv to v10 (#790) b87c917
- Update dependency @types/pg to v8 (#789) d6a74af
- Update dependency @types/sinon to v10 (#770) b357047
- Update dependency husky to v6 (#769) d594b50
- Update dependency decamelize to v5 (#736) 6b8391b
- Update all non-major dependencies (#763) c2e3cac
- Bump lodash from 4.17.20 to 4.17.21 (#775) d8c5525
- Provide format script (#749) e65c9d3
- Use ClientConfig from pg (#657) 94b0963
- Replace lodash with native js (#753) 4e3e892
- Make the
json5
dependency optional (#752) 5f54a59 - Add custom env file path (#759) db3f901
- Update all non-major dependencies e8fd3b7
- Update all non-major dependencies 983d6ae
- Update dependency docsify to 4.12.0 [SECURITY] (#750) d6e676b
- Merge pull request #751 from salsita/renovate/npm-prismjs-vulnerability b409e97
- Update dependency prismjs to 1.23.0 [SECURITY] ef206d4
- Update cockroachdb/cockroach Docker tag to v20.2.5 0e60669
- Update all non-major dependencies 919390f
- Update all non-major dependencies Docker tags 4b81ad6
- Update all non-major dependencies 03e0e99
- Update all non-major dependencies da792ee
- Update all non-major dependencies 834e419
- Update all non-major dependencies Docker tags e7e13a0
- Update all non-major dependencies 5854f32
- Update all non-major dependencies ef38ef6
- Update all non-major dependencies 36dc3f0
- Update all non-major dependencies bf3f07e
- Update cockroachdb/cockroach Docker tag to v20.2.3 294dcd7
- Update all non-major dependencies 1909535
- Update all non-major dependencies 3c13098
- Bump ini from 1.3.5 to 1.3.7 (#725) 5929567
- Update dependency eslint-config-prettier to v7 (#724) 9cf8995
- Update all non-major dependencies 9165985
- Update cockroachdb/cockroach Docker tag to v20.2.2 6eb9645
- Update all non-major dependencies d329d02
- Update cli.md (#720) 4d2c2a7
- Adding more cockroach versions to tests (#719) ff61e4e
- Update all non-major dependencies (#718) bc47f81
- Update all non-major dependencies Docker tags 6c8b442
- Update all non-major dependencies ef10108
- Update all non-major dependencies e9371fc
- Update tests (#713) 707b7f4