Skip to content

Commit ad8739f

Browse files
add changelog, set correct heading levels, update versions (#4463)
Co-authored-by: Iban Eguia Moraza <[email protected]>
1 parent d3c6e04 commit ad8739f

File tree

8 files changed

+356
-59
lines changed

8 files changed

+356
-59
lines changed

CHANGELOG.md

Lines changed: 314 additions & 28 deletions
Large diffs are not rendered by default.

Cargo.lock

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

Cargo.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ exclude = [
2424

2525
[workspace.package]
2626
edition = "2024"
27-
version = "0.20.0"
27+
version = "0.21.0"
2828
rust-version = "1.88.0"
2929
authors = ["boa-dev"]
3030
repository = "https://github.com/boa-dev/boa"
@@ -34,19 +34,19 @@ description = "Boa is a Javascript lexer, parser and compiler written in Rust. C
3434
[workspace.dependencies]
3535

3636
# Repo Crates
37-
boa_ast = { version = "~0.20.0", path = "core/ast" }
38-
boa_engine = { version = "~0.20.0", path = "core/engine" }
39-
boa_gc = { version = "~0.20.0", path = "core/gc" }
40-
boa_icu_provider = { version = "~0.20.0", path = "core/icu_provider" }
41-
boa_interner = { version = "~0.20.0", path = "core/interner" }
42-
boa_macros = { version = "~0.20.0", path = "core/macros" }
43-
boa_parser = { version = "~0.20.0", path = "core/parser" }
44-
boa_runtime = { version = "~0.20.0", path = "core/runtime" }
45-
boa_string = { version = "~0.20.0", path = "core/string" }
37+
boa_ast = { version = "~0.21.0", path = "core/ast" }
38+
boa_engine = { version = "~0.21.0", path = "core/engine" }
39+
boa_gc = { version = "~0.21.0", path = "core/gc" }
40+
boa_icu_provider = { version = "~0.21.0", path = "core/icu_provider" }
41+
boa_interner = { version = "~0.21.0", path = "core/interner" }
42+
boa_macros = { version = "~0.21.0", path = "core/macros" }
43+
boa_parser = { version = "~0.21.0", path = "core/parser" }
44+
boa_runtime = { version = "~0.21.0", path = "core/runtime" }
45+
boa_string = { version = "~0.21.0", path = "core/string" }
4646

4747
# Utility Repo Crates
48-
tag_ptr = { path = "utils/tag_ptr" }
49-
small_btree = { path = "utils/small_btree" }
48+
tag_ptr = { version = "~0.1.0", path = "utils/tag_ptr" }
49+
small_btree = { version = "~0.1.0", path = "utils/small_btree" }
5050

5151
# Shared deps
5252
arbitrary = "1"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ To start using Boa simply add the `boa_engine` crate to your `Cargo.toml`:
5454

5555
```toml
5656
[dependencies]
57-
boa_engine = "0.20.0"
57+
boa_engine = "0.21.0"
5858
```
5959

6060
Then in `main.rs`, copy the below:

utils/small_btree/ABOUT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Try out the most recent release with Boa's live demo
1818
- [**`boa_interner`**][interner] - Boa's string interner.
1919
- [**`boa_macros`**][macros] - Boa's macros.
2020
- [**`boa_parser`**][parser] - Boa's lexer and parser.
21-
- [**`boa_runtime`**][runtime] - Boa's WebAPI features.
21+
- [**`boa_runtime`**][runtime] - Boa's `WebAPI` features.
2222
- [**`boa_string`**][string] - Boa's ECMAScript string implementation.
2323
- [**`tag_ptr`**][tag_ptr] - Utility library that enables a pointer to be associated with a tag of type `usize`.
2424
- [**`small_btree`**][small_btree] - Utility library that adds the `SmallBTreeMap` data structure.

utils/small_btree/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
//! This provides performance benefits for maps that are expected to be small most of the time,
55
//! by avoiding heap allocations for the common case while still supporting larger collections when needed.
66
7+
#![doc = include_str!("../ABOUT.md")]
8+
#![doc(
9+
html_logo_url = "https://raw.githubusercontent.com/boa-dev/boa/main/assets/logo_black.svg",
10+
html_favicon_url = "https://raw.githubusercontent.com/boa-dev/boa/main/assets/logo_black.svg"
11+
)]
712
use std::{
813
borrow::Borrow,
914
collections::{BTreeMap, btree_map},

utils/tag_ptr/ABOUT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Try out the most recent release with Boa's live demo
1818
- [**`boa_interner`**][interner] - Boa's string interner.
1919
- [**`boa_macros`**][macros] - Boa's macros.
2020
- [**`boa_parser`**][parser] - Boa's lexer and parser.
21-
- [**`boa_runtime`**][runtime] - Boa's WebAPI features.
21+
- [**`boa_runtime`**][runtime] - Boa's `WebAPI` features.
2222
- [**`boa_string`**][string] - Boa's ECMAScript string implementation.
2323
- [**`tag_ptr`**][tag_ptr] - Utility library that enables a pointer to be associated with a tag of type `usize`.
2424
- [**`small_btree`**][small_btree] - Utility library that adds the `SmallBTreeMap` data structure.

utils/tag_ptr/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
//! Utility library that enables a pointer to be associated with a tag of type `usize`
22
3+
#![doc = include_str!("../ABOUT.md")]
4+
#![doc(
5+
html_logo_url = "https://raw.githubusercontent.com/boa-dev/boa/main/assets/logo_black.svg",
6+
html_favicon_url = "https://raw.githubusercontent.com/boa-dev/boa/main/assets/logo_black.svg"
7+
)]
8+
39
use std::ptr::{self, NonNull};
410

511
/// A pointer that can be tagged with an `usize`.

0 commit comments

Comments
 (0)