This repository was archived by the owner on Mar 22, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Ember 3.2 Release Blog Post #3350
Closed
Closed
Changes from 3 commits
Commits
Show all changes
172 commits
Select commit
Hold shift + click to select a range
49c17a3
EmberConf Callout
b6e2ea7
Better handling of CSS
3e34ce5
Updated HREF, button hover styles
8befde0
Merge branch 'master' into master
jeffdaley 08d1e75
Updated EmberConf CTA
c8ecf6e
Updated registration CTA
3ef1e7c
Merge branch 'master' into master
jeffdaley 0191d25
adding tags to blog posts and additional categories to sidebar
MelSumner 73790b5
adding more tags
MelSumner 477a7bb
removing the word archives in sidebar to make section titles shorter
MelSumner b1e3f7e
Replace banner image
locks 5608399
resolved merge conflicts
MelSumner 235df8a
Update links to point to new Ember Guides repo
axyxnz 73b684b
3.2 release blog post
MelSumner c172499
fix(blog): do not create a list of header titles at end of post
jayjayjpg 33a22d7
Merge pull request #3351 from jessica-jordan/fix-toc-links
jayjayjpg 9c20ee6
updates and prose edits
MelSumner ca66396
clarifying text, tracking todos, adding more tags
MelSumner 7740354
Merge remote-tracking branch 'origin/master' into feature/blog-meta-c…
MelSumner e8712b3
blog sidebar work
MelSumner 46f3f0d
adding tag data to older posts
MelSumner 82d5099
adding one I missed
MelSumner 870f481
adding some TLC for the tag layout
MelSumner d48633f
changed tags 1/2/3 to Version 1/2/3.x
MelSumner 6b808cf
added separate category for Ember.js Times
MelSumner de20e60
Merge pull request #3280 from emberjs/feature/blog-meta-cleanup
MelSumner c73ec01
somehow the sponsors page went wonky! this should fix it.
MelSumner a3b70ff
Merge pull request #3352 from emberjs/issue/sponsors
locks fa183e6
[3288] Update team mission
Willibaur 3f69f0b
Merge pull request #3292 from emberjs/locks-patch-3
MelSumner 1f4e421
Merge pull request #3354 from Willibaur/3288/Update-team-mission
MelSumner c9f0da9
removing misplaced semicolon
MelSumner 31707b8
Merge pull request #3355 from emberjs/issue/tag.html.erb
MelSumner 0b809bd
Merge pull request #3332 from axyxnz/issue-3330-fix-guide-links
0c8e43a
Updated the korean greeting based on a native speaker's response
sivakumar-kailasam 22d7bdd
Merge pull request #3357 from emberjs/correct-blog-post-greeting
jayjayjpg 0c34432
blog(embertimes#48): add blog post template
jayjayjpg ff150ce
Adds AddonDocs section
Mi6u3l b499bae
Added brackets to title, fixed grammar
Mi6u3l a068c4b
Added section on Ember Call for blog posts
da3f622
blog(embertimes#48): adds intro, cli teaser, readers q
jayjayjpg ade2d1e
Merge pull request #3361 from jessica-jordan/blog/emberjs-times#48-jj
jayjayjpg b0c5049
Add ember guides and edits
amyrlam 226dd4e
Edits from Jen
amyrlam 9e9b1d2
copy edit
amyrlam 6316c2c
Merge pull request #3362 from amyrlam/amy/emberjs-times#48
jayjayjpg 493cef0
blog(embertimes#48): add links, update authors' list
jayjayjpg 6bf3145
Merge pull request #3353 from emberjs/blog/emberjs-times#48
jayjayjpg c56b4ae
most recent Ember Times should have the Recent Post tag, older editio…
MelSumner 0067d3e
Use nginx redirect to goto guides, remove old guide files & references
sivakumar-kailasam 1bac8da
Handle redirect path with slash
sivakumar-kailasam 05e8b81
Remove aliases for guides/deprecations
sivakumar-kailasam 54ae756
Remove deprecation files
sivakumar-kailasam a9f87db
Merge pull request #3200 from emberjs/remove-guides
locks ed42d65
blog(embertimes): move #47 post into ember times category only
jayjayjpg 37a1f19
Add Tourme logo
filianer cc15282
Add a2system logo
filianer 66e994a
Optimized logos
filianer 4a68dc8
add new logo mobilunity
s-pylypenko-mobilunity e0dc9ef
HOTFIX add new logo mobilunity
s-pylypenko-mobilunity 4b6b9a7
Merge pull request #3366 from emberjs/update-to-blog-posts
jayjayjpg c342548
config(issues): adds issue template for contributors
jayjayjpg dc370a4
config(prs): adds pull request templates fo contributors
jayjayjpg cb929bd
blog(embertimes#50): add blog template
jayjayjpg 4fc043c
blog(embertimes#48): remove #48 from recent posts
jayjayjpg 00a515a
spelling: fix design spelling in community blog post
rtablada d473631
blog(embertimes#49): adds blog template
jayjayjpg 91529c0
trying to add the content from the blog
mansona 098c026
blog(embertimes#49): add intro / mention contributors, add link
jayjayjpg 2fec618
blog(embertimes#49): add news flash banner for npm imports
jayjayjpg f61175a
blog(embertimes#49): some more formatting edits
jayjayjpg e9517f0
copy edits
amyrlam 41dac6d
add mention of crosspost on blog and goodbits
amyrlam 8aa9e71
blog(embertimes#49): highlight key words in intro section
jayjayjpg 21caff1
Merge pull request #3374 from emberjs/blog/embertimes#49
jayjayjpg 2279d14
Merge pull request #3377 from jessica-jordan/downgrade-embertimes-48
jayjayjpg 4c9cd7c
Update 2018-06-01-the-emberjs-times-issue-49.md
amyrlam e2eeb3d
Update 2018-06-01-the-emberjs-times-issue-49.md
amyrlam 417f86b
Merge pull request #3379 from emberjs/amyrlam-patch-1
jayjayjpg f6d2c70
Updates copy and layout on the sponsors page
localpcguy f0c79c8
Merge pull request #3380 from localpcguy/sponsor-fixes
MelSumner 3f82e52
Web guidelines work
cff938a
Merge pull request #1 from jeffdaley/brand-guidelines
jeffdaley 5260e46
Merge remote-tracking branch 'upstream/master'
7b14567
Converts "Logos" to "Brand Guidelines," updates assets
e5eff46
Adds tertiary logos to Brand Guidelines page
186af16
Shortened "brand guidelines" to "branding"
jeffdaley 3fe00a7
Shortens "brand guidelines" to "branding"
jeffdaley f3e00ba
Changes "brand guidelines" to "branding page"
jeffdaley 4d48bd8
Changes copy from "Brand Guidelines" to "Branding"
jeffdaley 79f8fa3
Merge pull request #3381 from jeffdaley/master
wifelette ae38a1c
contributing to the blog
tylerturdenpants cc63ffd
copy edits
amyrlam c1075a2
Update 2018-06-08-the-emberjs-times-issue-50.md
amyrlam 29c2569
Added RFCS sections
ac822a0
PR fixes
0cf3c4a
Merge pull request #3385 from kennethlarsen/blog/embertimes#50
jayjayjpg 0063167
blog(embertimes#50): Added section on `component#sendAction`
Alonski df5cfe9
Merge pull request #3384 from tylerturdenpants/blog/embertimes#50
amyrlam d98a778
blog(embertimes#50): add intro, contrib corner, ember cli section
jayjayjpg 0d5dbd7
blog(embertimes#50): formatting
jayjayjpg 8ca0497
blog(embertimes#50): add readers' question section
jayjayjpg 391258d
Merge pull request #3386 from jessica-jordan/jj/blog-embertimes#50
amyrlam fc677ee
blog(embertimes#50): add authors, format rq
jayjayjpg d0c08dd
writeup
amyrlam 36e0176
changed img markup like old blog posts
amyrlam c4cdf7f
Merge pull request #3387 from amyrlam/amy/blog/embertimes#50
jayjayjpg 2544aa9
Updated thoughtbot logo + `use` field
28370e6
blog(embertimes#50): add readers question url
jayjayjpg c588e14
blog(embertimes#50): formatting adnd styles
jayjayjpg ddd0352
blog(embertimes#50): more formatting
jayjayjpg 587100f
Merge pull request #3373 from emberjs/blog/embertimes#50
jayjayjpg bd5fc7f
blog(embertimes#49): remove post from list of recent articles
jayjayjpg 076e24a
Merge pull request #3389 from jessica-jordan/downgrade-issue-49-from-…
jayjayjpg b40ad0e
website(styles): add missing base settings for brand guide
jayjayjpg 8408306
fix merge conflict
s-pylypenko-mobilunity c324ac2
Merge branch 'master' into add-new-logo
s-pylypenko-mobilunity 93497c7
Add 'for' into sentence about logo usage
ac08518
blog(embertimes#51): add template
jayjayjpg 0009cb9
Add section for Ember Twiddle
Gaurav0 016d2da
fixing capitalisation
mansona 0363441
Removed duplicated content (#3399)
3db84cb
Merge pull request #3400 from andreavaghi/homepage-html-fix
locks cf7acce
Fixed users slider in homepage (#3392)
f344cda
Added donate button back in the parent container
2b5cd07
Match footer with ember styleguide
sivakumar-kailasam 15e40f7
Merge pull request #3397 from Gaurav0/ember_twiddle_blog_embertimes_51
jayjayjpg 23130e4
Merge pull request #3395 from nataliemok/fix/logos-typo
jayjayjpg d8e000c
Adds Component#isVisible deprecation
Mi6u3l c15bab8
Added section on polyfills
dc1d58e
PR fixes
9428155
Merge pull request #3404 from kennethlarsen/blog/embertimes#51
jayjayjpg 98b4912
adding-appknox
yashwin 2b94bda
Updates Component#isVisible deprecation write-up
Mi6u3l b3052c8
Merge pull request #2 from emberjs/blog/embertimes#51
Mi6u3l ee00846
Merge branch 'patch-2' into blog/embertimes#51
Mi6u3l cce6936
Merge pull request #3 from Mi6u3l/blog/embertimes#51
Mi6u3l 5a285fe
Merge pull request #3403 from Mi6u3l/patch-2
jayjayjpg daca82b
[Users] Redshelf Logo
aeb07de
blog(embertimes#51): add section on future of Ember
jayjayjpg edcac1c
blog(embertimes#51): some formatting, typo fixes
jayjayjpg 5ebd839
blog(embertimes#51): add intro, ember-engines roadmap, contrib, rq
jayjayjpg c90d4fd
blog(embertimes#51): add authors, formatting
jayjayjpg d8e453a
Merge pull request #3406 from jessica-jordan/blog/emberjs-times#51/jj
jayjayjpg 644db07
blog(embertimes#51): rearrange content
jayjayjpg af7e58b
blog(embertimes#51): final edits
jayjayjpg 1989422
Merge pull request #3396 from emberjs/blog/embertimes#51
jayjayjpg 4b291b1
blog(embertimes#50): remove post from recent posts
jayjayjpg e69c5ef
Merge branch 'master' into adding-appknox
yashwin ab95e57
Adding to the last
yashwin 8218159
Merge pull request #3405 from appknox/adding-appknox
sivakumar-kailasam 63214ec
Merge pull request #3409 from jessica-jordan/downgrade-embertimes-50
MelSumner 2e54793
Merge pull request #3402 from emberjs/match-footer-with-ember-styleguide
MelSumner 370370a
Merge pull request #3401 from andreavaghi/homepage-users-slider-fix
MelSumner 5b673f9
updates to home page
MelSumner a2dcea6
Merge pull request #3412 from emberjs/issue/donate-button
MelSumner 7a502dd
[Blog] article on a11y accessibility in Ember (#3349)
00a7dc0
Merge pull request #3368 from rtablada/rt/blog-spelling
locks 37c96c8
Merge branch 'master' into add-new-logo
s-pylypenko-mobilunity 9b1e1d3
more home page updates
MelSumner 7c0541e
fixing mobile view
MelSumner 4cd179c
update cta for contributing
MelSumner 84a6406
changed URL for buy link
MelSumner 121266b
Merge pull request #3415 from emberjs/feature/home-page-update_061818
MelSumner 3e37c07
Add user PeopleDoc
GreatWizard 65b8c7f
Merge branch 'master' into add-new-logo
s-pylypenko-mobilunity 8ddd722
Merge pull request #3393 from s-pylypenko-mobilunity/add-new-logo
sivakumar-kailasam 153f3fb
3.2 release blog post
MelSumner 385d6e4
updates and prose edits
MelSumner 6b8cc9c
clarifying text, tracking todos, adding more tags
MelSumner dcaca90
updating post from review notes
MelSumner 2beabf0
updates based on review
MelSumner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,345 @@ | ||
--- | ||
title: Ember 3.2 and 3.3 Beta Released | ||
author: Ricardo Mendes, Melanie Sumner & Kenneth Larsen | ||
tags: Releases, 2018, 3, 3.2, 3.3 | ||
responsive: true | ||
--- | ||
|
||
Today the Ember project is releasing version 3.2.0 of Ember.js, Ember Data, and Ember CLI. | ||
|
||
This release kicks off the 3.3 beta cycle for all sub-projects. We encourage our | ||
community (especially addon authors) to help test these beta builds and report | ||
any bugs before they are published as a final release in six weeks' time. The | ||
[ember-try](https://github.com/ember-cli/ember-try) addon is a great way to | ||
continuously test your projects against the latest Ember releases. | ||
|
||
You can read more about our general release process here: | ||
|
||
- [Release Dashboard](http://emberjs.com/builds/) | ||
- [The Ember Release Cycle](http://emberjs.com/blog/2013/09/06/new-ember-release-process.html) | ||
- [The Ember Project](http://emberjs.com/blog/2015/06/16/ember-project-at-2-0.html) | ||
- [Ember LTS Releases](http://emberjs.com/blog/2016/02/25/announcing-embers-first-lts.html) | ||
|
||
--- | ||
|
||
## Ember.js | ||
|
||
Ember.js is the core framework for building ambitious web applications. | ||
|
||
### Changes in Ember.js 3.2 | ||
|
||
Ember.js 3.2 is an incremental, backwards compatible release of Ember with bugfixes, performance improvements, and minor deprecations. There is one (1) new feature and three (3) deprecations in this version. | ||
|
||
#### New Features (1) | ||
|
||
##### Block let template helper (1 of 1) | ||
|
||
The new `let` template helper makes it possible to create new bindings in templates. It is like `with` but without the conditional rendering of the block depending on values passed to the block. | ||
|
||
Let's say we need to capitalize the first name and last name in our template. We could do something like this: | ||
|
||
```handlebars | ||
Welcome back {{concat (capitalize person.firstName) ' ' (capitalize person.lastName)}} | ||
|
||
Account Details: | ||
First Name: {{capitalize person.firstName}} | ||
Last Name: {{capitalize person.lastName}} | ||
``` | ||
|
||
This could result in an error since we have to keep track of this throughout the template. Thankfully, this is now easier with the `let` helper: | ||
|
||
```handlebars | ||
{{#let (capitalize person.firstName) (capitalize person.lastName) | ||
as |firstName lastName| | ||
}} | ||
Welcome back {{concat firstName ' ' lastName}} | ||
|
||
Account Details: | ||
First Name: {{firstName}} | ||
Last Name: {{lastName}} | ||
{{/let}} | ||
``` | ||
|
||
Now you can use `firstName` and `lastName` inside the `let` block with the comfort of knowing that the logic is in a single place. This is a neat way of introducing bindings in your templates without making them properties on the controller or component. | ||
|
||
What is important to know about the `let` helper is that it only works as a block helper. This means that you cannot do like this: | ||
|
||
```handlebars | ||
{{let | ||
firstName=(capitalize person.firstName) | ||
lastName=(capitalize person.lastName) | ||
}} | ||
``` | ||
|
||
#### Deprecations (3) | ||
|
||
Deprecations are added to Ember.js when an API will be removed at a later date. Each deprecation has an entry in the deprecation guide describing the migration path to more stable API. Deprecated public APIs are not removed until a major release of the framework. | ||
|
||
Consider using the [ember-cli-deprecation-workflow](https://github.com/mixonic/ember-cli-deprecation-workflow) addon if you would like to upgrade your application without immediately addressing deprecations. | ||
|
||
##### Use of Ember.Logger (1 of 3) | ||
|
||
Use of `Ember.Logger` is deprecated. You should replace any calls to `Ember.Logger` with calls to `console`. | ||
|
||
In Microsoft Edge and IE11, uses of console beyond calling its methods may require more subtle changes than simply substituting console wherever `Logger` appears. In these browsers, they will behave as they do in other browsers when the development tools are open. | ||
|
||
But, when run normally, calls to its methods must not be bound to anything other than the console object. If not, you will receive an Invalid calling object exception. This is a known inconsistency with these browsers. | ||
|
||
To avoid this, transform this: | ||
|
||
```javascript | ||
var print = Logger.log; // assigning method to variable | ||
``` | ||
|
||
into this: | ||
|
||
```javascript | ||
// assigning method bound to console to variable | ||
var print = console.log.bind(console); | ||
``` | ||
|
||
Also, transform any of the following: | ||
|
||
```javascript | ||
Logger.info.apply(undefined, arguments); // or | ||
Logger.info.apply(null, arguments); // or | ||
Logger.info.apply(this, arguments); // or | ||
``` | ||
|
||
into this: | ||
|
||
```javascript | ||
console.info.apply(console, arguments); | ||
``` | ||
|
||
Finally, because node versions before version 9 don't support console.debug, you may want to transform the following: | ||
|
||
```javascript | ||
Logger.debug(message); | ||
``` | ||
|
||
into this: | ||
|
||
```javascript | ||
if (console.debug) { | ||
console.debug(message); | ||
} else { | ||
console.log(message); | ||
} | ||
``` | ||
|
||
**Note for Add-on Authors** - If your add-on needs to support both Ember 2.x and Ember 3.x clients, you will need to test for the existence of console before calling its methods. If you do much logging, you may find it convenient to define your own wrapper. Writing the wrapper as a service will provide for dependency injection by tests and perhaps even clients. | ||
|
||
##### Private API Router#route renamed (2 of 3) | ||
|
||
In order to avoid collisions with user-defined properties or methods, the `Router#route` private API has been renamed to `Router#_route`. If you want access to the router, you should inject the router service into the route like this: | ||
|
||
```javascript | ||
import Route from '@ember/routing/route'; | ||
import { inject as service } from '@ember/service'; | ||
|
||
export default Route.extend({ | ||
router: service() | ||
}); | ||
``` | ||
|
||
##### Define computed properties with defineProperty (3 of 3) | ||
|
||
Use `defineProperty` to define computed properties. Although uncommon, it is possible to assign computed properties directly to objects. This way they are implicitly computed from things like `Ember.get`. Assigning computed properties directly is deprecated to support ES5 getter computed properties, and you should replace these assignments with calls to `defineProperty`. | ||
|
||
For example, the following: | ||
|
||
```javascript | ||
let object = {}; | ||
object.key = Ember.computed(() => 'value'); | ||
Ember.get(object, 'key') === 'value'; | ||
``` | ||
|
||
Should be changed to this: | ||
|
||
```javascript | ||
let object = {}; | ||
Ember.defineProperty(object, 'key', Ember.computed(() => 'value')); | ||
Ember.get(object, 'key') === 'value'; | ||
``` | ||
|
||
For more details on changes in Ember.js 3.2, please review the [Ember.js 3.2.0 release page](https://github.com/emberjs/ember.js/releases/tag/v3.2.0). | ||
|
||
### Upcoming Changes in Ember.js 3.3 (Beta) | ||
|
||
There are (#) new features and (#) deprecations in the Ember.js 3.3 beta release. | ||
|
||
#### New Features (#) | ||
|
||
- TODO | ||
- TODO | ||
|
||
#### Deprecations (#) | ||
|
||
- TODO | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added deprecations for:
|
||
- TODO | ||
|
||
For more details on the upcoming changes in Ember.js 3.3, please review the [Ember.js 3.3.0-beta.1 release page](https://github.com/emberjs/ember.js/releases/tag/v3.3.0-beta.1). | ||
|
||
--- | ||
|
||
## Ember Data | ||
|
||
Ember Data is the official data persistence library for Ember.js applications. | ||
|
||
### Changes in Ember Data 3.2 | ||
|
||
There are four (4) new features and zero (0) deprecations in the Ember Data 3.2 release. | ||
|
||
#### New Features (4) | ||
|
||
##### Lazy Relationship Payloads (1 of 4) | ||
|
||
In Ember Data 2.14 lazy-relationship parsing was introduced. Because this parsing used left-side/right-side keying this ment it was not compatible with polymorphic relationships. | ||
|
||
With Ember Data 3.2 this is [now fixed](https://github.com/emberjs/data/pull/5230). | ||
|
||
##### Ember Data Feature Flag Removal (2 of 4) | ||
|
||
The current feature flags for Ember Data has gone stale, therefore they are all [removed in Ember Data 3.2](https://github.com/emberjs/data/pull/5384). Ember Data is going to attempt to go in a different direction with some of the planned changes for 2018. | ||
|
||
If your app depends on enabling these feature flag to run, please reach out to the Ember Data team by opening a github issue on the [Ember Data repo](https://github.com/emberjs/data/issues) and the Ember Data team will try to assist with the transition. | ||
|
||
##### Feature Flag `ds-improved-ajax` (3 of 4) | ||
|
||
The Ember Data team has released an addon that will support the `ds-improved-ajax` API. | ||
|
||
##### Feature Flag `ds-pushpayload-return` (4 of 4) | ||
|
||
If you rely on the `ds-pushpayload-return` feature flag, you can use the following pattern to manually serialize the API response and push the record into the store. | ||
|
||
```javascript | ||
export function pushPayload(store, modelName, rawPayload) { | ||
let ModelClass = store.modelFor(modelName); | ||
let serializer = store.serializerFor(modelName); | ||
|
||
let jsonApiPayload = serializer.normalizeResponse(store, ModelClass, rawPayload, null, 'query'); | ||
|
||
return store.push(jsonApiPayload); | ||
} | ||
``` | ||
|
||
```diff | ||
+import { pushPayload } from '<app-name>/utils/push-payload'; | ||
|
||
... | ||
|
||
-this.get('store').pushPayload(modelName, rawPayload); | ||
+pushPayload(this.get('store'), modelName, rawPayload); | ||
``` | ||
|
||
#### Deprecations (0) | ||
|
||
There are no deprecations introduced in Ember Data 3.2. | ||
|
||
For more details on changes in Ember Data 3.2, please review the | ||
[Ember Data 3.2.0 release page](https://github.com/emberjs/data/releases/tag/v3.2.0). | ||
|
||
### Upcoming changes in Ember Data 3.3 | ||
|
||
There are (#) new features and (#) deprecations in the Ember Data 3.3 beta release. | ||
|
||
#### New Features (#) | ||
|
||
- TODO | ||
|
||
#### Deprecations (#) | ||
|
||
- TODO | ||
|
||
For more details on the upcoming changes in Ember Data 3.3, please review the | ||
[Ember Data 3.3.0-beta.1 release page](https://github.com/emberjs/data/releases/tag/v3.3.0-beta.1). | ||
|
||
--- | ||
|
||
## Ember CLI | ||
|
||
Ember CLI is the command line interface for managing and packaging Ember.js applications. | ||
|
||
### Upgrading Ember CLI | ||
|
||
You may upgrade Ember CLI separately from Ember.js and Ember Data! To upgrade your projects using `yarn` run: | ||
|
||
```bash | ||
yarn upgrade ember-cli | ||
``` | ||
|
||
To upgrade your projects using `npm` run: | ||
|
||
```bash | ||
npm install --save-dev ember-cli | ||
``` | ||
|
||
After running the upgrade command run `ember init` inside of the project directory to apply the blueprint changes. You can preview those changes for [applications](https://github.com/ember-cli/ember-new-output/compare/v3.1.0...v3.2.0) and [addons](https://github.com/ember-cli/ember-addon-output/compare/v3.1.0...v3.2.0). | ||
|
||
### Changes in Ember CLI 3.2 | ||
|
||
There are three (3) new features and one (1) deprecation in the Ember CLI 3.2 release. | ||
|
||
#### New Features (3) | ||
|
||
##### Qunit Dom (1 of 3) | ||
|
||
In order to make DOM assertions more readable, the `qunit-dom` dependency will be added **by default** to all apps and addons. Opt out by removing it from your package.json file. See [https://github.com/simplabs/qunit-dom-codemod](https://github.com/simplabs/qunit-dom-codemod) to ease migration [(#7605)](https://github.com/ember-cli/ember-cli/pull/7605). | ||
|
||
This is, to put it quite simply, totally awesome. It means that this code: | ||
|
||
```javascript | ||
assert.equal(this.element.querySelector('.title').textContent.trim(), 'Hello World!'); | ||
``` | ||
|
||
becomes this: | ||
|
||
```javascript | ||
assert.dom('.title').hasText('Hello World!'); | ||
``` | ||
|
||
See what I mean? Totally awesome. <3 | ||
|
||
##### Experiments with more efficient transpilation (2 of 3) | ||
|
||
Until now, addons were responsible for compiling their own JS/HBS/CSS and returning AMD/CSS. Now they return the raw code, and the app uses its own processors (babel, htmlbars) to compile it. This is required to do proper tree-shaking and code-splitting. Delayed transpilation [(#7501)](https://github.com/ember-cli/ember-cli/pull/7501) and all-at-once addon optimization after compilation [(#7650)](https://github.com/ember-cli/ember-cli/pull/7650) have been added. Additionally, more comprehensive methods to detect if ember-cli is being run within CI or not have also been added [(#7637)](https://github.com/ember-cli/ember-cli/pull/7637) - see [https://github.com/watson/ci-info/](https://github.com/watson/ci-info/). | ||
|
||
##### Module Unification (new file layout) Continues (3 of 3) | ||
|
||
You can now generate an addon using the Module Unification layout [(#7490)](https://github.com/ember-cli/ember-cli/pull/7490)! Use the command `MODULE_UNIFICATION=true ember addon my-addon` to try it out [(#7658)](https://github.com/ember-cli/ember-cli/pull/7658). We also improved the logic to support addons that use Module Unification [(#7660)](https://github.com/ember-cli/ember-cli/pull/7660), added the blueprint for a dummy app to addons that use Module Unification [(#7667)](https://github.com/ember-cli/ember-cli/pull/7667), and updated the version of Ember used in Module Unification [(#7678)](https://github.com/ember-cli/ember-cli/pull/7678). | ||
|
||
#### Deprecations (1) | ||
|
||
##### ember-cli-babel 5 (1 of 1) | ||
|
||
This release of Ember CLI [deprecates `ember-cli-babel` 5.x](https://github.com/ember-cli/ember-cli/pull/7676). Babel 6 support has been out for a long time now and works quite well. Babel 5 support is deprecated and is expected to be dropped soon. | ||
|
||
For more details on the changes in Ember CLI 3.2.0-beta.1 and detailed upgrade | ||
instructions, please review the [Ember CLI 3.2.0-beta.1 release page](https://github.com/ember-cli/ember-cli/releases/tag/v3.2.0-beta.1). | ||
|
||
Thank you to [@GavinJoyce](https://github.com/GavinJoyce), [@Turbo87](https://github.com/Turbo87), [@cibernox](https://github.com/cibernox), [@iezer](https://github.com/iezer), [@kellyselden](https://github.com/kellyselden), [@raytiley](https://github.com/raytiley), [@t-sauer](https://github.com/t-sauer), and [@thetimothyp](https://github.com/thetimothyp) | ||
for your incredible work on ember-cli! | ||
|
||
For more details on the changes in Ember CLI 3.2 and detailed upgrade | ||
instructions, please review the [Ember CLI 3.2.0 release page](https://github.com/ember-cli/ember-cli/releases/tag/v3.2.0). | ||
|
||
### Changes in Ember CLI 3.3 | ||
|
||
There are three (3) new features and one (1) deprecation in the Ember CLI 3.3 beta release. | ||
|
||
#### New Features (#) | ||
|
||
- TODO | ||
- TODO | ||
- TODO | ||
|
||
#### Deprecations (#) | ||
|
||
- TODO | ||
|
||
For more details on the changes in Ember CLI 3.3.0-beta.1 and detailed upgrade instructions, please review the [Ember CLI 3.3.0-beta.1 release page](https://github.com/ember-cli/ember-cli/releases/tag/v3.3.0-beta.1). | ||
|
||
## Thank You! | ||
|
||
As a community-driven open-source project with an ambitious scope, each of these releases serve as a reminder that the Ember project would not have been possible without your continued support. We are extremely grateful to our contributors for their efforts. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ability to opt-out of jQuery integration with
@ember/optional-features
'sember feature:disable jquery-integration
. This was done as part of emberjs/rfcs#294.