sequelize/umzug
Framework agnostic migration tool for Node.js
30 Releases
Latest: 1mo ago
v3.8.3Latest
📋 What's Changed
- try fix ci by @mmkal in https://github.com/sequelize/umzug/pull/702
- fix(deps): update dependency fast-glob to v3.3.3 by @renovate[bot] in https://github.com/sequelize/umzug/pull/699
- chore: switch to tinyglobby by @benmccann in https://github.com/sequelize/umzug/pull/705
- bump test timeout? by @mmkal in https://github.com/sequelize/umzug/pull/711
- chore(deps): update dependency lodash to v4.18.1 [security] by @renovate[bot] in https://github.com/sequelize/umzug/pull/721
- chore(deps): update dependency uuid to v14 [security] by @renovate[bot] in https://github.com/sequelize/umzug/pull/719
✨ New Contributors
- @benmccann made their first contribution in https://github.com/sequelize/umzug/pull/705
- Full Changelog: https://github.com/sequelize/umzug/compare/v3.8.2...v3.8.3
v3.8.2
📋 Changes
- fix: resolve esm file path issue and '<<cwd>>' (example tests) on windows (#678) 3baccd6
v3.8.1
📋 What's Changed
- fix: use `undefined` when charset and collate options are not supported by @EinfachHans in https://github.com/sequelize/umzug/pull/673
✨ New Contributors
- @EinfachHans made their first contribution in https://github.com/sequelize/umzug/pull/673
- Full Changelog: https://github.com/sequelize/umzug/compare/v3.8.0...v3.8.1
v3.8.0
📋 What's Changed
- chore(deps): update dependency sequelize to v6.37.1 by @renovate in https://github.com/sequelize/umzug/pull/643
- glob -> fast-glob by @mmkal in https://github.com/sequelize/umzug/pull/660
- Full Changelog: https://github.com/sequelize/umzug/compare/v3.7.0...v3.8.0
v3.7.0
📋 Changes
- create: allow specifying content directly 543a45d
v3.6.1
📋 Changes
- new np version e3ce7f3
v3.6.0
📋 What's Changed
- fix(deps): update dependency glob to v8.1.0 by @renovate in https://github.com/sequelize/umzug/pull/639
- Fix DeprecationWarning for Sequelize V7 by @anroypaul in https://github.com/sequelize/umzug/pull/644
- fix(deps): update dependency type-fest to v4 by @renovate in https://github.com/sequelize/umzug/pull/647
- fix(deps): update dependency pony-cause to v2.1.10 by @renovate in https://github.com/sequelize/umzug/pull/616
✨ New Contributors
- @anroypaul made their first contribution in https://github.com/sequelize/umzug/pull/644
- Full Changelog: https://github.com/sequelize/umzug/compare/v3.5.1...v3.6.0
v3.5.1
📋 What's Changed
- Snowflake does not explicitly support collation in the same way as some other databases by @lbazetto in https://github.com/sequelize/umzug/pull/641
✨ New Contributors
- @lbazetto made their first contribution in https://github.com/sequelize/umzug/pull/641
- Full Changelog: https://github.com/sequelize/umzug/compare/v3.5.0...v3.5.1
v3.5.0
📋 What's Changed
- stop using super-old import x = require('x') syntax in https://github.com/sequelize/umzug/pull/629
- document ts-command-line error handling in https://github.com/sequelize/umzug/pull/633
- feat: non-breaking ESM support 🤝 in https://github.com/sequelize/umzug/pull/613
- Full Changelog: https://github.com/sequelize/umzug/compare/v3.4.0...v3.5.0
v3.5.0-0Pre-release
Better ESM support: #613
v3.4.0
📋 What's Changed
- Provide charset and collate options only for dialects supporting them by @QuentinFarizon in https://github.com/sequelize/umzug/pull/624
✨ New Contributors
- @QuentinFarizon made their first contribution in https://github.com/sequelize/umzug/pull/624
- Full Changelog: https://github.com/sequelize/umzug/compare/v3.3.1...v3.4.0
v3.3.1
📋 Changes
- Revert "feat: remove uniqueness from sequelize storage (#602)" e849968 (see https://github.com/sequelize/umzug/issues/614)
📋 What's Changed
- Fix false positive Confusing Ordering warning by @rpominov in https://github.com/sequelize/umzug/pull/575
- async template function by @ccamensuli in https://github.com/sequelize/umzug/pull/591
- Fix typo in readme by @sdepold in https://github.com/sequelize/umzug/pull/604
- ~feat: remove uniqueness from sequelize storage by @mau31415 in https://github.com/sequelize/umzug/pull/602~ (reverted)
- https://github.com/sequelize/umzug/compare/v3.3.0...v3.3.1
v3.3.0
📋 What's Changed
- Fix false positive Confusing Ordering warning by @rpominov in https://github.com/sequelize/umzug/pull/575
- async template function by @ccamensuli in https://github.com/sequelize/umzug/pull/591
- Fix typo in readme by @sdepold in https://github.com/sequelize/umzug/pull/604
- feat: remove uniqueness from sequelize storage by @mau31415 in https://github.com/sequelize/umzug/pull/602
✨ New Contributors
- @rpominov made their first contribution in https://github.com/sequelize/umzug/pull/575
- @ccamensuli made their first contribution in https://github.com/sequelize/umzug/pull/591
- @mau31415 made their first contribution in https://github.com/sequelize/umzug/pull/602
- </details>
- Full Changelog: https://github.com/sequelize/umzug/compare/v3.2.1...v3.3.0
v3.2.1
📋 What's Changed
- fix: verify pending correctly for custom templates by @mmkal in https://github.com/sequelize/umzug/pull/565
- Full Changelog: https://github.com/sequelize/umzug/compare/v3.2.0...v3.2.1
v3.2.0
📋 What's Changed
- refactor(sequelize): syncModel() by @mmkal in https://github.com/sequelize/umzug/pull/564
- Full Changelog: https://github.com/sequelize/umzug/compare/v3.1.2...v3.2.0
v3.1.2
📋 What's Changed
- chore(deps): bump moment from 2.29.1 to 2.29.2 by @dependabot in https://github.com/sequelize/umzug/pull/552
- chore: bump dependencies (incl pony-cause -> v2.1.2) by @mmkal in https://github.com/sequelize/umzug/pull/562 (see https://github.com/sequelize/umzug/discussions/561)
- Full Changelog: https://github.com/sequelize/umzug/compare/v3.1.1...v3.1.2
v3.1.1
📋 Changes
- fix(deps): bump emittery to avoid https://github.com/sindresorhus/emittery/issues/95 (see https://github.com/sequelize/umzug/issues/541#issuecomment-1083125643) 7baad24
- chore(deps): bump minimist from 1.2.5 to 1.2.6 (#549) b3b3582
v3.1.0
📋 What's Changed
- rm verror by @mmkal in https://github.com/sequelize/umzug/pull/548
- See https://github.com/sequelize/umzug/discussions/545
- Full Changelog: https://github.com/sequelize/umzug/compare/v3.0.0...v3.1.0
v3.0.0
📦 Upgrading from v2.x
- The Umzug class should be imported as a named import, i.e. `import { Umzug } from 'umzug'`.
- The `migrations.resolve` parameter replaces `customResolver`. Explicit support for `wrap` and `nameFormatter` has been removed - these can be easily implemented in a `resolve` function.
- Breaking change to storages: remove string parameter (#429) 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.
- Before:
- ```js
- umzug.on('migrating', (name, m) => console.log({ name, path: m.path }))
- ```
- + 48 more
📋 What's Changed
- feat: add format function by @jaulz in https://github.com/sequelize/umzug/pull/196
- Super refactor by @papb in https://github.com/sequelize/umzug/pull/206
- Fix typo by @rockers7414 in https://github.com/sequelize/umzug/pull/207
- TypeScript rewrite by @papb in https://github.com/sequelize/umzug/pull/209
- chore(lint): prettier by @mmkal in https://github.com/sequelize/umzug/pull/213
- chore: add v3 notice to readme by @mmkal in https://github.com/sequelize/umzug/pull/214
- Support custom sorting function by @rockers7414 in https://github.com/sequelize/umzug/pull/208
- refactor: jest by @mmkal in https://github.com/sequelize/umzug/pull/215
- + 67 more
✨ New Contributors
- @jaulz made their first contribution in https://github.com/sequelize/umzug/pull/196
- @papb made their first contribution in https://github.com/sequelize/umzug/pull/206
- @rockers7414 made their first contribution in https://github.com/sequelize/umzug/pull/207
- @renovate made their first contribution in https://github.com/sequelize/umzug/pull/234
- @luwol03 made their first contribution in https://github.com/sequelize/umzug/pull/321
- @MichielDeMey made their first contribution in https://github.com/sequelize/umzug/pull/380
- @dependabot made their first contribution in https://github.com/sequelize/umzug/pull/417
- @rediska1114 made their first contribution in https://github.com/sequelize/umzug/pull/449
- + 7 more
v3.0.0-beta-cli.18Pre-release
📋 Changes
- Create post-release.yml 7448d3f
- Sequelize v6 (#527) ca2db34
- Separate lint dependencies (#526) 0bea5d1
- rm yarn.lock e0cb83d
- chore(deps): update devdependencies (major) (#432) e5a511a
- chore(deps): update devdependencies (#446) ec2c572
- chore(deps): update dependency json-schema to 0.4.0 [security] (#524) b9dd193
- Remove `.extend(...)` in favour of constructor (#523) 2911d20
- + 14 more
v3.0.0-beta.16Pre-release
📋 Changes
- fix(deps): update dependency type-fest to v1 (#463) f7226db
- Add ability to retrieve context asynchronously before the migrations run (#453) ea214fd
- Fix create migration command docs (#449) cd6a604
v3.0.0-beta.15Pre-release
📋 Changes
- Support tsconfigs with esModuleInterop (#438) (fixes #434) e0e6584
- Breaking change (to storages): remove string parameter (#429) 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.
- Add prod tsconfig for lib output (#430) 92b5d45
- fix(deps): update dependency emittery to ^0.8.0 (#428) beca973
v3.0.0-beta.14Pre-release
📋 Changes
- Don't recreate context in `create` 2cb896b
- Switch prod deps to caret (#421) 2324bdd
- Update dependency fs-jetpack to ~4.1.0 (#396) 9c57644
- Update dependency type-fest to ~0.20.0 (#399) 01da2e6
v3.0.0-beta.13Pre-release
📋 Changes
- Create context per run (#419) 4d2d757
- Make CLI parser options extendable d4c0b45
v3.0.0-beta.12Pre-release
📋 Changes
- Disable stripInternal (it hides needed types) aef619a
v3.0.0-beta.11Pre-release
📋 Changes
- Use verror to wrap migration errors (#416) a24757c
v3.0.0-beta.10Pre-release
📋 Changes
- Move types into their own file (#413) 14649cb
- Add examples folder (#411) 24623c8
- Command-line interface (#389) ae4b3eb
- Pass context to storage methods (#398) d676db8
- Add beforeAll/afterAll events + file locking (#397) bdde73b
- Typed async events (#394) 6fce00e
- Log json-able objects instead of strings (#393) 4856743
v3.0.0-beta.9Pre-release
📋 Changes
- feat: support `step` in up and down options (#386) fb79870
- fix: require ts optimistically to allow using typescript migrations with ts-jest (#388) (fixes #387) 89ed877
- feat: separate out glob input type (#385) 59c7311
- docs: passthrough name in v2 migration snippet (#380) 38cb2bc
v3.0.0-beta.8Pre-release
📋 Changes
- fix: remove sequelize type dependency completely (#370) 8dad082
v3.0.0-beta.7Pre-release
💥 Breaking
- keep extension in migration name (#354 - fixes #353) This matches behaviour in v2 but is breaking since 3.0.0-beta.6 d13c28b
✨ Features
- return migration meta from up/down (#367) 642b4e4
🐛 Fixes
- pass name, path, context to up/down functions (#355 - fixes #352) 654e3be
- import sequelize as a type (#349 - fixes #348) 4b6b3d2
- https://github.com/sequelize/umzug/compare/v3.0.0-beta.6...v3.0.0-beta.7
