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