Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[breaking] Update Ember to v5.12.0 #76

Merged
merged 5 commits into from
Jan 18, 2025
Merged

Conversation

jrjohnson
Copy link
Collaborator

Updated using ember-cli-update to update all of the blueprints, fixed linting issues, and fixed the @ember/string import.

Labeled it breaking as it drops support for Node < 18.x.

The impetus of this is addressing an issue when our app updated @ember/string.

Module not found: Error: ember-cli-server-variables is trying to import the app's @ember/string package, but it seems to be missing

Let me know if you're still ok maintaining this addon @blimmer. It seems pretty stable and I'm happy to do a PR every couple of years to align the blueprints.

Updated using `ember-cli-update` to update all of the blueprints and
then added `@ember/string` to the dependencies as this is a real package
now.

Biggest weirdness was that ember-cli-update was configured to use `yarn`
but this project is using npm.
Prettier is in place now, some changes. Also replaced assert.equal with
it's now, required, strictEqual.
These are no longer part of the blueprint, and aren't needed.
This allows @ember/string to be importable in apps consuming this addon.
These are provided as part of the blueprint now.
@blimmer
Copy link
Owner

blimmer commented Jan 18, 2025

Wow, this package is a blast from the past!

Thanks for taking the time to submit this PR. I haven't used Ember in many years, but this upgrade seems straightforward to me. As a disclaimer, I just reviewed the code and haven't validated otherwise. I'll release this as v4.0.0.

@blimmer blimmer merged commit 4af2ff7 into blimmer:main Jan 18, 2025
9 checks passed
@jrjohnson jrjohnson deleted the update-ember-512 branch January 21, 2025 04:42
@jrjohnson
Copy link
Collaborator Author

Thanks for the quick merge and release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants