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