-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCHANGES-JSE
195 lines (151 loc) · 7.71 KB
/
CHANGES-JSE
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
Below are the changes for SWIG JSE compared to the main trunk.
See the CHANGES file for changes in the main trunk.
See the RELEASENOTES file for a summary of changes in each release.
Issue # numbers mentioned below can be found on Github. For more details, add
the issue number to the end of the URL: https://github.com/swig/swig/issues/
Version 5.0.6
===========================
2024-10-16: mmomtchev
[JavaScript] Fix [mmomtchev/swig#84](https://github.com/mmomtchev/swig/issues/84),
`std::shared_ptr` typemaps do not work with `NULL` values
2024-10-16: mmomtchev
[JavaScript] Use TypeScript type branding for representing C/C++
opaque objects and allow `null` values
2024-10-15: mmomtchev
[JavaScript] Fix [mmomtchev/swig#80](https://github.com/mmomtchev/swig/issues/80),
namespaces for forward class declarations without `%nspace`
2024-10-14: mmomtchev
[JavaScript] Fix [mmomtchev/swig#76](https://github.com/mmomtchev/swig/issues/76),
track namespaces for forward class declarations
2024-10-10: mmomtchev
[JavaScript] Fix [mmomtchev/swig#72](https://github.com/mmomtchev/swig/issues/72),
correctly resolve TypeScript types from C/C++ forward
declarations
2024-10-10: mmomtchev
[JavaScript] Add `-debug-tstypes` debug option for aiding
when debugging TypeScript types resolution
2024-10-10: mmomtchev
[JavaScript] Generate correct TypeScript type for `char []`
Version 5.0.5 (9 Sep 2024)
===========================
2024-09-09: mmomtchev
[build] `conan` build compatibility: getting `bison` from the
environment and case-insensitive path equality test
2024-09-08: mmomtchev
[JavaScript] Fix [mmomtchev/swig#37](https://github.com/mmomtchev/swig/issues/37),
Generated code compilation fails with `clang` on Windows
2024-09-01: mmomtchev
[JavaScript] Fix [mmomtchev/swig#62](https://github.com/mmomtchev/swig/issues/62),
eliminate `$argnum` from JavaScript C-style array typemaps
Version 5.0.4 (30 Jul 2024)
===========================
2024-07-17: mmomtchev
[JavaScript] Fix [mmomtchev/swig#58](https://github.com/mmomtchev/swig/issues/58),
remove the unused dependency on the `uv.h` header
2024-07-14: mmomtchev
[JavaScript] Support emsdk up to 3.1.63
2024-04-17: mmomtchev
[JavaScript] Fix [mmomtchev/swig#52](https://github.com/mmomtchev/swig/issues/52),
double free with certain arguments when a `check` typemap
explicitly rejects in async mode
2024-03-28: mmomtchev
[JavaScript] Add `SWIG_NAPI_SetInstanceData` and
`SWIG_NAPI_GetInstanceData` allowing modules to store per-isolate
context data
2024-03-28: mmomtchev
[JavaScript] Fix [mmomtchev/swig#47](https://github.com/mmomtchev/swig/issues/47),
expand `$owner` in `argout` typemaps
2024-03-27: mmomtchev
[JavaScript] Support using `std` containers with non-copyable
objects
2024-03-27: mmomtchev
[JavaScript] `std::pair` with copy conversion for Node-API
(Node.js and WASM)
2024-03-22: mmomtchev
[JavaScript] Basic `std::shared_ptr` support for Node-API
(Node.js and WASM)
2024-03-20: mmomtchev
Implement [swig/swig#2837](https://github.com/swig/swig/issues/2837),
support `%rename` matching on C++11/C23 attributes
2024-03-26: mmomtchev
[JavaScript] Fix [mmomtchev/swig#43](https://github.com/mmomtchev/swig/issues/43),
`$Tntype` expansion does not support templated classes with
multiple arguments
2024-03-26: mmomtchev
[JavaScript] Fix [mmomtchev/swig#44](https://github.com/mmomtchev/swig/issues/44),
`std::map RETURN` typemap does not compile
Version 5.0.3 (29 Feb 2024)
===========================
2024-02-29: mmomtchev
[JavaScript] Fix [mmomtchev/swig#33](https://github.com/mmomtchev/swig/issues/33),
the `ArrayBuffer` tmap does not properly handle zero-length
`ArrayBuffer` when compiling with emscripten
2024-02-29: mmomtchev
[JavaScript] Fix [mmomtchev/swig#31](https://github.com/mmomtchev/swig/issues/31),
the `ArrayBuffer` tmap is missing the `emnapi` synchronization
unless `-D__EMSCRIPTEN__` is passed when running SWIG
Version 5.0.2 (28 Feb 2024)
===========================
2024-02-28: mmomtchev
[JavaScript] Fix [mmomtchev/swig#28](https://github.com/mmomtchev/swig/issues/28),
execute the `freearg` tmap when throwing synchronously while
processing the arguments from an async handler
2024-02-28: mmomtchev
[JavaScript] Fix [mmomtchev/swig#26](https://github.com/mmomtchev/swig/issues/26),
free the memory used by member pointer objects
2024-02-24: mmomtchev
[JavaScript] Fix [mmomtchev/swig#23](https://github.com/mmomtchev/swig/issues/23),
Fix and clarify the situation with the buffer ownership of the
typemaps that create new `Buffer` or `ArrayBuffer`
Version 5.0.1 (30 Jan 2024)
===========================
2024-01-30: mmomtchev
[JavaScript] Fix [mmomtchev/swig#20](https://github.com/mmomtchev/swig/issues/20),
Fix the `emnapi` breaking changes related to my affair
Version 5.0.0 (29 Jan 2024)
===========================
2024-01-25: mmomtchev
[JavaScript] Fix [mmomtchev/swig#16](https://github.com/mmomtchev/swig/issues/16),
do not leak memory when using string arguments in a
throwing constructor
2024-01-25: mmomtchev
[JavaScript] Fix [mmomtchev/swig#17](https://github.com/mmomtchev/swig/issues/17),
allow catching of exceptions raised in `out` typemaps in
async mode
2024-01-25: mmomtchev
[JavaScript] Fix [swig/swig#2563](https://github.com/swig/swig/issues/2563),
include `freearg` typemaps on the exception path for all
JavaScript engines
**POTENTIALLY BREAKING FOR EXISTING JAVASCRIPT PROJECTS**
Version 5.0.0-rc.3 (22 Jan 2024)
===========================
2024-01-22: mmomtchev
[JavaScript] Emit a new warning when encountering an overload
between a static and non-static member function which is
currently not supported in JavaScript
2024-01-22: mmomtchev
[JavaScript] Implement and document new `INPUT`, `OUTPUT` and
`RETURN` typemaps that automatically convert `std::vector` and
`std::map` STL containers
2024-01-22: mmomtchev
[JavaScript] Document `Buffer` and `ArrayBuffer` and add some
missing TypeScript typemaps in order to always correctly identify
`ArrayBuffer` instead of simply returning `any`
Version 5.0.0-rc.2 (18 Jan 2024)
===========================
2024-01-18: mmomtchev
[JavaScript] Fix [mmomtchev/swig#8](https://github.com/mmomtchev/swig/issues/8),
switch the `%feature("async", "Async") Klass::%any` invalid syntax
to `%feature("async", "Async") Klass::$any`
2024-01-17: mmomtchev
[JavaScript] Fix [mmomtchev/swig#5](https://github.com/mmomtchev/swig/issues/5),
do not export symbols in namespaces when
using `-exports`
Version 5.0.0-rc.1 (17 Jan 2024)
===========================
2024-01-17: mmomtchev
[JavaScript] Asynchronous wrappers support for SWIG Node-API
[JavaScript] TypeScript support
[JavaScript] Code splitting for SWIG Node-API
[JavaScript] WASM compatibility for SWIG Node-API
[JavaScript] Named exports for SWIG Node-API