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