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

Migrate to angular 1.6 #273

Open
vdias38 opened this issue Mar 18, 2017 · 0 comments
Open

Migrate to angular 1.6 #273

vdias38 opened this issue Mar 18, 2017 · 0 comments

Comments

@vdias38
Copy link
Contributor

vdias38 commented Mar 18, 2017

https://docs.angularjs.org/guide/migration#migrate1.5to1.6
AngularJS 1.6 fixes numerous bugs and adds new features, both in core and in external modules.
In addition, it includes several security and performance improvements in commonly used services, such as $compile, $injector, $parse, $animate, and directives, such as input, ngModel and select.

Own implementation concerned by upgrade

$http - Due to b54a39, $http's deprecated custom callback methods - success() and error() - have been removed. You can use the standard then()/catch() promise methods instead, but note that the method signatures and return values are different.

$q - Due to e13eea, an error thrown from a promise's onFulfilled or onRejection handlers is treated exactly the same as a regular rejection. Previously, it would also be passed to the $exceptionHandler() (in addition to rejecting the promise with the error as reason).

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

1 participant