Closed
Bug 1364888
Opened 7 years ago
Closed 6 years ago
Update from AngularJS 1.5 to 1.6
Categories
(Tree Management :: Treeherder: Frontend, enhancement, P2)
Tree Management
Treeherder: Frontend
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
References
(Blocks 1 open bug)
Details
(Keywords: perf)
Attachments
(1 file, 1 obsolete file)
We're currently using 1.5.11. The 1.6 release includes a number of bug fixes and performance improvements: https://github.com/angular/angular.js/blob/master/CHANGELOG.md#160-rainbow-tsunami-2016-12-08 Upgrade guide: https://docs.angularjs.org/guide/migration#migrating-from-1-5-to-1-6
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Assignee | ||
Updated•7 years ago
|
Component: Treeherder → Treeherder: Frontend
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 4•6 years ago
|
||
The Renovate bot PR for this is here: https://github.com/mozilla/treeherder/pull/3044
Comment 5•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → emorley
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•6 years ago
|
||
Comment on attachment 8939012 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3073 I've deployed this plus the React 16 PR, plus the Angular UI-router PR all to https://treeherder-prototype.herokuapp.com/ to allow for testing - in case that helps :-)
Attachment #8939012 -
Flags: review?(cdawson)
Comment 7•6 years ago
|
||
Comment on attachment 8939012 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3073 Just one little thing. Thanks for doing this!! :)
Attachment #8939012 -
Flags: review?(cdawson) → review-
Assignee | ||
Comment 8•6 years ago
|
||
Comment on attachment 8939012 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3073 I've updated the PR to fix the pre-existing bug - good spot :-) It's been rebased on master and deployed to prototype for testing, along with PR 3101 (the unused DI parameter one).
Attachment #8939012 -
Flags: review- → review?(cdawson)
Comment 9•6 years ago
|
||
Comment on attachment 8939012 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3073 Works now. Thanks for doing this upgrade! :)
Attachment #8939012 -
Flags: review?(cdawson) → review+
Comment 10•6 years ago
|
||
Commits pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/27e516ff4efe1f4379bcf71c1612501407e21a1d Bug 1364888 - Stop using deprecated $http callback methods Angular v1.4.4 deprecated `$http`'s `.success()` and `.error()` callbacks in favour of `.then()` and `.catch()`. The deprecated forms are finally removed in Angular 1.6, so we need to stop using them: https://docs.angularjs.org/guide/migration#-http- https://github.com/mozilla/treeherder/commit/3ada44e0192d37b4badb4d0756ed105bf5b1b667 Bug 1364888 - Upgrade to AngularJS 1.6 The previous commit switched us away from the deprecated `$http` callback methods, meaning the only other breaking change that affects us is the `hashPrefix` change, which we revert by manually setting it back to the empty string, so that existing URLs still work: https://docs.angularjs.org/guide/migration#commit-aa077e8 For more details, see: https://docs.angularjs.org/guide/migration#migrating-from-1-5-to-1-6 https://github.com/angular/angular.js/blob/master/CHANGELOG.md#160-rainbow-tsunami-2016-12-08 Closes #3044.
Assignee | ||
Updated•6 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•