Skip to content

Commit f0e62dc

Browse files
committed
Merge branch 'staging'
2 parents fd00187 + b797dc2 commit f0e62dc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+98
-56
lines changed

CHANGELOG.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
99

10+
## [v0.4.3] - 2023-08-04
11+
12+
### Changes
13+
14+
- Scale Signatures for rust guests now properly use borrow/ownership semantics
15+
16+
### Fixes
17+
18+
- The NPM package for `scale` now has a proper `index.js` file so it can be imported
19+
1020
## [v0.4.2] - 2023-09-27
1121

1222
### Fixes
@@ -261,7 +271,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
261271

262272
- Initial release of the Scale Runtime library.
263273

264-
[unreleased]: https://github.com/loopholelabs/scale/compare/v0.4.2...HEAD
274+
[unreleased]: https://github.com/loopholelabs/scale/compare/v0.4.3...HEAD
275+
[v0.4.3]: https://github.com/loopholelabs/scale/compare/v0.4.3
265276
[v0.4.2]: https://github.com/loopholelabs/scale/compare/v0.4.2
266277
[v0.4.1]: https://github.com/loopholelabs/scale/compare/v0.4.1
267278
[v0.4.0]: https://github.com/loopholelabs/scale/compare/v0.4.0

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "scale_rs"
3-
version = "0.4.2"
3+
version = "0.4.3"
44
edition = "2021"
55
description = "Scale is a framework for building high-performance plugin systems into any application, all powered by WebAssembly."
66
homepage = "https://scale.sh"

compile/rust/templates/lib.rs.templ

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub unsafe extern "C" fn run() -> u64 {
2020
let (ptr, len) = match signature::read() {
2121
Ok(opt) => {
2222
let output_opt = match opt {
23-
Some(mut input) => { {{ .package_schema.Name }}::{{ .package_schema.Function }}(Some(&mut input)) },
23+
Some(input) => { {{ .package_schema.Name }}::{{ .package_schema.Function }}(Some(input)) },
2424
None => { {{ .package_schema.Name }}::{{ .package_schema.Function }}(None) }
2525
};
2626
match output_opt {

compile/typescript/builder/interpreter/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ path = "main.rs"
1515
scale_signature_interfaces = "0.1.7"
1616
quickjs-wasm-sys = "1.1.0"
1717
once_cell = "1.4.0"
18-
polyglot_rs = "1.1.2"
18+
polyglot_rs = "1.1.3"
1919
anyhow = "1.0.75"
2020
flate2 = { version = "1.0.25", optional = true}
2121

0 commit comments

Comments
 (0)