From 5c91e0521579ac2cee87a7b78989974ce3698754 Mon Sep 17 00:00:00 2001 From: Jen Weber Date: Thu, 16 Jun 2022 09:37:23 -0400 Subject: [PATCH 01/19] Set up 4.5 release template --- content/ember-4-5-released.md | 118 ++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 content/ember-4-5-released.md diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md new file mode 100644 index 000000000..61ef8cb67 --- /dev/null +++ b/content/ember-4-5-released.md @@ -0,0 +1,118 @@ +--- +title: Ember 4.5 Released +authors: + - jen-weber +date: 2022-06-20T00:00:00.000Z +tags: + - releases + - '2022' + - version-4-x +--- + +Today the Ember project is releasing version 4.5 of Ember.js, Ember Data, and Ember CLI. + +This release kicks off the 4.5 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/releases/) +- [The Ember Release Cycle](https://blog.emberjs.com/new-ember-release-process/) +- [The Ember Project](https://blog.emberjs.com/ember-project-at-2-0/) +- [Ember LTS Releases](https://blog.emberjs.com/announcing-embers-first-lts/) + +--- + +## Ember.js + +Ember.js is the core framework for building ambitious web applications. + +### Changes in Ember.js 4.5 + +Ember.js 4.5 is an incremental, backwards compatible release of Ember with bug fixes, performance improvements, and minor deprecations. + +#### Bug Fixes + +Ember.js 4.5 introduced 0 bug fixes. + +#### Features + +Ember.js 4.5 introduced 2 features. + +1. Feature description +2. Feature description + +#### Deprecations + +Ember.js 4.5 introduced 0 deprecations. + + + +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 a 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. + + + +For more details on changes in Ember.js 4.5, please review the [Ember.js 4.5.0 release page](https://github.com/emberjs/ember.js/releases/tag/v4.5.0). + +--- + +## Ember Data + +Ember Data is the official data persistence library for Ember.js applications. + +### Changes in Ember Data 4.5 + +#### Bug Fixes + +Ember Data 4.5 introduced 0 bug fixes. + +#### Features + +Ember Data 4.5 introduced 0 features. + +#### Deprecations + +Ember Data 4.5 introduced 0 deprecations. + +For more details on changes in Ember Data 4.5, please review the +[Ember Data 4.5.0 release page](https://github.com/emberjs/data/releases/tag/v4.5.0). + +--- + +## Ember CLI + +Ember CLI is the command line interface for managing and packaging Ember.js applications. + +### Upgrading Ember CLI + +You may upgrade Ember CLI using the `ember-cli-update` project: + +```bash +npx ember-cli-update +``` + +This utility will help you to update your app or addon to the latest Ember CLI version. You will probably encounter merge conflicts, in which the default behavior is to let you resolve conflicts on your own. For more information on the `ember-cli-update` project, see [the GitHub README](https://github.com/ember-cli/ember-cli-update). + +While it is recommended to keep Ember CLI versions in sync with Ember and Ember Data, this is not required. After updating ember-cli, you can keep your current version(s) of Ember or Ember Data by editing `package.json` to revert the changes to the lines containing `ember-source` and `ember-data`. + +### Changes in Ember CLI 4.5 + +#### Bug Fixes + +Ember CLI 4.5 introduced 0 bug fixes. + +#### Features + +Ember CLI 4.5 introduced 0 features. + +#### Deprecations + +Ember CLI 4.5 introduced 0 deprecations. + +For more details on the changes in Ember CLI 4.5 and detailed upgrade +instructions, please review the [Ember CLI 4.5.0 release page](https://github.com/ember-cli/ember-cli/releases/tag/v4.5.0). + +## Thank You! + +As a community-driven open-source project with an ambitious scope, each of these releases serves 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. From 02ee344c24c1b1429f9c753422e70efc6e73f06e Mon Sep 17 00:00:00 2001 From: Jen Weber Date: Thu, 16 Jun 2022 21:01:09 -0400 Subject: [PATCH 02/19] Document plain function --- content/ember-4-5-released.md | 49 ++++++++++++++++++++++++++++------- 1 file changed, 39 insertions(+), 10 deletions(-) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index 61ef8cb67..f78a0d8a6 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -32,18 +32,45 @@ Ember.js 4.5 is an incremental, backwards compatible release of Ember with bug f #### Bug Fixes -Ember.js 4.5 introduced 0 bug fixes. +Ember.js 4.5 introduced TODO bug fixes. #### Features -Ember.js 4.5 introduced 2 features. +Ember.js 4.5 introduced TODO features. -1. Feature description +1. Plain function as helpers 2. Feature description +##### Plain functions as helpers + +You can now use plain functions as helpers in your component templates. This helps make the relationship between Ember component templates and their JavaScript class more intuitive. + +For example, here we create a method `double` and use it directly in a template: + +```js +// my-component.js + +import Component from '@glimmer/component'; + +export default class MyComponent extends Component { + double = num => num * 2; +} +``` + +```hbs +// my-component.hbs + +{{this.double 2}} + + +``` + +Previously, you would need to [write a separate helper](https://guides.emberjs.com/release/components/helper-functions/#toc_writing-a-helper-function) in order to accomplish this. + +This feature was made possible when [RFC 188](https://rfcs.emberjs.com/id/0756-helper-default-manager) was implemented. #### Deprecations -Ember.js 4.5 introduced 0 deprecations. +Ember.js 4.5 introduced TODO deprecations. @@ -65,15 +92,15 @@ Ember Data is the official data persistence library for Ember.js applications. #### Bug Fixes -Ember Data 4.5 introduced 0 bug fixes. +Ember Data 4.5 introduced TODO bug fixes. #### Features -Ember Data 4.5 introduced 0 features. +Ember Data 4.5 introduced TODO features. #### Deprecations -Ember Data 4.5 introduced 0 deprecations. +Ember Data 4.5 introduced TODO deprecations. For more details on changes in Ember Data 4.5, please review the [Ember Data 4.5.0 release page](https://github.com/emberjs/data/releases/tag/v4.5.0). @@ -98,17 +125,19 @@ While it is recommended to keep Ember CLI versions in sync with Ember and Ember ### Changes in Ember CLI 4.5 +This Ember CLI release drops support for Node 12. Node 12 reached "end of life"status (it no longer receives security updates) in April 2022. + #### Bug Fixes -Ember CLI 4.5 introduced 0 bug fixes. +Ember CLI 4.5 introduced TODO bug fixes. #### Features -Ember CLI 4.5 introduced 0 features. +Ember CLI 4.5 introduced TODO features. #### Deprecations -Ember CLI 4.5 introduced 0 deprecations. +Ember CLI 4.5 introduced TODO deprecations. For more details on the changes in Ember CLI 4.5 and detailed upgrade instructions, please review the [Ember CLI 4.5.0 release page](https://github.com/ember-cli/ember-cli/releases/tag/v4.5.0). From 96ce79bdbefa05b3a23fe98b156fc88d3b0bea9d Mon Sep 17 00:00:00 2001 From: Jen Weber Date: Thu, 16 Jun 2022 21:14:16 -0400 Subject: [PATCH 03/19] Add todo link --- content/ember-4-5-released.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index f78a0d8a6..af9f1c4a2 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -44,6 +44,7 @@ Ember.js 4.5 introduced TODO features. ##### Plain functions as helpers You can now use plain functions as helpers in your component templates. This helps make the relationship between Ember component templates and their JavaScript class more intuitive. +The full documentation can be found in [TODO link to guides]() For example, here we create a method `double` and use it directly in a template: From 3d45cda1c090d99459cd3a37493da23f64829bc4 Mon Sep 17 00:00:00 2001 From: Jen Weber Date: Thu, 16 Jun 2022 21:33:00 -0400 Subject: [PATCH 04/19] Add renderSettled documentation --- content/ember-4-5-released.md | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index af9f1c4a2..5c60ae9a4 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -32,16 +32,16 @@ Ember.js 4.5 is an incremental, backwards compatible release of Ember with bug f #### Bug Fixes -Ember.js 4.5 introduced TODO bug fixes. +Ember.js 4.5 introduced 0 bug fixes. #### Features -Ember.js 4.5 introduced TODO features. +Ember.js 4.5 introduced 2 new features. 1. Plain function as helpers -2. Feature description +2. `renderSettled` is now public API -##### Plain functions as helpers +##### 1. Plain functions as helpers You can now use plain functions as helpers in your component templates. This helps make the relationship between Ember component templates and their JavaScript class more intuitive. The full documentation can be found in [TODO link to guides]() @@ -68,18 +68,22 @@ export default class MyComponent extends Component { Previously, you would need to [write a separate helper](https://guides.emberjs.com/release/components/helper-functions/#toc_writing-a-helper-function) in order to accomplish this. -This feature was made possible when [RFC 188](https://rfcs.emberjs.com/id/0756-helper-default-manager) was implemented. -#### Deprecations +This feature was made possible when [RFC 756](https://rfcs.emberjs.com/id/0756-helper-default-manager) was implemented. + +##### 2. `renderSettled` is now public API + +`renderSettled` is a method you can use in your application tests. For example, in a test, you might want to update some tracked state and then run some assertions after rendering has completed. The `renderSettled` method returns a promise which fulfills when rendering has completed. -Ember.js 4.5 introduced TODO deprecations. +``` +import { renderSettled } from '@ember/renderer'; +``` - +`renderSettled` is one chapter in some upcoming improvements to Ember's testing story. The ongoing work and goals are described in [RFC 785](https://rfcs.emberjs.com/id/0785-remove-set-get-in-tests). -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 a more stable API. Deprecated public APIs are not removed until a major release of the framework. +#### Deprecations -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. +Ember.js 4.5 introduced 0 deprecations. - For more details on changes in Ember.js 4.5, please review the [Ember.js 4.5.0 release page](https://github.com/emberjs/ember.js/releases/tag/v4.5.0). From 852435b23b6f11546dd5586bb1a55bd182307093 Mon Sep 17 00:00:00 2001 From: Jen Weber Date: Sat, 9 Jul 2022 12:12:32 -0400 Subject: [PATCH 05/19] Apply suggestions from code review Thank you Chris Krycho! Co-authored-by: Chris Krycho --- content/ember-4-5-released.md | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index 5c60ae9a4..1157543a2 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -39,12 +39,11 @@ Ember.js 4.5 introduced 0 bug fixes. Ember.js 4.5 introduced 2 new features. 1. Plain function as helpers -2. `renderSettled` is now public API +2. A new `renderSettled` test helper ##### 1. Plain functions as helpers You can now use plain functions as helpers in your component templates. This helps make the relationship between Ember component templates and their JavaScript class more intuitive. -The full documentation can be found in [TODO link to guides]() For example, here we create a method `double` and use it directly in a template: @@ -68,17 +67,29 @@ export default class MyComponent extends Component { Previously, you would need to [write a separate helper](https://guides.emberjs.com/release/components/helper-functions/#toc_writing-a-helper-function) in order to accomplish this. -This feature was made possible when [RFC 756](https://rfcs.emberjs.com/id/0756-helper-default-manager) was implemented. +We're working on updating the Guides to cover this pattern. +For background, check out [RFC 756](https://rfcs.emberjs.com/id/0756-helper-default-manager), which designed this feature. +Also, keep your eyes on this blog: we will have a dedicated blog post with a deep dive on this new capability in the next week or two! -##### 2. `renderSettled` is now public API +##### 2. A new `renderSettled` test helper -`renderSettled` is a method you can use in your application tests. For example, in a test, you might want to update some tracked state and then run some assertions after rendering has completed. The `renderSettled` method returns a promise which fulfills when rendering has completed. +Under the hood, Ember's tests use a "test waiters" system to allow you to control the flow of your tests in terms of the actual framework behavior. +That way that your tests match exactly what the app does at runtime. +However, making this work depends on Ember providing all the necessary hooks for test helpers to use, and there was one significant missing public API. +You could wait for *all* of the test waiters to finish with `settled`, but there was no public way to wait for *just rendering* to finish. +For example, you might want to wait for rendering to finish but *not* for an Ember Data `save` operation to finish, as part of testing a loading screen. + +Ember 4.5 introduces a new function, `renderSettled`, as a public way for test helpers to interact with the rendering phase of the application. +`renderSettled` returns returns a promise which fulfills as soon as rendering has completed. +It can be used in any rendering or application test. +(It also works in other tests where you set up the rendering hooks manually, but this is unusual!) ``` import { renderSettled } from '@ember/renderer'; ``` -`renderSettled` is one chapter in some upcoming improvements to Ember's testing story. The ongoing work and goals are described in [RFC 785](https://rfcs.emberjs.com/id/0785-remove-set-get-in-tests). +An upcoming release of `@ember/test-helpers` will take advantage of this to provide a new `await rerender()` helper. +For more details, and how this fits into improvements to Ember's testing story, see [RFC 785](https://rfcs.emberjs.com/id/0785-remove-set-get-in-tests). #### Deprecations From a8e1212d3a21b208e1ead48846c3c817c5da2888 Mon Sep 17 00:00:00 2001 From: Jen Weber Date: Sat, 9 Jul 2022 12:19:31 -0400 Subject: [PATCH 06/19] Update ember-4-5-released.md --- content/ember-4-5-released.md | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index 1157543a2..0b523594f 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -102,24 +102,11 @@ For more details on changes in Ember.js 4.5, please review the [Ember.js 4.5.0 r ## Ember Data -Ember Data is the official data persistence library for Ember.js applications. +Ember Data is the official data persistence library for Ember.js -### Changes in Ember Data 4.5 +Due to low availability for the Ember Data team this cycle, Ember Data does not have a new release, so it remains at 4.4. -#### Bug Fixes - -Ember Data 4.5 introduced TODO bug fixes. - -#### Features - -Ember Data 4.5 introduced TODO features. - -#### Deprecations - -Ember Data 4.5 introduced TODO deprecations. - -For more details on changes in Ember Data 4.5, please review the -[Ember Data 4.5.0 release page](https://github.com/emberjs/data/releases/tag/v4.5.0). +Please see the [Ember 4.4 release blog post](https://blog.emberjs.com/ember-released-4-4) for details about `v4.4` of Ember Data. --- From 31dd299f1258a033c5fa93daa2124eaf42896193 Mon Sep 17 00:00:00 2001 From: Jen Weber Date: Sat, 9 Jul 2022 12:21:01 -0400 Subject: [PATCH 07/19] Add Chris K to the authors list --- content/ember-4-5-released.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index 0b523594f..92ccf240e 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -2,7 +2,8 @@ title: Ember 4.5 Released authors: - jen-weber -date: 2022-06-20T00:00:00.000Z + - chris-krycho +date: 2022-07-12T00:00:00.000Z tags: - releases - '2022' From 32020fdb2c351c71d36f9f21918aaf8075f885cf Mon Sep 17 00:00:00 2001 From: Jen Weber Date: Sat, 9 Jul 2022 12:32:05 -0400 Subject: [PATCH 08/19] Correct description of helpers --- content/ember-4-5-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index 92ccf240e..4a9cebc7c 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -66,7 +66,7 @@ export default class MyComponent extends Component { ``` -Previously, you would need to [write a separate helper](https://guides.emberjs.com/release/components/helper-functions/#toc_writing-a-helper-function) in order to accomplish this. +Previously, you would need to [write a helper](https://guides.emberjs.com/release/components/helper-functions/#toc_writing-a-helper-function) in order to accomplish this. We're working on updating the Guides to cover this pattern. For background, check out [RFC 756](https://rfcs.emberjs.com/id/0756-helper-default-manager), which designed this feature. From 9d5ca5d8409dc716a619b6fc777de64d069d3bf6 Mon Sep 17 00:00:00 2001 From: Jen Weber Date: Mon, 11 Jul 2022 18:02:44 -0400 Subject: [PATCH 09/19] Write CLI section --- content/ember-4-5-released.md | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index 4a9cebc7c..c7940a3d9 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -85,7 +85,7 @@ Ember 4.5 introduces a new function, `renderSettled`, as a public way for test h It can be used in any rendering or application test. (It also works in other tests where you set up the rendering hooks manually, but this is unusual!) -``` +```js import { renderSettled } from '@ember/renderer'; ``` @@ -133,15 +133,28 @@ This Ember CLI release drops support for Node 12. Node 12 reached "end of life"s #### Bug Fixes -Ember CLI 4.5 introduced TODO bug fixes. +Ember CLI 4.5 introduced a variety of small bug fixes and documentation improvements. +You can find the full list in the [Ember CLI 4.5.0 release page](https://github.com/ember-cli/ember-cli/releases/tag/v4.5.0). #### Features -Ember CLI 4.5 introduced TODO features. +Ember CLI 4.5 introduced 0 features. #### Deprecations -Ember CLI 4.5 introduced TODO deprecations. +Ember CLI 4.5 introduced 2 deprecations. + +- Using the terms `whitelist` and `blacklist` build options are deprecated. Please use +`include` and `exclude` instead. Only the name of the option has changed, and +the functionality is unchanged. This work to add the +new option naming was initially planned in +[RFC 639](https://rfcs.emberjs.com/id/0639-replace-blacklist-whitelist), +and the deprecation RFC is +[RFC 801](https://rfcs.emberjs.com/id/0801-deprecate-blacklist-and-whitelist-build-options). +- Support for[`ember-cli-jshint` is deprecated](https://github.com/ember-cli/ember-cli/pull/9909). + +The `addonJsFiles` method that was previously deprecated in `v3.13` of Ember CLI [has now been removed](https://github.com/ember-cli/ember-cli/pull/9898). + For more details on the changes in Ember CLI 4.5 and detailed upgrade instructions, please review the [Ember CLI 4.5.0 release page](https://github.com/ember-cli/ember-cli/releases/tag/v4.5.0). From c08c8f39240d8b7308e35ad27e28c9f4e7c5abf6 Mon Sep 17 00:00:00 2001 From: Jen Weber Date: Mon, 11 Jul 2022 18:03:35 -0400 Subject: [PATCH 10/19] Small wording update - thanks NullVox --- content/ember-4-5-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index c7940a3d9..d21fcf5fd 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -66,7 +66,7 @@ export default class MyComponent extends Component { ``` -Previously, you would need to [write a helper](https://guides.emberjs.com/release/components/helper-functions/#toc_writing-a-helper-function) in order to accomplish this. +Previously, documentation said to [write a separate helper](https://guides.emberjs.com/release/components/helper-functions/#toc_writing-a-helper-function) in order to accomplish this. We're working on updating the Guides to cover this pattern. For background, check out [RFC 756](https://rfcs.emberjs.com/id/0756-helper-default-manager), which designed this feature. From 65f0166e267e172acf298fd03d0c4bb42e07d38b Mon Sep 17 00:00:00 2001 From: Chris Krycho Date: Tue, 12 Jul 2022 07:47:38 -0600 Subject: [PATCH 11/19] Further clarify Ember 4.5 new features --- content/ember-4-5-released.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index d21fcf5fd..91ca4d78a 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -66,7 +66,7 @@ export default class MyComponent extends Component { ``` -Previously, documentation said to [write a separate helper](https://guides.emberjs.com/release/components/helper-functions/#toc_writing-a-helper-function) in order to accomplish this. +Previously, you could define this locally, but still had to [use the `helper()`](https://guides.emberjs.com/release/components/helper-functions/#toc_writing-a-helper-function) function to accomplish this. We're working on updating the Guides to cover this pattern. For background, check out [RFC 756](https://rfcs.emberjs.com/id/0756-helper-default-manager), which designed this feature. @@ -89,7 +89,7 @@ It can be used in any rendering or application test. import { renderSettled } from '@ember/renderer'; ``` -An upcoming release of `@ember/test-helpers` will take advantage of this to provide a new `await rerender()` helper. +An recent release of `@ember/test-helpers`, v2.8.0, takes advantage of this to provide a new `await rerender()` helper. For more details, and how this fits into improvements to Ember's testing story, see [RFC 785](https://rfcs.emberjs.com/id/0785-remove-set-get-in-tests). #### Deprecations From 16f0a5f24c052fdf0228ae89997fd3e803bbda1f Mon Sep 17 00:00:00 2001 From: Chris Krycho Date: Tue, 12 Jul 2022 07:49:00 -0600 Subject: [PATCH 12/19] Link to mentioned @ember/test-helpers release --- content/ember-4-5-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index 91ca4d78a..d85d4aae3 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -89,7 +89,7 @@ It can be used in any rendering or application test. import { renderSettled } from '@ember/renderer'; ``` -An recent release of `@ember/test-helpers`, v2.8.0, takes advantage of this to provide a new `await rerender()` helper. +An recent release of `@ember/test-helpers`, [v2.8.0](https://github.com/emberjs/ember-test-helpers/blob/master/CHANGELOG.md#v280-2022-05-17), takes advantage of this to provide a new `await rerender()` helper. For more details, and how this fits into improvements to Ember's testing story, see [RFC 785](https://rfcs.emberjs.com/id/0785-remove-set-get-in-tests). #### Deprecations From a3d51c1ad6c3785586b62ffb33c16fddeaf4141e Mon Sep 17 00:00:00 2001 From: Chris Krycho Date: Tue, 12 Jul 2022 07:51:00 -0600 Subject: [PATCH 13/19] Add comment about LTS release --- content/ember-4-5-released.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index d85d4aae3..33c415f32 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -12,6 +12,11 @@ tags: Today the Ember project is releasing version 4.5 of Ember.js, Ember Data, and Ember CLI. +Version 4.4 of Ember is now promoted to LTS (Long Term Support). +An LTS version of Ember continues to receive security updates for 9 release cycles (54 weeks) and bugfixes for 6 cycles (36 weeks). +LTS releases typically occur every four minor versions. +The previous LTS version of Ember was 3.28. + This release kicks off the 4.5 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: From 5c4e4020a89b77bc14794b963194fa074274bfca Mon Sep 17 00:00:00 2001 From: Jared Galanis Date: Tue, 12 Jul 2022 10:05:56 -0400 Subject: [PATCH 14/19] fix lint; clean up --- content/ember-4-5-released.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index 33c415f32..d332243d7 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -79,8 +79,11 @@ Also, keep your eyes on this blog: we will have a dedicated blog post with a dee ##### 2. A new `renderSettled` test helper + Under the hood, Ember's tests use a "test waiters" system to allow you to control the flow of your tests in terms of the actual framework behavior. That way that your tests match exactly what the app does at runtime. + + However, making this work depends on Ember providing all the necessary hooks for test helpers to use, and there was one significant missing public API. You could wait for *all* of the test waiters to finish with `settled`, but there was no public way to wait for *just rendering* to finish. For example, you might want to wait for rendering to finish but *not* for an Ember Data `save` operation to finish, as part of testing a loading screen. @@ -152,11 +155,11 @@ Ember CLI 4.5 introduced 2 deprecations. - Using the terms `whitelist` and `blacklist` build options are deprecated. Please use `include` and `exclude` instead. Only the name of the option has changed, and the functionality is unchanged. This work to add the -new option naming was initially planned in +new option naming was initially planned in [RFC 639](https://rfcs.emberjs.com/id/0639-replace-blacklist-whitelist), and the deprecation RFC is [RFC 801](https://rfcs.emberjs.com/id/0801-deprecate-blacklist-and-whitelist-build-options). -- Support for[`ember-cli-jshint` is deprecated](https://github.com/ember-cli/ember-cli/pull/9909). +- Support for [`ember-cli-jshint` is deprecated](https://github.com/ember-cli/ember-cli/pull/9909). The `addonJsFiles` method that was previously deprecated in `v3.13` of Ember CLI [has now been removed](https://github.com/ember-cli/ember-cli/pull/9898). From 290f12cb690596a2ae8b6ab49201c8dcebe066f5 Mon Sep 17 00:00:00 2001 From: Jared Galanis Date: Tue, 12 Jul 2022 10:09:16 -0400 Subject: [PATCH 15/19] remove node 12 removal as that happens in the next version not here --- content/ember-4-5-released.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index d332243d7..01bc38405 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -137,8 +137,6 @@ While it is recommended to keep Ember CLI versions in sync with Ember and Ember ### Changes in Ember CLI 4.5 -This Ember CLI release drops support for Node 12. Node 12 reached "end of life"status (it no longer receives security updates) in April 2022. - #### Bug Fixes Ember CLI 4.5 introduced a variety of small bug fixes and documentation improvements. From a7207350062c02ef16f604e5e00665c6cdc87a20 Mon Sep 17 00:00:00 2001 From: Jared Galanis Date: Tue, 12 Jul 2022 10:13:58 -0400 Subject: [PATCH 16/19] actually fix lint --- content/ember-4-5-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index 01bc38405..35f34c5ca 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -79,7 +79,7 @@ Also, keep your eyes on this blog: we will have a dedicated blog post with a dee ##### 2. A new `renderSettled` test helper - + Under the hood, Ember's tests use a "test waiters" system to allow you to control the flow of your tests in terms of the actual framework behavior. That way that your tests match exactly what the app does at runtime. From e6861fb12d63041c419f8f1b0e30bbca360e5bab Mon Sep 17 00:00:00 2001 From: Jared Galanis Date: Tue, 12 Jul 2022 10:19:25 -0400 Subject: [PATCH 17/19] last line issue --- content/ember-4-5-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index 35f34c5ca..7f217beec 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -83,7 +83,7 @@ Also, keep your eyes on this blog: we will have a dedicated blog post with a dee Under the hood, Ember's tests use a "test waiters" system to allow you to control the flow of your tests in terms of the actual framework behavior. That way that your tests match exactly what the app does at runtime. - + However, making this work depends on Ember providing all the necessary hooks for test helpers to use, and there was one significant missing public API. You could wait for *all* of the test waiters to finish with `settled`, but there was no public way to wait for *just rendering* to finish. For example, you might want to wait for rendering to finish but *not* for an Ember Data `save` operation to finish, as part of testing a loading screen. From 437398d3cb9097b06acfcad2a0fbb6cbb83133b7 Mon Sep 17 00:00:00 2001 From: Jen Weber Date: Wed, 13 Jul 2022 16:41:58 -0400 Subject: [PATCH 18/19] Update date --- content/ember-4-5-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index 7f217beec..60431dee4 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -3,7 +3,7 @@ title: Ember 4.5 Released authors: - jen-weber - chris-krycho -date: 2022-07-12T00:00:00.000Z +date: 2022-07-13T21:00:00.000Z tags: - releases - '2022' From 9e4f0d92e33b7959a3bf4d29f64d642b4366ae43 Mon Sep 17 00:00:00 2001 From: Jen Weber Date: Wed, 13 Jul 2022 16:43:05 -0400 Subject: [PATCH 19/19] Update intro line --- content/ember-4-5-released.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/ember-4-5-released.md b/content/ember-4-5-released.md index 60431dee4..9351e9618 100644 --- a/content/ember-4-5-released.md +++ b/content/ember-4-5-released.md @@ -10,7 +10,7 @@ tags: - version-4-x --- -Today the Ember project is releasing version 4.5 of Ember.js, Ember Data, and Ember CLI. +Today the Ember project is releasing version 4.5 of Ember.js and Ember CLI. Version 4.4 of Ember is now promoted to LTS (Long Term Support). An LTS version of Ember continues to receive security updates for 9 release cycles (54 weeks) and bugfixes for 6 cycles (36 weeks).