Releases: boa-dev/temporal
Releases · boa-dev/temporal
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
tool
directory 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_dst
for 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
v0.0.9
What's Changed in v0.0.9
- Cross boundary rounding fix #286 by @robot-head in #343
- Implement PlainMonthDay::with functionality by @nekevss in #335
- Add Writeable getters for some types, use in FFI by @Manishearth in #340
- Add missing FFI APIs by @Manishearth in #339
- Fill in missing Zoned APIs by @Manishearth in #331
- Add stringifiers to MonthDay/YearMonth by @Manishearth in #338
- Use AnyCalendarKind in PartialDate by @Manishearth in #332
- Add ZonedDateTime FFI by @Manishearth in #329
- Use a lock internally to FsTzdbProvider instead of externally by @Manishearth in #327
- Remove create() APIs, consistently use try_new() by @Manishearth in #326
- Switch FFI calendar APIs over to using AnyCalendarKind for input by @Manishearth in #324
- Update abstract method
7.5.37 RoundRelativeDuration
by @HalidOdat in #323 - Fix abstract method
7.5.36 BubbleRelativeDuration()
by @HalidOdat in #322 - Generate FFI bindings for C by @jedel1043 in #321
- Improve baked data formatting by @Manishearth in #319
- Correctly validate largestUnit when constructing from DifferenceSettings by @Manishearth in #316
- Align
Duration.prototype.round()
to latest specification by @HalidOdat in #317
Full Changelog: v0.0.8...v0.0.9
v0.0.8
What's Changed in v0.0.8
- Make duration capi getters non-optional by @Manishearth in #314
- Add to_string to Duration by @Manishearth in #312
- Add comparison methods to Instant by @Manishearth in #311
- Add LICENSEs to timezone_provider crate by @Manishearth in #308
- Prune dependencies of timezone_provider in normal mode, add depcheck by @Manishearth in #310
- Add to_plain_date to PlainMonthDay and PlainYearMonth by @HenrikTennebekk in #287
- Remove exclude and readme by @nekevss in #304
Full Changelog: v0.0.7...v0.0.8
v0.0.7
What's Changed in 0.0.7
- Bump ixdtf and complete changes for update by @nekevss in #299
- A few more changes to the readme by @nekevss in #297
- Implement a builder API for Now by @nekevss in #296
- Some docs cleanup and updates by @nekevss in #294
- Add
PlainMonthDay
method + clean up by @nekevss in #284 - Add Eq, Ord impls on FiniteF64 by @sffc in #187
- Allow parsers to accept unvalidated UTF8 by @HalidOdat in #295
- Bump to icu_calendar 2.0 by @nekevss in #292
- Add ISO specific constructors to builtins by @nekevss in #263
- Rename the provider crate by @nekevss in #289
- Expose equals and compare over FFI by @Magnus-Fjeldstad in #269
- Impl round_with_provider for ZonedDateTIme by @sebastianjacmatt in #278
- Add some compiled_data FFI APIs by @Manishearth in #273
- Add string conversion functions for Temporal types by @Manishearth in #276
- Make sure temporal_capi can be built no_std by @Manishearth in #281
- Make iana-time-zone dep optional by @Manishearth in #279
- Implementation of ZonedDateTime.prototype.with by @lockels in #267
- Update Duration's inner representation from floating point to integers. by @nekevss in #268
- Add all-features = true to docs.rs metadata by @Manishearth in #271
- Fix instant math in capi by @Manishearth in #270
- Remove the Temporal prefix from Unit, RoundingMode, and UnsignedRoundingMode by @nekevss in #254
- Since until by @sebastianjacmatt in #259
- Implementation of toZonedDateTimeISO for Instant by @lockels in #258
- Implement toZonedDateTime in PlainDate by @JohannesHelleve in #192
- Add intro documentation to ZonedDateTime and PlainDateTime by @nekevss in #253
- Implement IANA normalizer baked data provider by @nekevss in #251
New Contributors
- @HalidOdat made their first contribution in #295
- @JohannesHelleve made their first contribution in #192
Full Changelog: v0.0.6...0.0.7
v0.0.6
What's Changed in 0.0.6
- Rename methods on
Now
and add a test by @nekevss in #243 - Add licenses to
temporal_capi
andtemporal_rs
for publish by @nekevss in #247 - Add with to PlainYearMonth by @sebastianjacmatt in #231
- initial implementation of ToZonedDateTime, ToPlainDate, ToPlainTime by @lockels in #244
- Initial implementation of Duration.prototype.total by @lockels in #241
Full Changelog: v0.0.5...0.0.6
v0.0.5
What's Changed in 0.0.5
- Prepare temporal_capi for publish by @jedel1043 in #238
- Adjustments to
toPlainYearMonth
andtoPlainMonthDay
methods on PlainDate by @nekevss in #237 - Missed an unwrap in the README.md example by @nekevss in #236
- Clean up API ergonomics for calendar methods by @nekevss in #235
- Add various updates to docs by @nekevss in #234
- Reject datetime when fraction digits are too large by @nekevss in #229
- Fix not adjusting fraction for duration unit by @nekevss in #228
- Fixes for
EpochNanosecond
s andOffset
parsing by @nekevss in #223 - Fix bugs around validating diffing units by @nekevss in #225
- Add
UtcOffset
struct forPartialZonedDateTime
by @nekevss in #207 - Check in bindings, add CI for keeping them up to date by @Manishearth in #220
- Fix
Instant::epoch_milliseconds
for values before Epoch by @nekevss in #221 - Update ixdtf to 0.4.0 by @Manishearth in #219
- Update icu4x to 2.0.0-beta2 by @Manishearth in #218
- Add
GetNamedTimeZoneTransition
method to TimeZoneProvider trait by @nekevss in #203 - Implement posix resolution for month-week-day by @jedel1043 in #214
- implement utility methods on partial structs by @nekevss in #206
- Test all combinations of features by @jedel1043 in #212
- Reject non-iso calendar in
YearMonth::from_str
andMonthDay::from_str
by @nekevss in #211 - Fix not validating
MonthCode
in ISO path by @nekevss in #210 - Integrate
MonthCode
into public API and related adjustments by @nekevss in #208 - Implement the remaining non-ISO calendar method calls by @nekevss in #209
- PlainYearMonth parsing and Calendar field resolution cleanup/fixes by @nekevss in #205
- Build out stubs for remaining unimplemented methods by @nekevss in #202
- Fix clippy lints by @nekevss in #201
- Temporal duration compare by @sffc, @lockels, @Neelzee, @sebastianjacmatt, @Magnus-Fjeldstad and @HenrikTennebekk. in #186
- Fix issues with
from_partial
method implementations by @nekevss in #200 - More FFI: Finish Calendar, add Instant by @Manishearth in #198
- Fix parsing bugs related to UTC Designator usage by @nekevss in #197
- Update time parsing to error on dup critical calendars by @nekevss in #196
- Update unit group validation to handle rounding options by @nekevss in #194
- Fix handling of leap seconds in parsing by @nekevss in #195
- Update time zone parsing to include other ixdtf formats by @nekevss in #193
- Fix calendar parsing on
from_str
implementation by @nekevss in #191 - Cleanup
Now
API in favor of system defined implementations by @nekevss in #182 - Reimplement Unit Group with different approach by @nekevss in #183
- Implement
ZonedDateTime::offset
andZonedDateTime::offset_nanoseconds
by @nekevss in #185 - Small API cleanup and a couple dev docs updates by @nekevss in #190
- Add Eq and Ord for PlainYearMonth + Eq for PlainMonthDay by @nekevss in #175
- More FFI APIs by @Manishearth in #178
- Fix the typo that's returning milliseconds instead of microseconds by @nekevss in #184
- Add some FFI tests by @Manishearth in #179
- Fix Instant parsing by handling order of operations and properly balance
IsoDateTime
by @nekevss in #174 - Add some testing / debugging docs by @nekevss in #176
- Fix logic on asserting is_time_duration by @nekevss in #177
- Rework library restructure to remove wrapper types by @nekevss in #181
- Restructure project to separate core provider APIs from non-provider APIs by @nekevss in #169
- Fix
Duration
parsing not returning a range error. by @nekevss in #173 - Set up basic diplomat workflow by @Manishearth in #163
- Implement Neri-Schneider calculations by @nekevss in #147
- Remove
UnitGroup
addition by @nekevss in #171 - Implement
ZonedDateTime::since
andZonedDateTime::until
by @nekevss in #170 - Implement to_string functionality and methods for
Duration
,PlainYearMonth
, andPlainMonthDay
by @nekevss in #164 - API cleanup, visibility updates, and tech debt cleanup by @nekevss in #168
- Add to_string functionality for timezone identifer by @nekevss in #161
- Bug fixes to address test failures + removing unused API by @nekevss in #162
- Implement correct resolving of
getStartOfDay
by @jedel1043 in #159 - Add an MSRV check to CI by @nekevss in #158
- Fixing panics in test262 when running in debug mode by @nekevss in #157
- Fix edge case for disambiguating
ZonedDateTime
s on DSTs skipping midnight by @jedel1043 in #156 - Extend implementation of
to_ixdtf_string
to more types by @nekevss in #155 - Implement support for
to_string
and implementPlainDate::to_string
by @nekevss in #153 - Fix RoundingMode::truncation to UnsignedRoundingMode mapping by @nekevss in #146
- Add validation logic to
from_diff_settings
by @nekevss in #144 - Build out the rest of the Now methods by @nekevss in #145
- Adjust
RelativeTo
according to specification and implementation by @nekevss in #140 - Complete some general cleanup of
temporal_rs
by @nekevss in #138 - Add ZonedDateTime functionality to
Duration::round
by @nekevss in #134 - Update try_new, new, and new_with_overflow integer type by @nekevss in #137
- Fix
Calendar::from_str
to be case-insensitive by @nekevss in #135 - Add ToIntegerWithTruncation, ToPositiveIntegerWithTruncation, and ToIntegerIfIntegral methods to
FiniteF64
by @nekevss in #131 - Add to-x methods and with-x methods to ZonedDateTime by @nekevss in #129
- Fix
epoch_time_to_epoch_year
date equation bug related toBalanceISODate
by @nekevss in #132 - Bump dependencies for
ixdtf
,tzif
,icu_calendar
, andtinystr
. by @nekevss in #133 - Fix bug introduced by
EpochNanoseconds
+ adjust tests to catch better by @nekevss in #128 - Remove epochSeconds and epochMicroseconds + adjust epochMillseconds by @nekevss in #127
- Adjust compilation configuration of tzdb to target_family from target_os by @nekevss in #125
- Migrate repo to workspace by @jedel1043 in #126
- Add now feature flag by @nekevss in #123
- Add
ZonedDateTime
calendar accessor methods by @nekevss in #117 - Implement
PartialZonedDateTime
andfrom_partial
and `...
v0.0.4
What's Changed
Enhancements
- Add
with_*
methods toDate
andDateTime
by @nekevss in #84 - Implement
DateTime
diffing methodsUntil
andSince
by @nekevss in #83 - Implement compare functionality and some more traits by @nekevss in #82
- Updates to instant and its methods by @nekevss in #85
- Implement
DateTime
round method by @nekevss in #88 - Add
PartialTime
andPartialDateTime
with correspondingwith
methods. by @nekevss in #92 - Remove num-bigint dependency and rely on primitives by @nekevss in #103
- Stub out tzdb support to unblock
Now
andZonedDateTime
by @nekevss in #99 - Stub out
tzdb
support for Windows and POSIX tz string by @nekevss in #100 - Implement
ZonedDateTime
's add and subtract methods by @nekevss in #102 - Add
from_partial
methods toPlainTime
,PlainDate
, andPlainDateTime
by @nekevss in #106
Other Changes
- Add commit-message prefix to dependabot by @nekevss in #77
- Add prefix option to commit-message by @nekevss in #79
- Add some missing trait implementations by @nekevss in #81
- Refactor
TemporalFields
interface and addFieldsKey
enum by @nekevss in #87 - Update
Duration
types to use aFiniteF64
instead off64
primitive. by @nekevss in #86 - adding methods for yearMonth and MonthDay by @jasonwilliams in #44
- Fix lints for rustc 1.80.0 by @jedel1043 in #91
- Add is empty for partialDuration by @jasonwilliams in #90
- Implement
MonthCode
,PartialDate
, andDate::with
by @nekevss in #89 - Patch for partial records by @nekevss in #94
- Refactor
TemporalFields
intoCalendarFields
by @nekevss in #95 - Update README.md by @jasonwilliams in #96
- General API cleanup and adjustments by @nekevss in #97
- Move to no_std by @Manishearth in #101
- Add matrix links to README and some layout adjustments by @nekevss in #108
- Some
Error
optimizations by @CrazyboyQCD in #112 - Bug fixes and more implementation by @jasonwilliams in #110
- Migrate to
web_time::SystemTime
forwasm32-unknown-unknown
targets by @nekevss in #118 - Add an
EpochNanosecond
new type by @nekevss in #116 - bump release by @jasonwilliams in #120
New Contributors
- @jasonwilliams made their first contribution in #44
- @Manishearth made their first contribution in #101
- @CrazyboyQCD made their first contribution in #112
Full Changelog: v0.0.3...v0.0.4
v0.0.3
What's Changed
Enhancements
- Implements
Date
'sadd
,subtract
,until
, andsince
methods by @nekevss in #35 - Implement Time's until and since methods by @nekevss in #36
- Add struct to encapsulate invariants of rounding increments by @jedel1043 in #49
- Cleanup rounding increment usages with new struct by @jedel1043 in #54
- Update increment rounding functionality by @nekevss in #53
- Implement add and subtract methods for Duration by @nekevss in #74
Bug Fixes
- Patch
(un)balance_relative
to avoid panicking by @jedel1043 in #48 - Fix rounding when the dividend is smaller than the divisor by @jedel1043 in #57
- Ensure parsing throws when duplicate calendar is critical by @jedel1043 in #58
- Avoid overflowing when calling
NormalizedTimeDuration::add_days
by @jedel1043 in #61 - Reject
IsoDate
when outside the allowed range by @jedel1043 in #62 - Ensure parsing throws with unknown critical annotations by @jedel1043 in #63
Other Changes
- Fix clippy lints and bump bitflags version by @nekevss in #38
- Fix panics when no relative_to is supplied to round by @nekevss in #40
- Implement add & subtract methods for
DateTime
component by @nekevss in #45 - Fix method call in days_in_month by @nekevss in #46
- Bump
icu_calendar
to 1.5 by @jedel1043 in #47 - Migrate parsing to
ixdtf
crate by @nekevss in #50 - Implement the
toYearMonth
,toMonthDay
, andtoDateTime
forDate
component by @nekevss in #56 - Use groups in dependabot updates by @jedel1043 in #69
- Remove
CalendarProtocol
andTimeZoneProtocol
by @jedel1043 in #66 - Update duration rounding to new algorithms by @nekevss in #65
- Update duration validation and switch asserts to debug-asserts by @nekevss in #73
- Implement PartialEq and Eq for
Calendar
,Date
, andDateTime
by @nekevss in #75 - Bump
temporal_rs
version and update changelog by @nekevss in #76
Full Changelog: v0.0.2...v0.0.3
v0.0.2
v0.0.1
This is the first release of the temporal_rs
project.
0.1.0
. Do not use in production without extreme caution
What's Changed
Enhancements
- Add blank and negated + small adjustments by @nekevss in #17
- Simplify Temporal APIs by @jedel1043 in #18
- Implement
Duration
normalization - Part 1 by @nekevss in #20 - Duration Normalization - Part 2 by @nekevss in #23
- Add
non_exhaustive
attribute to component structs by @nekevss in #25 - Implement
Duration::round
and some general updates/fixes by @nekevss in #24
Documentation
- Adding a
docs
directory by @nekevss in #16 - Build out README and CONTRIBUTING docs by @nekevss in #21
Other Changes
- Port
boa_temporal
to newtemporal
crate by @nekevss in #1 - Add CI and rename license by @jedel1043 in #3
- Create LICENSE-Apache by @jedel1043 in #6
- Setup publish CI by @jedel1043 in #26
- Add first changelog by @jedel1043 in #27
- Remove keywords from Cargo.toml by @jedel1043 in #28
New Contributors
- @nekevss made their first contribution in #1
- @jedel1043 made their first contribution in #3
Full Changelog: https://github.com/boa-dev/temporal/commits/v0.0.1