Skip to content

Commit 44632b0

Browse files
authored
Prep v0.0.9 release + some housekeeping (#341)
This PR bumps the version to 0.0.9 and updates the CHANGELOG. I also added a release process doc just so that a general process for making a release is written down somewhere.
1 parent deee291 commit 44632b0

File tree

4 files changed

+73
-12
lines changed

4 files changed

+73
-12
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
## What's Changed in v0.0.9
2+
* Cross boundary rounding fix #286 by @robot-head in [#343](https://github.com/boa-dev/temporal/pull/343)
3+
* Implement PlainMonthDay::with functionality by @nekevss in [#335](https://github.com/boa-dev/temporal/pull/335)
4+
* Add Writeable getters for some types, use in FFI by @Manishearth in [#340](https://github.com/boa-dev/temporal/pull/340)
5+
* Add missing FFI APIs by @Manishearth in [#339](https://github.com/boa-dev/temporal/pull/339)
6+
* Fill in missing Zoned APIs by @Manishearth in [#331](https://github.com/boa-dev/temporal/pull/331)
7+
* Add stringifiers to MonthDay/YearMonth by @Manishearth in [#338](https://github.com/boa-dev/temporal/pull/338)
8+
* Use AnyCalendarKind in PartialDate by @Manishearth in [#332](https://github.com/boa-dev/temporal/pull/332)
9+
* Add ZonedDateTime FFI by @Manishearth in [#329](https://github.com/boa-dev/temporal/pull/329)
10+
* Use a lock internally to FsTzdbProvider instead of externally by @Manishearth in [#327](https://github.com/boa-dev/temporal/pull/327)
11+
* Remove create() APIs, consistently use try_new() by @Manishearth in [#326](https://github.com/boa-dev/temporal/pull/326)
12+
* Switch FFI calendar APIs over to using AnyCalendarKind for input by @Manishearth in [#324](https://github.com/boa-dev/temporal/pull/324)
13+
* Update abstract method `7.5.37 RoundRelativeDuration` by @HalidOdat in [#323](https://github.com/boa-dev/temporal/pull/323)
14+
* Fix abstract method `7.5.36 BubbleRelativeDuration()` by @HalidOdat in [#322](https://github.com/boa-dev/temporal/pull/322)
15+
* Generate FFI bindings for C by @jedel1043 in [#321](https://github.com/boa-dev/temporal/pull/321)
16+
* Improve baked data formatting by @Manishearth in [#319](https://github.com/boa-dev/temporal/pull/319)
17+
* Correctly validate largestUnit when constructing from DifferenceSettings by @Manishearth in [#316](https://github.com/boa-dev/temporal/pull/316)
18+
* Align `Duration.prototype.round()` to latest specification by @HalidOdat in [#317](https://github.com/boa-dev/temporal/pull/317)
19+
20+
**Full Changelog**: https://github.com/boa-dev/temporal/compare/v0.0.8...v0.0.9
21+
122
## What's Changed in v0.0.8
223
* Make duration capi getters non-optional by @Manishearth in [#314](https://github.com/boa-dev/temporal/pull/314)
324
* Add to_string to Duration by @Manishearth in [#312](https://github.com/boa-dev/temporal/pull/312)

Cargo.lock

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

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ members = ["diplomat-gen", "bakeddata", "provider", "temporal_capi", "depcheck"]
44

55
[workspace.package]
66
edition = "2021"
7-
version = "0.0.8"
7+
version = "0.0.9"
88
rust-version = "1.82.0"
99
authors = ["boa-dev"]
1010
license = "MIT OR Apache-2.0"
@@ -21,8 +21,8 @@ exclude = [
2121

2222
[workspace.dependencies]
2323
# Self
24-
temporal_rs = { version = "~0.0.8", path = ".", default-features = false }
25-
timezone_provider = { version = "~0.0.8", path = "./provider" }
24+
temporal_rs = { version = "~0.0.9", path = ".", default-features = false }
25+
timezone_provider = { version = "~0.0.9", path = "./provider" }
2626

2727
# Dependencies
2828
tinystr = "0.8.1"
@@ -54,11 +54,12 @@ exclude.workspace = true
5454

5555
[dependencies]
5656

57-
tinystr.workspace = true
57+
core_maths = "0.1.1"
5858
icu_calendar = { workspace = true, features = ["compiled_data"] }
5959
icu_locale.workspace = true
60-
num-traits.workspace = true
6160
ixdtf = { workspace = true, features = ["duration"]}
61+
num-traits.workspace = true
62+
tinystr.workspace = true
6263
writeable = "0.6.1"
6364

6465
# log feature
@@ -73,7 +74,6 @@ timezone_provider = { workspace = true, optional = true}
7374
# System time feature
7475
web-time = { workspace = true, optional = true }
7576
iana-time-zone = { workspace = true, optional = true }
76-
core_maths = "0.1.1"
7777

7878
[features]
7979
default = ["sys"]

docs/release.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Release process
2+
3+
The steps for preparing and making a new release for `temporal_rs` and
4+
its crates are as follows.
5+
6+
1. Fetch the remote refs and tags (`git fetch --tags`)
7+
2. Create and checkout release prep branch
8+
3. Bump the version in the workspace Cargo.toml in the workspace package
9+
and dependencies sections
10+
4. Update the CHANGELOG with git cliff (See below for more information)
11+
5. Commit changes to branch
12+
- (Optional / recommended) A dry run publish could be preemptively run with
13+
`cargo workspaces publish --dry-run`
14+
6. Push to Github/remote, make pull request, and merge release prep.
15+
7. Draft a new release targeting `main` with a `vx.x.x` tag
16+
8. Publish release
17+
18+
## Release post
19+
20+
The release post generally includes the CHANGELOG content; however, an
21+
introduction may be added if the individual making the release would
22+
like to write one.
23+
24+
## Git Cliff
25+
26+
Updating the CHANGELOG with the below commits by running:
27+
28+
```bash
29+
git cliff $PREVIOUS_TAG.. --tag $RELEASE_TAG --prepend CHANGELOG.md
30+
```
31+
32+
`$PREVIOUS_TAG` is the tag for the last release while `$RELEASE_TAG` is
33+
the upcoming release tag.
34+
35+
For example, in order to prep for release `v0.0.9`, the git cliff
36+
command would be:
37+
38+
```bash
39+
git cliff v0.0.8.. --tag v0.0.9 --prepend CHANGELOG.md
40+
```

0 commit comments

Comments
 (0)