diff --git a/CHANGELOG.md b/CHANGELOG.md index e68e2706..9bebe398 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,30 @@ All notable changes to this project will be documented in this file. ## Table of Contents +* [1.2.0](#100---2023-04-20) * [1.1.0](#100---2022-01-05) * [1.0.0](#100---2021-01-18) * [0.4.1](#041---2020-02-02) * [0.3.0](#030---2019-07-16) * [0.2.0](#020---2019-04-16) +## [1.2.0] - 2023-04-20 + +## Added + +* Added support for Python 3.11 ([#696](https://github.com/wasmerio/wasmer-python/issues/696)) +* Added support for Python 3.10 ([#680](https://github.com/wasmerio/wasmer-python/issues/680)) +* Improvements to the documentation ([e880e25](https://github.com/wasmerio/wasmer-python/commit/e880e25)) + +## Changed + +* Updated to the latest version of Maturin (0.14.17) to fix failing Windows builds ([#715](https://github.com/wasmerio/wasmer-python/issues/715)) + +## Fixed +* Fixed compatibility issues with Python 3.11 ([#696](https://github.com/wasmerio/wasmer-python/issues/696)) +* Fixed compatibility issues with Python 3.10 ([#680](https://github.com/wasmerio/wasmer-python/issues/680)) +* Fixed typos in the documentation ([#639](https://github.com/wasmerio/wasmer-python/issues/639), [#681](https://github.com/wasmerio/wasmer-python/issues/681)) + ## [1.1.0] - 2022-01-05 ## Added @@ -42,24 +60,24 @@ All notable changes to this project will be documented in this file. ```python from wasmer import engine, wat2wasm, Module, Store, Instance from wasmer_compiler_cranelift import Compiler - + # Create an Engine jit = engine.JIT(Compiler) - + # Create a store. store = Store(jit) - + # Let's compile the Wasm module. module = Module(store, wasm_bytes) - + # Create an empty import object. import_object = {} - + # Let's instantiate the Wasm module. instance = Instance(module, import_object) ``` - Please refer to the [examples](examples) and + Please refer to the [examples](examples) and [documentation](https://docs.wasmer.io/integrations/python) to learn more about the changes. ## [0.4.1] - 2020-02-02 @@ -69,15 +87,15 @@ All notable changes to this project will be documented in this file. * New `Buffer` class to read memory fast ([#125](https://github.com/wasmerio/wasmer-python/pull/125) by [@Hywan]) - + To get the memory buffer, use the `Memory.buffer` getter. A `Buffer` implements the [Python Buffer Protocol](https://docs.python.org/3/c-api/buffer.html). The goal is to get faster reading operations than the existing memory views API. - + `bytearray(instance.memory.buffer)` is 15x faster than `instance.memory.int8_view()`. `memoryview(instance.memory.buffer)` is 14x faster than `instance.memory.int8_view()`. - + ```python # Get the memory buffer. buffer = Instance(wasm_bytes).memory.buffer @@ -95,7 +113,7 @@ All notable changes to this project will be documented in this file. * Support exported globals through the `Instance.globals` API ([#120](https://github.com/wasmerio/wasmer-python/pull/120) by [@Hywan]) - + ```python instance = Instance(wasm_bytes) x = instance.globals.x @@ -111,7 +129,7 @@ All notable changes to this project will be documented in this file. * Implement a WebAssembly custom section query API ([#118](https://github.com/wasmerio/wasmer-python/pull/118) by [@Hywan]) - + `Module.custom_section_names` is used to list all the custom section names. diff --git a/Cargo.lock b/Cargo.lock index 7d12fa96..c3592224 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1432,7 +1432,7 @@ checksum = "0237232789cf037d5480773fe568aac745bfe2afbc11a863e97901780a6b47cc" [[package]] name = "wasmer" -version = "1.1.0" +version = "1.2.0" dependencies = [ "cfg-if 1.0.0", "pyo3", @@ -1633,7 +1633,7 @@ dependencies = [ [[package]] name = "wasmer-engines" -version = "1.1.0" +version = "1.2.0" dependencies = [ "enumset", "pyo3", @@ -1731,7 +1731,7 @@ dependencies = [ [[package]] name = "wasmer_compiler_cranelift" -version = "1.1.0" +version = "1.2.0" dependencies = [ "pyo3", "wasmer-compiler-cranelift", @@ -1740,7 +1740,7 @@ dependencies = [ [[package]] name = "wasmer_compiler_llvm" -version = "1.1.0" +version = "1.2.0" dependencies = [ "pyo3", "wasmer-compiler-llvm", @@ -1749,7 +1749,7 @@ dependencies = [ [[package]] name = "wasmer_compiler_singlepass" -version = "1.1.0" +version = "1.2.0" dependencies = [ "pyo3", "wasmer-compiler-singlepass", diff --git a/packages/any-api/setup.py b/packages/any-api/setup.py index 457ba6e7..9aeb0365 100644 --- a/packages/any-api/setup.py +++ b/packages/any-api/setup.py @@ -10,7 +10,7 @@ setup( name='wasmer', - version='1.1.0', + version='1.2.0', author='The Wasmer Engineering Team', author_email='engineering@wasmer.io', license='MIT', diff --git a/packages/any-compiler-cranelift/setup.py b/packages/any-compiler-cranelift/setup.py index 28c6fb24..eb514e79 100644 --- a/packages/any-compiler-cranelift/setup.py +++ b/packages/any-compiler-cranelift/setup.py @@ -10,7 +10,7 @@ setup( name='wasmer-compiler-cranelift', - version='1.1.0', + version='1.2.0', author='The Wasmer Engineering Team', author_email='engineering@wasmer.io', license='MIT', diff --git a/packages/any-compiler-llvm/setup.py b/packages/any-compiler-llvm/setup.py index 441f8157..158fc8e1 100644 --- a/packages/any-compiler-llvm/setup.py +++ b/packages/any-compiler-llvm/setup.py @@ -10,7 +10,7 @@ setup( name='wasmer-compiler-llvm', - version='1.1.0', + version='1.2.0', author='The Wasmer Engineering Team', author_email='engineering@wasmer.io', license='MIT', diff --git a/packages/any-compiler-singlepass/setup.py b/packages/any-compiler-singlepass/setup.py index 90b27188..be81237a 100644 --- a/packages/any-compiler-singlepass/setup.py +++ b/packages/any-compiler-singlepass/setup.py @@ -10,7 +10,7 @@ setup( name='wasmer-compiler-singlepass', - version='1.1.0', + version='1.2.0', author='The Wasmer Engineering Team', author_email='engineering@wasmer.io', license='MIT', diff --git a/packages/api/Cargo.toml b/packages/api/Cargo.toml index fe782ea7..5989316a 100644 --- a/packages/api/Cargo.toml +++ b/packages/api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer" -version = "1.1.0" +version = "1.2.0" authors = ["Wasmer Engineering Team "] edition = "2018" description = "Python extension to run WebAssembly binaries" diff --git a/packages/compiler-cranelift/Cargo.toml b/packages/compiler-cranelift/Cargo.toml index 082dc77f..374aaf36 100644 --- a/packages/compiler-cranelift/Cargo.toml +++ b/packages/compiler-cranelift/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer_compiler_cranelift" -version = "1.1.0" +version = "1.2.0" authors = ["Wasmer Engineering Team "] edition = "2018" description = "The Cranelift compiler for the `wasmer` package (to compile WebAssembly module)" diff --git a/packages/compiler-llvm/Cargo.toml b/packages/compiler-llvm/Cargo.toml index 2b0d0bba..458c2295 100644 --- a/packages/compiler-llvm/Cargo.toml +++ b/packages/compiler-llvm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer_compiler_llvm" -version = "1.1.0" +version = "1.2.0" authors = ["Wasmer Engineering Team "] edition = "2018" description = "Python extension to run WebAssembly binaries" diff --git a/packages/compiler-singlepass/Cargo.toml b/packages/compiler-singlepass/Cargo.toml index 97b01268..b6c002cc 100644 --- a/packages/compiler-singlepass/Cargo.toml +++ b/packages/compiler-singlepass/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer_compiler_singlepass" -version = "1.1.0" +version = "1.2.0" authors = ["Wasmer Engineering Team "] edition = "2018" description = "Python extension to run WebAssembly binaries" diff --git a/packages/engines/Cargo.toml b/packages/engines/Cargo.toml index 80315e35..1f005f3e 100644 --- a/packages/engines/Cargo.toml +++ b/packages/engines/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-engines" -version = "1.1.0" +version = "1.2.0" authors = ["Wasmer Engineering Team "] edition = "2018" description = "Engines and sibling types for the `wasmer-*-python` crates" diff --git a/scripts/update-version.sh b/scripts/update-version.sh index 52487ee8..5399f4f0 100755 --- a/scripts/update-version.sh +++ b/scripts/update-version.sh @@ -13,7 +13,7 @@ fi : "${SED:=sed}" -CURRENT_VERSION="1.1.0" +CURRENT_VERSION="1.2.0" if [[ -z "$1" ]] then