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