Skip to content

Commit 985746d

Browse files
authored
Prep for a new release of temporal_rs (#681)
This preps for a new release of the temporal_rs et al. It makes the following version bumps: | crate | current version | bumped version| reason | |----|----|-----|-------| | temporal_rs | v0.1.2 | v0.2.0 | New APIs added to Now along | | temporal_capi | v0.1.2 | v0.2.0 | Workspace bump | | timezone_provider | v0.1.2 | v0.2.0 | New `ZeroCompiledTzdbProvider` implemented | |zoneinfo_rs | v0.0.18 | v0.1.0 | API more stabilized and compiled data used and tested via `ZeroCompiledTzdbProvider` | I did also add in an update to the dependabot.yml to hopefully make it much less annoying to deal with.
1 parent 2356542 commit 985746d

File tree

8 files changed

+91
-17
lines changed

8 files changed

+91
-17
lines changed

.github/dependabot.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,42 @@ updates:
2121
commit-message:
2222
prefix: "chore(dependabot)"
2323
prefix-development: "chore(dependabot)"
24+
ignore:
25+
# Ignore dependencies listed in the depcheck tool
26+
#
27+
# We do this to ensure that the versions are stable or manually updated for
28+
# V8 / Chrome
29+
- dependency-name: "calendrical_calculations"
30+
- dependency-name: "core_maths"
31+
- dependency-name: "diplomat-runtime",
32+
- dependency-name: "icu_calendar",
33+
- dependency-name: "icu_calendar_data",
34+
- dependency-name: "icu_collections",
35+
- dependency-name: "icu_locale",
36+
- dependency-name: "icu_locale_core",
37+
- dependency-name: "icu_locale_data",
38+
- dependency-name: "icu_provider",
39+
- dependency-name: "ixdtf",
40+
- dependency-name: "litemap",
41+
- dependency-name: "potential_utf",
42+
- dependency-name: "tinystr",
43+
- dependency-name: "writeable",
44+
- dependency-name: "yoke",
45+
- dependency-name: "zerofrom",
46+
- dependency-name: "zerotrie",
47+
- dependency-name: "zerovec",
48+
- dependency-name: "libm",
49+
- dependency-name: "num-traits",
50+
- dependency-name: "stable_deref_trait",
51+
# Do not bump the compiled_deps either
52+
- dependency-name: "bytes",
53+
- dependency-name: "combine",
54+
- dependency-name: "jiff-tzdb",
55+
- dependency-name: "memchr",
56+
- dependency-name: "tzif",
57+
58+
# Any of the dependencies listed above can be updated as need as they are Rust
59+
# specific or dev-dependencies
2460
groups:
2561
rust-dependencies:
2662
applies-to: version-updates

CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
## What's Changed in v0.2.0
2+
* Fix incorrect decimal digits bug by @nekevss in [#679](https://github.com/boa-dev/temporal/pull/679)
3+
* Update the documentation by @nekevss in [#680](https://github.com/boa-dev/temporal/pull/680)
4+
* chore: cleanup zoneinfo_rs crate by @nekevss in [#674](https://github.com/boa-dev/temporal/pull/674)
5+
* Test time zone canonicalization against ICU4X by @robertbastian in [#676](https://github.com/boa-dev/temporal/pull/676)
6+
* Fix Sao Paulo bug in zoneinfo_rs by @nekevss in [#663](https://github.com/boa-dev/temporal/pull/663)
7+
* Implement a zero copy tzdb provider by @nekevss in [#662](https://github.com/boa-dev/temporal/pull/662)
8+
* Restrict the units that can be added to PlainYearMonth by @Manishearth in [#671](https://github.com/boa-dev/temporal/pull/671)
9+
* Fix Duration out of bounds crash by @Manishearth in [#667](https://github.com/boa-dev/temporal/pull/667)
10+
* Implement std::error::Error for TemporalError by @LeandroVandari in [#664](https://github.com/boa-dev/temporal/pull/664)
11+
* Rebuild time zone data with 2025c by @nekevss in [#660](https://github.com/boa-dev/temporal/pull/660)
12+
* Add support for time zone designations by @nekevss in [#659](https://github.com/boa-dev/temporal/pull/659)
13+
* Fix bug in POSIX time zone calculations by @nekevss in [#658](https://github.com/boa-dev/temporal/pull/658)
14+
* Add two different HostHook impls by @nekevss in [#591](https://github.com/boa-dev/temporal/pull/591)
15+
* Add NonZeroSign type to ensure proper sign handling by @nekevss in [#652](https://github.com/boa-dev/temporal/pull/652)
16+
* Update to new ComputeNudgeWindow spec text by @Manishearth in [#636](https://github.com/boa-dev/temporal/pull/636)
17+
* Fix ZonedDateTime::with bug when empty fields is provided by @nekevss in [#650](https://github.com/boa-dev/temporal/pull/650)
18+
* Add manual PartialOrd impl for FiniteF64 by @nekevss in [#649](https://github.com/boa-dev/temporal/pull/649)
19+
* Correct sign in nudge_to_zoned_time by @catamorphism in [#647](https://github.com/boa-dev/temporal/pull/647)
20+
* YearMonth addition: Use ISO parameters, not calendared parameters, when subtracting by @Manishearth in [#645](https://github.com/boa-dev/temporal/pull/645)
21+
* Fix typo in doc string by @catamorphism in [#639](https://github.com/boa-dev/temporal/pull/639)
22+
* Set YearMonth's day to 1 in calendar space when diffing by @Manishearth in [#640](https://github.com/boa-dev/temporal/pull/640)
23+
* unify iso naming in `Now` by @Sharktheone in [#631](https://github.com/boa-dev/temporal/pull/631)
24+
* Style updates by @Sharktheone in [#632](https://github.com/boa-dev/temporal/pull/632)
25+
* Use all-features for timezone_provider on docs.rs by @Manishearth in [#630](https://github.com/boa-dev/temporal/pull/630)
26+
* remove unneeded clone in TzdbResolver::get by @Sharktheone in [#628](https://github.com/boa-dev/temporal/pull/628)
27+
* Attempt to handle the "completely contained within" timezone rule by @Manishearth in [#629](https://github.com/boa-dev/temporal/pull/629)
28+
* Reject on empty fields object in PlainYearMonth::with by @nekevss in [#626](https://github.com/boa-dev/temporal/pull/626)
29+
30+
## New Contributors
31+
* @robertbastian made their first contribution in [#676](https://github.com/boa-dev/temporal/pull/676)
32+
* @LeandroVandari made their first contribution in [#664](https://github.com/boa-dev/temporal/pull/664)
33+
* @catamorphism made their first contribution in [#647](https://github.com/boa-dev/temporal/pull/647)
34+
35+
**Full Changelog**: https://github.com/boa-dev/temporal/compare/v0.1.2...v0.2.0
36+
137
# Changelog
238

339
All notable changes to this project will be documented in this file.

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ members = [
1111

1212
[workspace.package]
1313
edition = "2021"
14-
version = "0.1.2"
14+
version = "0.2.0"
1515
rust-version = "1.83.0"
1616
authors = ["boa-dev"]
1717
license = "MIT OR Apache-2.0"
@@ -29,9 +29,9 @@ exclude = [
2929

3030
[workspace.dependencies]
3131
# Self
32-
temporal_rs = { version = "0.1.2", path = ".", default-features = false }
33-
timezone_provider = { version = "0.1.2", path = "./provider", default-features = false }
34-
zoneinfo_rs = { version = "0.0.18", path = "./zoneinfo" }
32+
temporal_rs = { version = "0.2.0", path = ".", default-features = false }
33+
timezone_provider = { version = "0.2.0", path = "./provider", default-features = false }
34+
zoneinfo_rs = { version = "0.1.0", path = "./zoneinfo", default-features = false }
3535

3636
# Dependencies
3737
rustc-hash = "2.1.0"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ foremost -- designed for use in ECMAScript implementations. This is not to detra
151151
from temporal_rs's use in a native Rust program, but it is important information to
152152
understand in order to understand the library's architecture and general API design.
153153

154-
Without default feature flags, temporal_rs does not have with access to the host
154+
Without default feature flags, temporal_rs is not released with access to the host
155155
environment and it does not embed any time zone data. This is important from an
156156
interpreter perspective, because access to the host environment and time zone data
157157
comes from the interpreter's agent, not from a dependency.

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
//! from temporal_rs's use in a native Rust program, but it is important information to
146146
//! understand in order to understand the library's architecture and general API design.
147147
//!
148-
//! Without default feature flags, temporal_rs does not have with access to the host
148+
//! Without default feature flags, temporal_rs is not released with access to the host
149149
//! environment and it does not embed any time zone data. This is important from an
150150
//! interpreter perspective, because access to the host environment and time zone data
151151
//! comes from the interpreter's agent, not from a dependency.

tools/depcheck/src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,10 @@ fn main() {
148148
);
149149
}
150150

151+
// NOTE: Please update .github/dependabot.yml if the below are
152+
// altered in any way.
153+
151154
/// Dependencies that are always allowed as runtime dependencies
152-
///
153155
pub const BASIC_RUNTIME_DEPS: &[&str] = &[
154156
// temporal_rs crates
155157
"temporal_rs",

zoneinfo/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "zoneinfo_rs"
33
description = "Zoneinfo parser and compiler"
44
edition.workspace = true
5-
version = "0.0.18"
5+
version = "0.1.0"
66
rust-version.workspace = true
77
authors.workspace = true
88
license.workspace = true

0 commit comments

Comments
 (0)