-
Notifications
You must be signed in to change notification settings - Fork 633
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
deprecation(semver): deprecate Comparator
functions
#4131
Conversation
|
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
True, I bumped the note to |
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.
LGTM!
One thing I like to do when doing these deprecation PRs is to do a dry run of the removal. I.e. remove the proposed functions locally and ensure they don't have any unintended side effects in other parts of the API.
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.
LGTM
ref: #4047
This PR deprecates all public
Comparator
functions.Note: Some of these functions are used in range functions, which means they should be made private (for example
is_comparator.ts
->_is_comparator.ts
) after the deprecation deadline or combined into one_comparator.ts
file.