You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: text/1160-no-more-release-train.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,7 @@ We want a workflow where blueprint changes can ship as soon as they are merged,
58
58
- Blueprint packages ship continuously from `main`.
59
59
-`ember-cli` defaults to a known-good, pinned blueprint version.
60
60
- Users may choose the latest blueprint version at generation time.
61
+
- Users may specify any specific blueprint version at generation time (e.g. for testing).
61
62
- If pinned and latest match, do not prompt.
62
63
63
64
### Non-goals
@@ -139,13 +140,31 @@ If the user is offline or the registry is unavailable:
139
140
-`ember new my-app`
140
141
- No prompt; generation proceeds using the bundled version.
141
142
143
+
If the user specifies a specific blueprint version:
144
+
145
+
-`ember new my-app --blueprints-version=1.2.3`
146
+
- No prompt; generation proceeds using blueprint version `1.2.3`.
147
+
148
+
#### Specifying a specific blueprint version
149
+
150
+
Users may also specify an exact blueprint version using a flag such as `--blueprints-version=X.Y.Z` (or equivalent). This is useful for:
151
+
152
+
- Testing a specific blueprint release before it becomes the bundled default.
153
+
- Reproducing a blueprint output from a known version for debugging or comparison.
154
+
- Downgrading to an older blueprint version when needed (e.g. to verify behavior differences between releases).
155
+
156
+
When this flag is provided, `ember-cli` must skip the interactive prompt and use the requested version directly. If the requested version cannot be resolved (e.g. it does not exist on the registry), `ember-cli` should report an error and abort.
157
+
158
+
This flag is intentionally lower-profile than `--use-latest-blueprints`—it targets advanced users and tooling authors who have a specific reason to pin to a particular version. It should be documented but not prominently featured in onboarding materials.
159
+
142
160
#### Non-interactive environments
143
161
144
162
When `ember-cli` is running in a non-interactive environment (e.g. CI), the default must be bundled to preserve determinism.
145
163
146
-
This RFC recommends (but does not require) an explicit opt-in flag to avoid relying on interactive prompting in automation:
164
+
This RFC recommends (but does not require) explicit opt-in flags to avoid relying on interactive prompting in automation:
147
165
148
166
-`--use-latest-blueprints` (or equivalent) to force using the latest blueprint version.
167
+
-`--blueprints-version=X.Y.Z` (or equivalent) to force using a specific blueprint version.
0 commit comments