Skip to content

Commit a6002d2

Browse files
nekevsshansljedel1043jasonwilliams
authored
Blog post for v0.21 (#208)
Also fixes formatting in several places using prettier. --------- Co-authored-by: Hans Larsen <[email protected]> Co-authored-by: jedel1043 <[email protected]> Co-authored-by: jasonwilliams <[email protected]>
1 parent 741b4af commit a6002d2

File tree

10 files changed

+2335
-965
lines changed

10 files changed

+2335
-965
lines changed

blog/2025-09-24-temporal-release/index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,15 @@ Currently, `temporal_rs` v0.1 is being used by Boa, [Kiesel][kiesel-site],
2323
[V8][v8-site], and [Yavashark][yavashark-repo] for their Temporal
2424
implementations (more on that later) and is [estimated](https://chromestatus.com/feature/5668291307634688) to land unflagged in **Chromium v144**.
2525

26+
<!-- truncate -->
27+
2628
### Why v0.1? Why not v1.0?
2729

28-
Right now the [Temporal proposal](https://github.com/tc39/proposal-temporal) is at Stage 3 (4 being the final stage) in the standards process. Although unlikely,
29-
we want to remain on a minor version to catch any changes which come in (mostly bug fixes) before the proposal reaches stage 4
30-
and thus complete. We expect that to happen in Q1 2026.
30+
Right now the [Temporal proposal](https://github.com/tc39/proposal-temporal) is at Stage 3 (4 being the final stage) in the standards process. Although unlikely,
31+
we want to remain on a minor version to catch any changes which come in (mostly bug fixes) before the proposal reaches stage 4
32+
and thus complete. We expect that to happen in Q1 2026.
3133

32-
Fear not! temporal_rs passes over 4000 specification tests, is stable and ready to use.
34+
Fear not! temporal_rs passes over 4000 specification tests, is stable and ready to use.
3335

3436
To celebrate the release of `temporal_rs`, we'll cover a short
3537
background of the Temporal implementation in Boa and why `temporal_rs`
@@ -53,9 +55,10 @@ culminated in an absolutely massive PR,
5355
The PR itself stubbed out a lot of the methods, implemented some
5456
Duration and Instant functionality, and started the support for custom
5557
calendars. There were, however, 2 major takeaways from this PR:
58+
5659
- Temporal is a massive specification update, it's the single biggest addition to ECMAScript since ES6.
5760
- There is a lot of room to potentially optimize Temporal if we do not deal with
58-
`JsValue` directly.
61+
`JsValue` directly.
5962

6063
After a couple weeks, the question came up amongst maintainers of not just Boa, but also other engines:
6164
"_could we separate the datetime logic and implementation off into a completely
@@ -351,8 +354,6 @@ it's a really cool project and we would definitely recommend checking it
351354
out if you're looking to generate FFI bindings for other languages for
352355
your Rust library.
353356

354-
355-
356357
> "_Diplomat made the FFI code extremely easy: I basically wrote the entire temporal_capi FFI layer over the course of a couple PRs, each of which probably took me ~15 minutes each of relatively mindless "tab through docs, add API" work. Diplomat is really good at this type of thing._"
357358
>
358359
> <cite>Manishearth [Rust Reddit Q&A](https://www.reddit.com/r/rust/comments/1logjzt/chromiumv8_implementing_temporal_api_via_rust/):</cite>
@@ -421,6 +422,7 @@ the specification, as well as the ICU4X project for their incredible
421422
ongoing work on calendars and all things i18n related.
422423

423424
## Discussion
425+
424426
- Hackernews: https://news.ycombinator.com/item?id=45361826
425427
- Reddit: https://www.reddit.com/r/rust/comments/1npffdx/temporal_rs_is_here_the_datetime_library_powering/
426428

@@ -448,8 +450,6 @@ itself and for users of the engine. Feel free to contact us in [Matrix].
448450
[testing representation]: https://github.com/boa-dev/boa/issues/820
449451
[action]: https://github.com/boa-dev/criterion-compare-action
450452
[Matrix]: https://matrix.to/#/#boa:matrix.org
451-
452-
453453
[mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal
454454
[v8-site]: https://v8.dev/
455455
[kiesel-site]: https://kiesel.dev/
71.2 KB
Loading
171 KB
Loading

0 commit comments

Comments
 (0)