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
+47-25Lines changed: 47 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,9 @@
1
+
# 0.15.0
2
+
3
+
* quickjs-ng 0.10.0
4
+
* quickjs 2025-04-26
5
+
* some minor but api breaking changes
6
+
1
7
# 0.14.9
2
8
3
9
* TypeScript::TRANSPILER no longer uses external_helpers by default
@@ -57,15 +63,16 @@
57
63
58
64
# 0.13.0
59
65
60
-
* support quickjs-ng (v 0.3.0) as feature, it compiles, some test cases fail (bigint) but should be a nice first step
66
+
* support quickjs-ng (v 0.3.0) as feature, it compiles, some test cases fail (bigint) but should be a nice first step
61
67
62
68
# 0.12.1
63
69
64
70
* bugfix: console.log("a:%s", undefined); would fail
65
71
66
72
# 0.12.0
67
73
68
-
* uses hirofa-quickjs-sys 0.2.0 and ['bellard'] feature and thus the 2024-01-13 version of the original quickjs by Fabrice Bellard
74
+
* uses hirofa-quickjs-sys 0.2.0 and ['bellard'] feature and thus the 2024-01-13 version of the original quickjs by
75
+
Fabrice Bellard
69
76
* added get_proxy_instance_id for getting instance id without looking up the proxy
70
77
* console functions output source filename
71
78
@@ -156,18 +163,19 @@
156
163
157
164
# 0.7
158
165
159
-
## 0.7.2
166
+
## 0.7.2
160
167
161
168
* fix for #62 (nested callback creation/drop fails)
162
169
163
-
## 0.7.1
170
+
## 0.7.1
164
171
165
172
* fn to calc memory usage
166
173
* implemented static event handlers for proxies
167
174
168
175
## 0.7.0
169
176
170
-
* implemented js_proxy_new_instance_with_id from utils which allows you to create an instance of a proxy with a predefined id
177
+
* implemented js_proxy_new_instance_with_id from utils which allows you to create an instance of a proxy with a
178
+
predefined id
171
179
* implemented set_prop / has_prop functions in proxies
172
180
* implemented CompiledModuleLoader
173
181
* implemented jsValueAdapter.js_to_str()
@@ -186,7 +194,8 @@
186
194
* renamed EsRuntime to QuickJsRuntimeFacade, and others to follow same conventions
187
195
* removed fetch api (moved to greencopperruntime)
188
196
* removed all panics when async promise resolution fails because of the realm being invalid
189
-
* implemented a lot of js_utils abstractions, please note that js_utils::JsValueFacade will someday deprecate quickjs_runtime::EsValueFacade
197
+
* implemented a lot of js_utils abstractions, please note that js_utils::JsValueFacade will someday deprecate
198
+
quickjs_runtime::EsValueFacade
190
199
191
200
# 0.5
192
201
@@ -200,9 +209,11 @@
200
209
* replaced EsScript with js_utils::Script
201
210
* replaced ScriptPreProcessor with js_utils::ScriptPreProcessor
202
211
* replaced EsError with js_utils::JsError
203
-
* implemented utils::js_utils (generic adapters and facades, see [the green copper plan](https://github.com/HiRoFa/GreenCopperRuntime/blob/main/README.md#roadmap--the-plan) for what's this all about)
212
+
* implemented utils::js_utils (generic adapters and facades,
213
+
see [the green copper plan](https://github.com/HiRoFa/GreenCopperRuntime/blob/main/README.md#roadmap--the-plan) for
214
+
what's this all about)
204
215
* changes to function definitions
205
-
* fixed interrupt handler
216
+
* fixed interrupt handler
206
217
207
218
# 0.4
208
219
@@ -211,11 +222,11 @@
211
222
* moved reflection code to reflection/mod.rs (should not affect api)
212
223
* toPrimitive for Proxy classes (do stuff like console.log('got: ' + MyProxyInstanceOrClass))
213
224
* removed droppablevalue, replaced with JSPropertyEnumRef
214
-
* added is_enumerable(index) fn to JSPropertyEnumRef
225
+
* added is_enumerable(index) fn to JSPropertyEnumRef
215
226
* added get_name(index) fn to JSPropertyEnumRef
216
227
* added interrupt_handler
217
228
218
-
## 0.4.1
229
+
## 0.4.1
219
230
220
231
* altered tokio dep, full is now optional (prevents valgrind errors)
221
232
* altered utils dep to 0.1
@@ -227,8 +238,8 @@
227
238
228
239
* use EventLoop from hirofa_utils, cleaner code, much less Mutexes
229
240
* Renamed a lot of public methods
230
-
* e.g. rt.add_to_es_event_queue_sync -> rt.exe_rt_task_in_event_loop()
231
-
* e.g. rt.add_to_es_event_queue -> rt.add_rt_task_to_event_loop()
241
+
* e.g. rt.add_to_es_event_queue_sync -> rt.exe_rt_task_in_event_loop()
242
+
* e.g. rt.add_to_es_event_queue -> rt.add_rt_task_to_event_loop()
232
243
* Removed EsRuntime.inner Arc, was a duplicate solution to the same problem
233
244
* mit lic
234
245
* script preprocessors
@@ -242,19 +253,23 @@
242
253
243
254
# 0.2
244
255
245
-
## 0.2.3
256
+
## 0.2.3
246
257
247
-
* added a runtime_init_hook(hook) method to the EsRuntimeBuilder so we can add vars to the runtime when the builder is built
258
+
* added a runtime_init_hook(hook) method to the EsRuntimeBuilder so we can add vars to the runtime when the builder is
259
+
built
248
260
* added EsPromise::new_async which can be used to instantiate a Promise with an async resolver
249
-
* Big thanks to [SreeniIO](https://github.com/SreeniIO) for helping out!
250
-
* refactored the module loaders in qjsrt so we can differentiate between script and native... I need that for CommonJS and probably later for transpiling and such
261
+
* Big thanks to [SreeniIO](https://github.com/SreeniIO) for helping out!
262
+
* refactored the module loaders in qjsrt so we can differentiate between script and native... I need that for CommonJS
263
+
and probably later for transpiling and such
251
264
* added quickjs_utils::get_script_or_module_name to get the current scripts filename or module name
252
265
* Proxy supports multiple finalizers
253
-
* Proxy as EventTarget first working code. needs to mature, but the goal for now is minimal support for dispatching events from rust to JavaScript
266
+
* Proxy as EventTarget first working code. needs to mature, but the goal for now is minimal support for dispatching
267
+
events from rust to JavaScript
254
268
255
269
## 0.2.2
256
270
257
-
* added _void variants for adding jobs to the event queue, this prevents Futures being dropped before being resolved resulting in errors in the logs
271
+
* added _void variants for adding jobs to the event queue, this prevents Futures being dropped before being resolved
272
+
resulting in errors in the logs
258
273
* setTimeout / setInterval now correctly run pending jobs (fixes resolving promises with timeout and such)
259
274
* removed logging from console.rs so we can set custom loglevel to that package
260
275
* fixed deadlocks in esvalue promise resolution
@@ -273,22 +288,29 @@
273
288
## 0.1.1
274
289
275
290
* more precise timing for setTimeout and setInterval
276
-
* quickjs_utils::maps utils for handling [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) instances from rust
277
-
* quickjs_utils::sets utils for handling [Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instances from rust
278
-
* Proxy.event_target and Proxy.static_event_target to allow a Proxy to be used as [EventTarget](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget)
291
+
* quickjs_utils::maps utils for
292
+
handling [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) instances from
293
+
rust
294
+
* quickjs_utils::sets utils for
295
+
handling [Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instances from
296
+
rust
297
+
* Proxy.event_target and Proxy.static_event_target to allow a Proxy to be used
298
+
as [EventTarget](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget)
279
299
* objects::construct_object util to create a new instance of a constructor
280
300
* iterators util to handle iterators
281
301
* EventQueue.async_task will be a starting point for being able to use async/await with javascript
282
302
* made async functions in EsRuntime (eval, eval_module, call_function, gc)
283
303
* made invoke_function in EsValueFacade async
284
-
* added async [get_promise_result](https://hirofa.github.io/quickjs_es_runtime/quickjs_runtime/esvalue/struct.EsValueFacade.html#method.get_promise_result) to EsValueFacade so the result of a promise may be awaited async
0 commit comments