#UPGRADE Angular 15 -> 16
8 messages · Page 1 of 1 (latest)
+1, don't update manually, go through ng update
yes, I used that guide also, but before that you need to confirm the dependencies in the package.json
If you already did it, I think there is no speciall thing between angular 15 vs 16,
I've followed the guide from angular v13 to v18 without issues
I think without other package update only angular update is not a good idea. We should update angular with other package also need to update. Am I right ?
I'm sorry to be the bearer of bad news but the challenge when upgrading between Angular 15 and 16 is that Angular 16 ends support for the Angular Compatibility Compiler (ngcc) which makes it so you can no longer use NPM packages that don't have an IVY version. What this means for you is since those NPM packages won't be available, you will need to change your code that depends on those to something else. This is the main challenge when moving from Angular 15 to Angular 16 regardless of whether you use the Angular migration guide or not.
Hi Naiomi, i suggest to better upgrade it to version 18 insted just stopping at version 16 because sooner or later its going to obsolate so the team might need to spend couple of hours to re-upgradation. Also there are some feature that can be incorporated in subsequent upgrades like moving to signal based approach. Happy to help if you could share some code base. If you just need to migrate to 16 which is not recommended then just simply run these command which will migrate to version 16 ng update @angular/core@16 @angular/cli@16. For third party related things need to individually target packages and install upgraded ones