Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Upgrade ember 5#37

Merged
c0rydoras merged 12 commits intoadfinis:mainfrom
c0rydoras:upgrade-ember-5
Aug 2, 2023
Merged

Upgrade ember 5#37
c0rydoras merged 12 commits intoadfinis:mainfrom
c0rydoras:upgrade-ember-5

Conversation

@c0rydoras
Copy link
Copy Markdown
Collaborator

@c0rydoras c0rydoras commented Jul 10, 2023

Tests will fail due to mirage not being compatible with ember-data 5 yet (miragejs/ember-cli-mirage#2444)

This PR includes

  • set async and inverse on models
  • removed usage of various deprecated methods from project-form
  • upgraded ember-{source,cli} to 4.12 (npx ember-cli-update --to 4.12)
  • changed location type to historic (auto was deprecated)
  • import and return components (power-select, power-select-multiple) instead of using ensureSafeComponent with their name
  • added useSessionSetupMethod to ember-cli-build.js
  • upgraded ember-data to 4.12 which required some extra work
  • upgraded to ember-5 by running npx ember-cli-update --to 5.0

@c0rydoras c0rydoras marked this pull request as draft July 10, 2023 15:14
@c0rydoras c0rydoras mentioned this pull request Jul 11, 2023
@c0rydoras c0rydoras marked this pull request as ready for review July 11, 2023 08:55
@c0rydoras c0rydoras requested a review from anehx July 11, 2023 08:55
Copy link
Copy Markdown
Member

@anehx anehx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nitpick in the eslint config, otherwise good job!

Comment thread ember/.eslintrc.js Outdated
@anehx
Copy link
Copy Markdown
Member

anehx commented Jul 11, 2023

LGTM, but your tests are failing.

@c0rydoras
Copy link
Copy Markdown
Collaborator Author

@anehx The tests are failing due to mirage (miragejs/ember-cli-mirage#2444)

@c0rydoras c0rydoras merged commit bcb9fcf into adfinis:main Aug 2, 2023
@c0rydoras c0rydoras deleted the upgrade-ember-5 branch August 2, 2023 12:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants