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

Ember 4 Upgrade #1174

Merged
merged 6 commits into from
May 4, 2023
Merged

Ember 4 Upgrade #1174

merged 6 commits into from
May 4, 2023

Conversation

elwayman02
Copy link
Contributor

@elwayman02 elwayman02 commented May 4, 2023

Summary

Updates for v7 to support Ember@4

Internal:

  • eslint 8
  • Swap node lint plugin for replacement
  • Fix assert.equal lint failures
  • Run prettier
  • Remove destroyable polyfill (inert after 3.22)
  • Drop Ember 3.24 support
  • Add Ember 4.x test scenarios
  • Add missing routes for new docs (added in previous PRs)
  • Drop yuidocs plugin (unused)
  • Bump various ember-related deps to latest
  • Remove 2 archived/unneeded ember deps
  • Add required @ember/string dep
  • Drop support for Node 10/12/14
  • Bump release-it deps to latest

* eslint 8
* Swap node lint plugin for replacement
* Fix assert.equal lint failures
* Run prettier
* Remove destroyable polyfill (inert after 3.22)
* Drop Ember 3.24 support
* Add Ember 4.x test scenarios
* Add missing routes for new docs (added in previous PRs)
* Bump various ember-related deps to latest
* Remove 2 archived/unneeded ember deps
* Add required @ember/string dep
* Drop support for Node 10/12/14
* Bump release-it deps to latest
@elwayman02
Copy link
Contributor Author

elwayman02 commented May 4, 2023

Embroider test failures are due to needing to add ember-data as a devDep of the test app because ember-cli-addon-docs requires it as a peerDep, and recent changes cause the demo app to break without it:

Uncaught Error: While generating link to route "docs": Assertion Failed: Attempting to inject an unknown injection: 'service:store'

It's highly likely that code in the addon package is still embroider-compatible (since it hasn't changed at all), but because the demo app and test app are tightly coupled, we cannot have a passing test run.

We should be ok to merge this for now, and the long-term fix would be to split the entire demo app into its own package within the workspace, such that the test app no longer needs dependencies related to ember-cli-addon-docs.

@elwayman02
Copy link
Contributor Author

To account for this, I've marked the embroider builds as "experimental" in the GHA config for now.

* Also remove deploy setup
* Restore embroider scenarios as stable
@scalvert scalvert requested review from scalvert and rwjblue May 4, 2023 21:59
@scalvert scalvert merged commit 13a5532 into ember-lifeline:master May 4, 2023
9 checks passed
@elwayman02 elwayman02 deleted the ember-4 branch May 4, 2023 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants