Skip to content

Commit 9d3f2dd

Browse files
author
Ayush Jha
authored
Merge pull request #721 from wasmerio/prepare-1.2.0
Prepare the 1.2.0 release
2 parents bf419ad + ad561a1 commit 9d3f2dd

File tree

12 files changed

+44
-26
lines changed

12 files changed

+44
-26
lines changed

CHANGELOG.md

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,30 @@ All notable changes to this project will be documented in this file.
44

55
## Table of Contents
66

7+
* [1.2.0](#100---2023-04-20)
78
* [1.1.0](#100---2022-01-05)
89
* [1.0.0](#100---2021-01-18)
910
* [0.4.1](#041---2020-02-02)
1011
* [0.3.0](#030---2019-07-16)
1112
* [0.2.0](#020---2019-04-16)
1213

14+
## [1.2.0] - 2023-04-20
15+
16+
## Added
17+
18+
* Added support for Python 3.11 ([#696](https://github.com/wasmerio/wasmer-python/issues/696))
19+
* Added support for Python 3.10 ([#680](https://github.com/wasmerio/wasmer-python/issues/680))
20+
* Improvements to the documentation ([e880e25](https://github.com/wasmerio/wasmer-python/commit/e880e25))
21+
22+
## Changed
23+
24+
* Updated to the latest version of Maturin (0.14.17) to fix failing Windows builds ([#715](https://github.com/wasmerio/wasmer-python/issues/715))
25+
26+
## Fixed
27+
* Fixed compatibility issues with Python 3.11 ([#696](https://github.com/wasmerio/wasmer-python/issues/696))
28+
* Fixed compatibility issues with Python 3.10 ([#680](https://github.com/wasmerio/wasmer-python/issues/680))
29+
* Fixed typos in the documentation ([#639](https://github.com/wasmerio/wasmer-python/issues/639), [#681](https://github.com/wasmerio/wasmer-python/issues/681))
30+
1331
## [1.1.0] - 2022-01-05
1432

1533
## Added
@@ -42,24 +60,24 @@ All notable changes to this project will be documented in this file.
4260
```python
4361
from wasmer import engine, wat2wasm, Module, Store, Instance
4462
from wasmer_compiler_cranelift import Compiler
45-
63+
4664
# Create an Engine
4765
jit = engine.JIT(Compiler)
48-
66+
4967
# Create a store.
5068
store = Store(jit)
51-
69+
5270
# Let's compile the Wasm module.
5371
module = Module(store, wasm_bytes)
54-
72+
5573
# Create an empty import object.
5674
import_object = {}
57-
75+
5876
# Let's instantiate the Wasm module.
5977
instance = Instance(module, import_object)
6078
```
6179

62-
Please refer to the [examples](examples) and
80+
Please refer to the [examples](examples) and
6381
[documentation](https://docs.wasmer.io/integrations/python) to learn more about the changes.
6482

6583
## [0.4.1] - 2020-02-02
@@ -69,15 +87,15 @@ All notable changes to this project will be documented in this file.
6987
* New `Buffer` class to read memory fast
7088
([#125](https://github.com/wasmerio/wasmer-python/pull/125) by
7189
[@Hywan])
72-
90+
7391
To get the memory buffer, use the `Memory.buffer` getter. A `Buffer`
7492
implements the [Python Buffer
7593
Protocol](https://docs.python.org/3/c-api/buffer.html). The goal is
7694
to get faster reading operations than the existing memory views API.
77-
95+
7896
`bytearray(instance.memory.buffer)` is 15x faster than `instance.memory.int8_view()`.
7997
`memoryview(instance.memory.buffer)` is 14x faster than `instance.memory.int8_view()`.
80-
98+
8199
```python
82100
# Get the memory buffer.
83101
buffer = Instance(wasm_bytes).memory.buffer
@@ -95,7 +113,7 @@ All notable changes to this project will be documented in this file.
95113
* Support exported globals through the `Instance.globals` API
96114
([#120](https://github.com/wasmerio/wasmer-python/pull/120) by
97115
[@Hywan])
98-
116+
99117
```python
100118
instance = Instance(wasm_bytes)
101119
x = instance.globals.x
@@ -111,7 +129,7 @@ All notable changes to this project will be documented in this file.
111129
* Implement a WebAssembly custom section query API
112130
([#118](https://github.com/wasmerio/wasmer-python/pull/118) by
113131
[@Hywan])
114-
132+
115133
`Module.custom_section_names` is used to list all the custom section
116134
names.
117135

Cargo.lock

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

packages/any-api/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name='wasmer',
13-
version='1.1.0',
13+
version='1.2.0',
1414
author='The Wasmer Engineering Team',
1515
author_email='engineering@wasmer.io',
1616
license='MIT',

packages/any-compiler-cranelift/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name='wasmer-compiler-cranelift',
13-
version='1.1.0',
13+
version='1.2.0',
1414
author='The Wasmer Engineering Team',
1515
author_email='engineering@wasmer.io',
1616
license='MIT',

packages/any-compiler-llvm/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name='wasmer-compiler-llvm',
13-
version='1.1.0',
13+
version='1.2.0',
1414
author='The Wasmer Engineering Team',
1515
author_email='engineering@wasmer.io',
1616
license='MIT',

packages/any-compiler-singlepass/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name='wasmer-compiler-singlepass',
13-
version='1.1.0',
13+
version='1.2.0',
1414
author='The Wasmer Engineering Team',
1515
author_email='engineering@wasmer.io',
1616
license='MIT',

packages/api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasmer"
3-
version = "1.1.0"
3+
version = "1.2.0"
44
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
55
edition = "2018"
66
description = "Python extension to run WebAssembly binaries"

packages/compiler-cranelift/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasmer_compiler_cranelift"
3-
version = "1.1.0"
3+
version = "1.2.0"
44
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
55
edition = "2018"
66
description = "The Cranelift compiler for the `wasmer` package (to compile WebAssembly module)"

packages/compiler-llvm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasmer_compiler_llvm"
3-
version = "1.1.0"
3+
version = "1.2.0"
44
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
55
edition = "2018"
66
description = "Python extension to run WebAssembly binaries"

packages/compiler-singlepass/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasmer_compiler_singlepass"
3-
version = "1.1.0"
3+
version = "1.2.0"
44
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
55
edition = "2018"
66
description = "Python extension to run WebAssembly binaries"

0 commit comments

Comments
 (0)