@@ -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 )
19+ * Added support for Python 3.10 (#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 )
25+
26+ ## Fixed
27+ * Fixed compatibility issues with Python 3.11 (#696 )
28+ * Fixed compatibility issues with Python 3.10 (#680 )
29+ * Fixed typos in the documentation (#639 , #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
0 commit comments