-
-
Notifications
You must be signed in to change notification settings - Fork 991
refactor(date)!: birthdate improvements #2756
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
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
8bde608
test(date): additional birthday tests
ST-DDT 09b1740
Merge branch 'next' into test/date/birthday
ST-DDT dc22120
Merge branch 'next' into test/date/birthday
ST-DDT 7d7a654
chore: apply suggestions
ST-DDT 92a7958
refactor(date)!: change birthdate default mode to age
ST-DDT d573935
chore: add error attempting to prevent migration errors
ST-DDT b8bc1ca
Merge branch 'next' into test/date/birthday
ST-DDT fb4fbf1
refactor: signature improvements
ST-DDT d1956ad
docs: remove defaults
ST-DDT e4747e3
adjust backwards compatibility and migration guide
ST-DDT bcef417
remove default comment
ST-DDT 6870d15
chore add remove in v10 comment
ST-DDT ffc431a
Merge branch 'next' into test/date/birthday
ST-DDT 79277ec
refactor: throw errors and add distinct signatures
ST-DDT e637e13
Merge branch 'next' into test/date/birthday
ST-DDT 59426d5
chore: apply review suggestions
ST-DDT bc9eb71
Merge branch 'next' into test/date/birthday
ST-DDT 01aeb37
Merge branch 'next' into test/date/birthday
ST-DDT 3fd134d
docs: fix jsdocs
ST-DDT fb023aa
chore: cleanup and simplifications
ST-DDT 5a8d023
Merge branch 'next' into test/date/birthday
ST-DDT 737e2d7
test: fix seeded tests
ST-DDT 083a059
chore: apply suggestions
ST-DDT 63b60eb
Merge branch 'next' into test/date/birthday
ST-DDT File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
### Changed default mode from birthdate | ||
|
||
Previously, the method had defaults that were unclear in their specific impact. | ||
Now, the method requires either none or all of the `min`, `max` and `mode` options. | ||
|
||
We also improved the error messages in case of invalid min/max age/year ranges. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.