Debian Codegraph @

Changes

raw
1 Revision history for Perl extension JavaScript::QuickJS:
2
3 0.21 Sec 14 Feb 2024
4 - Documentation updates. (No functional changes.)
5
6 0.20 Tue 13 Feb 2024
7 - BREAKING CHANGE: eval_module() now returns a Promise (as QuickJS itself
8 now does) instead of the JavaScript::QuickJS instance.
9 - Fix integer-overflow bug in setTime() (et al.) when Perl stores the number
10 as NV rather than IV/UV.
11 - Properly free QuickJS resources upon failure to convert Perl parameters
12 to JavaScript.
13 - Add Promise support.
14
15 0.19 Fri 1 Dec 2023
16 - BREAKING CHANGE: Enabling std() or os() now creates globals by those names.
17 This matches the “qjs” binary’s behavior.
18 - Update to latest quickjs (03cc5ec).
19
20 0.18 Wed 29 Nov 2023
21 - Fix segfault when importing "os".
22
23 0.17 Thu 12 Jan 2023
24 - Add Windows support.
25 - Fix a leftover debugging artifact.
26
27 0.16 Sun 8 Jan 2023
28 - Update easyxs to fix Solaris strnlen problem seen in CPAN Testers.
29 - Small fix to docs.
30
31 0.15 Thu 8 Sep 2022
32 - Add Date compatibility.
33 - QuickJS memory-management parameters are now configurable.
34 - BigInt et al. on 64-bit no longer requires a compiler that implements
35 int128. (e.g., CloudLinux 6 can now have BigInt)
36 - QuickJS runtime info is now set to the module name. (Debugging aid.)
37 - Docs improvement for memory-leak notifications. (Thank you, perlancar!)
38 - Docs now demonstrate use of `std` module, and a test is added.
39
40 0.14 Sun 4 Sep 2022
41 - Fix parallel build errors. (Thank you, CPAN Testers!)
42
43 0.13 Thu 25 Aug 2022
44 - Detect missing gmake up-front at build time.
45 - Detect at build time when linking to libatomic is necessary, and only
46 link in that case.
47 - Allow direct enable/disable of linking to libatomic.
48
49 0.12 Mon 6 Jan 2022
50 - Add await() so Perl can wait until JS’s pending jobs finish.
51 - Make eval_module() return the JS object so chaining is easier.
52 - Explicitly document interfaces that return the JS object.
53
54 0.11 Sun 15 May 2022
55 - BREAKING CHANGE: JavaScript Functions converted to Perl now become
56 instances of a new class, JavaScript::QuickJS::Function. That class
57 is overloaded to act as a coderef, so MOST calling code should still
58 work, but anything that expects a CODE reference will now instead find
59 a blessed object.
60 - BUG FIX: Fix leaked scalars returned from Perl callbacks.
61 - Tweak discussion of memory-leak detection.
62 - Add missing regexp test.
63
64 0.10 Thu 12 May 2022
65 - Fix missing RegExp module.
66
67 0.09 Thu 12 May 2022
68 - Add RegExp compatibility.
69
70 0.08 Tue 26 Apr 2022
71 - BUG FIX: Avoid segfault when passing a function from JS to Perl.
72 - BUG FIX: Avoid segfault if an invalid SV is given to a Perl/JS coderef.
73 - BUG FIX: Free args to JS function references when call()ed.
74 - Set strict mode to always-on.
75 - Teach Perl->JSON conversion to recognize Types::Serialiser booleans.
76 - Warn if funcref is destroyed at global destruction.
77 - Document the present memory-handling weirdness. :(
78
79 0.07 Mon 25 Apr 2022
80 - Add ability to customize base path for ES6 module imports.
81
82 0.06 Fri 22 Apr 2022
83 - Fix compatibility with old Linuxes (e.g., CentOS 7 and CloudLinux 6).
84
85 0.05 Thu 7 Apr 2022
86 - Fix helpers() method.
87 - Fix memory leak when std/os/helpers failed.
88 - Fix bad assert check.
89
90 0.04 Mon 4 Apr 2022
91 - No production changes.
92 - Fix typo’d test from 0.03.
93
94 0.03 Mon 4 Apr 2022
95 - Fix number conversion in 32-bit, non-64-bit-int perls.
96 - Fix conversion of Perl “magic” variables to JavaScript.
97 - Add more tests against number conversion.
98 - Refine Perl->JS typing logic to agree with 5.36 serialization.
99 - Patch QuickJS to support FreeBSD, OpenBSD, and Cygwin.
100
101 0.02 Mon 28 Mar 2022
102 - Documentation fixes
103
104 0.01 Mon 28 Mar 2022
105 - Initial release