ember-cli 6.5.0-beta.0 → 6.6.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -0
- package/RELEASE.md +61 -135
- package/blueprints/addon/index.js +0 -1
- package/blueprints/app/files/package.json +11 -12
- package/blueprints/app/files/tsconfig.json +1 -1
- package/blueprints/in-repo-addon/files/__root__/__name__/index.js +0 -0
- package/blueprints/in-repo-addon/index.js +0 -0
- package/blueprints/lib/index.js +0 -0
- package/docs/build/data.json +6672 -0
- package/lib/utilities/will-interrupt-process.js +13 -2
- package/package.json +22 -25
- package/tests/helpers/mk-tmp-dir-in.js +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,56 @@
|
|
|
1
1
|
# ember-cli Changelog
|
|
2
2
|
|
|
3
|
+
## Release (2025-06-11)
|
|
4
|
+
|
|
5
|
+
* ember-cli 6.6.0-alpha.2 (minor)
|
|
6
|
+
|
|
7
|
+
#### :rocket: Enhancement
|
|
8
|
+
* `ember-cli`
|
|
9
|
+
* [#10701](https://github.com/ember-cli/ember-cli/pull/10701) [ENHANCEMENT] Support Bun ([@hexadecy](https://github.com/hexadecy))
|
|
10
|
+
* [#10664](https://github.com/ember-cli/ember-cli/pull/10664) [ENHANCEMENT] Remove ember-fetch ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
11
|
+
|
|
12
|
+
#### :bug: Bug Fix
|
|
13
|
+
* `ember-cli`
|
|
14
|
+
* [#10711](https://github.com/ember-cli/ember-cli/pull/10711) fix yuidoc generation on publish ([@mansona](https://github.com/mansona))
|
|
15
|
+
* [#10710](https://github.com/ember-cli/ember-cli/pull/10710) make sure we release alpha with release-plan ([@mansona](https://github.com/mansona))
|
|
16
|
+
* [#10702](https://github.com/ember-cli/ember-cli/pull/10702) [Bugfix]: Update ember-data and unify the versions between @ and non-@ ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
17
|
+
|
|
18
|
+
#### :house: Internal
|
|
19
|
+
* `ember-cli`
|
|
20
|
+
* [#10709](https://github.com/ember-cli/ember-cli/pull/10709) Prepare Alpha Release v6.6.0-alpha.1 ([@github-actions[bot]](https://github.com/apps/github-actions))
|
|
21
|
+
* [#10699](https://github.com/ember-cli/ember-cli/pull/10699) Start using release-plan for releasing ember-cli ([@mansona](https://github.com/mansona))
|
|
22
|
+
* [#10670](https://github.com/ember-cli/ember-cli/pull/10670) testing: don't generate temp directories in the repo ([@mansona](https://github.com/mansona))
|
|
23
|
+
|
|
24
|
+
#### Committers: 4
|
|
25
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
26
|
+
- Michel Couillard ([@hexadecy](https://github.com/hexadecy))
|
|
27
|
+
- [@NullVoxPopuli](https://github.com/NullVoxPopuli)
|
|
28
|
+
- [@github-actions[bot]](https://github.com/apps/github-actions)
|
|
29
|
+
|
|
30
|
+
## Release (2025-06-11)
|
|
31
|
+
|
|
32
|
+
* ember-cli 6.6.0-alpha.1 (minor)
|
|
33
|
+
|
|
34
|
+
#### :rocket: Enhancement
|
|
35
|
+
* `ember-cli`
|
|
36
|
+
* [#10701](https://github.com/ember-cli/ember-cli/pull/10701) [ENHANCEMENT] Support Bun ([@hexadecy](https://github.com/hexadecy))
|
|
37
|
+
* [#10664](https://github.com/ember-cli/ember-cli/pull/10664) [ENHANCEMENT] Remove ember-fetch ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
38
|
+
|
|
39
|
+
#### :bug: Bug Fix
|
|
40
|
+
* `ember-cli`
|
|
41
|
+
* [#10710](https://github.com/ember-cli/ember-cli/pull/10710) make sure we release alpha with release-plan ([@mansona](https://github.com/mansona))
|
|
42
|
+
* [#10702](https://github.com/ember-cli/ember-cli/pull/10702) [Bugfix]: Update ember-data and unify the versions between @ and non-@ ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
43
|
+
|
|
44
|
+
#### :house: Internal
|
|
45
|
+
* `ember-cli`
|
|
46
|
+
* [#10699](https://github.com/ember-cli/ember-cli/pull/10699) Start using release-plan for releasing ember-cli ([@mansona](https://github.com/mansona))
|
|
47
|
+
* [#10670](https://github.com/ember-cli/ember-cli/pull/10670) testing: don't generate temp directories in the repo ([@mansona](https://github.com/mansona))
|
|
48
|
+
|
|
49
|
+
#### Committers: 3
|
|
50
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
51
|
+
- Michel Couillard ([@hexadecy](https://github.com/hexadecy))
|
|
52
|
+
- [@NullVoxPopuli](https://github.com/NullVoxPopuli)
|
|
53
|
+
|
|
3
54
|
## v6.5.0-beta.0
|
|
4
55
|
|
|
5
56
|
#### Blueprint Changes
|
package/RELEASE.md
CHANGED
|
@@ -1,178 +1,104 @@
|
|
|
1
1
|
# Release Process
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> [!WARNING]
|
|
4
|
+
> This release process is currently changing and is making its way from the `master` branch to `beta` and `release` as part of the normal release train. Be careful following this document over the next 12 weeks.
|
|
5
|
+
> As of time of writing release-plan is only being used for the master branch and the instructions below are for illustrative purposes only
|
|
6
|
+
|
|
7
|
+
`ember-cli` follows the same channel based release process that Ember does:
|
|
4
8
|
|
|
5
9
|
* `release` - This branch represents the `latest` dist-tag on NPM
|
|
6
10
|
* `beta` - This branch represents the `beta` dist-tag on NPM
|
|
7
|
-
* `master` - The branch
|
|
8
|
-
|
|
9
|
-
## Initial Stable Release
|
|
11
|
+
* `master` - The branch represents the `alpha` dist-tag on NPM
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
Most changes should be made as a PR that targets the `master` branch and make their way through `beta` and `release` over the course of 12 weeks as part of the Ember release train. Generally speaking we do not backport functional changes to `beta` or `release` but we can if needs be.
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
node ./dev/update-blueprint-dependencies.js --ember-source=latest --ember-data=latest
|
|
15
|
-
```
|
|
15
|
+
This release process is managed by [release-plan](https://github.com/embroider-build/release-plan) which means that all changes should be made as a pull request to make sure it is captured in the changelog.
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
* Send pull request to `beta` branch
|
|
19
|
-
* Wait for PR (for updating blueprint dependencies) to be merged
|
|
17
|
+
## Release process overview
|
|
20
18
|
|
|
21
|
-
|
|
19
|
+
During the release week each of the versions are effectively "promoted" i.e. the current `beta` version is released as `latest`, the current `alpha` version is released as `beta` and a **new** `alpha` version is created. This requires PRs to each of the active branches to update ember-source (and potentially ember-data) versions. Each of those PRs that update dependencies should be marked as `enhancement` if we are releasing a minor version.
|
|
22
20
|
|
|
23
|
-
|
|
24
|
-
git fetch origin
|
|
25
|
-
git checkout -B release --track origin/release
|
|
26
|
-
```
|
|
21
|
+
The release process during release week should look like this:
|
|
27
22
|
|
|
28
|
-
|
|
23
|
+
- Do an intial stable release from the `release` branch
|
|
24
|
+
- Merge `release` into `beta`
|
|
25
|
+
- Do a `beta` release
|
|
26
|
+
- Merge `beta` into `master`
|
|
27
|
+
- Do an `alpha` release
|
|
29
28
|
|
|
30
|
-
```
|
|
31
|
-
git fetch origin
|
|
32
|
-
git merge origin/beta
|
|
33
|
-
git push origin release
|
|
34
|
-
```
|
|
35
29
|
|
|
36
|
-
* Ensure you have the correct dependencies
|
|
37
30
|
|
|
38
|
-
|
|
39
|
-
git clean -fdx
|
|
40
|
-
pnpm install
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
* Update the CHANGELOG.md
|
|
44
|
-
* Run `node ./dev/changelog`
|
|
45
|
-
* Copy output into `CHANGELOG.md`
|
|
46
|
-
* Edit to make clearer for consumers (remove non-consumer facing entries, etc)
|
|
47
|
-
* Ensure blueprint change diff URLs are correct
|
|
48
|
-
* Merge any prior beta entries together
|
|
49
|
-
* Update changelog header for current release
|
|
50
|
-
* Commit
|
|
51
|
-
* Release: `npx release-it`
|
|
52
|
-
* Update GitHub Release with changelog contents
|
|
53
|
-
* Merge `release` into `beta` branch
|
|
54
|
-
|
|
55
|
-
```
|
|
56
|
-
git checkout -B beta --track origin/beta
|
|
57
|
-
git merge origin/release
|
|
58
|
-
git push origin beta
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
## Stable Patch Release
|
|
62
|
-
|
|
63
|
-
* Checkout the `release` branch
|
|
64
|
-
|
|
65
|
-
```
|
|
66
|
-
git fetch origin
|
|
67
|
-
git checkout -B release --track origin/release
|
|
68
|
-
```
|
|
31
|
+
### Initial Stable Release from the `release` branch
|
|
69
32
|
|
|
70
|
-
|
|
33
|
+
- fetch latest from origin `git fetch`
|
|
34
|
+
- create a new branch to do the release e.g. `git checkout -B release-plan-6-4 origin/release`
|
|
35
|
+
- note: branches named like `release-6-4` are used to manage LTS patch releases so we don't want to create a branch with that name at this time
|
|
36
|
+
- Update blueprint dependencies to latest
|
|
71
37
|
|
|
72
38
|
```
|
|
73
|
-
|
|
74
|
-
pnpm install
|
|
39
|
+
node ./dev/update-blueprint-dependencies.js --ember-source=latest --ember-data=latest
|
|
75
40
|
```
|
|
76
41
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
* Release: `npx release-it`
|
|
85
|
-
* Update GitHub Release with changelog contents
|
|
86
|
-
* Merge `release` into `beta` branch
|
|
87
|
-
|
|
88
|
-
```
|
|
89
|
-
git checkout -B beta --track origin/beta
|
|
90
|
-
git merge origin/release
|
|
91
|
-
git push origin beta
|
|
92
|
-
```
|
|
42
|
+
- push and open a PR targeting `release`
|
|
43
|
+
- mark this PR as an `enhancement` if it is a minor release
|
|
44
|
+
- check that everything is ok
|
|
45
|
+
- merge branch
|
|
46
|
+
- check that the `Prepare Release` PR has been correctly opened by `release-plan`
|
|
47
|
+
- Merge the `Prepare Release` branch when you are ready to release
|
|
48
|
+
- Check the `Release Stable` GitHub action to make sure the release succeeded
|
|
93
49
|
|
|
94
|
-
|
|
50
|
+
### Beta release from the `beta` branch
|
|
95
51
|
|
|
96
|
-
|
|
52
|
+
- fetch latest from origin `git fetch`
|
|
53
|
+
- create a new branch to merge `release` into `beta` e.g. `git checkout -B merge-release origin/beta`
|
|
54
|
+
- merge release into this new branch e.g. `git merge origin/release --no-ff`
|
|
55
|
+
- Update blueprint dependencies to beta
|
|
97
56
|
|
|
98
57
|
```
|
|
99
58
|
node ./dev/update-blueprint-dependencies.js --ember-source=beta --ember-data=beta
|
|
100
59
|
```
|
|
101
60
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
61
|
+
- push and open a PR targeting `beta`
|
|
62
|
+
- mark this PR as an `enchancement` if the next beta is a minor release
|
|
63
|
+
- check that everything is ok i.e. CI passes
|
|
64
|
+
- merge the `merge-release` branch into `beta` in GitHub
|
|
65
|
+
- check that the `Prepare Beta Release` PR has been correctly opened by `release-plan`
|
|
66
|
+
- note: the release-plan config will automatically make this version a pre-release
|
|
67
|
+
- Merge the `Prepare Beta Release` when you are ready to release the next beta version
|
|
68
|
+
- Check the `Release Beta` GitHub action to make sure the release succeeded
|
|
106
69
|
|
|
107
|
-
```
|
|
108
|
-
git fetch origin
|
|
109
|
-
git checkout -B beta --track origin/beta
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
* Merge `master` branch into `beta`
|
|
113
70
|
|
|
114
|
-
|
|
115
|
-
git fetch origin
|
|
116
|
-
git merge origin/master
|
|
117
|
-
git push origin beta
|
|
118
|
-
```
|
|
71
|
+
### Alpha release from the `master` branch
|
|
119
72
|
|
|
120
|
-
|
|
73
|
+
- fetch latest from origin `git fetch`
|
|
74
|
+
- create a new branch to merge `beta` into `master` e.g. `git checkout -B merge-beta origin/master`
|
|
75
|
+
- merge release into this new branch e.g. `git merge origin/beta --no-ff`
|
|
76
|
+
- Update blueprint dependencies to alpha
|
|
121
77
|
|
|
122
78
|
```
|
|
123
|
-
|
|
124
|
-
pnpm install
|
|
79
|
+
node ./dev/update-blueprint-dependencies.js --ember-source=alpha --ember-data=canary
|
|
125
80
|
```
|
|
126
81
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
* Update GitHub Release with changelog contents
|
|
136
|
-
* Merge `beta` into `master` branch
|
|
82
|
+
- push and open a PR targeting `master`
|
|
83
|
+
- mark this PR as an `enchancement` if the next alpha is a minor release
|
|
84
|
+
- check that everything is ok i.e. CI passes
|
|
85
|
+
- merge the `merge-beta` branch into `master` in GitHub
|
|
86
|
+
- check that the `Prepare Alpha Release` PR has been correctly opened by `release-plan`
|
|
87
|
+
- note: the release-plan config will automatically make this version a pre-release
|
|
88
|
+
- Merge the `Prepare Alpha Release` when you are ready to release the next alpha version
|
|
89
|
+
- Check the `Release Alpha` GitHub action to make sure the release succeeded
|
|
137
90
|
|
|
138
|
-
```
|
|
139
|
-
git checkout master
|
|
140
|
-
git merge origin/beta
|
|
141
|
-
git push origin master
|
|
142
|
-
```
|
|
143
91
|
|
|
144
|
-
##
|
|
92
|
+
## Changelog updates
|
|
145
93
|
|
|
146
|
-
|
|
94
|
+
`release-plan` is designed to automatically generate a Changelog that includes the titles of every PR that was merged since the last release. As we would like to make use of this auto-generated Changelog we need to make sure that PRs are named correctly and the Changelog included in the "Prepare Release" PRs are what we were expecting.
|
|
147
95
|
|
|
148
|
-
|
|
149
|
-
git fetch origin
|
|
150
|
-
git checkout -B beta --track origin/beta
|
|
151
|
-
```
|
|
96
|
+
If you want to change the content of the Changelog then you should update the PR titles you want to update and re-run the `Prepare Release` CI job for that branch
|
|
152
97
|
|
|
153
|
-
|
|
98
|
+
## Patch Releases
|
|
154
99
|
|
|
155
|
-
|
|
156
|
-
git clean -fdx
|
|
157
|
-
pnpm install
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
* Update the CHANGELOG.md
|
|
161
|
-
* Run `node ./dev/changelog`
|
|
162
|
-
* Copy output into `CHANGELOG.md`
|
|
163
|
-
* Edit to make clearer for consumers (remove non-consumer facing entries, etc)
|
|
164
|
-
* Ensure blueprint change diff URLs are correct
|
|
165
|
-
* Update changelog header for current release
|
|
166
|
-
* Commit
|
|
167
|
-
* Release: `npx release-it`
|
|
168
|
-
* Update GitHub Release with changelog contents
|
|
169
|
-
* Merge `beta` into `master` branch
|
|
100
|
+
Now that we're using release-plan for all releases, patch releases have become super easy! Every time you merge a PR to any branch that is being released with `release-plan` a new `Prepare Release` PR will be created. When you merge this `Prepare Release` branch it will automatically release the new Patch version.
|
|
170
101
|
|
|
171
|
-
```
|
|
172
|
-
git checkout master
|
|
173
|
-
git merge origin/beta
|
|
174
|
-
git push origin master
|
|
175
|
-
```
|
|
176
102
|
|
|
177
103
|
## Post-release Automation
|
|
178
104
|
|
|
@@ -79,7 +79,6 @@ module.exports = {
|
|
|
79
79
|
delete contents.devDependencies[depName];
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
delete contents.devDependencies['ember-fetch'];
|
|
83
82
|
|
|
84
83
|
// Per RFC #811, addons should not have this dependency.
|
|
85
84
|
// @see https://github.com/emberjs/rfcs/blob/master/text/0811-element-modifiers.md#detailed-design
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
"@babel/core": "^7.27.1",
|
|
32
32
|
"@babel/eslint-parser": "^7.27.1",
|
|
33
33
|
"@babel/plugin-proposal-decorators": "^7.27.1<% if (typescript && emberData) { %>",
|
|
34
|
-
"@ember-data/adapter": "~5.
|
|
35
|
-
"@ember-data/graph": "~5.
|
|
36
|
-
"@ember-data/json-api": "~5.
|
|
37
|
-
"@ember-data/legacy-compat": "~5.
|
|
38
|
-
"@ember-data/model": "~5.
|
|
39
|
-
"@ember-data/request": "~5.
|
|
40
|
-
"@ember-data/request-utils": "~5.
|
|
41
|
-
"@ember-data/serializer": "~5.
|
|
42
|
-
"@ember-data/store": "~5.
|
|
43
|
-
"@
|
|
34
|
+
"@ember-data/adapter": "~5.5.0",
|
|
35
|
+
"@ember-data/graph": "~5.5.0",
|
|
36
|
+
"@ember-data/json-api": "~5.5.0",
|
|
37
|
+
"@ember-data/legacy-compat": "~5.5.0",
|
|
38
|
+
"@ember-data/model": "~5.5.0",
|
|
39
|
+
"@ember-data/request": "~5.5.0",
|
|
40
|
+
"@ember-data/request-utils": "~5.5.0",
|
|
41
|
+
"@ember-data/serializer": "~5.5.0",
|
|
42
|
+
"@ember-data/store": "~5.5.0",
|
|
43
|
+
"@warp-drive/ember": "~5.5.0<% } %>",
|
|
44
44
|
"@ember/optional-features": "^2.2.0",
|
|
45
45
|
"@ember/test-helpers": "^5.2.1<% if (embroider) { %>",
|
|
46
46
|
"@embroider/compat": "^3.9.0",
|
|
@@ -70,8 +70,7 @@
|
|
|
70
70
|
"ember-cli-inject-live-reload": "^2.1.0<% if (!embroider) { %>",
|
|
71
71
|
"ember-cli-sri": "^2.1.1",
|
|
72
72
|
"ember-cli-terser": "^4.0.2<% } %><% if (emberData) { %>",
|
|
73
|
-
"ember-data": "~5.
|
|
74
|
-
"ember-fetch": "^8.1.2",
|
|
73
|
+
"ember-data": "~5.5.0<% } %>",
|
|
75
74
|
"ember-load-initializers": "^3.0.1",
|
|
76
75
|
"ember-modifier": "^4.2.0",
|
|
77
76
|
"ember-page-title": "^9.0.1",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@ember-data/request-utils/unstable-preview-types",
|
|
26
26
|
"@ember-data/model/unstable-preview-types",
|
|
27
27
|
"@ember-data/serializer/unstable-preview-types",
|
|
28
|
-
"@
|
|
28
|
+
"@warp-drive/ember/unstable-preview-types",
|
|
29
29
|
"@warp-drive/core-types/unstable-preview-types<% } %>"
|
|
30
30
|
]
|
|
31
31
|
}
|
|
File without changes
|
|
File without changes
|
package/blueprints/lib/index.js
CHANGED
|
File without changes
|