Repository navigation
Upgrade to Ember 7.4 on Vite - #241
Draft
NullVoxPopuli-ai-agent wants to merge 63 commits into
Draft
NullVoxPopuli-ai-agent wants to merge 63 commits into
NullVoxPopuli-ai-agent wants to merge 63 commits into
Conversation
NullVoxPopuli-ai-agent
force-pushed
the
nvp/ember-7
branch
3 times, most recently
from
November 24, 2026 20:23
daaa6f3 to
89ea1a0
Compare
This was referenced Nov 24, 2026
NullVoxPopuli-ai-agent
force-pushed
the
nvp/ember-7
branch
from
November 25, 2026 02:03
89ea1a0 to
fecd9f1
Compare
This was referenced Nov 25, 2026
NullVoxPopuli-ai-agent
force-pushed
the
nvp/ember-7
branch
3 times, most recently
from
November 25, 2026 13:30
74b6118 to
687d7bf
Compare
Move from yarn 1 or npm 6 to pnpm Co-Authored-By: NullVoxPopuli <[email protected]>
Replace `Ember.*` globals with `@ember/*` imports (RFC 176) Co-Authored-By: NullVoxPopuli <[email protected]>
Update ember-cli to 4.12 Co-Authored-By: NullVoxPopuli <[email protected]>
Replace ember-fetch with the global fetch (RFC 1065) Co-Authored-By: NullVoxPopuli <[email protected]>
Update ember-source to 3.28, and the packages that its app blueprint lists Co-Authored-By: NullVoxPopuli <[email protected]>
Update ember-source to 4.4, and the packages that its app blueprint lists Co-Authored-By: NullVoxPopuli <[email protected]>
Update ember-source to 4.8, and the packages that its app blueprint lists Co-Authored-By: NullVoxPopuli <[email protected]>
Update ember-source to 4.12, and the packages that its app blueprint lists Co-Authored-By: NullVoxPopuli <[email protected]>
Update ember-source to 5.4, and the packages that its app blueprint lists Co-Authored-By: NullVoxPopuli <[email protected]>
Update ember-source to 5.8, and the packages that its app blueprint lists Co-Authored-By: NullVoxPopuli <[email protected]>
Update ember-source to 5.12, and the packages that its app blueprint lists Co-Authored-By: NullVoxPopuli <[email protected]>
Update ember-source to 6.4, and the packages that its app blueprint lists Co-Authored-By: NullVoxPopuli <[email protected]>
Update ember-source to 6.8, and the packages that its app blueprint lists Co-Authored-By: NullVoxPopuli <[email protected]>
Update ember-source to 6.12, and the packages that its app blueprint lists Co-Authored-By: NullVoxPopuli <[email protected]>
Move from ember-cli-mirage to ember-mirage Co-Authored-By: NullVoxPopuli <[email protected]>
Build with Vite (ember-vite-codemod) Co-Authored-By: NullVoxPopuli <[email protected]>
Compile Sass with Vite, not ember-cli-sass Co-Authored-By: NullVoxPopuli <[email protected]>
Remove ember-cli-deploy. It deploys ember-cli builds, and Vite writes the build to dist/ Co-Authored-By: NullVoxPopuli <[email protected]>
Move ember-feature-flags, a v1 addon with no v2 release, into the app Co-Authored-By: NullVoxPopuli <[email protected]>
Update ember-inflector to 7.0.2, which is a v2 addon Co-Authored-By: NullVoxPopuli <[email protected]>
Update ember-moment to 11.1.0, which is a v2 addon Co-Authored-By: NullVoxPopuli <[email protected]>
Update ember-power-select to 9.0.6, which is a v2 addon Co-Authored-By: NullVoxPopuli <[email protected]>
Move emberx-select, a v1 addon with no v2 release, into the app Co-Authored-By: NullVoxPopuli <[email protected]>
List the v1 addons that have no v2 release in ember-upgrade-progress.yaml Co-Authored-By: NullVoxPopuli <[email protected]>
Move the snippets of ember-cli-inline-content into the HTML files Co-Authored-By: NullVoxPopuli <[email protected]>
Move the route titles of ember-cli-document-title to ember-page-title Co-Authored-By: NullVoxPopuli <[email protected]>
Add `this.` to template properties (ember-no-implicit-this-codemod) Co-Authored-By: NullVoxPopuli <[email protected]>
Move component templates next to their classes (ember-component-template-colocation-migrator) Co-Authored-By: NullVoxPopuli <[email protected]>
Invoke components that are values with angle brackets Co-Authored-By: NullVoxPopuli <[email protected]>
Convert classic components into Glimmer components Co-Authored-By: NullVoxPopuli <[email protected]>
Convert templates to <template> tag (@embroider/template-tag-codemod) Co-Authored-By: NullVoxPopuli <[email protected]>
Move the tasks to the syntax of ember-concurrency 5, and update it Co-Authored-By: NullVoxPopuli <[email protected]>
Remove @ember/jquery, and turn off the jquery-integration feature Co-Authored-By: NullVoxPopuli <[email protected]>
Update ember-source to 7.4, and the packages that its app blueprint lists Co-Authored-By: NullVoxPopuli <[email protected]>
Remove the default query params from the URLs that tests expect Co-Authored-By: NullVoxPopuli <[email protected]>
Use the keywords of ember-source 7.1 in place of ember-truth-helpers Co-Authored-By: NullVoxPopuli <[email protected]>
Move the ember-cli-build settings that Vite has another place for Co-Authored-By: NullVoxPopuli <[email protected]>
Write the modules that addons merged into the app (ember-addon.app-js) into app/ Co-Authored-By: NullVoxPopuli <[email protected]>
Declare the packages that the app imports Co-Authored-By: NullVoxPopuli <[email protected]>
Move to the ember.nvp layout (ember.nvp migration) Co-Authored-By: NullVoxPopuli <[email protected]>
Run the ember-cli server/ folder in the Vite dev server Co-Authored-By: NullVoxPopuli <[email protected]>
Resolve the WarpDrive deprecations: reactivity, the legacy store, inflections and relationship types Co-Authored-By: NullVoxPopuli <[email protected]>
Resolve the Sass deprecations: division, color functions, and the warnings of dependencies Co-Authored-By: NullVoxPopuli <[email protected]>
Remove the dependencies that no file, script or other dependency uses Co-Authored-By: NullVoxPopuli <[email protected]>
Run pnpm, and a Node.js version that Vite runs on, in the GitHub Actions workflows Co-Authored-By: NullVoxPopuli <[email protected]>
Format the changed files with the app's Prettier config Co-Authored-By: NullVoxPopuli <[email protected]>
Record the lint errors that are left, so that lint passes from here on Co-Authored-By: NullVoxPopuli <[email protected]>
NullVoxPopuli-ai-agent
force-pushed
the
nvp/ember-7
branch
from
November 25, 2026 21:12
687d7bf to
101e646
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrades the app from Ember 3.25 to Ember 7.4 on Vite, with pnpm. Lint passes, and all 181 tests pass. The tests log no Ember or WarpDrive deprecations.
Each commit is one stage of ember-upgrade, a codemod runner, so you can review the upgrade one step at a time. The stages:
.gjsand,or,not,eq,neqandltkeywords of ember-source 7.1 in place of ember-truth-helpersserver/folder, with its/apiproxy to emberobserver.com, in the Vite dev serveruseLegacyStore),@warp-drive/ember/install, the store and transforms from the modules that ember-data recommends, inflection rules in@warp-drive/utilities/string(Mirage too), and normalized relationship typesquietDeps. The compiled CSS stays the same. The@importwarnings stay while the styles use bourbon.babel-eslint,npm-run-allandember-decorators.ember-upgrade-progress.yamllists them..prettierrc.cjsbecause the package is now a moduleeslint-suppressions.jsonand.lint-todo, so thatpnpm lintpasses and fails only for new errorsNo commit is by hand. These stages came from upgrading this app, and they work on any app:
record.save()calls becomestore.request(saveRecord(record)), becauserecord.save()is deprecated. This changes only calls in a class with services whose value nothing reads.searchReadmes=falseout of the expected URL, which Ember 7 does not write. A test click on a link in a PowerSelect option sends only the click event, because PowerSelect closes the list on mouseup.How to reproduce
From
masterat 5c64a06:The tool commits once for each stage.
ember-upgrade-progress.yamllists what is left to do by hand.This replaces #240 (Ember 3.28).
🤖 Generated with Claude Code