All notable changes to this project will be documented in this file.
- change: use sequelize-cli as an alias for the binary #812
- fix: special characters in password are not escaped #722
- change: default config for operator aliases #743
- fix: show commands with --help #719
- fix(db:create): syntax errors with mssql create statement #711
- style: grammar mistake in seeder skeleton #705
- feat(mode:generate) add enum support #704
- feat(db:create): support options on db:create with sequelize@4 #700
- feat(postgres): migrationStorageTableSchema #635
- fix(init): relative config path for windows #648
- fix(mode:generate): use force arg correctly #691
- updated dependencies
- Node 6 or up is supported
- Use const in generated files
- Revert: safer configuration using environment variables for production #594
- Pass full config to sequelize constructor #584
db:migrate
support for from / to arguments #581
-
Safer configuration using environment variables for production #579
-
Updated dependencies
db:create/drop
should properly quote database name #545
--debug
support, print full stack for errors, when available #552
- All errors are now properly formatted and outputted to
console.error
#552
- Refactor to use centralized
log/error/warn
methods #552
- Error when creating nested config path #534
db:create
anddb:drop
for MySQL, Postgres and MSSQL #70
.sequelizerc
is not properly read #536
- Warning with Sequelize v4
- Skeletons are now ES6 based #482
db:migrate:old_schema
--coffee
supporthelp:*
commands
- Drop Gulp #344
- NSP Vulnerability #466
- Non functional with Node 7 #383
- Unable to find Gulp #138
- Reintegrate Gulp #5
- Unable to seed multiple files #523
- No Gulpfile found #480
- Exit Code(1) when migration undo fail #394
--coffee
flag dont work with.rc
file #244- CLI dont halt on error #106
- No Gulp, better startup time
- Proper exit codes
- Remove dependency on
moment
,findup-sync
,gulp
andgulp-help
- Timestamps db:migrate:schema:timestamps:add #460
- Support for db:migrate:undo:all with
--to
, which allow reverting to a specific version #459
- Updated dependencies
- FAQ section #486
- Named db:migrate:undo #387
- Fixed promise warning in gulp-helper #439
- Async configuration support #359
- Print error stack when reporting seeder errors #411
- Fixed seed:undo:all with
none
storage #433 - Updated dependencies
- Add underscored option to generated model when created with --underscored #380
- Add db:migrate:status #385
- Make it possible to use ":" in passwords in a DSN #334
- Catch error for db:migrate:undo[:all] #353
- Example usage of raw sql in migration #363
- Fixed typo: containts -> contains #381
- Updated dependencies
- Log filtering helper
- Fixed some promises that were not being returned
- Updated dependencies
- Migration and seed filenames now use UTC date instead of local date
- Output filtering
- Update lodash to 4.0.0
- Default use of
seeder
memorizes nothing - Update umzug to 1.8.0
- Filtering of js files in models/index.js
- Respect
url
property in configuration
- Respect
dialectOptions
property when instantiating sequelize
- Option for usage of snake case timestamp columns in migrations (e.g.
sequelize model:create --underscored
)
- Read configuration from config.js if available
- Replace deprecated fs.existsSync method
- Make options path process relative
- Move gulp path resolution to function
- Fix handling of duplicate CLI options
- Add options object to seed template
- Seeding mechanism
- Cascade package resolution
- Duplicate reference to gulp
- Use node's native module resolution mechanism
- Filter password from parsed URL
- Support for env variable usage in model/index.js
- Return exit code 1 when migrations failed
- Fix check of associate method
- Sequelize v3 to build matrix
- Compatibility with Sequelize v3
- Documentation about env variable
- Test for useenvvariable
- Fix env variable use for sqlite
- Update available tasks
- More gulp tasks
- Generate new migration style
- Adopt new JSHint/JSCS rules
- Update JSHint and JSCS rules
- Possibility to use a different table name for the meta data
sequelize db:migrate:undo:all
that rolls back all migrations.
- Possibility to log executed migrations to a JSON file
- Fix gulp resolution for Windows
- Update umzug to 1.6.0
- Add builds for different sequelize versions
- Fix raw queries in sequelize 2.0
- Add logging of statements and improve messages
- Update dependencies
- Fix usage of js2coffee 2.0
- Fix regexp application for non migration files.
- Add support for more fine-granular harmony flags
- Added support for auto-migrate from old schema #82
- Fix output filtering
- Fix EventEmitter deprecation warnings.
- Use the url module to parse database URLs
- Fix global installation of the CLI
- Big migration refactoring which uses a new schema table and the umzug lib.
- Fix for default attributes in generated migrations.
- Auto-generate coffee files with js2coffee.
- Add default attributes to generated migrations.
- Fix alignment of comment in generated model file
- Fix global installation
- Add Node.JS version to the teaser
- Add dialect and the respective version to the teaser
- Do not load lodash in
models/index.js
.
- Prefer
--env
over the environment variableNODE_ENV
. - Search by default for a file called
.sequelizerc
and treat it as--options-path
.
- Fix unqualified sequelize instantiation which enforced the mysql module.
- Fix
--migrations-path
for relative paths.
- Fix for MS Windows.
- Fix
_.includes
.
sequelize model:create
creates a model and its respective migration file.
- Fix illegal character.
sequelize init
now creates amodels
folder and amodels/index.js
file. #11
- Added the binary to the package.json
- First working version