Bump bootsnap from 1.9.3 to 1.10.2
Bumps bootsnap from 1.9.3 to 1.10.2.
Changelog
Sourced from bootsnap's changelog.
1.10.2
Reduce the
Kernel.require
extra stack frames some more. Now bootsnap should only add one extra frame perrequire
call.Better check
freeze
option support in JSON compile cache. PreviouslyJSON.load_file(..., freeze: true)
would be cached even when the msgpack version is missing support for it.1.10.1
Fix
Kernel#autoload
's fallback path always being executed.Consider
unlink
failing withENOENT
as a success.1.10.0
Delay requiring
FileUtils
. (#285)FileUtils
can be installed as a gem, so it's best to wait for bundler to have setup the load path before requiring it.Improve support of Psych 4. (#392) Since
1.8.0
,YAML.load_file
was no longer cached when Psych 4 was used. This is becauseload_file
loads in safe mode by default, so the Bootsnap cache could defeat that safety. Now when precompiling YAML files, Bootsnap first try to parse them in safe mode, and if it can't fallback to unsafe mode, and the cache contains a flag that records wether it was generated in safe mode or not.YAML.unsafe_load_file
will use safe caches just fine, butYAML.load_file
will fallback to uncached YAML parsing if the cache was generated using unsafe parsing.Minimize the Kernel.require extra stack frames. (#393) This should reduce the noise generated by bootsnap on
LoadError
.1.9.4
Ignore absolute paths in the loaded feature index. (#385) This fixes a compatibility issue with Zeitwerk when Zeitwerk is loaded before bootsnap. It also should reduce the memory usage and improve load performance of Zeitwerk managed files.
Automatically invalidate the load path cache whenever the Ruby version change. (#387) This is to avoid issues in case the same installation path is re-used for subsequent ruby patch releases.
Commits
-
7b7bfca
Release 1.10.2 -
23b619f
Reduce theKernel.require
extra stack frames some more. -
12169cd
Simplify LoadError handling -
8ddb820
Improve CacheTest#test_path_encoding -
1da7c3c
Check msgpack freeze support in JSON compile cache -
e677919
Merge pull request #394 from elia/patch-1 -
647e7e6
Typo -
d5db496
Release 1.10.1 -
f8390ec
FixKernel#autoload
's fallback path always bing executed -
9fbc008
bs_fetch: consider unlink ENOENT as a success - Additional commits viewable in compare view