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

hasBlock deprecation warning #297

Closed
sdellisImpinj opened this issue Mar 2, 2022 · 5 comments
Closed

hasBlock deprecation warning #297

sdellisImpinj opened this issue Mar 2, 2022 · 5 comments
Labels

Comments

@sdellisImpinj
Copy link

In newer versions of ember (3.26+), I see the following deprecation warnings:

DEPRECATION: hasBlock is deprecated. Use has-block instead. ('ember-bootstrap-power-select/components/bs-form/element/control/power-select-multiple.hbs'
DEPRECATION: hasBlock is deprecated. Use has-block instead. ('ember-bootstrap-power-select/components/bs-form/element/control/power-select.hbs'

This deprecation is preventing me from upgrading to Ember 4.0.0. In theory this should be a simple swap from using hasBlock to has-block.

@jelhan
Copy link
Collaborator

jelhan commented Mar 2, 2022

Which version of Ember Bootstrap are you using? This should have been fixed long ago. Maybe only on v5.

@sdellisImpinj
Copy link
Author

sdellisImpinj commented Mar 3, 2022

@jelhan
I'm on ember-bootstrap 4.9 (the version before 5.0) and ember-bootstrap-power-select 3.0.1. Why does the ember-bootstrap version matter, though? The error appears to be coming from ember-bootstrap-power-select, not ember-bootstrap. Am I misunderstanding something?

@jelhan
Copy link
Collaborator

jelhan commented Mar 25, 2022

@jelhan
Copy link
Collaborator

jelhan commented Apr 1, 2022

Fixed by #298. Not released yet.

@jelhan
Copy link
Collaborator

jelhan commented Apr 20, 2022

I just released this as part of v4.0.0.

@jelhan jelhan closed this as completed Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants