Releases: bytecodealliance/javy
v6.0.0
What's Changed
The big change with v6.0.0 is the plugin API expected by the Javy CLI has changed in a breaking way. Please consult the extending Javy documentation for the new plugin API and the README in the javy-plugin-api
crate for steps to migrate your plugin.
- Update config schema API to not use WASI by @jeffcharles in #964
- Remove eval_bytecode from default plugin and update namespace by @jeffcharles in #978
- Update docs on JS API support by @sandstrom in #981
- Fix compression bug by @jeffcharles in #983
- Move plugin validation to the codegen crate by @jeffcharles in #977
- Remove wasmtime-wasi when fetching supported config by @jeffcharles in #984
- Add codegen option for including source by @william-stacken in #994
- Implement WASI preview 2 plugin RFC by @jeffcharles in #958
- Use enum for source inclusion and compression by @jeffcharles in #997
New Contributors
- @william-stacken made their first contribution in #994
Full Changelog: v5.0.4...v6.0.0
v5.0.4
- Fixed a bug where Wasm modules produced by the Javy CLI would contain the version of the the
javy-codegen
crate instead of the Javy CLI in their producers custom section
v5.0.3
What's Changed
- Error when the same options are presented multiple times by @jeffcharles in #916
Full Changelog: v5.0.2...v5.0.3
v5.0.2
What's Changed
javy init-plugin
now supports plugins that use LEB128 variable-length integer encoding for zero index values in their Wasm. This means initializing plugins compiled with Rust 1.85 should no longer return error messages about index values.- glibc 2.35 (instead of 2.31) is now required to run the Javy CLI on Linux. For reference, Ubuntu 22.04 ships with glibc 2.35.
New Contributors
- @ianmarmour made their first contribution in #879
Full Changelog: v5.0.1...v5.0.2
v5.0.1
What's Changed
- Fix help text for plugin codegen option by @jeffcharles in #880
- Support plugins with imported functions by @jeffcharles in #881
Full Changelog: v5.0.0...v5.0.1
v5.0.0
What's Changed
- Make event loop a runtime config instead of a Cargo feature
- Remove support for
Javy.JSON
(-J javy-json
has been removed) - Remove
console.log
redirect to stderr (-J redirect-stdout-to-stderr
has been removed)
Full Changelog: v4.0.0...v5.0.0
v4.0.0
What's Changed
This release involves two breaking changes to the CLI.
javy emit-provider
has been renamed tojavy emit-plugin
.javy build -C dynamic
now requires a-C plugin=...
argument as well.javy emit-plugin
can be used to obtain a default plugin that can be used for building dynamically linked modules.
Also, the javy-plugin-api
crate has been published to crates.io so it can be used to author your own Javy plugins!
- Switch plugin to build on Linux by @jeffcharles in #830
- Rename emit-provider subcommand to emit-plugin by @jeffcharles in #819
- Add support for plugins to dynamically linked modules by @jeffcharles in #821
- Update docs for plugins by @jeffcharles in #832
- v4.0.0 by @jeffcharles in #834
Full Changelog: v3.2.0...v4.0.0
v3.2.0
What's Changed
Basic plugin support for static modules has been added. Although the javy-plugin-api
crate needs to be published first to be able to make use of it.
- Add init-plugin subcommand by @jeffcharles in #798
- Allow plugins when building static modules by @jeffcharles in #813
- Update wording about javy compile in help text by @jeffcharles in #814
- Fix WIT world help text by @jeffcharles in #815
- v3.2.0 by @jeffcharles in #820
Full Changelog: v3.1.2...v3.2.0
v3.1.2
What's Changed
- Bump rollup from 4.21.2 to 4.22.4 in /npm/javy by @dependabot in #763
- Bump rollup and vite in /crates/cli/benches/functions/complex_discount by @dependabot in #764
- Bump rollup from 3.7.3 to 3.29.5 in /wpt by @dependabot in #765
- Bump @rollup/plugin-node-resolve from 15.2.3 to 15.3.0 in /npm/javy by @dependabot in #774
- Bump vite from 5.4.6 to 5.4.8 in /npm/javy by @dependabot in #773
- Bump typescript from 5.5.4 to 5.6.2 in /npm/javy by @dependabot in #772
- Bump vite-plugin-dts from 4.1.0 to 4.2.3 in /npm/javy by @dependabot in #775
- Bump rollup from 4.22.4 to 4.23.0 in /npm/javy by @dependabot in #771
- Bump simd-json from 0.14.0-rc.3 to 0.14.0 by @dependabot in #770
- Bump the nonbreaking group with 8 updates by @dependabot in #769
- Use the v2 provider to
compile
by @saulecabrera in #777 - Have provider
invoke
fn support not being given a function name by @jeffcharles in #776 - v3.1.2 by @saulecabrera in #778
Full Changelog: v3.1.1...v3.1.2
v3.1.1
What's Changed
- Bump vite-plugin-dts from 4.0.3 to 4.1.0 in /npm/javy by @dependabot in #744
- Bump rollup from 4.20.0 to 4.21.2 in /npm/javy by @dependabot in #743
- Revamp documentation by @saulecabrera in #752
- Bump the nonbreaking group across 1 directory with 11 updates by @dependabot in #754
- Bump vite from 5.4.2 to 5.4.6 in /npm/javy by @dependabot in #755
- Bump vite from 3.2.10 to 3.2.11 in /crates/cli/benches/functions/complex_discount by @dependabot in #756
- Update simd-json to remove security vulnerability by @jeffcharles in #757
- v3.0.1 of Javy crate by @jeffcharles in #758
- Bump javy crate version to 3.0.2-alpha.1 by @jeffcharles in #760
- Add note about running git submodule deinit to Javy README by @jeffcharles in #759
- Fully thread the
source-compression
value by @saulecabrera in #761 - v3.1.1 by @saulecabrera in #762
Full Changelog: v3.1.0...v3.1.1