Releases: salsita/node-pg-migrate
v7.5.2
What's Changed
- chore: use node:process cwd by @Shinigami92 in #1215
- fix(cli): correctly validate schema by @Shinigami92 in #1216
- release: 7.5.2 by @Shinigami92 in #1217
Full Changelog: v7.5.1...v7.5.2
v7.5.1
What's Changed
- fix(esm): dont depend on
__dirname
by @aprendendofelipe in #1208 - fix(esm): fix
pg
import by @aprendendofelipe in #1209 - chore(deps): update dependency @types/node to v18.19.38 by @renovate in #1210
- chore(deps): lock file maintenance by @renovate in #1211
- release: 7.5.1 by @Shinigami92 in #1212
New Contributors
- @aprendendofelipe made their first contribution in #1208
Full Changelog: v7.5.0...v7.5.1
v7.5.0
New & Noteworthy
-
In #1187 a team of contributors (@jasel-lewis, @PatKayongo, @aprendendofelipe and @Shinigami92) tried to fix ESM
Hopefully this works now and did not break CJS 😬
If there are any bugs, please open a new issue!
There are also now additional "bin" bindings:node-pg-migrate-cjs
andnode-pg-migrate-esm
They can be used to enforce the specific variant and are a temporarily solution until cjs support is dropped
-
Columns are now correctly handle
cascade
option indropColumns
(thanks to @mGolestan98 in #1191 🙏)
What's Changed
- chore(deps): update pnpm to v9.1.4 by @renovate in #1180
- chore(deps): update dependency prettier to v3.3.0 by @renovate in #1181
- chore(deps): lock file maintenance by @renovate in #1182
- chore(deps): update dependency tsup to v8.1.0 by @renovate in #1185
- chore(deps): update typescript-eslint to v7.12.0 by @renovate in #1186
- fix(columns): handle column with cascade option in dropColumns by @mGolestan98 in #1191
- chore(deps): update pnpm to v9.3.0 by @renovate in #1195
- infra: pnpm v9.2 fixed strictness by @Shinigami92 in #1197
- chore(deps): update dependency prettier to v3.3.1 by @renovate in #1192
- chore(deps): update dependency vitepress to v1.2.3 by @renovate in #1193
- chore(deps): update devdependencies by @renovate in #1194
- chore(deps): lock file maintenance by @renovate in #1196
- chore(deps): update dependency prettier to v3.3.2 by @renovate in #1201
- chore(deps): update all non-major dependencies by @renovate in #1200
- chore(deps): update typescript-eslint to v7.13.1 by @renovate in #1202
- chore(deps): lock file maintenance by @renovate in #1203
- chore(deps): update dependency @types/node to v18.19.36 by @renovate in #1204
- fix: use createRequire to support esm by @Shinigami92 in #1187
- release: 7.5.0 by @Shinigami92 in #1205
New Contributors
- @mGolestan98 made their first contribution in #1191
Full Changelog: v7.4.0...v7.5.0
v7.4.0
What's Changed
- docs: refactor migration operations by @brenoepics in #1162
- chore(deps): update pnpm/action-setup action to v4 by @renovate in #1165
- chore(deps): update devdependencies by @renovate in #1164
- chore(deps): update all non-major dependencies by @renovate in #1163
- chore(deps): update dependency vitepress to v1.2.2 by @renovate in #1172
- chore(deps): update typescript-eslint to v7.11.0 by @renovate in #1173
- chore(deps): lock file maintenance by @renovate in #1166
- feat(functions): support security by @Shinigami92 in #1176
- release: 7.4.0 by @Shinigami92 in #1177
Full Changelog: v7.3.2...v7.4.0
v7.3.2
What's Changed
- fix: await db.close() in runner by @remidewitte in #1160
- release: 7.3.2 by @Shinigami92 in #1161
New Contributors
- @remidewitte made their first contribution in #1160
Full Changelog: v7.3.1...v7.3.2
v7.3.1
What's Changed
- fix: use union type in addConstraint by @pigulla in #1155
- release: 7.3.1 by @Shinigami92 in #1158
New Contributors
Full Changelog: v7.3.0...v7.3.1
v7.3.0
New & Noteworthy
- This version fixes the ESM output so it can be used correctly, thx to @remidewitte 🙏
runner
is now also exported as named-export
this might become the default strategy for importing runner in a later major
What's Changed
- chore(deps): downgrade eslint to v8 by @Shinigami92 in #1144
- chore: normalize package.json repository.url by @Shinigami92 in #1149
- chore(deps): update dependency @types/pg to v8.11.6 by @renovate in #1151
- chore(deps): update vitest to v1.6.0 by @renovate in #1152
- chore(deps): lock file maintenance by @renovate in #1153
- fix: fix esm by @Shinigami92 in #1148
- fix: export runner as named for better esm usage by @Shinigami92 in #1156
- release: 7.3.0 by @Shinigami92 in #1157
Full Changelog: v7.2.2...v7.3.0
v7.2.2
New & Noteworthy
- Comments are now generated with correct table schema when passed to constraints, thx for the report by @osdiab
What's Changed
- fix: correctly pass table with schema when using comment by @Shinigami92 in #1139
- chore(deps): update typescript-eslint to v7.8.0 by @renovate in #1140
- chore(deps): update vitest to v1.5.3 by @renovate in #1141
- chore(deps): lock file maintenance by @renovate in #1142
- release: 7.2.2 by @Shinigami92 in #1143
Full Changelog: v7.2.1...v7.2.2
v7.2.1
New & Noteworthy
- Restored a previously unofficial behavior that is now officially integration-tested by @jraoult 🙏
- A HUGE thanks to @brenoepics for starting rewriting the documentation to VitePress 🚀
He got also invited to thesalsita/node-pg-migrate
with write access, to help further with the documentation ❤️
What's Changed
- chore(deps): upgrade eslint to v9 by @Shinigami92 in #1123
- chore(deps): upgrade dotenv-expand to v11 by @Shinigami92 in #1124
- chore(deps): update vitest to v1.5.2 by @renovate in #1125
- ci: fix coverage workflow by @Shinigami92 in #1126
- refactor(utils): extract toArray by @Shinigami92 in #1127
- chore: reduce statement return type by @Shinigami92 in #1128
- refactor: unify codestyle by @Shinigami92 in #1129
- refactor: unify codestyle by @Shinigami92 in #1130
- refactor: configure eslint unicorn by @Shinigami92 in #1131
- chore(deps): update actions/checkout action to v4.1.4 by @renovate in #1133
- chore(deps): lock file maintenance by @renovate in #1134
- fix: restore support url as an object in configuration by @jraoult in #1119
- docs: refactor docs to use VitePress by @brenoepics in #1132
- chore(deps): lock file maintenance by @Shinigami92 in #1135
- release: 7.2.1 by @Shinigami92 in #1136
New Contributors
- @jraoult made their first contribution in #1119
- @brenoepics made their first contribution in #1132
Full Changelog: v7.2.0...v7.2.1
v7.2.0
New & Noteworthy
- The feature for create and drop casts landed 🚀 thx @aschrab 🙏
What's Changed
- feat(casts): support create and drop cast by @aschrab in #942
- ci: update cockroach by @Shinigami92 in #1114
- chore(deps): update all non-major dependencies by @renovate in #1115
- chore(deps): update typescript-eslint to v7.7.1 by @renovate in #1116
- chore(deps): update vitest to v1.5.1 by @renovate in #1117
- release: 7.2.0 by @Shinigami92 in #1118
Full Changelog: v7.1.0...v7.2.0