diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a72c8fd3f..32eddc23f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -21,6 +21,42 @@ updates: commit-message: prefix: "chore(dependabot)" prefix-development: "chore(dependabot)" + ignore: + # Ignore dependencies listed in the depcheck tool + # + # We do this to ensure that the versions are stable or manually updated for + # V8 / Chrome + - dependency-name: "calendrical_calculations" + - dependency-name: "core_maths" + - dependency-name: "diplomat-runtime", + - dependency-name: "icu_calendar", + - dependency-name: "icu_calendar_data", + - dependency-name: "icu_collections", + - dependency-name: "icu_locale", + - dependency-name: "icu_locale_core", + - dependency-name: "icu_locale_data", + - dependency-name: "icu_provider", + - dependency-name: "ixdtf", + - dependency-name: "litemap", + - dependency-name: "potential_utf", + - dependency-name: "tinystr", + - dependency-name: "writeable", + - dependency-name: "yoke", + - dependency-name: "zerofrom", + - dependency-name: "zerotrie", + - dependency-name: "zerovec", + - dependency-name: "libm", + - dependency-name: "num-traits", + - dependency-name: "stable_deref_trait", + # Do not bump the compiled_deps either + - dependency-name: "bytes", + - dependency-name: "combine", + - dependency-name: "jiff-tzdb", + - dependency-name: "memchr", + - dependency-name: "tzif", + + # Any of the dependencies listed above can be updated as need as they are Rust + # specific or dev-dependencies groups: rust-dependencies: applies-to: version-updates diff --git a/CHANGELOG.md b/CHANGELOG.md index e7ded7d70..53bfbf221 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,39 @@ +## What's Changed in v0.2.0 +* Fix incorrect decimal digits bug by @nekevss in [#679](https://github.com/boa-dev/temporal/pull/679) +* Update the documentation by @nekevss in [#680](https://github.com/boa-dev/temporal/pull/680) +* chore: cleanup zoneinfo_rs crate by @nekevss in [#674](https://github.com/boa-dev/temporal/pull/674) +* Test time zone canonicalization against ICU4X by @robertbastian in [#676](https://github.com/boa-dev/temporal/pull/676) +* Fix Sao Paulo bug in zoneinfo_rs by @nekevss in [#663](https://github.com/boa-dev/temporal/pull/663) +* Implement a zero copy tzdb provider by @nekevss in [#662](https://github.com/boa-dev/temporal/pull/662) +* Restrict the units that can be added to PlainYearMonth by @Manishearth in [#671](https://github.com/boa-dev/temporal/pull/671) +* Fix Duration out of bounds crash by @Manishearth in [#667](https://github.com/boa-dev/temporal/pull/667) +* Implement std::error::Error for TemporalError by @LeandroVandari in [#664](https://github.com/boa-dev/temporal/pull/664) +* Rebuild time zone data with 2025c by @nekevss in [#660](https://github.com/boa-dev/temporal/pull/660) +* Add support for time zone designations by @nekevss in [#659](https://github.com/boa-dev/temporal/pull/659) +* Fix bug in POSIX time zone calculations by @nekevss in [#658](https://github.com/boa-dev/temporal/pull/658) +* Add two different HostHook impls by @nekevss in [#591](https://github.com/boa-dev/temporal/pull/591) +* Add NonZeroSign type to ensure proper sign handling by @nekevss in [#652](https://github.com/boa-dev/temporal/pull/652) +* Update to new ComputeNudgeWindow spec text by @Manishearth in [#636](https://github.com/boa-dev/temporal/pull/636) +* Fix ZonedDateTime::with bug when empty fields is provided by @nekevss in [#650](https://github.com/boa-dev/temporal/pull/650) +* Add manual PartialOrd impl for FiniteF64 by @nekevss in [#649](https://github.com/boa-dev/temporal/pull/649) +* Correct sign in nudge_to_zoned_time by @catamorphism in [#647](https://github.com/boa-dev/temporal/pull/647) +* YearMonth addition: Use ISO parameters, not calendared parameters, when subtracting by @Manishearth in [#645](https://github.com/boa-dev/temporal/pull/645) +* Fix typo in doc string by @catamorphism in [#639](https://github.com/boa-dev/temporal/pull/639) +* Set YearMonth's day to 1 in calendar space when diffing by @Manishearth in [#640](https://github.com/boa-dev/temporal/pull/640) +* unify iso naming in `Now` by @Sharktheone in [#631](https://github.com/boa-dev/temporal/pull/631) +* Style updates by @Sharktheone in [#632](https://github.com/boa-dev/temporal/pull/632) +* Use all-features for timezone_provider on docs.rs by @Manishearth in [#630](https://github.com/boa-dev/temporal/pull/630) +* remove unneeded clone in TzdbResolver::get by @Sharktheone in [#628](https://github.com/boa-dev/temporal/pull/628) +* Attempt to handle the "completely contained within" timezone rule by @Manishearth in [#629](https://github.com/boa-dev/temporal/pull/629) +* Reject on empty fields object in PlainYearMonth::with by @nekevss in [#626](https://github.com/boa-dev/temporal/pull/626) + +## New Contributors +* @robertbastian made their first contribution in [#676](https://github.com/boa-dev/temporal/pull/676) +* @LeandroVandari made their first contribution in [#664](https://github.com/boa-dev/temporal/pull/664) +* @catamorphism made their first contribution in [#647](https://github.com/boa-dev/temporal/pull/647) + +**Full Changelog**: https://github.com/boa-dev/temporal/compare/v0.1.2...v0.2.0 + # Changelog All notable changes to this project will be documented in this file. diff --git a/Cargo.lock b/Cargo.lock index d63a3f117..4dd598e64 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -117,7 +117,7 @@ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" [[package]] name = "bakeddata" -version = "0.1.2" +version = "0.2.0" dependencies = [ "databake", "prettyplease", @@ -285,7 +285,7 @@ dependencies = [ [[package]] name = "depcheck" -version = "0.1.2" +version = "0.2.0" [[package]] name = "diplomat" @@ -301,7 +301,7 @@ dependencies = [ [[package]] name = "diplomat-gen" -version = "0.1.2" +version = "0.2.0" dependencies = [ "diplomat-tool", ] @@ -863,7 +863,7 @@ dependencies = [ [[package]] name = "temporal_capi" -version = "0.1.2" +version = "0.2.0" dependencies = [ "diplomat", "diplomat-runtime", @@ -878,7 +878,7 @@ dependencies = [ [[package]] name = "temporal_rs" -version = "0.1.2" +version = "0.2.0" dependencies = [ "core_maths", "iana-time-zone", @@ -897,7 +897,7 @@ dependencies = [ [[package]] name = "timezone_provider" -version = "0.1.2" +version = "0.2.0" dependencies = [ "combine", "databake", @@ -979,7 +979,7 @@ dependencies = [ [[package]] name = "tzif-inspect" -version = "0.1.2" +version = "0.2.0" dependencies = [ "jiff-tzdb", "temporal_rs", @@ -1312,7 +1312,7 @@ dependencies = [ [[package]] name = "zoneinfo-test-gen" -version = "0.1.2" +version = "0.2.0" dependencies = [ "clap", "serde", @@ -1335,7 +1335,7 @@ dependencies = [ [[package]] name = "zoneinfo_rs" -version = "0.0.18" +version = "0.1.0" dependencies = [ "hashbrown", "indexmap", diff --git a/Cargo.toml b/Cargo.toml index 887536242..f96df71b3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ members = [ [workspace.package] edition = "2021" -version = "0.1.2" +version = "0.2.0" rust-version = "1.83.0" authors = ["boa-dev"] license = "MIT OR Apache-2.0" @@ -29,9 +29,9 @@ exclude = [ [workspace.dependencies] # Self -temporal_rs = { version = "0.1.2", path = ".", default-features = false } -timezone_provider = { version = "0.1.2", path = "./provider", default-features = false } -zoneinfo_rs = { version = "0.0.18", path = "./zoneinfo" } +temporal_rs = { version = "0.2.0", path = ".", default-features = false } +timezone_provider = { version = "0.2.0", path = "./provider", default-features = false } +zoneinfo_rs = { version = "0.1.0", path = "./zoneinfo", default-features = false } # Dependencies rustc-hash = "2.1.0" diff --git a/README.md b/README.md index 88fa4fe94..03894bdc4 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ foremost -- designed for use in ECMAScript implementations. This is not to detra from temporal_rs's use in a native Rust program, but it is important information to understand in order to understand the library's architecture and general API design. -Without default feature flags, temporal_rs does not have with access to the host +Without default feature flags, temporal_rs is not released with access to the host environment and it does not embed any time zone data. This is important from an interpreter perspective, because access to the host environment and time zone data comes from the interpreter's agent, not from a dependency. diff --git a/src/lib.rs b/src/lib.rs index 8bb0684af..a0f5011da 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -145,7 +145,7 @@ //! from temporal_rs's use in a native Rust program, but it is important information to //! understand in order to understand the library's architecture and general API design. //! -//! Without default feature flags, temporal_rs does not have with access to the host +//! Without default feature flags, temporal_rs is not released with access to the host //! environment and it does not embed any time zone data. This is important from an //! interpreter perspective, because access to the host environment and time zone data //! comes from the interpreter's agent, not from a dependency. diff --git a/tools/depcheck/src/main.rs b/tools/depcheck/src/main.rs index 2bfbc7580..86da7f9d6 100644 --- a/tools/depcheck/src/main.rs +++ b/tools/depcheck/src/main.rs @@ -148,8 +148,10 @@ fn main() { ); } +// NOTE: Please update .github/dependabot.yml if the below are +// altered in any way. + /// Dependencies that are always allowed as runtime dependencies -/// pub const BASIC_RUNTIME_DEPS: &[&str] = &[ // temporal_rs crates "temporal_rs", diff --git a/zoneinfo/Cargo.toml b/zoneinfo/Cargo.toml index 0048ddfff..eb62b2eec 100644 --- a/zoneinfo/Cargo.toml +++ b/zoneinfo/Cargo.toml @@ -2,7 +2,7 @@ name = "zoneinfo_rs" description = "Zoneinfo parser and compiler" edition.workspace = true -version = "0.0.18" +version = "0.1.0" rust-version.workspace = true authors.workspace = true license.workspace = true