-
-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v4.0 #441
Comments
@Americas In next branch https://github.com/sequelize/cli/tree/next |
@sushantdhiman yeah, I noticed after I asked 😛 |
What is left of the drop gulp? I'm not finding the issue of discussion. |
TypeScript support would be superb. Is there a discussion I can follow? I'd love to contribute to this particular feature. |
@borislemke TypeScript? I think not :( |
I have never used TypeScript so I dont know what is expected out of TypeScript Support. @borislemke you may follow #328 |
@danielsalles @sushantdhiman but it's listed in the Milestone? |
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. |
@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 I will be more than happy to help you. Just give me the guidelines to start please. |
@aminTiz For starters you can start with #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 cli/src/helpers/model-helper.js Line 27 in f409094
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 Will remove |
@leodutra yea, Its already mentioned as Sequelize v4 support |
Is anyone currently working on association support? If not, I could start working on it. |
Any indication when v4 is released? |
mark |
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 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. |
Tell me, please, what should I do? I have this message:
|
@sciblo You have to ignore the warning and wait for the v4.0 release. |
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 : for me about half of the migrations I write fail with cryptic errors. Notably things like modifying columns or adding indexes. It works fine for creating new tables and such, but simple things like making a column unique will fail. |
How can I try cli 4.0? |
@buddylindsey For me, it's not clear how to understand the differences. I am new to using sequelize, so I don't have v3 usage to compare to and understand what tweaks I need to make. Is there a reference or blog post or something to follow to find the tweaks? |
I'm new too, but I'm using cli v3 with Sequelize v4. I used cli generators, then went line by line in the generated code, cross-referencing the results against the v4 changes posted in the Sequelize docs. It's time-consuming, but it lets you get most of the benefits of cli v3 and learn a lot about Sequelize v4 in the process. It would have taken me several times as long to get the prototype app I was working on built and it wouldn't have been nearly as good if I hadn't taken this approach. |
@ryanburnette thank you, that's really helpful both as a link to docs and as an attitude toward learning. After going through that I'm much more clear on how to continue to use the cli v3. |
When release need this so much folks |
Sorry for all this delay guys, I am busy with Sequelize and I am afraid there is no change in that. In short term future my contribution to CLI will be very limited. Here is my immediate plan for CLI, #470 (comment), @buddylindsey offered help to fix For long term future and completing featured listed in v4 milestone and other issues, I would like your help. If you use CLI and would like to improve it please send some PRs, I will be very happy to share push access to repository so you can eventually maintain it. Notes for future maintainers
|
FYI @sushantdhiman has pushed a v4 of |
IMHO, please consider this for 4.0:
Just went from zero to 5 services using Sequelize, in 2 organizations, and those were the most persistent issues/tricks across them. A lot of Google queries and Github issues (not really issues but questions)... |
Not much time at hand @leodutra , all I can do is accept PRs |
Ok... at least is reported for whenever I/community get some spare time. |
I want to start getting involved with what I can with the project. One of the things that's deterring me, however, is that I cannot get the tests to run locally (I'm on Windows, if that makes a difference). The documentation for contributing simply states:
but this crashes on windows - even with sqlite etc installed. Was there a change to installation requirements along the way? I have been pushing to my own playground branch to run tests on Travis, as that's all I can really do. The point is, if there's going to be a slow shift in repository maintenance/community involvement, I think this is something that needs to be perhaps be updated or addressed (or at least listed as linux-only) in the contributing docs. |
I am trying to get CI running against windows #657, Hopefully that will iron out any platform related issues. Apart from some filesystem related issues its almost ready, see if you can help us with that @vapurrmaid , Just take my commits, open a new PR and try to fix remaining tests |
I'll certainly see if I can help there - thanks for the link |
[nextercism] Add CLI-specific config
Milestone v4.0.0
ES 2015/2017
, either use Node v4 base or babel buildQueryGenerator
functions likebulkInsert
etc and how to properly use themdb:create
/db:drop
TypeScript support(needs to be community contributed, after v4 is released)The text was updated successfully, but these errors were encountered: