-
-
Notifications
You must be signed in to change notification settings - Fork 259
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
Remove code for pre-ember-v4 #1382
Remove code for pre-ember-v4 #1382
Conversation
3e22660
to
da9ec25
Compare
Something seems wrong with |
da9ec25
to
0e68ac4
Compare
60c8f34
to
c453f8c
Compare
Talked with @NullVoxPopuli and think this could also be good to have in a 3.x release. |
@@ -129,55 +128,33 @@ export function render( | |||
let OutletTemplate = lookupOutletTemplate(owner); | |||
let ownerToRenderFrom = options?.owner || owner; | |||
|
|||
if (macroCondition(dependencySatisfies('ember-source', '<3.24.0'))) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this code change is the removal of this if branch, keeping only the else
…ng @glimmer/manager brought in newer types -- this will be simplified in the next glimmer-vm release
…anager, since we can't add @glimmer/manager as a devDependency, becaues that triggers some correctness checking in webpack that (correctly, but fights against our weirdness) throws an error that we're importing from @glimmer/manager when it's a devDep instead of dep
…ager as a devDependency
// SAFETY: in more recent versions of @glimmer/manager, | ||
// this throws an error when maybeComponent does not have | ||
// an associated manager. | ||
try { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It appears that @glimmer/manager
changed its behavior. This change absorbs the change in @glimmer/manager
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes seem correct to me, and I'll wait until tomorrow before merging in case anyone else wants to take a second look.
Ember v4 is a requirement for the next release of
@ember/test-helpers
, so we can drop some code branches.