UNPKG

10.5 kBMarkdownView Raw
1# Change Log
2All notable changes to this project will be documented in this file.
3
4## Future
5
6## v5.1.0 - 14th, Oct 2018
7
8### Feature
9- feat(postgres): migrationStorageTableSchema [#635](https://github.com/sequelize/cli/pull/635)
10
11## v5.0.0 - 13th, Oct 2018
12
13### Fixed
14- fix(init): relative config path for windows [#648](https://github.com/sequelize/cli/pull/648)
15- fix(mode:generate): use force arg correctly [#691](https://github.com/sequelize/cli/pull/691)
16- updated dependencies
17
18### Breaking
19- Node 6 or up is supported
20
21## v4.1.0 - 19th, Aug 2018
22
23### Fixed
24- fix(model:generate) attribute datatype validation [#682](https://github.com/sequelize/cli/issues/682)
25- fix: add force flag to model:create [#680](https://github.com/sequelize/cli/issues/680)
26
27### Changed
28- Use const in generated files
29
30
31## v4.0.0 - 15th, Feb 2018
32
33### Changed
34- Removed warning about v4
35- Support for v4 [#620](https://github.com/sequelize/cli/pull/620) [#441](https://github.com/sequelize/cli/issues/441)
36
37
38## v3.2.0 - 3rd, Dec 2017
39
40### Fixed
41- Better messages when files/folders already exists [#569](https://github.com/sequelize/cli/issues/569)
42- Specify ARRAY type with `model:create` [#155](https://github.com/sequelize/cli/issues/155)
43
44### Changed
45- Revert: safer configuration using environment variables for production [#594](https://github.com/sequelize/cli/pull/594)
46
47
48## v3.1.0 - 18th, Nov 2017
49
50### Fixed
51- Pass full config to sequelize constructor [#584](https://github.com/sequelize/cli/issues/584)
52
53### Added
54- `db:migrate` support for from / to arguments [#581](https://github.com/sequelize/cli/pull/581)
55
56### Changed
57- Safer configuration using environment variables for production [#579](https://github.com/sequelize/cli/pull/579)
58
59- Updated dependencies
60
61## v3.0.0 - 23rd, Sep 2017
62
63### Fixed
64 - `db:create/drop` should properly quote database name [#545](https://github.com/sequelize/cli/issues/545)
65
66### Added
67 - `--debug` support, print full stack for errors, when available [#552](https://github.com/sequelize/cli/pull/552)
68
69### Changed
70 - All errors are now properly formatted and outputted to `console.error` [#552](https://github.com/sequelize/cli/pull/552)
71
72### Internal
73 - Refactor to use centralized `log/error/warn` methods [#552](https://github.com/sequelize/cli/pull/552)
74
75## v3.0.0-3 - 16th, Sep 2017
76
77### Fixed
78- Error when creating nested config path [#534](https://github.com/sequelize/cli/issues/534)
79
80### Added
81- `db:create` and `db:drop` for MySQL, Postgres and MSSQL [#70](https://github.com/sequelize/cli/issues/70)
82
83## v3.0.0-2 - 10th, Sep 2017
84
85### Fixed
86- `.sequelizerc` is not properly read [#536](https://github.com/sequelize/cli/issues/536)
87
88## v3.0.0-1 - 9th, Sep 2017
89
90### Added
91- Warning with Sequelize v4
92
93### Changed
94- Skeletons are now ES6 based [#482](https://github.com/sequelize/cli/issues/482)
95
96## v3.0.0-0 - 8th, Sep 2017
97
98### Removed
99- `db:migrate:old_schema`
100- `--coffee` support
101- `help:*` commands
102
103### Fixed
104- Drop Gulp [#344](https://github.com/sequelize/cli/issues/344)
105- NSP Vulnerability [#466](https://github.com/sequelize/cli/issues/466)
106- Non functional with Node 7 [#383](https://github.com/sequelize/cli/issues/383)
107- Unable to find Gulp [#138](https://github.com/sequelize/cli/issues/138)
108- Reintegrate Gulp [#5](https://github.com/sequelize/cli/issues/5)
109- Unable to seed multiple files [#523](https://github.com/sequelize/cli/issues/523)
110- No Gulpfile found [#480](https://github.com/sequelize/cli/issues/480)
111- Exit Code(1) when migration undo fail [#394](https://github.com/sequelize/cli/issues/394)
112- `--coffee` flag dont work with `.rc` file [#244](https://github.com/sequelize/cli/issues/244)
113- CLI dont halt on error [#106](https://github.com/sequelize/cli/issues/106)
114
115### Improvements
116- No Gulp, better startup time
117- Proper exit codes
118- Remove dependency on `moment` , `findup-sync`, `gulp` and `gulp-help`
119
120## v2.8.0 - 2017-08-04
121### Added
122- Timestamps db:migrate:schema:timestamps:add [#460](https://github.com/sequelize/cli/pull/460)
123- Support for db:migrate:undo:all with `--to`, which allow reverting to a specific version [#459](https://github.com/sequelize/cli/pull/459)
124
125### Changed
126- Updated dependencies
127
128### Docs
129- FAQ section [#486](https://github.com/sequelize/cli/pull/486)
130
131## v2.7.0 - 2017-03-25
132### Added
133- Named db:migrate:undo [#387](https://github.com/sequelize/cli/pull/387)
134
135### Changed
136- Fixed promise warning in gulp-helper [#439](https://github.com/sequelize/cli/issues/439)
137
138## v2.6.0 - 2017-03-17
139### Added
140- Async configuration support [#359](https://github.com/sequelize/cli/pull/359)
141
142### Changed
143- Print error stack when reporting seeder errors [#411](https://github.com/sequelize/cli/pull/411)
144- Fixed seed:undo:all with `none` storage [#433](https://github.com/sequelize/cli/pull/433)
145- Updated dependencies
146
147## v2.5.0 - 2016-12-07
148### Added
149- Add underscored option to generated model when created with --underscored [#380](https://github.com/sequelize/cli/issues/380)
150- Add db:migrate:status [#385](https://github.com/sequelize/cli/issues/385)
151
152### Changed
153- Make it possible to use ":" in passwords in a DSN [#334](https://github.com/sequelize/cli/issues/334)
154- Catch error for db:migrate:undo[:all] [#353](https://github.com/sequelize/cli/issues/353)
155- Example usage of raw sql in migration [#363](https://github.com/sequelize/cli/issues/363)
156- Fixed typo: containts -> contains [#381](https://github.com/sequelize/cli/issues/381)
157- Updated dependencies
158
159## v2.4.0 - 2016-04-25
160### Added
161- Log filtering helper
162
163### Changed
164- Fixed some promises that were not being returned
165- Updated dependencies
166- Migration and seed filenames now use UTC date instead of local date
167- Output filtering
168
169## v2.3.1 - 2016-01-14
170### Changed
171- Update lodash to 4.0.0
172
173## v2.3.0 - 2016-01-11
174### Changed
175- Default use of `seeder` memorizes nothing
176- Update umzug to 1.8.0
177
178## v2.2.1 - 2015-11-24
179### Fixed
180- Filtering of js files in models/index.js
181
182## v2.2.0 - 2015-11-23
183### Changed
184- Respect `url` property in configuration
185
186## v2.1.1 - 2015-11-19
187### Changed
188- Respect `dialectOptions` property when instantiating sequelize
189
190## v2.1.0 - 2015-11-01
191### Added
192- Option for usage of snake case timestamp columns in migrations (e.g. `sequelize model:create --underscored`)
193
194## v2.0.0 - 2015-10-14
195### Added
196- Read configuration from config.js if available
197
198### Changed
199- Replace deprecated fs.existsSync method
200
201## v1.9.2 - 2015-10-14
202### Changed
203- Make options path process relative
204
205## v1.9.1 - 2015-09-08
206### Changed
207- Move gulp path resolution to function
208- Fix handling of duplicate CLI options
209- Add options object to seed template
210
211## v1.9.0 - 2015-09-01
212### Added
213- Seeding mechanism
214
215## v1.8.3 - 2015-08-28
216### Changed
217- Cascade package resolution
218
219### Removed
220- Duplicate reference to gulp
221
222## v1.8.2 - 2015-08-27
223### Changed
224- Use node's native module resolution mechanism
225
226## v1.8.1 - 2015-08-27
227### Changed
228- Filter password from parsed URL
229
230## v1.8.0 - 2015-08-27
231### Added
232- Support for env variable usage in model/index.js
233
234## v1.7.4 - 2015-07-28
235### Changed
236- Return exit code 1 when migrations failed
237
238## v1.7.3 - 2015-07-26
239### Changed
240- Fix check of associate method
241
242## v1.7.2 - 2015-07-16
243### Added
244- Sequelize v3 to build matrix
245
246### Changed
247- Compatibility with Sequelize v3
248
249## v1.7.1 - 2015-07-09
250### Added
251- Documentation about env variable
252- Test for use*env*variable
253
254### Changed
255- Fix env variable use for sqlite
256- Update available tasks
257
258## v1.7.0 - 2015-04-19
259### Added
260- More gulp tasks
261
262### Changed
263- Generate new migration style
264- Adopt new JSHint/JSCS rules
265- Update JSHint and JSCS rules
266
267## v1.6.0 - 2015-04-02
268### Added
269- Possibility to use a different table name for the meta data
270
271## v1.5.0 - 2015-03-24
272### Added
273- `sequelize db:migrate:undo:all` that rolls back all migrations.
274
275## v1.4.0 - 2015-03-13
276### Added
277- Possibility to log executed migrations to a JSON file
278
279## v1.3.2 - 2015-03-13
280### Changed
281- Fix gulp resolution for Windows
282
283## 1.3.1
284### Changed
285- Update umzug to 1.6.0
286
287## 1.3.0
288### Changed
289- Add builds for different sequelize versions
290- Fix raw queries in sequelize 2.0
291
292## 1.2.0
293### Changed
294- Add logging of statements and improve messages
295
296## 1.1.0
297### Changed
298- Update dependencies
299
300## 1.0.8
301### Changed
302- Fix usage of js2coffee 2.0
303
304## 1.0.7
305### Changed
306- Fix regexp application for non migration files.
307
308## 1.0.6
309### Changed
310- Add support for more fine-granular harmony flags
311
312## 1.0.5
313### Changed
314- Added support for auto-migrate from old schema [#82](https://github.com/sequelize/cli/issues/82)
315
316## 1.0.4
317### Changed
318- Fix output filtering
319- Fix EventEmitter deprecation warnings.
320
321## 1.0.3
322### Changed
323- Use the url module to parse database URLs
324
325## 1.0.1
326### Changed
327- Fix global installation of the CLI
328
329## 1.0.0
330### Changed
331- Big migration refactoring which uses a new schema table and the umzug lib.
332
333## 0.3.3
334### Changed
335- Fix for default attributes in generated migrations.
336- Auto-generate coffee files with js2coffee.
337
338## 0.3.2
339### Changed
340- Add default attributes to generated migrations.
341
342## 0.3.1
343### Changed
344- Fix alignment of comment in generated model file
345- Fix global installation
346
347## 0.3.0
348### Changed
349- Add Node.JS version to the teaser
350- Add dialect and the respective version to the teaser
351
352## 0.2.6
353### Changed
354- Do not load lodash in `models/index.js`.
355
356## 0.2.5
357### Changed
358- Prefer `--env` over the environment variable `NODE_ENV`.
359- Search by default for a file called `.sequelizerc` and treat it as `--options-path`.
360
361## 0.2.4
362### Changed
363- Fix unqualified sequelize instantiation which enforced the mysql module.
364
365## 0.2.3
366### Changed
367- Fix `--migrations-path` for relative paths.
368
369## 0.2.2
370### Changed
371- Fix for MS Windows.
372
373## 0.2.1
374### Changed
375- Fix `_.includes`.
376
377## 0.2.0
378### Changed
379- `sequelize model:create` creates a model and its respective migration file.
380
381## 0.1.1
382### Changed
383- Fix illegal character.
384
385## 0.1.0
386### Changed
387- `sequelize init` now creates a `models` folder and a `models/index.js` file. [#11](https://github.com/sequelize/cli/pull/11)
388
389## 0.0.4
390### Changed
391- Fix --config flag. [#4](https://github.com/sequelize/cli/pull/4)
392- Fix custom logging option. [#3](https://github.com/sequelize/cli/pull/3)
393
394## 0.0.3
395### Changed
396- Fix conflict within projects that are already shipping gulp. [#2](https://github.com/sequelize/cli/pull/2)
397- Add harmony support. [#6](https://github.com/sequelize/cli/pull/6)
398
399## 0.0.2
400### Changed
401- Added the binary to the package.json
402
403## 0.0.1
404### Changed
405- First working version