Here are the two issues refernced in slide 24: 1: https://github.com/mixonic/ember-cli-deprecation-workflow/issues/2 2: https://github.com/mixonic/ember-cli-deprecation-workflow/issues/4
ember-cli-deprecation-workflow@robdel121
View Slide
Who has seen this before?2
3
The deprecation warningscan be overwhelming.4
But that’s okay.5
ember-cli-deprecation-workflow to the rescue!6
Let’s get set up.7
Run `ember install ember-cli-deprecation-workflow` in yourember cli project.8
Create the config file:`config/deprecation-workflow.js`9
Run your test suite with the server:`ember test - - server`10
After the tests finish run`deprecationWorkflow.flushDeprecations() ` in thebrowser console.11
Paste the output into yourdeprecation-workflow config file youcreated.12
13
Why is this awesome?14
Change one object from“silence” to “throw”.15
16
This will raise anexception when adeprecation is thrown.17
And give a stack trace.18
Click that link to see the offending code.19
20
You can break each deprecationinto a commit.21
It allows you to focus on oneproblem at a time.22
Lather, rinse, repeat.23
Limitations• Doesn’t work with deprecations in vendor.js1• Only catches deprecations ran in the browser224
Go forth and upgrade!25
Wifi name: spiceworksguestPassword: R2d2C3p0