-
Notifications
You must be signed in to change notification settings - Fork 195
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
Fix deprecations failing the build #1448
Conversation
@@ -64,32 +60,30 @@ module('Integration | Component | bs-dropdown/menu/link-to', function (hooks) { | |||
}); | |||
}); | |||
|
|||
if (supportsAngleBracketsLinkTo) { |
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 is checking hasEmberVersion(3, 10)
, i.e. guards against Ember <3.10, which we don't support anymore.
test('simple route link', async function (assert) { | ||
await render(hbs`<BsDropdown::menu::link-to @route="index">Link</BsDropdown::menu::link-to>`); | ||
module('<LinkTo> properties', function (hooks) { | ||
setupNoDeprecations(hooks); |
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.
The diff looks large, but basically I just moved that setupNoDeprecations
call from the outer module()
to this submodule, thus not applying it to the module testing positional params.
Hm, I tested this locally with beta (which is passing now), but apparently canary has a new deprecation added. Will tackle this later... |
While you're at it, do you want to do all the
I'd open a PR myself, pull a fork, etc., but, as you've already got a PR open adjusting for the recent raft of fresh deprecations, hopefully these will be easy. :) Now if I could only figure out which upstream module was dropping the modifier-manager version stuff - so far I've got about 8 candidates to look at. |
This should have been addressed already be #1421! It's just not released yet. |
I just checked - #1421 is merged and didn't try to address this particular deprecation. |
Oh, you are right. The PR did tackle a few, but apparently not all. I do however wonder why you see deprecations for this? As any deprecations will fail CI, and beta is now passing again with this PR! |
The remaining deprecation in Canary here comes from extending |
@lupestro If you have the time, this would be very welcome! 🙂 |
I'll put it on my list for some evening this week. I'll do due diligence, but my contribution will want an attentive reviewer, as I build projects for my team that use ember-bootstrap but I haven't used it in my own work yet. |
<LinkTo>
subclasses, as we have those tests for compatibility with that legacy API (positional params), but can regard that as deprecated from our side as well