Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

State of v7#15736

Mar 3, 2023· 8 comments· 6 replies
Discussion options

Hi

I'm new to TS/JS world, although being experienced developer.
I wondering if v7 is mature enough to start learning how to use it. I prefer TS over JS, and to be honest I'd like to skip 'sequelize-typescript' bridge.

Thx
Marcin

You must be logged in to vote
Answered by ephysMar 3, 2023

Sequelize 7 is still in alpha but if you're OK with the limitations, it's not a bad idea to start using it.

One of the selling points of v7 is that we rewrote a big part of it to be typescript-friendly

You can take a look at the progress of Sequelize 7 here:https://github.com/orgs/sequelize/projects/1/views/1

Here is what is likely to impact you:

  • sequelize-cli does not support Sequelize 7 yet. If you want to use migrations, you would need to use umzug or another migration library instead
  • If you use third-party libraries, they are unlikely to work with Sequelize 7 for the time being
  • A few decorators from Sequelize-TypeScript are still missing:#15334
  • Model inheritance is not ready Done
  • T…

Replies: 8 comments 6 replies

Comment options

ephys
Mar 3, 2023
Maintainer

Sequelize 7 is still in alpha but if you're OK with the limitations, it's not a bad idea to start using it.

One of the selling points of v7 is that we rewrote a big part of it to be typescript-friendly

You can take a look at the progress of Sequelize 7 here:Roadmap (view)

Here is what is likely to impact you:

  • sequelize-cli does not support Sequelize 7 yet. If you want to use migrations, you would need to use umzug or another migration library instead
  • If you use third-party libraries, they are unlikely to work with Sequelize 7 for the time being
  • A few decorators from Sequelize-TypeScript are still missing:Status of merge with sequelize-typescript #15334
  • Model inheritance is not ready Done
  • There is a minor bug with belongsTo (with workaround):MultiplebelongsTo associations in same model to same target not working with inverse #15625, which will be fixed before the stable release. Fixed
  • The new documentation does not describe how to use association decorators yet. They work very similarly to how they did in Sequelize-TypeScript. Done

If you want to use Sequelize 7, I recommend reading the documentation from this PR:sequelize/website#330 (comment). The documentation is available onhttps://sequelize.org. Don't hesitate to ask questions as it will help us improve the documentation

You must be logged in to vote
1 reply
@marcin-bury
Comment options

Zoe

Thank you very much for the detailed answer.

Marcin

Answer selected byephys
Comment options

@ephys Will sequelize-cli support Sequelize 7 anytime soon?

You must be logged in to vote
1 reply
@ephys
Comment options

ephysMar 9, 2023
Maintainer

We don't have an ETA at this time. We'll work on the CLI when the main library is ready

Comment options

@ephys When you think the Sequelize 7 will be in stable version....

You must be logged in to vote
2 replies
@ephys
Comment options

We discussed it during last month's meeting, the meeting notes are here:https://github.com/sequelize/meetings/wiki/Meeting-2024%E2%80%9003%E2%80%9022#latest-v7-release-plan

The last two blockers that remained were splitting the dialects (this is now done) and implementing the new CLI, (this is in progress)

@ilyaskarim
Comment options

Thank you@ephys for the links those were helpful, BTW I am very happy with decision of including sorting in each include for associations.

Comment options

@ephys another question, is there any planning to include support for Sequelize 7 insequelize-auto package?

You must be logged in to vote
2 replies
@WikiRik
Comment options

The current plan is that both the features ofsequelize-auto andsequelize-cli will be released as@sequelize/cli. The features of the current packages will not completely be migrated when 7.0.0 releases and we will keep working on them after the initial release

@ilyaskarim
Comment options

Cool thanks@WikiRik

Comment options

Is June still the objective for beta release?

You must be logged in to vote
0 replies
Comment options

Any recent updates?

You must be logged in to vote
0 replies
Comment options

What is the status of this?

You must be logged in to vote
0 replies
Comment options

with all due respect to all the maintainers involved, you guys really need to get it together. projects like drizzle and prisma are gaining big time over you guys thanks to the speed at which they are moving. Using sequelize with typescript is a total nightmare adding so many libraries that don't even work with all the features well. For example,many to many is still broken

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
None yet
9 participants
@marcin-bury@mschipperheyn@ephys@slidenerd@WikiRik@ilyaskarim@taslangraham@jackhannon@rt-joe

[8]ページ先頭

©2009-2025 Movatter.jp