-
Notifications
You must be signed in to change notification settings - Fork 154
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 deprecated queries #152
Conversation
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.
Looking good!
src/index.js
Outdated
|
||
const deprecatedRegex = /^(get|query)/ | ||
const availableRegex = /^(find|get)/ | ||
const deprecatedRegex = /^(get)/ |
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.
Let's just get rid of all deprecated stuff in this release 👍
I think I got everything now 🕵️ 🤞 |
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.
Solid! Thank you! When this is merged it should get automatically released as a beta version. Then we can have folks test it out before merging the beta branch into master to get the official release.
🎉 This PR is included in version 7.0.0-beta.2 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
BREAKING CHANGE: `get` and `query` queries (which have been deprecated) have now been removed. Use `find` queries only.
Great! I look forward to contributing more. |
Thanks! |
What:
Remove
query*
andget*
queries from the available commands.Why:
These queries have been deprecated in a previous release and are no longer used.
How:
Filter the imported queries from
dom-testing-library
to use only the ones that are relevant.Checklist: