cli icon indicating copy to clipboard operation
cli copied to clipboard

v4.0

Open sushantdhiman opened this issue 9 years ago • 34 comments

Milestone v4.0.0

  • [x] Drop gulp dependency
  • [x] Drop coffee script support
  • [ ] Cross platform CI (Linux and Windows)
  • [x] Drop support for Node v0.12 or below
  • [ ] Codebase
    • [x] ES 2015/2017, either use Node v4 base or babel build
    • [x] Migrate codebase
    • [x] Migrate tests
    • [ ] Use lodash/fp or ramda
  • [x] Sequelize v4 Support https://github.com/sequelize/cli/pull/470
  • [x] Better documentation
    • [x] Contribution Docs
    • [x] Section in https://docs.sequelizejs.com
    • [x] Explain available QueryGenerator functions like bulkInsert etc and how to properly use them
    • [x] FAQs
  • [ ] Features / Support
    • [x] db:create / db:drop
    • [x] Proper error codes
    • [ ] Association support
    • [ ] Atomic migrations (using transactions, as far as database supports it)
    • [ ] ~TypeScript support~ (needs to be community contributed, after v4 is released)

sushantdhiman avatar Mar 25 '17 08:03 sushantdhiman

@Americas In next branch https://github.com/sequelize/cli/tree/next

sushantdhiman avatar May 16 '17 16:05 sushantdhiman

@sushantdhiman yeah, I noticed after I asked :stuck_out_tongue:

Americas avatar May 16 '17 16:05 Americas

What is left of the drop gulp? I'm not finding the issue of discussion.

danielsalles avatar Jul 06 '17 16:07 danielsalles

TypeScript support would be superb. Is there a discussion I can follow? I'd love to contribute to this particular feature.

borislemke avatar Sep 13 '17 11:09 borislemke

@borislemke TypeScript? I think not :(

danielsalles avatar Sep 13 '17 12:09 danielsalles

I have never used TypeScript so I dont know what is expected out of TypeScript Support. @borislemke you may follow https://github.com/sequelize/cli/issues/328

sushantdhiman avatar Sep 13 '17 13:09 sushantdhiman

@danielsalles @sushantdhiman but it's listed in the Milestone? Optional.TypeScript support

borislemke avatar Sep 13 '17 14:09 borislemke

The models created by sequelize-cli v3 is not compatible with last version of sequelize and you explained this in docs. I want to know what is the estimation time for launching sequelize-cli V4? because older version generates files that I need to change them again manually. Thanks

AminTizdastAzar avatar Sep 26 '17 17:09 AminTizdastAzar

@aminTiz I simply dont owe you any estimates, I work in my free time :). If you want things to progress faster help me out with implementing things.

sushantdhiman avatar Sep 27 '17 05:09 sushantdhiman

@sushantdhiman I will be more than happy to help you. Just give me the guidelines to start please.

AminTizdastAzar avatar Sep 27 '17 12:09 AminTizdastAzar

@aminTiz For starters you can start with https://github.com/sequelize/cli/issues/222, Its a long standing issue but should be easy to fix. Just verify attributes generated are having a type which is valid in Sequelize, around here https://github.com/sequelize/cli/blob/f4090948eee793d43fd758f81384f01480de0643/src/helpers/model-helper.js#L27

Please read our contribution guide https://github.com/sequelize/cli/blob/master/CONTRIBUTING.md#fixing-bugs-or-implementing-features to setup your development environment

sushantdhiman avatar Sep 27 '17 12:09 sushantdhiman

@sushantdhiman Will remove classMethods from model template?

leodutra avatar Oct 05 '17 00:10 leodutra

@leodutra yea, Its already mentioned as Sequelize v4 support

sushantdhiman avatar Oct 05 '17 04:10 sushantdhiman

Is anyone currently working on association support? If not, I could start working on it.

andrewoons avatar Nov 07 '17 20:11 andrewoons

Any indication when v4 is released?

Khanji avatar Jan 04 '18 10:01 Khanji

mark

silentsiri avatar Jan 04 '18 10:01 silentsiri

is this being worked on, or do I need to stop using this library? The cli and the core module have been out of sync for the better part of a year now, and it's not a minor technical discrepancy with a few edge cases, it's a lot of important functionality that's simply not working.

You have a line at the bottom of the readme that says support for v4 is experimental. 'experimental' is a deceptive way to say about 50% of the functions throw cryptic errors, we haven't documented which ones, and nobody seems to working on fixing it.

I know I'm not paying for this and nobody owes me anything, but if you aren't going to support v4 in any sort of reasonable time frame, please make that clear so people can either stick with v3, or find another solution.

YGKtech avatar Jan 05 '18 00:01 YGKtech

Tell me, please, what should I do? I have this message:

PS C:\Users\Константин\Desktop\Задание от Яндекса\entrance-task-1-master> node_modules/.bin/sequelize

Sequelize CLI [Node: 9.2.0, CLI: 3.2.0, ORM: 4.27.0]

WARNING: This version of Sequelize CLI is not fully compatible with Sequelize v4.

sciblo avatar Jan 13 '18 22:01 sciblo

@sciblo You have to ignore the warning and wait for the v4.0 release.

MicroDroid avatar Jan 14 '18 17:01 MicroDroid

Out of curiosity what doesn't work for others that you need day-to-day that is preventing you from using the library? I have been using v3 of the cli successfully with v4 of sequelize once I understood the differences.

Basically I use the cli to create models and migrations, simple migration files, and run the migrations forwards and back. That is 90% of what I do day to day. I just know that I need to tweak the relationship stuff when I create a new model. Other than that it seems to work fine.

It would be nice if this was at v4, but I don't think it precludes the use of the cli and v4 of the orm.

buddylindsey avatar Jan 16 '18 15:01 buddylindsey