feat: release v2.0.0 with timezone-aware, predicates and setters#2
Merged
feat: release v2.0.0 with timezone-aware, predicates and setters#2
Conversation
BREAKING CHANGES: - parse() now uses local time for date-only strings - Getter functions (getYear, getMonth, etc.) now return local time New features: - Timezone-aware predicates: isTodayInTz, isTomorrowInTz, isYesterdayInTz, isSameDayInTz, isSameMonthInTz, isSameYearInTz, startOfDayInTz, endOfDayInTz - Setters: setYear, setMonth, setDate, setHours, setMinutes, setSeconds, setMilliseconds - getOffsetInTimezone utility - Full Expo Dev Client compatibility (SDK 54+) Documentation: - Updated README, api-reference, and docs site - Added RELEASE_NOTES_v2.0.0.md
- Change @rn-packages/native-date to @bernagl/react-native-date - Update example paths from packages/native-date/example to packages/example
Required by @react-native/eslint-config
- Add eslint-plugin-react, eslint-plugin-react-hooks, eslint-plugin-react-native - Add @typescript-eslint/parser, @typescript-eslint/eslint-plugin - Add eslint-plugin-jest, eslint-plugin-ft-flow - Fix prettier formatting issues
Fixes peer dependency resolution issues with ts-jest and eslint plugins
After monorepo restructure, paths were pointing to wrong location
iPhone 15 not available on latest macOS runners with Xcode 16.4
Dependencies are hoisted to root in yarn workspaces
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
BREAKING CHANGES:
New features:
isSameDayInTz, isSameMonthInTz, isSameYearInTz, startOfDayInTz, endOfDayInTz
setMilliseconds
Documentation: