A step-by-step walkthrough describing how to upgrade an Ember.js application. This slide-deck includes links to video resources. This talk was originally given at the Ember.js Denver Meetup in January 2017.
4. CANARY BETA RELEASE LTS
* Ember®, the Ember® logo design and the Tomster® designs are exclusive trademarks registered in the United States by Tilde Inc.
5. CANARY
* Ember®, the Ember® logo design and the Tomster® designs are exclusive trademarks registered in the United States by Tilde Inc.
“MASTER” BUILD
6. CANARY BETA RELEASE LTS
* Ember®, the Ember® logo design and the Tomster® designs are exclusive trademarks registered in the United States by Tilde Inc.
7. * Ember®, the Ember® logo design and the Tomster® designs are exclusive trademarks registered in the United States by Tilde Inc.
ONCE A WEEK
BETA
8. CANARY BETA RELEASE LTS
* Ember®, the Ember® logo design and the Tomster® designs are exclusive trademarks registered in the United States by Tilde Inc.
9. RELEASE
* Ember®, the Ember® logo design and the Tomster® designs are exclusive trademarks registered in the United States by Tilde Inc.
ONCE EVERY 6 WEEKS
10. CANARY BETA RELEASE LTS
* Ember®, the Ember® logo design and the Tomster® designs are exclusive trademarks registered in the United States by Tilde Inc.
11. LTS
* Ember®, the Ember® logo design and the Tomster® designs are exclusive trademarks registered in the United States by Tilde Inc.
ONCE EVERY 4TH RELEASE
(24 WEEKS)
12. The Ember project adheres to semantic
versioning. Releases are named according to a
MAJOR.MINOR.PATCH scheme, and only MAJOR
versions releases may change or remove public
APIs after deprecation.
Ember.JS Release Cycle Page
13. 2.8 2.11 3.0*
* NOT REALISTIC TO 2.X RELEASE SERIES - USED FOR ILLUSTRATION ONLY
▸ Ember.Handlebars.SafeString
▸ Enumerable.contains
▸ renderToElement
▸ {{render}} helper
2.9 2.10
2.12
▸ Ember.K ▸ All previous
deprecations
removed
14. TWO TYPES OF UPGRADES
▸ Non-major upgrades (2.4 to 2.8)
✦ Deprecation logging / resolution
▸ Between major versions (2.8 to 3.0)
✦ All deprecations must be resolved
28. * Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY
29. * Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY
deprecation
30. * Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY
deprecation
deprecation
deprecation
deprecation
deprecation
deprecation
deprecation
deprecation
deprecation
deprecation
deprecation
deprecation
31. * Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY
deprecation
deprecation
deprecation
deprecation
deprecation
deprecation
deprecation
deprecation
deprecation
deprecation
deprecation
deprecation
46. The Ember project adheres to semantic versioning.
Releases are named according to a
MAJOR.MINOR.PATCH scheme, and only MAJOR
versions releases may change or remove public APIs
after deprecation.
Ember.JS Release Cycle Page
47. The Ember project adheres to semantic versioning.
Releases are named according to a
MAJOR.MINOR.PATCH scheme, and only MAJOR
versions releases may change or remove
public APIs after deprecation.
Ember.JS Release Cycle Page
49. FAILURES SEEM FISHY...
https://travis-ci.org/blimmer/how-to-upgrade-ember/builds/192203425
not ok 107 PhantomJS 2.1 - Unit | Model | user: it exists
message: >
Promise rejected after it exists: [ember-cp-validations] Validator not
found of type: presence.
--
not ok 119 PhantomJS 2.1 - Global error: Error:
Error: Could not find module ember-htmlbars/keywords/view
Error: Could not find module ember-metal/streams/stream
55. not ok 119 PhantomJS 2.1 - Global error: Error:
Error: Could not find module ember-htmlbars/keywords/view
Error: Could not find module ember-metal/streams/stream
VIEW / STREAM SEEMS LOW LEVEL
LIQUID FIRE?
68. “SAFE” DEPLOY / TESTING
▸ ember-cli-deploy-redis *
▸ use index keys to help
▸ keep an eye out for errors
▸ test critical flows
* SEE MY TALK ON EMBER-CLI-DEPLOY STRATEGIES FOR MORE INFO