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.requireextra stack frames some more. Now bootsnap should only add one extra frame perrequirecall.Better check
freezeoption 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
unlinkfailing withENOENTas a success.1.10.0
Delay requiring
FileUtils. (#285)FileUtilscan 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_filewas no longer cached when Psych 4 was used. This is becauseload_fileloads 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_filewill use safe caches just fine, butYAML.load_filewill 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
-
7b7bfcaRelease 1.10.2 -
23b619fReduce theKernel.requireextra stack frames some more. -
12169cdSimplify LoadError handling -
8ddb820Improve CacheTest#test_path_encoding -
1da7c3cCheck msgpack freeze support in JSON compile cache -
e677919Merge pull request #394 from elia/patch-1 -
647e7e6Typo -
d5db496Release 1.10.1 -
f8390ecFixKernel#autoload's fallback path always bing executed -
9fbc008bs_fetch: consider unlink ENOENT as a success - Additional commits viewable in compare view