You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+29-11Lines changed: 29 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,30 @@ All notable changes to this project will be documented in this file.
4
4
5
5
## Table of Contents
6
6
7
+
*[1.2.0](#100---2023-04-20)
7
8
*[1.1.0](#100---2022-01-05)
8
9
*[1.0.0](#100---2021-01-18)
9
10
*[0.4.1](#041---2020-02-02)
10
11
*[0.3.0](#030---2019-07-16)
11
12
*[0.2.0](#020---2019-04-16)
12
13
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
+
13
31
## [1.1.0] - 2022-01-05
14
32
15
33
## Added
@@ -42,24 +60,24 @@ All notable changes to this project will be documented in this file.
42
60
```python
43
61
from wasmer import engine, wat2wasm, Module, Store, Instance
44
62
from wasmer_compiler_cranelift import Compiler
45
-
63
+
46
64
# Create an Engine
47
65
jit = engine.JIT(Compiler)
48
-
66
+
49
67
# Create a store.
50
68
store = Store(jit)
51
-
69
+
52
70
# Let's compile the Wasm module.
53
71
module = Module(store, wasm_bytes)
54
-
72
+
55
73
# Create an empty import object.
56
74
import_object = {}
57
-
75
+
58
76
# Let's instantiate the Wasm module.
59
77
instance = Instance(module, import_object)
60
78
```
61
79
62
-
Please refer to the [examples](examples) and
80
+
Please refer to the [examples](examples) and
63
81
[documentation](https://docs.wasmer.io/integrations/python) to learn more about the changes.
64
82
65
83
## [0.4.1] - 2020-02-02
@@ -69,15 +87,15 @@ All notable changes to this project will be documented in this file.
69
87
* New `Buffer` class to read memory fast
70
88
([#125](https://github.com/wasmerio/wasmer-python/pull/125) by
71
89
[@Hywan])
72
-
90
+
73
91
To get the memory buffer, use the `Memory.buffer` getter. A `Buffer`
74
92
implements the [Python Buffer
75
93
Protocol](https://docs.python.org/3/c-api/buffer.html). The goal is
76
94
to get faster reading operations than the existing memory views API.
77
-
95
+
78
96
`bytearray(instance.memory.buffer)` is 15x faster than `instance.memory.int8_view()`.
79
97
`memoryview(instance.memory.buffer)` is 14x faster than `instance.memory.int8_view()`.
80
-
98
+
81
99
```python
82
100
# Get the memory buffer.
83
101
buffer = Instance(wasm_bytes).memory.buffer
@@ -95,7 +113,7 @@ All notable changes to this project will be documented in this file.
95
113
* Support exported globals through the `Instance.globals` API
96
114
([#120](https://github.com/wasmerio/wasmer-python/pull/120) by
97
115
[@Hywan])
98
-
116
+
99
117
```python
100
118
instance = Instance(wasm_bytes)
101
119
x = instance.globals.x
@@ -111,7 +129,7 @@ All notable changes to this project will be documented in this file.
111
129
* Implement a WebAssembly custom section query API
112
130
([#118](https://github.com/wasmerio/wasmer-python/pull/118) by
113
131
[@Hywan])
114
-
132
+
115
133
`Module.custom_section_names` is used to list all the custom section
0 commit comments