Browse Source

Added changelog, updated dependencies, bumped version number for 0.15 (#2102)

This Pull Request bumps the version number to 0.15, adds the changelog for this new versions and updates all dependencies to the latest versions.
pull/2109/head
Iban Eguia 3 years ago
parent
commit
1dbd31e2b7
  1. 67
      CHANGELOG.md
  2. 42
      Cargo.lock
  3. 6
      boa_cli/Cargo.toml
  4. 14
      boa_engine/Cargo.toml
  5. 6
      boa_examples/Cargo.toml
  6. 2
      boa_gc/Cargo.toml
  7. 2
      boa_interner/Cargo.toml
  8. 2
      boa_profiler/Cargo.toml
  9. 6
      boa_tester/Cargo.toml
  10. 2
      boa_unicode/Cargo.toml
  11. 2
      boa_unicode/README.md
  12. 2
      boa_unicode/src/lib.rs
  13. 4
      boa_wasm/Cargo.toml
  14. 1150
      package-lock.json
  15. 2
      test262

67
CHANGELOG.md

@ -2,9 +2,72 @@
## What's Changed ## What's Changed
# [0.14.0 (2022-03-15) - Virtual Machine](https://github.com/boa-dev/boa/compare/v0.13...v0.14) # [0.15.0 (2022-06-10)](https://github.com/boa-dev/boa/compare/v0.14...v0.15)
### Feature Enhancements
- Deploy playground to custom destination dir by @jedel1043 in [#1943](https://github.com/boa-dev/boa/pull/1943)
- add README for crates.io publish by @superhawk610 in [#1952](https://github.com/boa-dev/boa/pull/1952)
- migrated to clap 3 by @manthanabc in [#1957](https://github.com/boa-dev/boa/pull/1957)
- Implement unscopables for Array.prototype by @NorbertGarfield in [#1963](https://github.com/boa-dev/boa/pull/1963)
- Retrieve feature-based results for Test262 runs by @NorbertGarfield in [#1980](https://github.com/boa-dev/boa/pull/1980)
- Added better error handling for the Boa tester by @Razican in [#1984](https://github.com/boa-dev/boa/pull/1984)
- Add From<f32> for JsValue by @lastmjs in [#1990](https://github.com/boa-dev/boa/pull/1990)
- Implement Classes by @raskad in [#1976](https://github.com/boa-dev/boa/pull/1976)
- Allow `PropertyName`s in `BindingProperty`in `ObjectBindingPattern` by @raskad in [#2022](https://github.com/boa-dev/boa/pull/2022)
- Allow `Initializer` after `ArrayBindingPattern` in `FormalParameter` by @raskad in [#2002](https://github.com/boa-dev/boa/pull/2002)
- Allow unicode escaped characters in identifiers that are keywords by @raskad in [#2021](https://github.com/boa-dev/boa/pull/2021)
- Feature `JsTypedArray`s by @HalidOdat in [#2003](https://github.com/boa-dev/boa/pull/2003)
- Allow creating object with true/false property names by @lupd in [#2028](https://github.com/boa-dev/boa/pull/2028)
- Implement `get RegExp.prototype.hasIndices` by @HalidOdat in [#2031](https://github.com/boa-dev/boa/pull/2031)
- Partial implementation for Intl.DateTimeFormat by @NorbertGarfield in [#2025](https://github.com/boa-dev/boa/pull/2025)
- Allow `let` as variable declaration name by @raskad in [#2044](https://github.com/boa-dev/boa/pull/2044)
- cargo workspaces fixes #2001 by @jasonwilliams in [#2026](https://github.com/boa-dev/boa/pull/2026)
- Move redeclaration errors to parser by @raskad in [#2027](https://github.com/boa-dev/boa/pull/2027)
- Feature `JsFunction` by @HalidOdat in [#2015](https://github.com/boa-dev/boa/pull/2015)
- Improve `JsString` performance by @YXL76 in [#2042](https://github.com/boa-dev/boa/pull/2042)
- Implement ResolveLocale helper by @NorbertGarfield in [#2036](https://github.com/boa-dev/boa/pull/2036)
- Refactor `IdentifierReference` parsing by @raskad in [#2055](https://github.com/boa-dev/boa/pull/2055)
- Implement the global `eval()` function by @raskad in [#2041](https://github.com/boa-dev/boa/pull/2041)
- DateTimeFormat helpers by @NorbertGarfield in [#2064](https://github.com/boa-dev/boa/pull/2064)
- Create `Date` standard constructor by @jedel1043 in [#2079](https://github.com/boa-dev/boa/pull/2079)
- Implement `ProxyBuilder` by @jedel1043 in [#2076](https://github.com/boa-dev/boa/pull/2076)
- Remove `strict` flag from `Context` by @raskad in [#2069](https://github.com/boa-dev/boa/pull/2069)
- Integrate ICU4X into `Intl` module by @jedel1043 in [#2083](https://github.com/boa-dev/boa/pull/2083)
- Implement `Function` constructor by @raskad in [#2090](https://github.com/boa-dev/boa/pull/2090)
- Parse private generator methods in classes by @raskad in [#2092](https://github.com/boa-dev/boa/pull/2092)
### Bug Fixes
<!-- Release notes generated using configuration in .github/release.yml at main --> - Fix link to the playground by @raskad in [#1947](https://github.com/boa-dev/boa/pull/1947)
- convert inner datetime to local in `to_date_string` by @superhawk610 in [#1953](https://github.com/boa-dev/boa/pull/1953)
- Fix panic on AST dump in JSON format by @kilotaras in [#1959](https://github.com/boa-dev/boa/pull/1959)
- Fix panic in do while by @pdogr in [#1968](https://github.com/boa-dev/boa/pull/1968)
- Support numbers with multiple leading zeroes by @lupd in [#1979](https://github.com/boa-dev/boa/pull/1979)
- Fix length properties on array methods by @lupd in [#1983](https://github.com/boa-dev/boa/pull/1983)
- Allow boolean/null as property identifier by dot operator assignment by @lupd in [#1985](https://github.com/boa-dev/boa/pull/1985)
- fix(vm): off-by-one in code block stringification. by @tsutton in [#1999](https://github.com/boa-dev/boa/pull/1999)
- Indicate bigint has constructor by @lupd in [#2008](https://github.com/boa-dev/boa/pull/2008)
- Change `ArrayBuffer` `byteLength` to accessor property by @lupd in [#2010](https://github.com/boa-dev/boa/pull/2010)
- Fix `ArrayBuffer.isView()` by @HalidOdat in [#2019](https://github.com/boa-dev/boa/pull/2019)
- Fix casting negative number to usize in `Array.splice` by @lupd in [#2030](https://github.com/boa-dev/boa/pull/2030)
- Fix `Symbol` and `BigInt` constructors by @HalidOdat in [#2032](https://github.com/boa-dev/boa/pull/2032)
- Make `Array.prototype` an array object by @HalidOdat in [#2033](https://github.com/boa-dev/boa/pull/2033)
- Fix early return in `for in loop` head by @raskad in [#2043](https://github.com/boa-dev/boa/pull/2043)
### Internal Improvements
- docs: update README by structuring the topics by @ftonato in [#1958](https://github.com/boa-dev/boa/pull/1958)
- Migrate to NPM and cleanup Playground by @jedel1043 in [#1951](https://github.com/boa-dev/boa/pull/1951)
- Fix performance bottleneck in VM by @pdogr in [#1973](https://github.com/boa-dev/boa/pull/1973)
- Remove `git2` and `hex` dependencies by @raskad in [#1992](https://github.com/boa-dev/boa/pull/1992)
- Fix rust 1.60 clippy lints by @raskad in [#2014](https://github.com/boa-dev/boa/pull/2014)
- Refactor `RegExp` constructor methods by @raskad in [#2049](https://github.com/boa-dev/boa/pull/2049)
- Fixing build for changes in clippy for Rust 1.61 by @Razican in [#2082](https://github.com/boa-dev/boa/pull/2082)
**Full Changelog**: https://github.com/boa-dev/boa/compare/v0.14...v0.15
# [0.14.0 (2022-03-15) - Virtual Machine](https://github.com/boa-dev/boa/compare/v0.13...v0.14)
### Feature Enhancements ### Feature Enhancements

42
Cargo.lock generated

@ -71,7 +71,7 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]] [[package]]
name = "boa_cli" name = "boa_cli"
version = "0.14.0" version = "0.15.0"
dependencies = [ dependencies = [
"boa_engine", "boa_engine",
"boa_interner", "boa_interner",
@ -87,7 +87,7 @@ dependencies = [
[[package]] [[package]]
name = "boa_engine" name = "boa_engine"
version = "0.14.0" version = "0.15.0"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"boa_gc", "boa_gc",
@ -125,7 +125,7 @@ dependencies = [
[[package]] [[package]]
name = "boa_examples" name = "boa_examples"
version = "0.14.0" version = "0.15.0"
dependencies = [ dependencies = [
"boa_engine", "boa_engine",
"boa_gc", "boa_gc",
@ -134,7 +134,7 @@ dependencies = [
[[package]] [[package]]
name = "boa_gc" name = "boa_gc"
version = "0.14.0" version = "0.15.0"
dependencies = [ dependencies = [
"gc", "gc",
"measureme", "measureme",
@ -142,7 +142,7 @@ dependencies = [
[[package]] [[package]]
name = "boa_interner" name = "boa_interner"
version = "0.14.0" version = "0.15.0"
dependencies = [ dependencies = [
"gc", "gc",
"serde", "serde",
@ -151,7 +151,7 @@ dependencies = [
[[package]] [[package]]
name = "boa_profiler" name = "boa_profiler"
version = "0.14.0" version = "0.15.0"
dependencies = [ dependencies = [
"measureme", "measureme",
"once_cell", "once_cell",
@ -159,7 +159,7 @@ dependencies = [
[[package]] [[package]]
name = "boa_tester" name = "boa_tester"
version = "0.14.0" version = "0.15.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bitflags", "bitflags",
@ -180,14 +180,14 @@ dependencies = [
[[package]] [[package]]
name = "boa_unicode" name = "boa_unicode"
version = "0.14.0" version = "0.15.0"
dependencies = [ dependencies = [
"unicode-general-category", "unicode-general-category",
] ]
[[package]] [[package]]
name = "boa_wasm" name = "boa_wasm"
version = "0.14.0" version = "0.15.0"
dependencies = [ dependencies = [
"boa_engine", "boa_engine",
"getrandom", "getrandom",
@ -208,9 +208,9 @@ dependencies = [
[[package]] [[package]]
name = "bumpalo" name = "bumpalo"
version = "3.9.1" version = "3.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4a45a46ab1f2412e53d3a0ade76ffad2025804294569aae387231a0cd6e0899" checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3"
[[package]] [[package]]
name = "byteorder" name = "byteorder"
@ -1043,9 +1043,9 @@ checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
[[package]] [[package]]
name = "os_str_bytes" name = "os_str_bytes"
version = "6.0.1" version = "6.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "029d8d0b2f198229de29dca79676f2738ff952edf3fde542eb8bf94d8c21b435" checksum = "21326818e99cfe6ce1e524c2a805c189a99b5ae555a35d19f9a284b427d86afa"
[[package]] [[package]]
name = "parking_lot" name = "parking_lot"
@ -1356,9 +1356,9 @@ dependencies = [
[[package]] [[package]]
name = "rustix" name = "rustix"
version = "0.34.7" version = "0.34.8"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f117495127afb702af6706f879fb2b5c008c38ccf3656afc514e26f35bdb8180" checksum = "2079c267b8394eb529872c3cf92e181c378b41fea36e68130357b52493701d2e"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"errno", "errno",
@ -1431,9 +1431,9 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
[[package]] [[package]]
name = "semver" name = "semver"
version = "1.0.9" version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8cb243bdfdb5936c8dc3c45762a19d12ab4550cdc753bc247637d4ec35a040fd" checksum = "a41d061efea015927ac527063765e73601444cdc344ba855bc7bd44578b25e1c"
[[package]] [[package]]
name = "serde" name = "serde"
@ -1517,9 +1517,9 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]] [[package]]
name = "str-buf" name = "str-buf"
version = "1.0.5" version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d44a3643b4ff9caf57abcee9c2c621d6c03d9135e0d8b589bd9afb5992cb176a" checksum = "9e08d8363704e6c71fc928674353e6b7c23dcea9d82d7012c8faf2a3a025f8d0"
[[package]] [[package]]
name = "string-interner" name = "string-interner"
@ -1570,9 +1570,9 @@ dependencies = [
[[package]] [[package]]
name = "syn" name = "syn"
version = "1.0.95" version = "1.0.96"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fbaf6116ab8924f39d52792136fb74fd60a80194cf1b1c6ffa6453eef1c3f942" checksum = "0748dd251e24453cb8717f0354206b91557e4ec8703673a4b30208f2abaf1ebf"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",

6
boa_cli/Cargo.toml

@ -1,6 +1,6 @@
[package] [package]
name = "boa_cli" name = "boa_cli"
version = "0.14.0" version = "0.15.0"
edition = "2021" edition = "2021"
rust-version = "1.60" rust-version = "1.60"
authors = ["boa-dev"] authors = ["boa-dev"]
@ -12,8 +12,8 @@ license = "Unlicense/MIT"
default-run = "boa" default-run = "boa"
[dependencies] [dependencies]
boa_engine = { path = "../boa_engine", features = ["deser", "console"], version = "0.14.0" } boa_engine = { path = "../boa_engine", features = ["deser", "console"], version = "0.15.0" }
boa_interner = { path = "../boa_interner", version = "0.14.0" } boa_interner = { path = "../boa_interner", version = "0.15.0" }
rustyline = "9.1.2" rustyline = "9.1.2"
rustyline-derive = "0.6.0" rustyline-derive = "0.6.0"
clap = { version = "3.1.18", features = ["derive"] } clap = { version = "3.1.18", features = ["derive"] }

14
boa_engine/Cargo.toml

@ -1,6 +1,6 @@
[package] [package]
name = "boa_engine" name = "boa_engine"
version = "0.14.0" version = "0.15.0"
edition = "2021" edition = "2021"
rust-version = "1.60" rust-version = "1.60"
authors = ["boa-dev"] authors = ["boa-dev"]
@ -28,11 +28,11 @@ intl = [
console = [] console = []
[dependencies] [dependencies]
boa_unicode = { path = "../boa_unicode", version = "0.14.0" } boa_unicode = { path = "../boa_unicode", version = "0.15.0" }
boa_interner = { path = "../boa_interner", version = "0.14.0" } boa_interner = { path = "../boa_interner", version = "0.15.0" }
boa_gc = { path = "../boa_gc", version = "0.14.0" } boa_gc = { path = "../boa_gc", version = "0.15.0" }
gc = "0.4.1" gc = "0.4.1"
boa_profiler = { path = "../boa_profiler", version = "0.14.0" } boa_profiler = { path = "../boa_profiler", version = "0.15.0" }
serde = { version = "1.0.137", features = ["derive", "rc"] } serde = { version = "1.0.137", features = ["derive", "rc"] }
serde_json = "1.0.81" serde_json = "1.0.81"
rand = "0.8.5" rand = "0.8.5"
@ -51,11 +51,11 @@ dyn-clone = "1.0.5"
once_cell = "1.12.0" once_cell = "1.12.0"
tap = "1.0.1" tap = "1.0.1"
icu_locale_canonicalizer = { version = "0.6.0", features = ["serde"], optional = true } icu_locale_canonicalizer = { version = "0.6.0", features = ["serde"], optional = true }
icu_locid = { version = "0.6.0", features = ["serde"], optional = true } icu_locid = { version = "0.6.0", features = ["serde"], optional = true }
icu_datetime = { version = "0.6.0", features = ["serde"], optional = true } icu_datetime = { version = "0.6.0", features = ["serde"], optional = true }
icu_plurals = { version = "0.6.0", features = ["serde"], optional = true } icu_plurals = { version = "0.6.0", features = ["serde"], optional = true }
icu_provider = { version = "0.6.0", optional = true } icu_provider = { version = "0.6.0", optional = true }
icu_testdata = {version = "0.6.0", optional = true} icu_testdata = { version = "0.6.0", optional = true }
sys-locale = { version = "0.2.0", optional = true } sys-locale = { version = "0.2.0", optional = true }
[dev-dependencies] [dev-dependencies]

6
boa_examples/Cargo.toml

@ -1,6 +1,6 @@
[package] [package]
name = "boa_examples" name = "boa_examples"
version = "0.14.0" version = "0.15.0"
authors = ["boa-dev"] authors = ["boa-dev"]
repository = "https://github.com/boa-dev/boa" repository = "https://github.com/boa-dev/boa"
license = "Unlicense/MIT" license = "Unlicense/MIT"
@ -10,6 +10,6 @@ publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
boa_engine = { path = "../boa_engine", features = ["console"], version = "0.14.0" } boa_engine = { path = "../boa_engine", features = ["console"], version = "0.15.0" }
boa_gc = { path = "../boa_gc", version = "0.14.0" } boa_gc = { path = "../boa_gc", version = "0.15.0" }
gc = "0.4.1" gc = "0.4.1"

2
boa_gc/Cargo.toml

@ -1,6 +1,6 @@
[package] [package]
name = "boa_gc" name = "boa_gc"
version = "0.14.0" version = "0.15.0"
edition = "2021" edition = "2021"
rust-version = "1.60" rust-version = "1.60"
authors = ["boa-dev"] authors = ["boa-dev"]

2
boa_interner/Cargo.toml

@ -1,6 +1,6 @@
[package] [package]
name = "boa_interner" name = "boa_interner"
version = "0.14.0" version = "0.15.0"
edition = "2021" edition = "2021"
rust-version = "1.60" rust-version = "1.60"
authors = ["boa-dev"] authors = ["boa-dev"]

2
boa_profiler/Cargo.toml

@ -1,6 +1,6 @@
[package] [package]
name = "boa_profiler" name = "boa_profiler"
version = "0.14.0" version = "0.15.0"
edition = "2021" edition = "2021"
rust-version = "1.60" rust-version = "1.60"
authors = ["boa-dev"] authors = ["boa-dev"]

6
boa_tester/Cargo.toml

@ -1,6 +1,6 @@
[package] [package]
name = "boa_tester" name = "boa_tester"
version = "0.14.0" version = "0.15.0"
edition = "2021" edition = "2021"
rust-version = "1.60" rust-version = "1.60"
authors = ["boa-dev"] authors = ["boa-dev"]
@ -12,8 +12,8 @@ license = "Unlicense/MIT"
publish = false publish = false
[dependencies] [dependencies]
boa_engine = { path = "../boa_engine", features = ["intl"], version = "0.14.0" } boa_engine = { path = "../boa_engine", features = ["intl"], version = "0.15.0" }
boa_interner = { path = "../boa_interner", version = "0.14.0" } boa_interner = { path = "../boa_interner", version = "0.15.0" }
structopt = "0.3.26" structopt = "0.3.26"
serde = { version = "1.0.137", features = ["derive"] } serde = { version = "1.0.137", features = ["derive"] }
serde_yaml = "0.8.24" serde_yaml = "0.8.24"

2
boa_unicode/Cargo.toml

@ -1,6 +1,6 @@
[package] [package]
name = "boa_unicode" name = "boa_unicode"
version = "0.14.0" version = "0.15.0"
edition = "2021" edition = "2021"
rust-version = "1.60" rust-version = "1.60"
authors = ["boa-dev"] authors = ["boa-dev"]

2
boa_unicode/README.md

@ -2,7 +2,7 @@
`boa-unicode` defines the trait to provide methods for querying properties or classes for Unicode identifiers. These properties are used to determine if a code point (char) is valid for being the start/part of an identifier in lexer and parser. `boa-unicode` defines the trait to provide methods for querying properties or classes for Unicode identifiers. These properties are used to determine if a code point (char) is valid for being the start/part of an identifier in lexer and parser.
Current version: Unicode 13.0.0 Current version: Unicode 14.0.0
## Development ## Development

2
boa_unicode/src/lib.rs

@ -1,5 +1,5 @@
//! This library implements the extension to query if a char belongs to a particular unicode identifier property. //! This library implements the extension to query if a char belongs to a particular unicode identifier property.
//! Version: Unicode 13.0.0 //! Version: Unicode 14.0.0
//! //!
//! More information: //! More information:
//! - [Unicode® Standard Annex #31][uax31] //! - [Unicode® Standard Annex #31][uax31]

4
boa_wasm/Cargo.toml

@ -1,6 +1,6 @@
[package] [package]
name = "boa_wasm" name = "boa_wasm"
version = "0.14.0" version = "0.15.0"
edition = "2021" edition = "2021"
rust-version = "1.60" rust-version = "1.60"
authors = ["boa-dev"] authors = ["boa-dev"]
@ -12,7 +12,7 @@ license = "Unlicense/MIT"
publish = false publish = false
[dependencies] [dependencies]
boa_engine = { path = "../boa_engine", features = ["console"], version = "0.14.0" } boa_engine = { path = "../boa_engine", features = ["console"], version = "0.15.0" }
wasm-bindgen = "0.2.80" wasm-bindgen = "0.2.80"
getrandom = { version = "0.2.6", features = ["js"] } getrandom = { version = "0.2.6", features = ["js"] }

1150
package-lock.json generated

File diff suppressed because it is too large Load Diff

2
test262

@ -1 +1 @@
Subproject commit 53d6cd6d463df461e1c506e0d2be4e36de0ef6fa Subproject commit 79e3bc5176b6f29a5aed3b7164a9c623a3a9a63b
Loading…
Cancel
Save