UniversityOfHelsinkiCS / oodikone

An application for analyzing university data
https://oodikone.helsinki.fi
MIT License
14 stars 6 forks source link

Update dependency umzug to v3 #4540

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 5 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
umzug ^2.3.0 -> ^3.0.0 age adoption passing confidence

Release Notes

sequelize/umzug (umzug) ### [`v3.8.1`](https://togithub.com/sequelize/umzug/releases/tag/v3.8.1) [Compare Source](https://togithub.com/sequelize/umzug/compare/v3.8.0...v3.8.1) #### What's Changed - fix: use `undefined` when charset and collate options are not supported by [@​EinfachHans](https://togithub.com/EinfachHans) in [https://github.com/sequelize/umzug/pull/673](https://togithub.com/sequelize/umzug/pull/673) #### New Contributors - [@​EinfachHans](https://togithub.com/EinfachHans) made their first contribution in [https://github.com/sequelize/umzug/pull/673](https://togithub.com/sequelize/umzug/pull/673) **Full Changelog**: https://github.com/sequelize/umzug/compare/v3.8.0...v3.8.1 ### [`v3.8.0`](https://togithub.com/sequelize/umzug/releases/tag/v3.8.0) [Compare Source](https://togithub.com/sequelize/umzug/compare/v3.7.0...v3.8.0) #### What's Changed - chore(deps): update dependency sequelize to v6.37.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/sequelize/umzug/pull/643](https://togithub.com/sequelize/umzug/pull/643) - glob -> fast-glob by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/660](https://togithub.com/sequelize/umzug/pull/660) **Full Changelog**: https://github.com/sequelize/umzug/compare/v3.7.0...v3.8.0 ### [`v3.7.0`](https://togithub.com/sequelize/umzug/releases/tag/v3.7.0) [Compare Source](https://togithub.com/sequelize/umzug/compare/v3.6.1...v3.7.0) - create: allow specifying content directly [`543a45d`](https://togithub.com/sequelize/umzug/commit/543a45d) ### [`v3.6.1`](https://togithub.com/sequelize/umzug/releases/tag/v3.6.1) [Compare Source](https://togithub.com/sequelize/umzug/compare/v3.6.0...v3.6.1) - new np version [`e3ce7f3`](https://togithub.com/sequelize/umzug/commit/e3ce7f3) ### [`v3.6.0`](https://togithub.com/sequelize/umzug/releases/tag/v3.6.0) [Compare Source](https://togithub.com/sequelize/umzug/compare/v3.5.1...v3.6.0) #### What's Changed - fix(deps): update dependency glob to v8.1.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/sequelize/umzug/pull/639](https://togithub.com/sequelize/umzug/pull/639) - Fix DeprecationWarning for Sequelize V7 by [@​anroypaul](https://togithub.com/anroypaul) in [https://github.com/sequelize/umzug/pull/644](https://togithub.com/sequelize/umzug/pull/644) - fix(deps): update dependency type-fest to v4 by [@​renovate](https://togithub.com/renovate) in [https://github.com/sequelize/umzug/pull/647](https://togithub.com/sequelize/umzug/pull/647) - fix(deps): update dependency pony-cause to v2.1.10 by [@​renovate](https://togithub.com/renovate) in [https://github.com/sequelize/umzug/pull/616](https://togithub.com/sequelize/umzug/pull/616) #### New Contributors - [@​anroypaul](https://togithub.com/anroypaul) made their first contribution in [https://github.com/sequelize/umzug/pull/644](https://togithub.com/sequelize/umzug/pull/644) **Full Changelog**: https://github.com/sequelize/umzug/compare/v3.5.1...v3.6.0 ### [`v3.5.1`](https://togithub.com/sequelize/umzug/compare/v3.5.0...2e9599b9c598bd461309a5430ad8688f65252728) [Compare Source](https://togithub.com/sequelize/umzug/compare/v3.5.0...v3.5.1) ### [`v3.5.0`](https://togithub.com/sequelize/umzug/releases/tag/v3.5.0) [Compare Source](https://togithub.com/sequelize/umzug/compare/v3.4.0...v3.5.0) ##### What's Changed - stop using super-old import x = require('x') syntax in [https://github.com/sequelize/umzug/pull/629](https://togithub.com/sequelize/umzug/pull/629) - document ts-command-line error handling in [https://github.com/sequelize/umzug/pull/633](https://togithub.com/sequelize/umzug/pull/633) - feat: non-breaking ESM support 🤝 in [https://github.com/sequelize/umzug/pull/613](https://togithub.com/sequelize/umzug/pull/613) **Full Changelog**: https://github.com/sequelize/umzug/compare/v3.4.0...v3.5.0 ### [`v3.4.0`](https://togithub.com/sequelize/umzug/releases/tag/v3.4.0) [Compare Source](https://togithub.com/sequelize/umzug/compare/v3.3.1...v3.4.0) #### What's Changed - Provide charset and collate options only for dialects supporting them by [@​QuentinFarizon](https://togithub.com/QuentinFarizon) in [https://github.com/sequelize/umzug/pull/624](https://togithub.com/sequelize/umzug/pull/624) #### New Contributors - [@​QuentinFarizon](https://togithub.com/QuentinFarizon) made their first contribution in [https://github.com/sequelize/umzug/pull/624](https://togithub.com/sequelize/umzug/pull/624) **Full Changelog**: https://github.com/sequelize/umzug/compare/v3.3.1...v3.4.0 ### [`v3.3.1`](https://togithub.com/sequelize/umzug/releases/tag/v3.3.1) [Compare Source](https://togithub.com/sequelize/umzug/compare/v3.3.0...v3.3.1) - Revert "feat: remove uniqueness from sequelize storage ([#​602](https://togithub.com/sequelize/umzug/issues/602))" [`e849968`](https://togithub.com/sequelize/umzug/commit/e849968) (see [https://github.com/sequelize/umzug/issues/614](https://togithub.com/sequelize/umzug/issues/614)) Amended release notes from 3.3.0 (and [comparison with v3.2.1](https://togithub.com/sequelize/umzug/compare/v3.2.1...v3.3.1)): ##### What's Changed - Fix false positive Confusing Ordering warning by [@​rpominov](https://togithub.com/rpominov) in [https://github.com/sequelize/umzug/pull/575](https://togithub.com/sequelize/umzug/pull/575) - async template function by [@​ccamensuli](https://togithub.com/ccamensuli) in [https://github.com/sequelize/umzug/pull/591](https://togithub.com/sequelize/umzug/pull/591) - Fix typo in readme by [@​sdepold](https://togithub.com/sdepold) in [https://github.com/sequelize/umzug/pull/604](https://togithub.com/sequelize/umzug/pull/604) - \~feat: remove uniqueness from sequelize storage by [@​mau31415](https://togithub.com/mau31415) in [https://github.com/sequelize/umzug/pull/602](https://togithub.com/sequelize/umzug/pull/602)~ (reverted) ### [`v3.3.0`](https://togithub.com/sequelize/umzug/releases/tag/v3.3.0) [Compare Source](https://togithub.com/sequelize/umzug/compare/v3.2.1...v3.3.0) ⚠️ ⚠️ ⚠️ This version is deprecated, please use [3.3.1](https://togithub.com/sequelize/umzug/releases/v3.3.1) - but note that [#​602](https://togithub.com/sequelize/umzug/issues/602) was reverted and is not included in 3.3.1 ⚠️ ⚠️ ⚠️
Original release notes #### What's Changed * Fix false positive Confusing Ordering warning by @​rpomin[https://github.com/sequelize/umzug/pull/575](https://togithub.com/sequelize/umzug/pull/575)ll/575 * async template function by @​ccamensu[https://github.com/sequelize/umzug/pull/591](https://togithub.com/sequelize/umzug/pull/591)ll/591 * Fix typo in readme by @​sdepo[https://github.com/sequelize/umzug/pull/604](https://togithub.com/sequelize/umzug/pull/604)ll/604 * feat: remove uniqueness from sequelize storage by @​mau314[https://github.com/sequelize/umzug/pull/602](https://togithub.com/sequelize/umzug/pull/602)ll/602 #### New Contributors * @​rpominov made their first contributi[https://github.com/sequelize/umzug/pull/575](https://togithub.com/sequelize/umzug/pull/575)ll/575 * @​ccamensuli made their first contributi[https://github.com/sequelize/umzug/pull/591](https://togithub.com/sequelize/umzug/pull/591)ll/591 * @​mau31415 made their first contributi[https://github.com/sequelize/umzug/pull/602](https://togithub.com/sequelize/umzug/pull/602)ll/602
**Full Changelog**: https://github.com/sequelize/umzug/compare/v3.2.1...v3.3.0 ### [`v3.2.1`](https://togithub.com/sequelize/umzug/releases/tag/v3.2.1) [Compare Source](https://togithub.com/sequelize/umzug/compare/v3.2.0...v3.2.1) #### What's Changed - fix: verify pending correctly for custom templates by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/565](https://togithub.com/sequelize/umzug/pull/565) **Full Changelog**: https://github.com/sequelize/umzug/compare/v3.2.0...v3.2.1 ### [`v3.2.0`](https://togithub.com/sequelize/umzug/releases/tag/v3.2.0) [Compare Source](https://togithub.com/sequelize/umzug/compare/v3.1.2...v3.2.0) #### What's Changed - refactor(sequelize): syncModel() by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/564](https://togithub.com/sequelize/umzug/pull/564) **Full Changelog**: https://github.com/sequelize/umzug/compare/v3.1.2...v3.2.0 ### [`v3.1.2`](https://togithub.com/sequelize/umzug/releases/tag/v3.1.2) [Compare Source](https://togithub.com/sequelize/umzug/compare/v3.1.1...v3.1.2) #### What's Changed - chore(deps): bump moment from 2.29.1 to 2.29.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/sequelize/umzug/pull/552](https://togithub.com/sequelize/umzug/pull/552) - chore: bump dependencies (incl pony-cause -> v2.1.2) by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/562](https://togithub.com/sequelize/umzug/pull/562) (see [https://github.com/sequelize/umzug/discussions/561](https://togithub.com/sequelize/umzug/discussions/561)) **Full Changelog**: https://github.com/sequelize/umzug/compare/v3.1.1...v3.1.2 ### [`v3.1.1`](https://togithub.com/sequelize/umzug/releases/tag/v3.1.1) [Compare Source](https://togithub.com/sequelize/umzug/compare/v3.1.0...v3.1.1) - fix(deps): bump emittery to avoid [https://github.com/sindresorhus/emittery/issues/95](https://togithub.com/sindresorhus/emittery/issues/95) (see [https://github.com/sequelize/umzug/issues/541#issuecomment-1083125643](https://togithub.com/sequelize/umzug/issues/541#issuecomment-1083125643)) [`7baad24`](https://togithub.com/sequelize/umzug/commit/7baad24) - chore(deps): bump minimist from 1.2.5 to 1.2.6 ([#​549](https://togithub.com/sequelize/umzug/issues/549)) [`b3b3582`](https://togithub.com/sequelize/umzug/commit/b3b3582) ### [`v3.1.0`](https://togithub.com/sequelize/umzug/releases/tag/v3.1.0) [Compare Source](https://togithub.com/sequelize/umzug/compare/v3.0.0...v3.1.0) #### What's Changed - rm verror by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/548](https://togithub.com/sequelize/umzug/pull/548) See [https://github.com/sequelize/umzug/discussions/545](https://togithub.com/sequelize/umzug/discussions/545) **Full Changelog**: https://github.com/sequelize/umzug/compare/v3.0.0...v3.1.0 ### [`v3.0.0`](https://togithub.com/sequelize/umzug/releases/tag/v3.0.0) [Compare Source](https://togithub.com/sequelize/umzug/compare/v2.3.0...v3.0.0) Major release with some breaking changes since v2.x, see migration guide here: https://github.com/sequelize/umzug#upgrading-from-v2x Several new features, including a new [built-in CLI](https://togithub.com/sequelize/umzug#cli), typescript support, templating, improved events, logging and error messages, and more. Find usage examples under https://github.com/sequelize/umzug/tree/master/examples Migration guide at time of writing copied here for covenience: ##### Upgrading from v2.x The Umzug class should be imported as a named import, i.e. `import { Umzug } from 'umzug'`. The `MigrationMeta` type, which is returned by `umzug.executed()` and `umzug.pending()`, no longer has a `file` property - it has a `name` and *optional* `path` - since migrations are not necessarily bound to files on the file system. The `migrations.glob` parameter replaces `path`, `pattern` and `traverseDirectories`. It can be used, in combination with `cwd` and `ignore` to do much more flexible file lookups. See https://npmjs.com/package/glob for more information on the syntax. The `migrations.resolve` parameter replaces `customResolver`. Explicit support for `wrap` and `nameFormatter` has been removed - these can be easily implemented in a `resolve` function. The constructor option `logging` is replaced by `logger` to allow for `warn` and `error` messages in future. NodeJS's global `console` object can be passed to this. To disable logging, replace `logging: false` with `logger: undefined`. Breaking change to storages: remove string parameter ([#​429](https://togithub.com/sequelize/umzug/issues/429)) [`b6414ba`](https://togithub.com/sequelize/umzug/commit/b6414ba) - Custom storage implementations must update `logMigration(name) { ... }` to `logMigration({ name }) { ...}`. Likewise with `unlogMigration`. This is to allow receiving `context` and `path` properties in the same arg object. Note that this may break external storage implementations too. To adapt, you can just modify or extend the `logMigration` and `unlogMigration` implementations (something like `logMigration: ({ name }) => oldStorage.logMigration(name)`). Events have moved from the default nodejs `EventEmitter` to [emittery](https://www.npmjs.com/package/emittery). It has better design for async code, a less bloated API surface and strong types. But, it doesn't allow passing multiple arguments to callbacks, so listeners have to change slightly, as well as `.addListener(...)` and `.removeListener(...)` no longer being supported (`.on(...)` and `.off(...)` should now be used): Before: ```js umzug.on('migrating', (name, m) => console.log({ name, path: m.path })) ``` After: ```js umzug.on('migrating', ev => console.log({ name: ev.name, path: ev.path })) ``` The `Umzug#execute` method is removed. Use `Umzug#up` or `Umzug#down`. The options for `Umguz#up` and `Umzug#down` have changed: - `umzug.up({ to: 'some-name' })` and `umzug.down({ to: 'some-name' })` are still valid. - `umzug.up({ from: '...' })` and `umzug.down({ from: '...' })` are no longer supported. To run migrations out-of-order (which is not generally recommended), you can explicitly use `umzug.up({ migrations: ['...'] })` and `umzug.down({ migrations: ['...'] })`. - name matches must be exact. `umzug.up({ to: 'some-n' })` will no longer match a migration called `some-name`. - `umzug.down({ to: 0 })` is still valid but `umzug.up({ to: 0 })` is not. - `umzug.up({ migrations: ['m1', 'm2'] })` is still valid but the shorthand `umzug.up(['m1', 'm2'])` has been removed. - `umzug.down({ migrations: ['m1', 'm2'] })` is still valid but the shorthand `umzug.down(['m1', 'm2'])` has been removed. - `umzug.up({ migrations: ['m1', 'already-run'] })` will throw an error, if `already-run` is not found in the list of pending migrations. - `umzug.down({ migrations: ['m1', 'has-not-been-run'] })` will throw an error, if `has-not-been-run` is not found in the list of executed migrations. - `umzug.up({ migrations: ['m1', 'm2'], rerun: 'ALLOW' })` will re-apply migrations `m1` and `m2` even if they've already been run. - `umzug.up({ migrations: ['m1', 'm2'], rerun: 'SKIP' })` will skip migrations `m1` and `m2` if they've already been run. - `umzug.down({ migrations: ['m1', 'm2'], rerun: 'ALLOW' })` will "revert" migrations `m1` and `m2` even if they've never been run. - `umzug.down({ migrations: ['m1', 'm2'], rerun: 'SKIP' })` will skip reverting migrations `m1` and `m2` if they haven't been run or are already reverted. - `umzug.up({ migrations: ['m1', 'does-not-exist', 'm2'] })` will throw an error if the migration name is not found. Note that the error will be thrown and no migrations run unless *all* migration names are found - whether or not `rerun: 'ALLOW'` is added. The `context` parameter replaces `params`, and is passed in as a property to migration functions as an options object, alongs side `name` and `path`. This means the signature for migrations, which in v2 was `(context) => Promise`, has changed slightly in v3, to `({ name, path, context }) => Promise`. ##### Handling existing v2-format migrations The `resolve` function can also be used to upgrade your umzug version to v3 when you have existing v2-compatible migrations: ```js const { Umzug } = require('umzug'); const umzug = new Umzug({ migrations: { glob: 'migrations/umzug-v2-format/*.js', resolve: ({name, path, context}) => { // Adjust the migration from the new signature to the v2 signature, making easier to upgrade to v3 const migration = require(path) return { name, up: async () => migration.up(context), down: async () => migration.down(context) } } }, context: sequelize.getQueryInterface(), logger: console, }); ``` Similarly, you no longer need `migrationSorting`, you can instantiate a new `Umzug` instance to manipulate migration lists directly: ```js const { Umzug } = require('umzug'); const parent = new Umzug({ migrations: { glob: 'migrations/**/*.js' }, context: sequelize.getQueryInterface(), }) const umzug = new Umzug({ ...parent.options, migrations: ctx => (await parent.migrations()).sort((a, b) => b.path.localeCompare(a.path)) }) ``` 👇 full, generated changelog #### What's Changed - feat: add format function by [@​jaulz](https://togithub.com/jaulz) in [https://github.com/sequelize/umzug/pull/196](https://togithub.com/sequelize/umzug/pull/196) - Super refactor by [@​papb](https://togithub.com/papb) in [https://github.com/sequelize/umzug/pull/206](https://togithub.com/sequelize/umzug/pull/206) - Fix typo by [@​rockers7414](https://togithub.com/rockers7414) in [https://github.com/sequelize/umzug/pull/207](https://togithub.com/sequelize/umzug/pull/207) - TypeScript rewrite by [@​papb](https://togithub.com/papb) in [https://github.com/sequelize/umzug/pull/209](https://togithub.com/sequelize/umzug/pull/209) - chore(lint): prettier by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/213](https://togithub.com/sequelize/umzug/pull/213) - chore: add v3 notice to readme by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/214](https://togithub.com/sequelize/umzug/pull/214) - Support custom sorting function by [@​rockers7414](https://togithub.com/rockers7414) in [https://github.com/sequelize/umzug/pull/208](https://togithub.com/sequelize/umzug/pull/208) - refactor: jest by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/215](https://togithub.com/sequelize/umzug/pull/215) - chore: editorconfig by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/218](https://togithub.com/sequelize/umzug/pull/218) - test: convert storage tests to typescript by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/217](https://togithub.com/sequelize/umzug/pull/217) - chore: use localeCompare for string comparison by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/219](https://togithub.com/sequelize/umzug/pull/219) - feat: memory storage by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/220](https://togithub.com/sequelize/umzug/pull/220) - test: port legacy-tests to jest by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/221](https://togithub.com/sequelize/umzug/pull/221) - fix: make types allow { to: 0 } by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/223](https://togithub.com/sequelize/umzug/pull/223) - fix: workaround sequelize types in tests by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/226](https://togithub.com/sequelize/umzug/pull/226) - test: events by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/225](https://togithub.com/sequelize/umzug/pull/225) - test: code coverage by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/229](https://togithub.com/sequelize/umzug/pull/229) - fix: to: undefined shouldn't be like to: 0 by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/231](https://togithub.com/sequelize/umzug/pull/231) - fix: sequelize latest by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/232](https://togithub.com/sequelize/umzug/pull/232) - Configure Renovate by [@​renovate](https://togithub.com/renovate) in [https://github.com/sequelize/umzug/pull/234](https://togithub.com/sequelize/umzug/pull/234) - Update README.md by [@​luwol03](https://togithub.com/luwol03) in [https://github.com/sequelize/umzug/pull/321](https://togithub.com/sequelize/umzug/pull/321) - feat: v3 api by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/325](https://togithub.com/sequelize/umzug/pull/325) - feat: allow skipping re-runs by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/342](https://togithub.com/sequelize/umzug/pull/342) - docs: add example for multiple glob dirs by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/343](https://togithub.com/sequelize/umzug/pull/343) - fix(deps): update dependency fs-jetpack to v3 by [@​renovate](https://togithub.com/renovate) in [https://github.com/sequelize/umzug/pull/260](https://togithub.com/sequelize/umzug/pull/260) - fix: keep extension in migration name by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/354](https://togithub.com/sequelize/umzug/pull/354) - chore(renovate): group dev dependencies by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/356](https://togithub.com/sequelize/umzug/pull/356) - docs: beta vs stable package install instructions by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/350](https://togithub.com/sequelize/umzug/pull/350) - fix: import sequelize as a type by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/349](https://togithub.com/sequelize/umzug/pull/349) - Pass name, path, context to up/down functions by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/355](https://togithub.com/sequelize/umzug/pull/355) - fix(deps): update dependency fs-jetpack to v4 by [@​renovate](https://togithub.com/renovate) in [https://github.com/sequelize/umzug/pull/365](https://togithub.com/sequelize/umzug/pull/365) - chore: turn on typescript strictNullChecks by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/368](https://togithub.com/sequelize/umzug/pull/368) - feat: return migration meta from up/down by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/367](https://togithub.com/sequelize/umzug/pull/367) - fix: remove sequelize type dependency completely by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/370](https://togithub.com/sequelize/umzug/pull/370) - Completed v2 migration snippet by [@​MichielDeMey](https://togithub.com/MichielDeMey) in [https://github.com/sequelize/umzug/pull/380](https://togithub.com/sequelize/umzug/pull/380) - Separate out glob input type by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/385](https://togithub.com/sequelize/umzug/pull/385) - fix: require ts optimistically by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/388](https://togithub.com/sequelize/umzug/pull/388) - Support `step` in up and down options by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/386](https://togithub.com/sequelize/umzug/pull/386) - Log json-able objects instead of strings by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/393](https://togithub.com/sequelize/umzug/pull/393) - Typed async events by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/394](https://togithub.com/sequelize/umzug/pull/394) - Add beforeAll/afterAll events + file locking by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/397](https://togithub.com/sequelize/umzug/pull/397) - Pass context to storage methods by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/398](https://togithub.com/sequelize/umzug/pull/398) - Command-line interface by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/389](https://togithub.com/sequelize/umzug/pull/389) - Add examples folder by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/411](https://togithub.com/sequelize/umzug/pull/411) - Move types into their own file by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/413](https://togithub.com/sequelize/umzug/pull/413) - Add bundling example by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/415](https://togithub.com/sequelize/umzug/pull/415) - Use verror to wrap migration errors by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/416](https://togithub.com/sequelize/umzug/pull/416) - Create context per run by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/419](https://togithub.com/sequelize/umzug/pull/419) - fix(deps): update dependency type-fest to ~0.20.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/sequelize/umzug/pull/399](https://togithub.com/sequelize/umzug/pull/399) - fix(deps): update dependency fs-jetpack to ~4.1.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/sequelize/umzug/pull/396](https://togithub.com/sequelize/umzug/pull/396) - Switch prod deps to caret by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/421](https://togithub.com/sequelize/umzug/pull/421) - fix(deps): update dependency emittery to ^0.8.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/sequelize/umzug/pull/428](https://togithub.com/sequelize/umzug/pull/428) - Add prod tsconfig for lib output by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/430](https://togithub.com/sequelize/umzug/pull/430) - Breaking change (to storages): remove string parameter by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/429](https://togithub.com/sequelize/umzug/pull/429) - Support tsconfigs with esModuleInterop by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/438](https://togithub.com/sequelize/umzug/pull/438) - Fix create migration command by [@​rediska1114](https://togithub.com/rediska1114) in [https://github.com/sequelize/umzug/pull/449](https://togithub.com/sequelize/umzug/pull/449) - chore(deps-dev): bump lodash from 4.17.20 to 4.17.21 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/sequelize/umzug/pull/457](https://togithub.com/sequelize/umzug/pull/457) - fix(deps): update dependency type-fest to ^0.21.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/sequelize/umzug/pull/443](https://togithub.com/sequelize/umzug/pull/443) - Run CI on pull request by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/465](https://togithub.com/sequelize/umzug/pull/465) - Add ability to retrieve context asynchronously before the migrations run by [@​alefi](https://togithub.com/alefi) in [https://github.com/sequelize/umzug/pull/453](https://togithub.com/sequelize/umzug/pull/453) - fix(deps): update dependency type-fest to v1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/sequelize/umzug/pull/463](https://togithub.com/sequelize/umzug/pull/463) - Add context to migrator.\_types by [@​adrienduchemin](https://togithub.com/adrienduchemin) in [https://github.com/sequelize/umzug/pull/464](https://togithub.com/sequelize/umzug/pull/464) - docs: fix code example by [@​rouanw](https://togithub.com/rouanw) in [https://github.com/sequelize/umzug/pull/489](https://togithub.com/sequelize/umzug/pull/489) - fix [#​491](https://togithub.com/sequelize/umzug/issues/491). Fix MongoStorage `unlogMigration` by [@​husa](https://togithub.com/husa) in [https://github.com/sequelize/umzug/pull/492](https://togithub.com/sequelize/umzug/pull/492) - Add documentation for configuring Umzug migration parameters by [@​trentprynn](https://togithub.com/trentprynn) in [https://github.com/sequelize/umzug/pull/493](https://togithub.com/sequelize/umzug/pull/493) - Update umzug.mjs by [@​cellulosa](https://togithub.com/cellulosa) in [https://github.com/sequelize/umzug/pull/509](https://togithub.com/sequelize/umzug/pull/509) - Drop support for node <12 by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/511](https://togithub.com/sequelize/umzug/pull/511) - Bump sqlite3 version to avoid node-gyp error by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/516](https://togithub.com/sequelize/umzug/pull/516) - fix(deps): update dependency emittery to ^0.10.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/sequelize/umzug/pull/481](https://togithub.com/sequelize/umzug/pull/481) - fix(deps): update dependency type-fest to v2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/sequelize/umzug/pull/517](https://togithub.com/sequelize/umzug/pull/517) - Remove `.extend(...)` in favour of constructor by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/523](https://togithub.com/sequelize/umzug/pull/523) - \[renovate] separate lint dependencies by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/526](https://togithub.com/sequelize/umzug/pull/526) - Sequelize v6 by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/527](https://togithub.com/sequelize/umzug/pull/527) - avoid sqlite3 vuln by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/529](https://togithub.com/sequelize/umzug/pull/529) - Get readme ready for v3 release by [@​mmkal](https://togithub.com/mmkal) in [https://github.com/sequelize/umzug/pull/530](https://togithub.com/sequelize/umzug/pull/530) #### New Contributors - [@​jaulz](https://togithub.com/jaulz) made their first contribution in [https://github.com/sequelize/umzug/pull/196](https://togithub.com/sequelize/umzug/pull/196) - [@​papb](https://togithub.com/papb) made their first contribution in [https://github.com/sequelize/umzug/pull/206](https://togithub.com/sequelize/umzug/pull/206) - [@​rockers7414](https://togithub.com/rockers7414) made their first contribution in [https://github.com/sequelize/umzug/pull/207](https://togithub.com/sequelize/umzug/pull/207) - [@​renovate](https://togithub.com/renovate) made their first contribution in [https://github.com/sequelize/umzug/pull/234](https://togithub.com/sequelize/umzug/pull/234) - [@​luwol03](https://togithub.com/luwol03) made their first contribution in [https://github.com/sequelize/umzug/pull/321](https://togithub.com/sequelize/umzug/pull/321) - [@​MichielDeMey](https://togithub.com/MichielDeMey) made their first contribution in [https://github.com/sequelize/umzug/pull/380](https://togithub.com/sequelize/umzug/pull/380) - [@​dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/sequelize/umzug/pull/417](https://togithub.com/sequelize/umzug/pull/417) - [@​rediska1114](https://togithub.com/rediska1114) made their first contribution in [https://github.com/sequelize/umzug/pull/449](https://togithub.com/sequelize/umzug/pull/449) - [@​alefi](https://togithub.com/alefi) made their first contribution in [https://github.com/sequelize/umzug/pull/453](https://togithub.com/sequelize/umzug/pull/453) - [@​adrienduchemin](https://togithub.com/adrienduchemin) made their first contribution in [https://github.com/sequelize/umzug/pull/464](https://togithub.com/sequelize/umzug/pull/464) - [@​rouanw](https://togithub.com/rouanw) made their first contribution in [https://github.com/sequelize/umzug/pull/489](https://togithub.com/sequelize/umzug/pull/489) - [@​husa](https://togithub.com/husa) made their first contribution in [https://github.com/sequelize/umzug/pull/492](https://togithub.com/sequelize/umzug/pull/492) - [@​trentprynn](https://togithub.com/trentprynn) made their first contribution in [https://github.com/sequelize/umzug/pull/493](https://togithub.com/sequelize/umzug/pull/493) - [@​cellulosa](https://togithub.com/cellulosa) made their first contribution in [https://github.com/sequelize/umzug/pull/509](https://togithub.com/sequelize/umzug/pull/509) **Full Changelog**: https://github.com/sequelize/umzug/compare/v2.3.0...v3.0.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

rikurauhala commented 3 months ago

Manual changes needed before merging.

renovate[bot] commented 3 months ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.