Releases: boa-dev/temporal
v0.2.3 release
This release updates icu_calendar to 2.2.1, bringing in a fix for a major regression. It also updates the zoneinfo64 and diplomat dependencies.
What's Changed in v0.2.3
- Update zoneinfo64 and Diplomat by @Manishearth in #713
- Update icu_calendar to fix
with()regression by @Manishearth in #716
Full Changelog: v0.2.2...v0.2.3
v0.2.2 release
This release updates to ICU4X 2.2.0, bringing us spec fixes from ICU4X as well as updating to the first stable ICU4X release to contain all the calendar APIs we need.
What's Changed
- Update ICU4X to 2.2 by @Manishearth in #705
- Prep for release v0.2.2 by @nekevss in #707
Full Changelog: v0.2.1...v0.2.2
v0.2.1 release
This release contains a bug fix for breakage caused by depending on unstable features from icu_calendar without pinning its version. If you were affected by this issue, this version should be automatically pulled by cargo. Sorry for the trouble!
It also contains several bug fixes, internal improvements, new APIs (epoch_ns_for_utc) and new FFI-exposed APIs (reference_day and month).
What's Changed in v0.2.1
Bug Fixes
- Do not overly range check when constructing Temporal PlainMonthDay by @Manishearth in #695
- Ensure offsets do not have more than 9 digits while parsing by @Manishearth in #698
- Pin icu_calendar to v2.1 by @jedel1043 in #704
Other Changes
- chore(dependabot): bump baptiste0928/cargo-install from 3.3.2 to 3.4.0 in the ci-dependencies group by @dependabot[bot] in #683
- Expose fields needed for structured clone by @lucacasonato in #686
- docs: temporal is stage four by @ghostdevv in #692
- Replace icu_locale with icu_locale_core by @Manishearth in #694
- Add epoch_ns_for_utc to all Plain APIs by @Manishearth in #700
- Fix bug with rounding with zoned RelativeTo and increment by @Manishearth in #696
- Remove unwrap in PYM::epoch_ns_for_utc by @Manishearth in #701
New Contributors
- @lucacasonato made their first contribution in #686
- @ghostdevv made their first contribution in #692
Full Changelog: v0.2.0...v0.2.1
v0.2.0 release
The v0.2.0 release is here!
This release contains a few bugs fixes to increase conformance for new conformance tests, a new experimental time zone provider, a v0.1.0 release for the zoneinfo_rs crate, and includes a few new APIs.
What's Changed in v0.2.0
- Fix incorrect decimal digits bug by @nekevss in #679
- Update the documentation by @nekevss in #680
- chore: cleanup zoneinfo_rs crate by @nekevss in #674
- Test time zone canonicalization against ICU4X by @robertbastian in #676
- Fix Sao Paulo bug in zoneinfo_rs by @nekevss in #663
- Implement a zero copy tzdb provider by @nekevss in #662
- Restrict the units that can be added to PlainYearMonth by @Manishearth in #671
- Fix Duration out of bounds crash by @Manishearth in #667
- Implement std::error::Error for TemporalError by @LeandroVandari in #664
- Rebuild time zone data with 2025c by @nekevss in #660
- Add support for time zone designations by @nekevss in #659
- Fix bug in POSIX time zone calculations by @nekevss in #658
- Add two different HostHook impls by @nekevss in #591
- Add NonZeroSign type to ensure proper sign handling by @nekevss in #652
- Update to new ComputeNudgeWindow spec text by @Manishearth in #636
- Fix ZonedDateTime::with bug when empty fields is provided by @nekevss in #650
- Add manual PartialOrd impl for FiniteF64 by @nekevss in #649
- Correct sign in nudge_to_zoned_time by @catamorphism in #647
- YearMonth addition: Use ISO parameters, not calendared parameters, when subtracting by @Manishearth in #645
- Fix typo in doc string by @catamorphism in #639
- Set YearMonth's day to 1 in calendar space when diffing by @Manishearth in #640
- unify iso naming in
Nowby @Sharktheone in #631 - Style updates by @Sharktheone in #632
- Use all-features for timezone_provider on docs.rs by @Manishearth in #630
- remove unneeded clone in TzdbResolver::get by @Sharktheone in #628
- Attempt to handle the "completely contained within" timezone rule by @Manishearth in #629
- Reject on empty fields object in PlainYearMonth::with by @nekevss in #626
New Contributors
- @robertbastian made their first contribution in #676
- @LeandroVandari made their first contribution in #664
- @catamorphism made their first contribution in #647
Full Changelog: v0.1.2...v0.2.0
v0.1.2
The v0.1.2 release of temporal_rs is here!
This brings a bunch of fixes for full test262 compatability.
temporal_rs-based implementations should now be able to achieve 100% test262 coverage, barring bugs in their integration code or the testsuite itself.
What's Changed in v0.1.1
- Publish 0.1.2 by @Manishearth in #625
- Ignore timezones mentioned in zone.tab when constructing the canonicalization table by @Manishearth in #624
- Add logic to Duration::total to handle loss of precision by @nekevss in #622
- Add feature to force float64-representable durations by @Manishearth in #621
- Updates for ZonedDateTime since / until issue by @Manishearth in #619
- Fix returned duration sign for non-ISO date arithmetic by @Manishearth in #618
- Constrain durations into a range that will produce valid Temporal dates before passing to ICU4X by @Manishearth in #615
- Add smart pointer implementations for TimeZone traits by @jedel1043 in #614
- Fix serialization of durations with zero seconds and nonzero subseconds by @ptomato in #610
- Remove support for unqualified
islamiccalendar by @Manishearth in #609 - Make ISO the default AnyCalendarKind over FFI by @Manishearth in #608
Full Changelog: v0.1.1...v0.1.2
v0.1.1
The v0.1 release of temporal_rs is here!
The main change is that we now properly support arithmetic and fields constraining on all non-Gregorian calendars.
What's Changed in v0.1.1
- Publish 0.1.1 by @Manishearth in #605
- fix: allow passing
&dyn TimeZoneProviderin arguments by @jedel1043 in #599 - Update ICU4X to 2.1 by @Manishearth in #604
- Update Diplomat to 0.14.0 by @Manishearth in #603
- Update ICU4X by @Manishearth in #601
- Move to new ICU4X arithmetic code by @Manishearth in #595
- Update to ICU4X main by @Manishearth in #596
- Remove HijriSimulatedMecca / islamic-rgsa by @Manishearth in #597
- Fix a small typo in errors by @reillysiemens in #594
- Update to ICU4X's new Calendar::from_fields by @Manishearth in #582
- re-export DefaultHostSystem by @Sharktheone in #590
New Contributors
- @reillysiemens made their first contribution in #594
- @Sharktheone made their first contribution in #590
Full Changelog: v0.1.0...v0.1.1
v0.1.0
The v0.1 release of Temporal_rs is here!
It's been a lot of work to this release. Thanks again to everyone who has contributed to temporal_rs! 😄
What's Changed in v0.1.0
- Update Diplomat to 0.13.0 by @Manishearth in #588
- Add TryFrom for PartialDuration to Duration by @nekevss in #585
- Add missing from_epoch_nanoseconds() FFI by @linusg in #584
- Add from_nanoseconds to FFI PlainDateTime by @nekevss in #583
- Update diplomat to using cpp lib name by @Manishearth in #581
- Fix TimeZone::get_possible_epoch_ns at date-time limits by @ptomato in #580
- Rename timezone.rs to time_zone.rs by @nekevss in #574
- General updates to temporal_rs's exports and docs by @nekevss in #575
- Review Instant API + Duration by @nekevss in #573
- Make TimeZone no longer allocate over FFI by @Manishearth in #572
- Update the library introduction and README for timezone_provider by @nekevss in #570
- Add a minimal README for zoneinfo_rs by @nekevss in #569
- Remove passing lint allows by @Manishearth in #571
- Updates to PlainYearMonth and PlainMonthDay based on review by @nekevss in #567
- Update library introduction documentation and the project README.md by @nekevss in #564
- Updates to PlainTime API based on review by @nekevss in #565
- Make ISO getters crate private by @nekevss in #568
- Handle und month codes by @Manishearth in #563
- Update
ZonedDateTimeconstructors by @nekevss in #562 - Review and update PlainDate and PlainDateTime API by @nekevss in #561
- Refactor Now to be trait based for lazy host getters by @nekevss in #560
- Fix comment and organization of TimeZone::zero by @Manishearth in #559
- Update ZonedDateTime module and API by @nekevss in #557
- Remove yoke dep from temporal_capi by @Manishearth in #556
New Contributors
Full Changelog: v0.0.16...v0.1.0
v0.0.16
- Remove extraneous icu_time dependency
- Add TimeZone::zero() to capi by @Manishearth in #554
Full Changelog: v0.0.15...v0.0.16
v0.0.15
- Update zoneinfo64 by @Manishearth in #552
- Remove Default impl from TimeZone; use utc() everywhere by @Manishearth in #551
- Add missing header files by @Manishearth in #550
- Add provider APIs to capi by @Manishearth in #544
- Add new unit validation code by @Manishearth in #542
- Add calendar consts for calendar construction by @nekevss in #541
- Remove some unreachables by @Manishearth in #543
- Move timezone tests to testing against multiple providers by @Manishearth in #539
- Move TimeZone over to being Copy with TimeZoneId by @Manishearth in #538
- Split TimeZoneProvider trait by @Manishearth in #537
- Update compiled tzif data provider data by @nekevss in #535
- Add zoneinfo64 support to temporal_provider by @Manishearth in #533
- Update zoneinfo compilation in zoneinfo crate by @nekevss in #532
- Complete some cleanup options module by @nekevss in #531
- Make errors Copy by @Manishearth in #528
- More saturating arithmetic by @Manishearth in #527
- Move TimeZoneProvider to timezone_provider crate by @Manishearth in #526
- Clean up TimeZoneProvider crate by @Manishearth in #525
Full Changelog: v0.0.14...v0.0.15
v0.0.14
- Release 0.0.14
- Fix validity checks by @Manishearth in #523
Full Changelog: v0.0.13...v0.0.14