Setup
npm uninstall -g ember-cli
-- Remove old global ember-clinpm cache clean
-- Clear NPM cachebower cache clean
-- Clear Bower cachenpm install -g ember-cli@2.3.0
-- Install new global ember-cli
Project Update
rm -rf node_modules bower_components dist tmp
-- Delete temporary development folders.npm install --save-dev ember-cli@2.3.0
-- Update project'spackage.json
to use latest version.npm install
-- Reinstall NPM dependencies.bower install
-- Reinstall bower dependencies.ember init
-- This runs the new project blueprint on your projects directory. Please follow the prompts, and review all changes (tip: you can see a diff by pressing d). The most common source of upgrade pain is missing changes in this step.
Changes Since 2.3.0-beta.2
The following changes are required if you are upgrading from the previous
version:
- Users
ember new
diff- Upgrade your project's ember-cli version - docs
- Remove
jquery
frombower.json
. The version required by your Ember version will be used. - Update
ember
to~2.3.1
inbower.json
.
- Addon Developers
ember addon
diff- Update
ember-try
to^0.1.2
inpackage.json
.
Community Contributions
- #5426 Update ember-try in addons to 0.1.2. @rwjblue
- #5418 [ENHANCEMENT] Use absolute imports in tests @kamalaknn
- #5432 [BUGFIX] Fix linting error in nested developing addons @trentmwillis
- #5442 [Bugfix] history support middleware allowed to be disabled @jasonmit
- #5441 Remove deprecated 'registry' in instance initializer template. @chriskrycho
- #5458 app blueprint: Update jQuery version @xtian
- #5462 Fix "Cannot read property 'writeDeprecateLine' of undefined" @Turbo87
- #5466 testem 1.3.0 @kellyselden
- #5474 Add helpful error when
loader.js
addon is missing. @rwjblue
Thank you to all who took the time to contribute!
Changes Since 1.13.15
The following changes are required if you are upgrading from the previous
version:
ember new
diff /ember addon
diff- Upgrade your project's ember-cli version - docs
ember-cli-content-security-policy
has been removed from the default project blueprint due to extremely poor ergonomics. If the addon is working well for you,
please continue to use it.- Users of
ember-cli-styles-reloader
should uninstall (as this functionality is now included in ember-cli by default). - Update the following entries in your
package.json
:- Remove
ember-cli-ic-ajax
(it is replaced byember-ajax
) - Add
ember-ajax
at0.7.1
- Add
ember-load-initializers
at^0.5.0
- Add
loader.js
at^4.0.0
- Add
ember-resolver
at^2.0.3
- Update
ember-cli-dependency-checker
to^1.2.0
- Update
ember-cli-sri
to^2.0.0
- Update
ember-cli-qunit
to^1.2.1
- Update
ember-data
to^2.3.0
- Remove
- Update the following entries in your
bower.json
:ember
to~2.3.1
- Remove
ember-data
. - Remove
ember-qunit
(it is now bundled byember-cli-qunit
since1.1.0
) - Remove
qunit
(it is now bundled byember-cli-qunit
) - Remove
ember-load-initializers
(it was moved into an addon) - Remove
ember-resolver
(it was moved into an addon) - Remove
loader.js
(it was moved into an addon) - Remove
jquery
(the Ember dependency will determine the version used).
- Addon Developers
- Update
ember-try
to^0.1.2
inpackage.json
.
- Update
Community Contributions
- #5426 Update ember-try in addons to 0.1.2. @rwjblue
- #5418 [ENHANCEMENT] Use absolute imports in tests @kamalaknn
- #5432 [BUGFIX] Fix linting error in nested developing addons @trentmwillis
- #5442 [Bugfix] history support middleware allowed to be disabled @jasonmit
- #5441 Remove deprecated 'registry' in instance initializer template. @chriskrycho
- #5458 app blueprint: Update jQuery version @xtian
- #5462 Fix "Cannot read property 'writeDeprecateLine' of undefined" @Turbo87
- #5466 testem 1.3.0 @kellyselden
- #5474 Add helpful error when
loader.js
addon is missing. @rwjblue - #5369 Implement application level resolver in blueprint. @rwjblue
- #5372 Update to ember@2.3.0. @rwjblue
- #5374 Update ember-cli-qunit to 1.2.1. @rwjblue
- #5325 bump testem to latest to compensate for breakage in xmldom @et
- #5331 Update blueprints for Ember Data 2.3.0 @bmac
- #5332 testem v1.0.0 @johanneswuerbach
- #5291 getCallerFile now comes from its own node_module @stefanpenner
- #5312 Add information about testing new features/bugfixes to the contributing.md file @ohcibi
- #5313 Add missing
--silent
option to the output ofember test --help
@ohcibi - #5327 [BUGFIX release] pin jQuery version @stefanpenner
- #5271 Update ember-cli-test-loader to 0.2.2. @rwjblue
- #5274 Fix the order of test files to append @bitaculous
- #5278 Replace broccoli-sourcemap-concat usage with broccoli-concat. @ballPointPenguin
- #5286 Update
ember-cli-sri
minimum version to 2.0.0 @jonathanKingston - #5298 [INTERNAL] Update minimum Testem version to 1.0.0-rc.4. @rwjblue
- #5247 Unfortunately remove
ember-cli-content-security-policy
from the default blueprint. @stefanpenner - #5215 Fix CHANGELOG for ember-cli-qunit version. @rwjblue
- #4981 Alphabetize the keys in dependencies and devDependencies (for addon creation). @kellyselden
- #5181 Cleanup platform checker warning to make it clear when a given platform is deprecated or just untested. @stefanpenner
- #5252 Deprecate the usage of
app-prefix
andapp-suffix
contentFor
hooks. @nathanhammond - #5232 Update generate resource documentation @johnotander
- #5221 Replace
broccoli-sourcemap-concat
withbroccoli-concat
(the projects have been merged). @stefanpenner - #5220 Fix instance-initializer-test blueprint. @rwjblue
- #5230 Helper Unit test should pass a params array as first argument @stefanpenner
- #5241 Fix test server file serving (ensures static assets are found properly). @stefanpenner
- #5254 Update to Testem v1.0.0-rc1. @johanneswuerbach
- #5254 Detect global errors (i.e. parse errors from
assets/vendor.js
) when runningember test
orember test --server
. @johanneswuerbach - #5025 [ENHANCEMENT] update loader.js, qunit and ember-ajax for app/addon blueprints @jcope2013
- #5061 Testem 0.9.11 @johanneswuerbach
- #4994 add jshint helper command for tests @gabrielgrant
- #5033 Added Node v5 to Appveyor @patocallaghan
- #4218 Add instance-initializer's blueprints family @cibernox
- #4476 Add additional documentation on treeFor* methods @trentmwillis
- #5172 Bump ember-cli-dependency-checker to v1.2.0 @quaertym
- #5108 Fix instance-intitalizer-test test-info import to use
ember-cli-test-info
@trabus - #5087 Upgraded ember-ajax to 0.7.1 @ember-cli
- #5098 [ENHANCEMENT] Install htmlbars precompiler when generating component integration tests @drspaniel
- #5077 loosen test @ember-cli
- #5065 Programmatic access to the CLI @eibrahim
- #5089 [BUGFIX] Forward
--config-file
test option to testem @cspanring - #5075 disable bundling, npm client seems to have issues but npm service app… @ember-cli
- #5066 bumps
broccoli-sourcemap-concat
version @ember-cli - #5107 [FEATURE] Implement addon black- and whitelist @dschmidt
- #5094 [fixes #5092] remove long since deprecated this.Funnel usage from int… @ember-cli
- #5104 Workaround for babel includePolyfill exception @ef4
- #5189 updated markdown-it-terminal @akatov
- #5139 Use ES6 shorthand property for layout in component blueprint @martndemus
- #5109 Fix body-parser suggested use due to deprecations @knownasilya
- #5113 Remove trailing whitespace on component integration test @ahmadsoe
- #5130 Update bower.json @ember-cli
- #5132 [ENHANCEMENT] Make
EMBER_CLI_INJECT_LIVE_RELOAD_BASEURL
configurable @jbescoyez - #5117 Update Ember to latest stable (2.2.0). @rwjblue
- #5124 Update ember-cli-sri minimum version to 1.2.0. @rwjblue
- #5125 Clarify
ember test --path
docs. @ember-cli - #5128 Adds Node 5 to allow_failures list @ember-cli
- #5201 ember-cli-rails-addon now uses outputReady @luma-institute
- #5168 fix swallowed failures @ember-cli
- #5158 Change location of website @leo
- #5142 Fix merge issues introduced by #4476 @trabus
- #5155 bump broccoli-merge-trees @ember-cli
- #5149 cherry-picking changelog from stable @ember-cli
- #5150 [INTERNAL] Set correct version of ember-cli @jayeff
- #5165 [ENHANCEMENT] Initial implementation of css hot realod @gcollazo
- #5154 reduce number of funnels created to support other asset app.imports @ember-cli
- #5159 Update appveyor.yml @ember-cli
- #5144 [ENHANCEMENT] Cleans up generated application directory if
ember new
errors @trek - #5179 Updating deprecations that use the deprecate utility @gmurphey
- #5190 Only use
temp
dependency, nottmp-sync
@akatov - #5180 add node (latest) and set to allowed failures @ember-cli
- #5186 Fixing path issue in test for AppVeyor. @gmurphey
- #5169 [BUGFIX] Bump quick-temp to 0.1.5, fix jshint error @trabus
- #5185 Ensure rimraf is available to consumers. @ember-cli
- #5171 Avoid Reexporter when loader supports index fallback. @rwjblue
- #5184 more explicit jshint test run @ember-cli
- #5197 update leek @akatov
- #5204 [ENHANCEMENT] Add npm badge to README. @adjohnson916
- #5192 Use consistent double quotes in index.html blueprints @Dhaulagiri
- #5198 minor whitespace fix @ember-cli
- #5205 Add addon-test-support tree. @rwjblue
- #5206 Update ember-qunit to 0.4.17. @rwjblue
- #5207 Make ember test helper clearer. @rwjblue
- #5208 update some out of date deps @ember-cli
- #5209 Ensure loader.js warning is easier to spot. @rwjblue
- #5211 Update ember-cli-qunit to 1.1.0. @rwjblue
- #5212 Update ember-data to 2.2.1. @rwjblue
Thank you to all who took the time to contribute!