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