mini_racer 0.6.2 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +74 -115
- data/README.md +122 -134
- data/ext/mini_racer_extension/extconf.rb +9 -0
- data/ext/mini_racer_extension/mini_racer_extension.cc +28 -66
- data/ext/mini_racer_loader/extconf.rb +5 -0
- data/lib/mini_racer/truffleruby.rb +355 -0
- data/lib/mini_racer/version.rb +2 -2
- data/lib/mini_racer.rb +19 -17
- data/lib/mini_racer_extension.so +4 -0
- data/lib/mini_racer_loader.so +0 -0
- metadata +12 -19
- data/.dockerignore +0 -12
- data/.github/workflows/ci.yml +0 -78
- data/.gitignore +0 -13
- data/.travis.yml +0 -23
- data/Dockerfile +0 -21
- data/Gemfile +0 -4
- data/Rakefile +0 -96
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/mini_racer.gemspec +0 -39
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 40b19f82c2a9392b14470ee4000477539f6415a3cfa06220f0cb8e3ae0a8542b
|
|
4
|
+
data.tar.gz: e6972a3b6190bf732bc8f8ba010e4c17b11316a3d3cf8d8870d085460a58fe55
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da39c5527dcf390de270a21377555e7a6b3ea38c2214717a06a64e745b7d2321075484df859b8d00d374c2b6c3da400dc605459a302ddf8e7cd8e0d49092e0d9
|
|
7
|
+
data.tar.gz: 227c47a2db87cec7489fd45a3b4b6ddcb0168cda4c840391a7334175e01e3c3362ab7293931035326f64d2fed55438356a0ce9f9ee19288b073c5af18d473dcb
|
data/CHANGELOG
CHANGED
|
@@ -1,162 +1,147 @@
|
|
|
1
|
-
-
|
|
1
|
+
- 0.8.0 - 29-05-2022
|
|
2
2
|
|
|
3
|
-
- 0.
|
|
3
|
+
- Target Node to 18.16.0.0
|
|
4
|
+
|
|
5
|
+
- 0.7.0 - 29-05-2022
|
|
6
|
+
|
|
7
|
+
- Target Node to 17.9.1.0
|
|
8
|
+
|
|
9
|
+
- 0.6.4 - 25-05-2022
|
|
10
|
+
|
|
11
|
+
- Target Node 16.19.0.0
|
|
12
|
+
|
|
13
|
+
- 0.6.3 - 16-08-2022
|
|
14
|
+
|
|
15
|
+
- Truffle ruby support! Thanks to Brandon Fish and the truffle team
|
|
16
|
+
- Hide libv8 symbols on ELF targets
|
|
17
|
+
- Slightly shrunk binary size
|
|
18
|
+
- Simplified timeout implementation
|
|
19
|
+
- Some stability fixes
|
|
20
|
+
|
|
21
|
+
- 17-01-2022 - 0.6.2
|
|
4
22
|
|
|
5
23
|
- Fix support for compilation on 2.6, llvm compiles
|
|
6
24
|
- Stability patches to handle rare memory leaks
|
|
7
25
|
- Corrected re-raising of exceptions to support strings
|
|
8
26
|
- During early termination of context under certain conditions MiniRacer could crash
|
|
9
27
|
|
|
10
|
-
|
|
11
|
-
- 31-12-2021
|
|
12
|
-
|
|
13
|
-
- 0.6.1
|
|
28
|
+
- 0.6.1 - 31-12-2021
|
|
14
29
|
|
|
15
30
|
- Added support for single threaded platform: `MiniRacer::Platform.set_flags! :single_threaded`
|
|
16
31
|
must be called prior to booting ANY MiniRacer::Context
|
|
17
32
|
|
|
18
|
-
- 0.6.0
|
|
33
|
+
- 0.6.0 - 11-04-2021
|
|
19
34
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
35
|
+
- Ruby 3.1 support
|
|
36
|
+
- Fixes memory leak in heap snapshotting
|
|
37
|
+
- Improved compilation ergonomics in clang
|
|
38
|
+
- Migrated internal storage in c extension to TypedData
|
|
24
39
|
|
|
25
|
-
- 11-04-2021
|
|
26
40
|
|
|
27
41
|
- 0.5.0
|
|
42
|
+
|
|
28
43
|
- Fixes issues on aarch (Apple M1)
|
|
29
44
|
- Update to use libv8-node 16.x (#210) [Loic Nageleisen]
|
|
30
45
|
- FEATURE: Configurable max marshal stack depth (#202) [seanmakesgames]
|
|
31
46
|
- Ruby 2.3 and 2.4 are EOL, we no longer support them
|
|
32
47
|
|
|
33
|
-
- 0.4.0
|
|
48
|
+
- 0.4.0 - 08-04-2021
|
|
34
49
|
|
|
35
50
|
- FEATURE: upgrade to libv8 node 15.14.0 (v8 8.6.395.17)
|
|
36
51
|
- Promote 0.4.0.beta1 to release, using libv8-node release path
|
|
37
52
|
|
|
38
|
-
- 08-04-2021
|
|
39
53
|
|
|
40
|
-
- 0.4.0.beta1
|
|
54
|
+
- 0.4.0.beta1 - 23-07-2020
|
|
41
55
|
|
|
42
56
|
- FIX: on downgrade mkmf was picking the wrong version of libv8, this fix will correct future issues
|
|
43
57
|
- FEATURE: upgraded libv8 to use node libv8 build which supports M1 and various ARM builds v8 moved to (8.6.395.17)
|
|
44
58
|
|
|
45
|
-
- 23-07-2020
|
|
46
59
|
|
|
47
|
-
- 0.3.1
|
|
60
|
+
- 0.3.1 - 22-07-2020
|
|
48
61
|
|
|
49
62
|
- FIX: specify that libv8 must be larger than 8.4.255 but smaller than 8.5, this avoids issues going forward
|
|
50
63
|
|
|
51
|
-
-
|
|
52
|
-
|
|
53
|
-
- 0.3.0
|
|
64
|
+
- 0.3.0 - 29-06-2020
|
|
54
65
|
|
|
55
66
|
- FEATURE: upgraded to libv8 version 8.4.255.0
|
|
56
67
|
|
|
57
|
-
- 29-06-2020
|
|
58
68
|
|
|
59
|
-
- 0.2.15
|
|
69
|
+
- 0.2.15 - 15-05-2020
|
|
60
70
|
|
|
61
71
|
- FEATURE: basic wasm support via pump_message_loop
|
|
62
72
|
|
|
63
|
-
- 15-05-2020
|
|
64
73
|
|
|
65
|
-
- 0.2.14
|
|
74
|
+
- 0.2.14 - 15-05-2020
|
|
66
75
|
|
|
67
76
|
- FIX: ensure_gc_after_idle should take in milliseconds like the rest of the APIs not seconds
|
|
68
77
|
- FEATURE: strict params on MiniRacer::Context.new
|
|
69
78
|
|
|
70
|
-
- 15-05-2020
|
|
71
79
|
|
|
72
|
-
- 0.2.13
|
|
80
|
+
- 0.2.13 - 15-05-2020
|
|
73
81
|
|
|
74
|
-
|
|
82
|
+
- FIX: edge case around ensure_gc_after_idle possibly firing when context is not idle
|
|
75
83
|
|
|
76
|
-
- 15-05-2020
|
|
77
84
|
|
|
78
|
-
- 0.2.12
|
|
85
|
+
- 0.2.12 - 14-05-2020
|
|
79
86
|
|
|
80
87
|
- FEATURE: isolate.low_memory_notification which can force a full GC
|
|
81
88
|
- FEATURE: MiniRacer::Context.new(ensure_gc_after_idle: 2) - to force full GC 2 seconds after context is idle, this allows you to conserve memory on isolates
|
|
82
89
|
|
|
83
|
-
- 14-05-2020
|
|
84
90
|
|
|
85
91
|
- 0.2.11
|
|
86
92
|
|
|
87
93
|
- FIX: dumping heap snapshots was not flushing the file leading to corrupt snapshots
|
|
88
94
|
- FIX: a use-after-free shutdown crash
|
|
89
95
|
|
|
90
|
-
- 0.2.10
|
|
91
|
-
|
|
92
|
-
- 22-04-2020
|
|
93
|
-
|
|
96
|
+
- 0.2.10 - 22-04-2020
|
|
94
97
|
- FEATURE: memory softlimit support for nogvl_context_call
|
|
95
98
|
|
|
96
|
-
- 0.2.9
|
|
97
|
-
|
|
98
|
-
- 09-01-2020
|
|
99
|
+
- 0.2.9 - 09-01-2020
|
|
99
100
|
|
|
100
101
|
- FIX: correct segfault when JS returns a Symbol and properly cast to ruby symbol
|
|
101
102
|
|
|
102
|
-
- 0.2.8
|
|
103
|
+
- 0.2.8 - 11-11-2019
|
|
103
104
|
|
|
104
|
-
- 11-11-2019
|
|
105
105
|
|
|
106
106
|
- FIX: ensure thread live cycle is properly accounter for following file descriptor fix
|
|
107
107
|
|
|
108
|
-
- 0.2.7
|
|
109
|
-
|
|
110
|
-
- 11-11-2019
|
|
108
|
+
- 0.2.7 - 11-11-2019
|
|
111
109
|
|
|
112
110
|
- FIX: release the file descriptor for timeout pipe earlier (this avoids holding too many files open in Ruby 2.7)
|
|
113
111
|
|
|
114
|
-
- 14-05-2019
|
|
115
|
-
|
|
116
|
-
- 0.2.6
|
|
112
|
+
- 0.2.6 - 14-05-2019
|
|
117
113
|
|
|
118
114
|
- FEATURE: add support for write_heap_snapshot which helps you analyze memory
|
|
119
115
|
|
|
120
|
-
- 25-04-2019
|
|
116
|
+
- 0.2.5 - 25-04-2019
|
|
121
117
|
|
|
122
|
-
-
|
|
123
|
-
|
|
124
|
-
- FIX: Compatiblity fixes for V8 7 and above @ignisf
|
|
118
|
+
- FIX: Compatibility fixes for V8 7 and above @ignisf
|
|
125
119
|
- FIX: Memory leak in gc_callback @messense
|
|
126
120
|
- IMPROVEMENT: Added example of sourcemap support @ianks
|
|
127
121
|
- URGENT: you will need this release for latest version of libv8 to work
|
|
128
122
|
|
|
129
|
-
- 02-11-2018
|
|
130
|
-
|
|
131
|
-
- 0.2.4
|
|
123
|
+
- 0.2.4 - 02-11-2018
|
|
132
124
|
|
|
133
125
|
- FIX: deadlock releasing context when shared isolates are used
|
|
134
126
|
- FEATURE: include js backtrace when snapshots do not compile
|
|
135
127
|
|
|
136
|
-
- 28-09-2018
|
|
137
|
-
|
|
138
|
-
- 0.2.3
|
|
128
|
+
- 0.2.3 - 28-09-2018
|
|
139
129
|
|
|
140
130
|
- Drop all conditional logic from Mini Racer compilation for clang, always
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
- 26-09-2018
|
|
131
|
+
rely on MacOS being High Sierra or up
|
|
144
132
|
|
|
145
|
-
- 0.2.2
|
|
133
|
+
- 0.2.2 - 26-09-2018
|
|
146
134
|
|
|
147
135
|
- WORKAROUND: RUBY_PLATFORM is hardcoded on Ruby compile and can not be
|
|
148
|
-
|
|
149
|
-
|
|
136
|
+
trusted for feature detection, use a different technique when checking for
|
|
137
|
+
macOS Mojave
|
|
150
138
|
|
|
151
|
-
- 25-09-2018
|
|
152
|
-
|
|
153
|
-
- 0.2.1
|
|
139
|
+
- 0.2.1 - 25-09-2018
|
|
154
140
|
|
|
155
141
|
- FEATURE: Mojave macOS support
|
|
156
142
|
|
|
157
|
-
- 06-07-2018
|
|
143
|
+
- 0.2.0 - 06-07-2018
|
|
158
144
|
|
|
159
|
-
- 0.2.0
|
|
160
145
|
- FEATURE: context#call to allow for cheaper invocation of functions
|
|
161
146
|
- FIX: rare memory leak when terminating a long running attached function
|
|
162
147
|
- FIX: rare segfault when terminating a long running attached function
|
|
@@ -164,106 +149,80 @@
|
|
|
164
149
|
- Account for changes in the upstream V8 API @ignisf
|
|
165
150
|
- Support for libv8 6.7
|
|
166
151
|
|
|
167
|
-
23-08-2017
|
|
168
|
-
|
|
169
|
-
- 0.1.15
|
|
152
|
+
- 0.1.15 - 23-08-2017
|
|
170
153
|
|
|
171
154
|
- bump dependency of libv8 to 6.3
|
|
172
155
|
|
|
173
|
-
23-08-2017
|
|
174
|
-
|
|
175
|
-
- 0.1.14
|
|
176
|
-
|
|
177
|
-
- libv8 erronuously bumped to beta, reverted change
|
|
156
|
+
- 0.1.14 - 23-08-2017
|
|
178
157
|
|
|
179
|
-
|
|
158
|
+
- libv8 erroneously bumped to beta, reverted change
|
|
180
159
|
|
|
181
|
-
- 0.1.13
|
|
160
|
+
- 0.1.13 - 23-08-2017
|
|
182
161
|
|
|
183
162
|
- Fix: amend array buffer allocator to use v8 6.0 compatible allocator @ignisf
|
|
184
163
|
|
|
185
|
-
18-07-2017
|
|
186
|
-
|
|
187
|
-
- 0.1.12
|
|
164
|
+
- 0.1.12 - 18-07-2017
|
|
188
165
|
|
|
189
166
|
- Feature: upgrade libv8 to 5.9
|
|
190
|
-
- Fix: warning when
|
|
191
|
-
|
|
192
|
-
18-07-2017
|
|
167
|
+
- Fix: warning when running with ruby warnings enabled (missed @disposed initialize)
|
|
193
168
|
|
|
194
|
-
- 0.1.11
|
|
169
|
+
- 0.1.11 - 18-07-2017
|
|
195
170
|
|
|
196
171
|
- Feature: upgrade libv8 to 5.7
|
|
197
172
|
|
|
198
|
-
13-07-2017
|
|
199
173
|
|
|
200
|
-
- 0.1.10
|
|
174
|
+
- 0.1.10 - 13-07-2017
|
|
201
175
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
176
|
+
- Fix leak: memory leak when disposing a context (20 bytes per context)
|
|
177
|
+
- Feature: added #heap_stats so you can get visibility from context to actual memory usage of isolate
|
|
178
|
+
- Feature: added #dispose so you reclaim all v8 memory right away as opposed to waiting for GC
|
|
179
|
+
- Feature: you can now specify filename in an eval eg: eval('a = 1', filename: 'my_awesome.js')
|
|
206
180
|
|
|
207
|
-
09-03-2017
|
|
208
181
|
|
|
209
|
-
- 0.1.9
|
|
182
|
+
- 0.1.9 - 09-03-2017
|
|
210
183
|
|
|
211
|
-
|
|
184
|
+
- Perf: speed up ruby/node boundary performance when moving large objects
|
|
212
185
|
|
|
213
|
-
06-02-2017
|
|
214
|
-
|
|
215
|
-
- 0.1.8
|
|
186
|
+
- 0.1.8 - 06-02-2017
|
|
216
187
|
|
|
217
188
|
- Fix: Include math.h to fix use of undeclared identifier floor with rbx. See #51
|
|
218
189
|
|
|
219
|
-
02-11-2016
|
|
220
|
-
|
|
221
|
-
- 0.1.7
|
|
190
|
+
- 0.1.7 - 02-11-2016
|
|
222
191
|
|
|
223
192
|
- Fix: if for some reason an isolate was forked don't free it and raise a warning instead to avoid hanging process
|
|
224
193
|
|
|
225
|
-
25-10-2016
|
|
226
|
-
|
|
227
|
-
- 0.1.6
|
|
194
|
+
- 0.1.6 - 25-10-2016
|
|
228
195
|
|
|
229
196
|
- Fix: timeout behavior was incorrect, in some cases stop could be called on already stopped contexts
|
|
230
197
|
|
|
231
|
-
10-10-2016
|
|
232
|
-
|
|
233
|
-
- 0.1.5
|
|
198
|
+
- 0.1.5 - 10-10-2016
|
|
234
199
|
|
|
235
200
|
- Support for snapshots, shared isolates, runtime flags thanks to @wk8
|
|
236
201
|
- Fix timeout behavior when it occurs in an attached Ruby method
|
|
237
202
|
|
|
238
|
-
19-05-2016
|
|
239
|
-
|
|
240
|
-
- 0.1.4
|
|
203
|
+
- 0.1.4 - 19-05-2016
|
|
241
204
|
|
|
242
205
|
- Set upper bound for libv8 inclusion @ignisf
|
|
243
206
|
- Support conversion of Date, Time and DateTime from Ruby to JS @seanmakesgames
|
|
244
207
|
- Support conversion of large numbers back from Ruby to JS @seanmakesgames
|
|
245
208
|
|
|
246
|
-
- 0.1.3
|
|
209
|
+
- 0.1.3 - 17-05-2016
|
|
247
210
|
|
|
248
211
|
- Support more conversions from Ruby back to JS (Hash, Symbol, Array)
|
|
249
212
|
- Support attaching nested objects
|
|
250
213
|
|
|
251
214
|
|
|
252
|
-
17-05-2016
|
|
253
|
-
|
|
254
|
-
- 0.1.2
|
|
215
|
+
- 0.1.2 - 17-05-2016
|
|
255
216
|
|
|
256
217
|
- Gemspec specifies minimal version of Ruby (2.0)
|
|
257
218
|
- Implement #load on Context to load files
|
|
258
219
|
|
|
259
|
-
17-05-2016
|
|
260
220
|
|
|
261
221
|
- 0.1.1
|
|
262
222
|
|
|
263
223
|
- Added unblock function so SIGINT does not lead to a crash
|
|
264
224
|
|
|
265
|
-
14-05-2016
|
|
266
225
|
|
|
267
|
-
- 0.1.1.beta.1
|
|
226
|
+
- 0.1.1.beta.1 - 14-05-2016
|
|
268
227
|
|
|
269
|
-
|
|
228
|
+
- First release
|