- Drop support for node <= 12
- Add support for node 18
- Add support for
.postgratorrc.mjs
and.postgratorrc.js
config files withtype: module
. - Add
sqlite3
support
- Upgrade
[email protected]
- Support
*.cjs
and*.mjs
files
- (Breaking) Node.js 12 or later required
- (Breaking) Target postgrator 5.x.x
- (Breaking) Migrate to using cosmiconfig for configuration file
- (Breaking)
secure
option is nowssl
and it works differently for each supported driver - (Breaking) Replace
--migration-directory
option with--migration-pattern
option - Add support for node 16.x.x
- Add drop-schema command
- Add --schema-table option
- Support merging cli and config file options
- (Breaking) Node.js 10 or later required
- (Breaking) Removed option -t, --detect-version-conflicts. Conflicts are now always detected.
- Add support for node 14.x.x
- Add support for pg 8.x.x
- Ask password if -p or --password parameter without value is given or if config file does not contain password.
- Fix node6 compatibility
- Update dependencies
- Added option
detect-version-conflicts
to detect if there are multiple migration files with same version number.
- Upgraded for Postgrator 3.