Skip to content
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

PSA: Angular v19 and NgRx v19 #4603

Open
timdeschryver opened this issue Nov 20, 2024 · 6 comments
Open

PSA: Angular v19 and NgRx v19 #4603

timdeschryver opened this issue Nov 20, 2024 · 6 comments

Comments

@timdeschryver
Copy link
Member

timdeschryver commented Nov 20, 2024

Which @ngrx/* package(s) are relevant/related to the feature request?

signals

Information

For those looking to upgrade to NgRx v19 along with Angular v19, just wanted to post some general notes as we go through this each release cycle.

We're still working on getting the release out.

  • NgRx v18 still works with Angular v19.
  • Until then, you may need to install using the legacy peer deps option with npm npm i --legacy-peer-deps.
  • We won't be bumping the NgRx v18 package.json to go past Angular v18 package versions. Our stance has been to keep each major release of NgRx aligned with each major release of Angular.

As this project is maintained by open source contributors in their free time, we try to work at a sustainable pace. You can support us by sponsoring the project or leveling up your team through one of our workshops.

We will have the release out as soon as its ready.

Thanks in advance,

The NgRx Team

Update 26 Nov: Version 19.0.0-beta.0 is now available, keep in mind that there will be breaking changes added in next versions before we publish a release candidate.

@timdeschryver timdeschryver pinned this issue Nov 20, 2024
@timdeschryver timdeschryver changed the title Angular v19 and NgRx v19 PSA: Angular v19 and NgRx v19 Nov 20, 2024
@michael-small
Copy link

michael-small commented Nov 21, 2024

Thanks for mentioning this, the issue like this but for when Angular 18 came out helped me.

For people who may want an alternative so the install peer deps option doesn't need to be used on the CLI / CI every time is to put the following in a package.json

// Applicable to any ngrx package
  "overrides": {
    "@ngrx/signals": {
      "@angular/common": "$@angular/common",
      "@angular/core": "$@angular/core"
    }
  }

@salztorte
Copy link

@michael-small
Is a possible workaround, but is not really something I want to have for production.
Would be nice, ngrx can be release a new version, so the workaround is not needed.

In the main branch, the dependency is already updated. Just a new release is missing.

@rainerhahnekamp
Copy link
Contributor

@salztorte, once we release, there won’t be room for breaking changes for at least the next six months. Therefore, if there are features that require only a few days to implement but involve breaking changes, it’s better to address them now rather than in May 2025.

@salztorte
Copy link

@rainerhahnekamp I totally understand that a lib can not just update stuff or do breaking changes.
It just would be nice to have an EST for better planning.

@rainerhahnekamp
Copy link
Contributor

Sure, this one has the breaking change and must be merged: #4607

I cannot give you an exact EST but looking at the PR, it looks very ready.

@timdeschryver
Copy link
Member Author

Version 19.0.0-beta.0 is now available, keep in mind that there will be breaking changes added in next versions before we publish a release candidate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants