Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Migrating Angular JS 1.6.10 to 1.7.8

I need to migrate my AngularJS version from 1.6.10 to 1.7.8. I would like to know will there be any code breakage after migration?

If anyone could provide the list of differences between 1.6.x and 1.7.x would be much more helpful.

like image 993
Nirmala Avatar asked Jul 01 '26 02:07

Nirmala


1 Answers

Migrating from (AngularJS) 1.6 to 1.7 contains the information you're looking for. The most notable changes are:

  • $resource has now support for request and requestError interceptors

  • Several deprecated features have been removed:

    1. the $controllerProvider.allowGlobals() flag
    2. the $compileProvider.preAssignBindingsEnabled() flag
    3. the angular.lowercase and angular.uppercase methods
    4. the $cookieStore service from the ngCookies module
    5. the ngClick override directive and corresponding services from the ngTouch module
    6. the complete ngScenario module

In the linked resource there is also the full list of breaking changes.

The link for the specific version 1.7.8 is: https://code.angularjs.org/1.7.8/docs/guide/migration

like image 164
lealceldeiro Avatar answered Jul 05 '26 05:07

lealceldeiro



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!