Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/plan-beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
types:
- labeled
- unlabeled
branches:
- beta

concurrency:
group: plan-release-beta # only the latest one of these should ever be running
Expand Down
106 changes: 106 additions & 0 deletions .github/workflows/plan-stable-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
name: Plan Stable Release
on:
workflow_dispatch:
push:
branches:
- release
pull_request_target: # This workflow has permissions on the repo, do NOT run code from PRs in this workflow. See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
types:
- labeled
- unlabeled
branches:
- release

concurrency:
group: plan-release-stable # only the latest one of these should ever be running
cancel-in-progress: true

jobs:
is-this-a-release:
name: "Is this a release?"
runs-on: ubuntu-latest
outputs:
command: ${{ steps.check-release.outputs.command }}

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
ref: 'release'
# This will only cause the `is-this-a-release` job to have a "command" of `release`
# when the .release-plan.json file was changed on the last commit.
- id: check-release
run: if git diff --name-only HEAD HEAD~1 | grep -w -q ".release-plan.json"; then echo "command=release"; fi >> $GITHUB_OUTPUT

create-prepare-release-pr:
name: Create Prepare Release PR
runs-on: ubuntu-latest
timeout-minutes: 5
needs: is-this-a-release
permissions:
contents: write
issues: read
pull-requests: write
# only run on push event or workflow dispatch if plan wasn't updated (don't create a release plan when we're releasing)
# only run on labeled event if the PR has already been merged
if: ((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && needs.is-this-a-release.outputs.command != 'release') || (github.event_name == 'pull_request_target' && github.event.pull_request.merged == true)

steps:
- uses: actions/checkout@v4
# We need to download lots of history so that
# github-changelog can discover what's changed since the last release
with:
fetch-depth: 0
ref: 'release'
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: "Generate Explanation and Prep Changelogs"
id: explanation
run: |
set +e
pnpm release-plan prepare 2> >(tee -a release-plan-stderr.txt >&2)

if [ $? -ne 0 ]; then
release_plan_output=$(cat release-plan-stderr.txt)
else
release_plan_output=$(jq .description .release-plan.json -r)
rm release-plan-stderr.txt

if [ $(jq '.solution | length' .release-plan.json) -eq 1 ]; then
new_version=$(jq -r '.solution[].newVersion' .release-plan.json)
echo "new_version=v$new_version" >> $GITHUB_OUTPUT
fi
fi
echo 'text<<EOF' >> $GITHUB_OUTPUT
echo "$release_plan_output" >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
env:
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}

# this is needed because our fixtures are highly dependent on the exact version of ember-cli in the monorepo
# and release-plan updates the version during the plan phase
- name: "Update blueprint to use new ember-cli version"
# if you're planning to test this locally and you're on a mac then you should use `gsed` because bsd sed has different
# arguments. You can install gsed with `brew install gnu-sed`
run: |
sed -i 's/"ember-cli".*/"ember-cli": "~'$(jq -r .version package.json)'",/' packages/app-blueprint/files/package.json

- uses: peter-evans/create-pull-request@v7
with:
commit-message: "Prepare Stable Release ${{ steps.explanation.outputs.new_version}} using 'release-plan'"
labels: "internal"
branch: release-preview-stable
title: Prepare Stable Release ${{ steps.explanation.outputs.new_version }}
# this doesn't use secrets.GITHUB_TOKEN because we want CI to run on the PR that it opens.
# See: https://docs.github.com/en/actions/how-tos/security-for-github-actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ secrets.RELEASE_PLAN_GH_PAT }}
body: |
This PR is a preview of the release that [release-plan](https://github.com/embroider-build/release-plan) has prepared. To release you should just merge this PR 👍

-----------------------------------------

${{ steps.explanation.outputs.text }}
42 changes: 42 additions & 0 deletions .github/workflows/publish-stable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# For every push to the primary branch with .release-plan.json modified,
# runs release-plan.

name: Publish Stable (Release)

on:
workflow_dispatch:
push:
branches:
- release
paths:
- '.release-plan.json'

concurrency:
group: publish-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
publish:
name: "NPM Publish"
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
id-token: write
attestations: write

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
# This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
registry-url: 'https://registry.npmjs.org'
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Publish to NPM
run: NPM_CONFIG_PROVENANCE=true pnpm release-plan publish --publish-branch=release
env:
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
44 changes: 31 additions & 13 deletions .release-plan.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,47 @@
"solution": {
"ember-cli": {
"impact": "patch",
"oldVersion": "6.8.0-beta.4",
"newVersion": "6.8.0-beta.5",
"tagName": "beta",
"oldVersion": "6.7.1",
"newVersion": "6.7.2",
"tagName": "latest",
"constraints": [
{
"impact": "patch",
"reason": "Appears in changelog section :bug: Bug Fix"
"reason": "Has dependency `workspace:*` on @ember-tooling/classic-build-addon-blueprint"
},
{
"impact": "patch",
"reason": "Has dependency `workspace:*` on @ember-tooling/classic-build-app-blueprint"
}
],
"pkgJSONPath": "./package.json"
},
"@ember-tooling/classic-build-addon-blueprint": {
"oldVersion": "6.8.0-beta.2"
"impact": "patch",
"oldVersion": "6.7.0",
"newVersion": "6.7.1",
"tagName": "latest",
"constraints": [
{
"impact": "patch",
"reason": "Appears in changelog section :bug: Bug Fix"
}
],
"pkgJSONPath": "./packages/addon-blueprint/package.json"
},
"@ember-tooling/classic-build-app-blueprint": {
"oldVersion": "6.8.0-beta.2"
},
"@ember-tooling/blueprint-blueprint": {
"oldVersion": "0.1.0"
},
"@ember-tooling/blueprint-model": {
"oldVersion": "0.3.0"
"impact": "patch",
"oldVersion": "6.7.1",
"newVersion": "6.7.2",
"tagName": "latest",
"constraints": [
{
"impact": "patch",
"reason": "Appears in changelog section :bug: Bug Fix"
}
],
"pkgJSONPath": "./packages/app-blueprint/package.json"
}
},
"description": "## Release (2025-10-13)\n\n* ember-cli 6.8.0-beta.5 (patch)\n\n#### :bug: Bug Fix\n* `ember-cli`\n * [#10846](https://github.com/ember-cli/ember-cli/pull/10846) [beta bugfix] allow build --watch only in EMBROIDER_PREBUILD ([@mansona](https://github.com/mansona))\n\n#### Committers: 1\n- Chris Manson ([@mansona](https://github.com/mansona))\n"
"description": "## Release (2025-10-08)\n\n* ember-cli 6.7.2 (patch)\n* @ember-tooling/classic-build-addon-blueprint 6.7.1 (patch)\n* @ember-tooling/classic-build-app-blueprint 6.7.2 (patch)\n\n#### :bug: Bug Fix\n* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`\n * [#10838](https://github.com/ember-cli/ember-cli/pull/10838) Add package license metadata to match repository ([@davidtaylorhq](https://github.com/davidtaylorhq))\n\n#### Committers: 1\n- David Taylor ([@davidtaylorhq](https://github.com/davidtaylorhq))\n"
}
123 changes: 13 additions & 110 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,128 +1,31 @@
# ember-cli Changelog

## Release (2025-10-13)
## Release (2025-10-08)

* ember-cli 6.8.0-beta.5 (patch)
* ember-cli 6.7.2 (patch)
* @ember-tooling/classic-build-addon-blueprint 6.7.1 (patch)
* @ember-tooling/classic-build-app-blueprint 6.7.2 (patch)

#### :bug: Bug Fix
* `ember-cli`
* [#10846](https://github.com/ember-cli/ember-cli/pull/10846) [beta bugfix] allow build --watch only in EMBROIDER_PREBUILD ([@mansona](https://github.com/mansona))
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
* [#10838](https://github.com/ember-cli/ember-cli/pull/10838) Add package license metadata to match repository ([@davidtaylorhq](https://github.com/davidtaylorhq))

#### Committers: 1
- Chris Manson ([@mansona](https://github.com/mansona))

## Release (2025-10-13)

* ember-cli 6.8.0-beta.4 (minor)
* @ember-tooling/classic-build-addon-blueprint 6.8.0-beta.2 (minor)
* @ember-tooling/classic-build-app-blueprint 6.8.0-beta.2 (minor)

#### :rocket: Enhancement
* `ember-cli`
* [#10844](https://github.com/ember-cli/ember-cli/pull/10844) [beta] Error when `ember (generate|destroy) (http-proxy|http-mock|server)` is used in a Vite-based project ([@kategengler](https://github.com/kategengler))
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
* [#10831](https://github.com/ember-cli/ember-cli/pull/10831) [bugfix beta] enable `--strict` by default to match new app blueprint ([@mansona](https://github.com/mansona))

#### :memo: Documentation
* `ember-cli`
* [#10843](https://github.com/ember-cli/ember-cli/pull/10843) Further contextualize help output and error when options and commands that are no longer supported in Vite-based projects are used ([@kategengler](https://github.com/kategengler))
* [#10840](https://github.com/ember-cli/ember-cli/pull/10840) [beta] fix help for vite-based projects ([@kategengler](https://github.com/kategengler))
* [#10835](https://github.com/ember-cli/ember-cli/pull/10835) Update deprecation message for --embroider option ([@kategengler](https://github.com/kategengler))

#### :house: Internal
* `ember-cli`
* [#10845](https://github.com/ember-cli/ember-cli/pull/10845) [beta] update @ember/app-blueprint to latest beta ([@mansona](https://github.com/mansona))
* [#10833](https://github.com/ember-cli/ember-cli/pull/10833) [bugfix beta] bump the @ember/app-blueprint version ([@mansona](https://github.com/mansona))

#### Committers: 2
- Chris Manson ([@mansona](https://github.com/mansona))
- Katie Gengler ([@kategengler](https://github.com/kategengler))
- David Taylor ([@davidtaylorhq](https://github.com/davidtaylorhq))

## Release (2025-10-03)
## Release (2025-10-06)

* ember-cli 6.8.0-beta.3 (patch)
* ember-cli 6.7.1 (patch)
* @ember-tooling/classic-build-app-blueprint 6.7.1 (patch)

#### :bug: Bug Fix
* `ember-cli`
* [#10826](https://github.com/ember-cli/ember-cli/pull/10826) move resolution of @ember/app-blueprint to prevent loading latest ([@mansona](https://github.com/mansona))

#### Committers: 1
- Chris Manson ([@mansona](https://github.com/mansona))

## Release (2025-10-02)

* ember-cli 6.8.0-beta.2 (patch)

#### :house: Internal
* `ember-cli`
* [#10823](https://github.com/ember-cli/ember-cli/pull/10823) fix incorrect ember-cli-update version in tests ([@mansona](https://github.com/mansona))
* [#10819](https://github.com/ember-cli/ember-cli/pull/10819) update @ember/app-blueprint beta version ([@mansona](https://github.com/mansona))

#### Committers: 1
- Chris Manson ([@mansona](https://github.com/mansona))

## Release (2025-09-10)

* ember-cli 6.8.0-beta.1 (minor)
* @ember-tooling/classic-build-addon-blueprint 6.8.0-beta.1 (minor)
* @ember-tooling/classic-build-app-blueprint 6.8.0-beta.1 (minor)
* @ember-tooling/blueprint-blueprint 0.1.0 (minor)
* @ember-tooling/blueprint-model 0.3.0 (minor)

#### :rocket: Enhancement
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `@ember-tooling/blueprint-blueprint`, `@ember-tooling/blueprint-model`
* [#10808](https://github.com/ember-cli/ember-cli/pull/10808) Prepare 6.8 Beta ([@mansona](https://github.com/mansona))
* `@ember-tooling/blueprint-model`
* [#10802](https://github.com/ember-cli/ember-cli/pull/10802) enable Vite by default ([@mansona](https://github.com/mansona))
* `ember-cli`
* [#10804](https://github.com/ember-cli/ember-cli/pull/10804) Support a `--ts` alias for the `addon`, `init` and `new` commands ([@bertdeblock](https://github.com/bertdeblock))
* [#10785](https://github.com/ember-cli/ember-cli/pull/10785) Depracate passing filenames and globs to `init` ([@pichfl](https://github.com/pichfl))
* [#10776](https://github.com/ember-cli/ember-cli/pull/10776) Add deprecation warning for the `--embroider` argument ([@pichfl](https://github.com/pichfl))
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
* [#10796](https://github.com/ember-cli/ember-cli/pull/10796) Promote Beta and update all dependencies for 6.7 release ([@mansona](https://github.com/mansona))
* `ember-cli`, `@ember-tooling/blueprint-model`
* [#10781](https://github.com/ember-cli/ember-cli/pull/10781) Add new `VITE` experiment to generate app with new Vite blueprint ([@pichfl](https://github.com/pichfl))
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `ember-cli`
* [#10791](https://github.com/ember-cli/ember-cli/pull/10791) update the format of the ember-cli-update.json ([@mansona](https://github.com/mansona))

#### :bug: Bug Fix
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `@ember-tooling/blueprint-blueprint`
* [#10803](https://github.com/ember-cli/ember-cli/pull/10803) Add "ember-blueprint" to keywords in `package.json` for the classic blueprints ([@pichfl](https://github.com/pichfl))
* [#10834](https://github.com/ember-cli/ember-cli/pull/10834) [bugfix release] Fix tests using wrong versions ([@mansona](https://github.com/mansona))
* `@ember-tooling/classic-build-app-blueprint`
* [#10798](https://github.com/ember-cli/ember-cli/pull/10798) Add import from ember-data breakage/deprecation ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
* `ember-cli`
* [#10794](https://github.com/ember-cli/ember-cli/pull/10794) Fix potential NPE ([@boris-petrov](https://github.com/boris-petrov))
* [#10782](https://github.com/ember-cli/ember-cli/pull/10782) update heimdall-fs-monitor ([@mansona](https://github.com/mansona))
* `@ember-tooling/classic-build-app-blueprint`, `ember-cli`
* [#10707](https://github.com/ember-cli/ember-cli/pull/10707) Enabled recommended configs from eslint-plugin-n and eslint-plugin-qunit ([@ijlee2](https://github.com/ijlee2))

#### :house: Internal
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `@ember-tooling/blueprint-model`
* [#10807](https://github.com/ember-cli/ember-cli/pull/10807) Prepare Alpha Release ([@mansona](https://github.com/mansona))
* [#10795](https://github.com/ember-cli/ember-cli/pull/10795) Prepare Alpha Release ([@mansona](https://github.com/mansona))
* `ember-cli`
* [#10806](https://github.com/ember-cli/ember-cli/pull/10806) skip build watch tests when vite is enabled ([@mansona](https://github.com/mansona))
* [#10801](https://github.com/ember-cli/ember-cli/pull/10801) update github-changelog ([@mansona](https://github.com/mansona))
* [#10790](https://github.com/ember-cli/ember-cli/pull/10790) Reorganize tests for `new` and `addon` commands ([@pichfl](https://github.com/pichfl))
* [#10783](https://github.com/ember-cli/ember-cli/pull/10783) remove unused changelog script ([@mansona](https://github.com/mansona))
* [#10764](https://github.com/ember-cli/ember-cli/pull/10764) fix double CI run on release-plan PR ([@mansona](https://github.com/mansona))
* [#10750](https://github.com/ember-cli/ember-cli/pull/10750) Add more notes to the Release.md ([@mansona](https://github.com/mansona))
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `@ember-tooling/blueprint-blueprint`
* [#10799](https://github.com/ember-cli/ember-cli/pull/10799) Prepare Alpha Release ([@mansona](https://github.com/mansona))
* `ember-cli`, `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
* [#10797](https://github.com/ember-cli/ember-cli/pull/10797) Prepare Stable Release ([@mansona](https://github.com/mansona))
* [#10800](https://github.com/ember-cli/ember-cli/pull/10800) fix release-plan for stable release ([@mansona](https://github.com/mansona))
* [#10778](https://github.com/ember-cli/ember-cli/pull/10778) Prepare Alpha Release ([@mansona](https://github.com/mansona))
* [#10756](https://github.com/ember-cli/ember-cli/pull/10756) Prepare Alpha Release ([@mansona](https://github.com/mansona))
* [#10763](https://github.com/ember-cli/ember-cli/pull/10763) Prepare 6.8-alpha ([@mansona](https://github.com/mansona))
* [#10824](https://github.com/ember-cli/ember-cli/pull/10824) [bugfix release] fix app-blueprint being considered a blueprint ([@mansona](https://github.com/mansona))

#### Committers: 6
- Bert De Block ([@bertdeblock](https://github.com/bertdeblock))
- Boris Petrov ([@boris-petrov](https://github.com/boris-petrov))
#### Committers: 1
- Chris Manson ([@mansona](https://github.com/mansona))
- Florian Pichler ([@pichfl](https://github.com/pichfl))
- Isaac Lee ([@ijlee2](https://github.com/ijlee2))
- [@NullVoxPopuli](https://github.com/NullVoxPopuli)

## Release (2025-09-06)

Expand Down
14 changes: 3 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-cli",
"version": "6.8.0-beta.5",
"version": "6.7.2",
"description": "Command line tool for developing ambitious ember.js apps",
"keywords": [
"app",
Expand Down Expand Up @@ -37,17 +37,9 @@
"test:debug": "node --unhandled-rejections=strict debug tests/runner",
"test:slow": "node --unhandled-rejections=strict tests/runner slow"
},
"release-plan": {
"semverIncrementAs": {
"minor": "prerelease",
"patch": "prerelease"
},
"semverIncrementTag": "beta",
"publishTag": "beta"
},
"dependencies": {
"@ember-tooling/blueprint-blueprint": "workspace:*",
"@ember-tooling/blueprint-model": "workspace:*",
"@ember-tooling/blueprint-blueprint": "^0.2.1",
"@ember-tooling/blueprint-model": "^0.4.1",
"@ember-tooling/classic-build-addon-blueprint": "workspace:*",
"@ember-tooling/classic-build-app-blueprint": "workspace:*",
"@ember/app-blueprint": "~6.8.0-beta.7",
Expand Down
Loading