Skip to content

Commit d19cee6

Browse files
authored
Merge pull request #1316 from ember-learn/updates-to-ember-data-versioning-strategy
Updates to ember data versioning strategy
2 parents c837f84 + d9784cc commit d19cee6

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
title: Updates To The EmberData Lockstep Versioning Strategy
3+
authors:
4+
- chris-thoburn
5+
- jared-galanis
6+
- the-ember-data-team
7+
date: 2023-11-01T00:00:00.000Z
8+
tags:
9+
- '2023'
10+
- ember-data
11+
---
12+
13+
## Updates To The EmberData Lockstep Versioning Strategy
14+
15+
Today the EmberData team is excited to announce changes to how we manage lockstep
16+
versioning with the broader Ember.js project.
17+
18+
The primary goal of these changes is to improve version-to-version stability for our consumers. We see this being beneficial in several ways.
19+
20+
First, by releasing fewer versions that contain no effective changes other than the version bump, we believe consumers will be able to navigate version-by-version and LTS-by-LTS upgrades with greater stability and clarity.
21+
22+
Second, if the only changes are bug fixes then these fixes are applied to the latest minor
23+
instead of becoming strung out across multiple minors.
24+
25+
Third, this should enable the project to move more carefully at times when more substantive changes
26+
are being made.
27+
28+
We hope that this new policy will improve the ability for us to invest in upgrade paths for
29+
consumers using older versions by focusing on providing the most robust release targets we can.
30+
31+
## Policy Changes
32+
33+
- When Ember.js releases an LTS, the most recent release of EmberData will also be released as an LTS.
34+
- When Ember.js releases a new major, EmberData will also release a new major.
35+
- New minor releases of EmberData will coincide with Ember.js' six-week release cadence when EmberData releases a new minor.
36+
- These changes do not affect how and when ember-source and ember-cli release.
37+
- These changes do not change EmberData's LTS support policy or its ember-source LTS support policy.
38+
39+
- The latest EmberData release will always support the last two ember-source LTS releases.
40+
41+
## Mitigating Effects
42+
43+
- The API Docs will continue to function as expected. It's worth noting that when viewing docs for EmberData the version dropdown will only include versions available for EmberData. Additionally, links in the EmberData API docs to the Ember API docs will take you to the matching version number of Ember - not necessarily the most recently released version of Ember.
44+
- EmberData's README has added a [compatibility table](https://github.com/emberjs/data#compatibility).
45+
- New releases (including patch and LTS releases) of EmberData beginning today will always list the range of compatible ember-source versions in the release notes at the time of release.
46+
- EmberData will begin setting an explicit peerDependency on ember-source set to all tested compatible versions matching the range specified in the release notes.
47+
48+
- Note: this peerDependency will at times be much broader than EmberData's official LTS support policy of "last 2 ember-source LTS releases".
49+
- Ember CLI will ship the latest version of EmberData at the time of releases in the new app blueprint.
50+
- The releases overview on the website will continue to offer instructions for installing the latest version of Ember.js, which will include the latest version of EmberData (see previous bullet point). The LTS page will be updated to track both the Ember.js and EmberData LTS.
51+
52+
## Examples
53+
54+
- ember-source releases a new minor (5.4), EmberData chooses to not release and remains at 5.3.
55+
- ember-source releases a new LTS (5.4), EmberData's latest release is 5.3 and thus releases 5.3 as LTS.
56+
- ember-source releases a new minor (5.5), EmberData chooses to release and thus bumps from 5.3 to 5.4.
57+
- ember-source releases a new major (6.0), EmberData will release 6.0.
58+
59+
## Timeline
60+
61+
EmberData is beginning this new policy effective with the current release, and has opted to not
62+
release in this cycle. Thus the latest ember-source is 5.4 and latest ember-data is 5.3.

0 commit comments

Comments
 (0)