Closed knownasilya closed 10 months ago
I think this is ready?
I'll take a look this week!
@knownasilya can you poke at the failing CI stuff?
@knownasilya let me know when you've addressed everything and are ready for a re-review. 😅
👀 🙏
@esbanarango if you have time to tackle any of the feedback, help is appreciated (just submit prs against this branch)
@chriskrycho for some reason the global types I defined in dev-only-types don't apply https://github.com/ember-cli/ember-page-title/actions/runs/5622356609/job/15234865251#step:4:94
Opened up #256 that might address some of the typescript issues I was seeing
Specific things that are breaking:
@leepfrog so we don't support Ember v4 at all? Can we make it work with v4, at least the current supported versions? I don't think we dropped v4 yet and this is an official package.
I don't see anything that wouldn't be compatible with v4
we should maximize compatibility where we can so that folks can be more confident in upgrading
The breaking change is this:
- import { getOwner } from '@ember/application';
+ import { getOwner } from '@ember/owner';
I can open a PR against this branch to revert the breaking changes. (Which causes deprecation warnings on ember 5.)
The way to support both old and new without throwing deprecation warnings is to use macros, like here: https://github.com/NullVoxPopuli/ember-resources/blob/cc363c2a17af386be5dc10cd6e3168b9e8c98ece/ember-resources/src/core/function-based/manager.ts#L27-L37 (note, I have no idea what the comment there is saying, so ignore that, not important)
TIL! Will use that approach!
Opened #257 to handle the conditional import and to add ember 4.8-lts to ember-exam / ci.
So new breaking changes are:
I think this sounds right, @leepfrog?
Correct!
Accidentally borked this branch, going to have to manually merge your commits again @leepfrog 🤦🏼♂️
@NullVoxPopuli @chriskrycho just waiting on a review to get this across the finish line.
@leepfrog I don't have time to address this feedback today. If you have time feel free to do that, otherwise I'll tackle it later this week.
@bertdeblock if you have time to address feedback feel free to pr against this branch
Closes https://github.com/ember-cli/ember-page-title/issues/239