ngxs / store

🚀 NGXS - State Management for Angular
http://ngxs.io
MIT License
3.52k stars 400 forks source link

🚀[FEATURE]: Support Angular 18 #2167

Closed JimLixin closed 1 month ago

JimLixin commented 2 months ago

Relevant Package

All Ngxs packages.

Description

Support Angular 18.

Describe the problem you are trying to solve

Trying to update our codebase to Angular 18.

Describe the solution you'd like

Relax the restriction in package.json.

Describe alternatives you've considered

None at this time.

image

mrs-cp commented 2 months ago

yes, angular 18 support would be great, thanks! 👍

JGSolutions commented 2 months ago

would be great

idrayv commented 1 month ago

Thanks, waiting for that so much ;)

mountpoint commented 1 month ago

Waiting for Angular 18 support =)

AliElba commented 1 month ago

Waiting for Angular 18 support very hard :)

siddharthcn21 commented 1 month ago

by when we can expect angular 18 support?

markwhitfeld commented 1 month ago

Hi everyone We hope to cut the next release very soon, but it is a huge release so there are a few things to coordinate first. You can use the @dev version of the packages right now (see development builds in the docs) to use the release candidate with Angular 18 support in your projects.

JGSolutions commented 1 month ago

Thx @markwhitfeld for the update :)

hakimio commented 1 month ago

@markwhitfeld just curious why the minimum supported Angular version is still set to v12 while the latest dev version definitely doesn't support anything lower than Angular v16. Is it intentional?

markwhitfeld commented 1 month ago

@hakimio Thanks for pointing that out. I think it is in error. The minimum version should be v16.

arturovt commented 1 month ago

Great news! v18.0.0 has been released and it includes a fix for this issue. We are closing this issue, but please re-open it if the issue is not resolved. Please leave a comment in the https://github.com/ngxs/store/discussions/2173 if you come across any regressions with respect to your issue.

hakimio commented 1 month ago

@arturovt where is the upgrade guide like this one?

EDIT: found this one.

markwhitfeld commented 1 month ago

PS. @hakimio We are releasing v18 now as a "soft launch" while we work on making sure that the release announcement that you found above is ready to go. If you spot anything that is unclear in that announcement, we welcome any feedback. 🙏

hakimio commented 1 month ago

Looks good as far as I can see. Also, really love the new select() and createSelectMap() signal utility functions. No need for *ngrxLet and combineLatest() anymore 🙂