-
Notifications
You must be signed in to change notification settings - Fork 1
/
Changes
162 lines (135 loc) · 7.19 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
Revision history for {{$dist->name}},
{{$NEXT}}
0.23 2022-11-04 06:33:12 -0600
- removed wasmtime_config_max_instances_set from Wasm::Wasmtime::Config
(gh#117)
0.22 2022-10-26 13:13:48 -0600
- Require Alien::wasmtime 0.16 or wasmtime 0.22.1 (gh#98)
- Experimental compatability for wasmtime 0.23.0 (gh#109, gh#111)
0.21 2020-11-06 03:57:12 -0700
- Require Alien::wasmtime 0.15 or wasmtime 0.21.0 (gh#96)
0.20 2020-10-01 05:35:43 -0600
- Added gc method to Wasm::Wasmtime::Store class (gh#91)
- Added serialize and deserialize methods to Wasm::Wasmtime::Module (gh#91)
- Require Alien::wasmtime 0.14 or wasmtime 0.20.0 (gh#94)
0.19 2020-08-17 02:55:34 -0600
- The deprecated store method on Wasm::Wasmtime::Module has been removed (gh#93)
- The deprecated ability to create a Wasm::Wasmtime::Instance instance without a
Wasm::Wasmtime::Store object has been removed (gh#93)
- You may now pass a Wasm::Wasmtime::Engine instance into the
Wasm::Wasmtime::Module constructor (gh#93)
- Passing a Wasm::Wasmtime::Store instance into the Wasm::Wasmtime::Module
constructor is now deprecated, pass a Wasm::Wasmtime::Engine instead (gh#93)
0.18 2020-07-21 17:26:23 -0600
- Added get_one_by_name method to Wasm::Wasmtime::Linker class (gh#73, gh#87)
- Added Wasm::Trap class (gh#86, gh#89)
0.17 2020-07-20 10:27:52 -0600
- Require Wasmtime 0.19.0 (via Alien::wasmtime 0.12 if necessary) (gh#73, gh#82)
- The store method on Wasm::Wasmtime::Module is deprecated and will be
removed from a future version of Wasm::Wasmtime (gh#73, gh#83)
- Creating a Wasm::Wasmtime::Instance instance without a
Wasm::Wasmtime::Store object is now deprecated and will be removed
from a future version of Wasm::Wasmtime (gh#73, gh#83)
- Wasm::Wasmtime::Trap objects are thrown directly via die instead of
being converted into Perl string exceptions. (gh#73, gh#85)
- Wasm::Wasmtime::Trap stringifies to its message for easy to read
diagnostics. (gh#73, gh#85)
- Added exit_status method on Wasm::Wasmtime::Trap class (gh#72, gh#73, gh#85)
0.16 2020-07-18 06:07:45 -0600
- Instance constructor may return a more useful error message on failure (gh#73, gh#79)
- Added get_default method for Wasm::Wasmtime::Linker (gh#73, gh#79)
0.15 2020-07-18 04:18:31 -0600
- Compatability with wasmtime 0.19.0 (gh#75, gh#77)
- Remove workaround for wasmtime 0.16.0 (gh#78)
0.14 2020-06-07 21:03:13 -0600
- Require minimum Perl 5.8.4. This was already the case in practice
since 0.11 when Wasm::Hook was merged, as it uses autodie (gh#69)
- Fix a couple of tests that needed Test2::Plugin::Wasm (gh#68)
0.12 2020-06-05 22:04:20 -0600
- Added wasm_caller_memory function to Wasm::Memory (gh#67)
0.11 2020-06-05 16:43:31 -0600
- Added Wasm::Wasmtime::Caller (gh#63)
- Merged Wasm::Hook into this dist (gh#64)
0.10 2020-05-15 14:08:03 -0600
- Bump required Alien::wasmtime 0.09 and wasmtime to 0.16.0 (gh#57)
- Added interruptable and max_wasm_stack to Wasm::Wasmtime::Config (gh#57)
0.09 2020-05-10 15:59:01 -0600
- Wasm::Wasmtime::Memory constructor can take a array reference in place
of the Wasm::Wasmtime::MemoryType (gh#48, gh#49)
- Added Wasm::Func (gh#50, gh#51)
- Added Wasm::Global (gh#50, gh#51)
- Added Wasm::Memory (gh#48, gh#49)
- Added to_string method to all Wasm::Wasmtime::*Type classes
and Wasm::Wasmtime::Module (gh#52)
- Added cache_config_load and cache_config_default methods to
Wasm::Wasmtime::Config (gh#39, gh#54)
0.08 2020-05-08 18:18:40 -0600
- Added tie method to Wasm::Wasmtime::Global (gh#46)
- Added store method to Wasm::Wasmtime::Linker (gh#31, gh#47)
- Wasm.pm uses Wasm::Wasmtime::Linker internally now, which means
that Wasm modules can import/export between themselves (gh#31, gh#47)
- Added %Wasm::WASM hash that maps Wasm modules to the files
they were loaded from (gh#31, gh#47)
- Exported globals of Wasm modules are now imported into the
corresponding Perl namespace via a tied scalar (gh#31, gh#47)
- Functions and globals can be imported into Wasm (gh#31, gh47)
[Warning: breaking changes]
- The -imports option was removed from Wasm.pm (gh#31, gh#47)
0.07 2020-05-07 13:52:00 -0600
- Add Test2::Plugin::Wasm (gh#36)
- Add Wasm::Wasmtime::Instance::Exports class (gh#38, gh#44)
- Add Wasm::Wasmtime::Module::Exports class (gh#38, gh#44)
- Add Wasm::Wasmtime::Module::Imports class (gh#38, gh#44)
[Warning: numerous breaking changes]
- Wasm::Wasmtime::Extern, amd ::ExternType are now base classes
and no longer require casting (gh#37, gh#40)
- Removed as_externtype method from the Wasm::Wasmtime::FuncType,
::GlobalType, ::MemoryType and ::TableType classes (gh#37, gh#40)
- Removed as_extern method from the Wasm::Wasmtime::Func, ::Global,
::Memory and ::Table classes (gh#37, gh#40)
- Added predicate methods is_func, is_global, is_table and is_memory
to Wasm::Wasmtime::Extern class (gh#37, gh#40)
- Added predicate methods is_functype, is_globaltype, is_tabletype
and is_memorytype to Wasm::Wasmtime::ExternType class (gh#37, gh#40)
- Removed the get_export method on Wasm::Wasmtime::Module (gh#38, gh#44)
- Removed the get_export method on Wasm::Wasmtime::Instance (gh#38, gh#44)
- The Wasm::Wasmtime::Module method exports returns a
Wasm::Wasmtime::Module::Exports object instead of a list of
exports (gh#38, gh#44)
- The Wasm::Wasmtime::Module method imports returns a
Wasm::Wasmtime::Module::Imports object instead of a list of
imports (gh#38, gh#44)
- The Wasm::Wasmtime::Instance method exports returns a
Wasm::Wasmtime::Instance::Exports object instead of a list of
exports (gh#38, gh#44)
0.06 2020-04-27 06:47:38 -0600
- Improved type safety (gh#32)
0.05 2020-04-14 14:23:12 -0400
- Added Wasm::Wasmtime::Global class (gh#27)
- Added Wasm::Wasmtime::Table class (gh#29)
- Require Alien::wasmtime 0.07 to test for OOM tests
(gh#22, gh#30, perlwasm/Alien-wasmtime#9)
0.04 2020-04-13 13:49:46 -0600
- Added Wasm::Wasmtime::Linker class (gh#23)
- Added Wasm::Wasmtime::GlobalType class (gh#24)
- Added Wasm::Wasmtime::TableType class (gh#25)
0.03 2020-04-11 16:19:37 -0600
- Remove code reference overload for Wasm::Wasmtime::Extern (gh#18)
- Added kind and kind_num methods to Wasm::Wasmtime::Extern (gh#18)
- Added as_extern methods to Wasm::Wasmtime::Func and
Wasm::Wasmtime::Memory (gh#18)
- Added Wasm::Wasmtime::ImportType class (gh#19)
- Added imports method to Wasm::Wasmtime::Module (gh#19)
- Support callback into Perl with params, results and traps (gh#20)
- Added -imports option for Wasm (gh#20)
0.02 2020-04-11 08:36:52 -0600
- Added -exporter option to Wasm module (gh#14)
- Wasm::Wasmtime::Func attach method will carp when
replacing an existing subroutine instead of relying
on the built-in warning which unhelpfully indicates
Func.pm as the location of the warning (gh#15)
- Added kind_num method to Wasm::Wasmtime::ExternType (gh#16)
- Added as_externtype method to Wasm::Wasmtime::FuncType (gh#16)
- Added as_externtype method to Wasm::Wasmtime::MemoryType (gh#16)
0.01 2020-04-10 17:41:13 -0600
- initial version