-
Notifications
You must be signed in to change notification settings - Fork 441
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
Upgrade to angular 17 #2934
Upgrade to angular 17 #2934
Conversation
# Conflicts: # src/main.server.ts
# Conflicts: # yarn.lock
… new nomenclature
# Conflicts: # server.ts # src/config/universal-config.interface.ts # src/environments/environment.production.ts # src/environments/environment.ts
…into DURACOM-248-ANGULAR-17
…into DURACOM-248-ANGULAR-17
NOTE: It appears Angular 17 now requires Node 18.3.0 or 20.9.0 or later. Just hit this error when I tried a
This is just something we'll need to update in our Installation Documentation once this is merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Thanks @atarix83 ! This looks great and appears to work well. I've done basic testing of the user interface and verified that SSR still works with JS disabled (since SSR settings have changed in Angular 17). I've also verified that the bug with Version History is fixed.
I'm going to merge this immediately in order to deploy it to https://sandbox.dspace.org for further testing during Testathon. Additionally, I noticed that most of this PR is really just dependency updates. The majority of the actual code changes are related to fixing the Version History bug & small refactoring of SSR for Angular 17
However, if we find later issues or if @artlowel finds issues with this PR, we may ask for some follow-up work.
References
Description
This PR provides upgrade to angular 17. It also includes a bug-fixing for #2924
Instructions for Reviewers
The major changes introduced by Angular in the 17 version is on server-side rendering. Universal SSR and build-time prerendering are now directly supported in Angular CLI and do not require a separate integration with Universal.
List of main changes in this PR:
Include guidance for how to test or review your PR.
Review this PR by running the application (against sandbox rest server) to verify everything works properly as the current sandbox environment.
Please verify also #2924 is fixed
Checklist
yarn lint
yarn check-circ-deps
)package.json
), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.