Releases: boa-dev/temporal
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
v0.0.13
What's Changed in v0.0.13
- Bump versions to 0.13
- Add validity checks on parse by @Manishearth in #517
- Use correct cached offset when rounding ZDTs by @Manishearth in #520
- Clamp unit indices before checking table by @Manishearth in #516
- Check that year values are in safe arithmetical range by @Manishearth in #513
- Use correct sign value in nudge code by @Manishearth in #514
- Support fractional hour values in hoursInDay by @Manishearth in #515
- Cache offsets on ZDT by @Manishearth in #510
- Update duration to unsigned fields + specification updates by @nekevss in #507
- Reduce (and lint-disallow) panics in main code by @Manishearth in #506
- Further normalize MWDs, add Vancouver and Santiago tests by @Manishearth in #504
- Duration rounding: is_date_unit(), not is_calendar_unit() by @Manishearth in #503
- Use beyondDaySpan in NudgeToZonedDateTime by @Manishearth in #501
- Remove use of unsafe from the main crate by @Manishearth in #502
- Simplify calendar API over FFI by @Manishearth in #498
- Handle week=5 MWD cases in posix TZ strings by @Manishearth in #499
- Exclude tzif files from publish by @Manishearth in #495
Full Changelog: v0.0.12...v0.0.13
v0.0.12
What's Changed in v0.0.12
- cleanup: Remove parsing functionality from PartialZDT by @Manishearth in #493
- Various MonthDay fixes by @Manishearth in #492
- Add
CalendarFieldsconcept and integate it with API and Partial structs by @nekevss in #487 - Add support for non-ISO yearmonths and monthdays by @Manishearth in #490
- Add separate parsed variants of all types by @Manishearth in #486
- Update icu_calendar, fix self-consistency test by @Manishearth in #488
- Add builder pattern
with_xxxmethods for PartialDuration by @nekevss in #485 - Add CalendarFieldKeysToIgnore by @Manishearth in #484
- Reuse ZDT parsing logic from PartialZDT by @Manishearth in #483
- Fix hours in day calculation around gap transitions by @Manishearth in #482
- Generate the baked zone info data for ZoneInfoProvider by @nekevss in #264
- Precompute before/after offsets and use in disambiguate_possible_epoch_nanos by @Manishearth in #479
- Add tzif-inspect tool for inspecting tzif data by @Manishearth in #480
- Fix behavior of ns-to-seconds casting for negative values by @Manishearth in #475
- Fix panics from calling abs on i64::MIN by @nekevss in #474
- Implement get_named_tzdb_transition by @Manishearth in #472
- Use ISO day of week unconditionally by @Manishearth in #471
- Fix overflow when validating Duration by @nekevss in #470
- Rewrite v2_estimate_tz_pair to compare local timestamps by @Manishearth in #468
- Normalize, don't canonicalize time zones by @Manishearth in #466
- Normalize UTC to UTC by @Manishearth in #463
- Ensure that the correct year-month is range-checked during diff operations by @Manishearth in #461
- Correctly handle matchBehavior for sub-minute offset strings by @Manishearth in #462
- Correctly normalize timezones by @Manishearth in #460
- Fix posix logic that was causing panics by @nekevss in #459
- Fix float precision check by @Manishearth in #457
- CalendarDateAdd takes DateDurations, not full Durations by @Manishearth in #453
- Check validity where requested by the spec by @Manishearth in #456
- Add .clone() to FFI, YearMonth::reference_day by @Manishearth in #454
- Move nanoseconds-validity checking to being explicit by @Manishearth in #452
- Add debug impl for error message by @Manishearth in #451
- Rename ffi epoch_ns_for to epoch_ms_for by @Manishearth in #443
- Fix panic in tzdb logic by @nekevss in #441
- Support RoundNumberToIncrementAsIfPositive by @Manishearth in #440
- Support sub-minute offsets in UTCOffset by @Manishearth in #437
- Fix bug in
to_zoned_date_time_with_providerby @nekevss in #436 - Ensure dates are in limits after performing arithmetic by @Manishearth in #435
- YearMonth::compare should compare ISO days by @Manishearth in #433
- toPlainDate should use CONSTRAIN by @Manishearth in #430
Full Changelog: v0.0.11...v0.0.12
v0.0.11
What's Changed in v0.0.11
- Add PartialZonedDateTime::try_from_str by @Manishearth in #420
- Add from_partial for YearMonth/MonthDay FFI by @Manishearth in #351
- Throw error if given more than 9 duration digits by @Manishearth in #425
- Fix up eras, correctly expose arithmetic year by @Manishearth in #424
- Add time zone normalization by @Manishearth in #415
- Allow adding date durations to PlainTime by @Manishearth in #421
- Parse both zoned and unzoned date times in relativeTo by @Manishearth in #422
- Add get_epoch_ns_for on YearMonth/MonthDay by @Manishearth in #414
- Don't set None time in ZDT::from_partial by @Manishearth in #416
- [capi] Add from_utf8/from_utf16 for OwnedRelativeTo by @Manishearth in #375
- Forbid MonthDay/YearMonth formats for non-iso by @Manishearth in #413
- Use track_caller in assertion errors by @Manishearth in #417
- Properly respect overflow options when performing with_fallback_date/time by @Manishearth in #407
- Add TimeZone::utc() to FFI by @Manishearth in #358
- Add POSIX time zone string support to zoneinfo by @nekevss in #265
- Fix duration validity check by @Manishearth in #411
- Produce correct error types for invalid month/era codes by @Manishearth in #405
- Add support for offsetBehavior == WALL by @Manishearth in #404
- Update README.md - mention other usages of lib by @jasonwilliams in #401
- Make TimeZone::identifier() infallible by @linusg in #399
- Fix the bakedata provider path by @nekevss in #398
- Include time duration in InternalDurationSign by @Manishearth in #397
- Use rounded instant in ZDT::toString by @Manishearth in #396
- Fix hoursInDay division constant by @nekevss in #395
- Expose ParseTemporalCalendarString over FFI by @Manishearth in #390
- Remove UTC designator check from time zone parsing by @nekevss in #392
- Update ixdtf to icu4x main git branch by @robot-head in #365
- Fix
9.5.8 AddDurationToYearMonthabstract method by @HalidOdat in #389 - Fix ZonedDateTime::nanosecond by @Manishearth in #388
- Allow datetime strings for YearMonth/MonthDay/Time by @Manishearth in #386
- Remove orgs/boa-dev/people from links by @nekevss in #387
- Update maintainers in README.md by @jasonwilliams in #384
- Re-add try_from_offset_str by @Manishearth in #376
- Fix clippy lints for Rust 1.88 by @nekevss in #377
New Contributors
Full Changelog: v0.0.10...v0.0.11
v0.0.10
What's Changed in v0.0.10
- Add documentation and doctests for builtins by @blarfoon in #360
- More error enums by @Manishearth in #373
- [capi] Add stringifier/cloning to timezones by @Manishearth in #344
- Handle unknown timezone identifiers in FsTzdbProvider by @Manishearth in #345
- [capi] Fix i128Nanoseconds by @Manishearth in #372
- [capi] expose error strings by @Manishearth in #364
- Consolidate tools into a single
tooldirectory by @nekevss in #368 - Add a new PartialYearMonth to available partial structs (#288) by @robot-head in #342
- Implement zoneinfo parsing/compilation and add TZif structs by @nekevss in #257
- Add ErrorMessage enum, start using it by @Manishearth in #355
- [capi] Add is_valid() to I128Nanoseconds by @Manishearth in #363
- [capi] Add ZonedDateTime::{equals,offset} by @Manishearth in #362
- Add convenience methods for constructing FFI datetime types from milliseconds by @Manishearth in #359
- [capi] Add offset_nanoseconds() to ZDT FFI by @Manishearth in #361
- Update diplomat by @Manishearth in #357
- Stop depending on
is_dstfor calculations by @jedel1043 in #356 - Add some FAQ style docs for temporal_rs by @nekevss in #350
- Add try_from_offset_str ctor for TimeZone by @Manishearth in #348
- Switch compiled_data APIs to new CompiledTzdbProvider by @Manishearth in #346
New Contributors
Full Changelog: v0.0.9...v0.0.10