Recent Releases of https://github.com/rails/bootsnap
https://github.com/rails/bootsnap - v1.26.0
What's Changed
- Handle top level
Coverageconstant being defined, but without it being the true stdlibcoveragemodule. - Fix
bootsnap precompilethat could generate a corrupted cache entry if an already cached YAML file was modified
without changing its size. - Workaround a potential Ruby SEGV if
Bootsnap.instrumentationraised an error.
- Ruby
Published by byroot about 1 month ago
https://github.com/rails/bootsnap - v1.25.0
What's Changed
-
Improve YAML parsing cache to more efficiently handle
Time,DateandDateTime. -
Don't invalidate the compile cache when YJIT is toggled. YJIT is a runtime JIT and doesn't change the
serialized instruction sequences that are cached, but enabling it (via--yjit,RUBYOPT, or
RubyVM::YJIT.enable) adds a+YJITmarker toRUBY_DESCRIPTION(+YJIT <token>onYJIT_SUPPORT
builds), which is part of the cache key. This previously discarded the entire compile cache whenever YJIT
was enabled at runtime but not at precompile time (or vice versa). The marker is now stripped before hashing. -
Fix
CompileCache::Native.fetchand.precompilereading a non-Stringpath argument (e.g. aPathname)
withRSTRING_PTR. Regression from 1.24.0.
Full Changelog: https://github.com/rails/bootsnap/compare/v1.24.6...v1.25.0
- Ruby
Published by byroot about 2 months ago
https://github.com/rails/bootsnap - v1.24.6
What's Changed
- Fix detection of Ruby bug #22023 on some patch versions of Ruby 3.4, and properly apply the workaround.
Full Changelog: https://github.com/rails/bootsnap/compare/v1.24.5...v1.24.6
- Ruby
Published by byroot about 2 months ago
https://github.com/rails/bootsnap - v1.24.5
What's Changed
- No longer load the config file by default when setup is done manually. This is so cli applications like homebrew
don't mistakenly load another app's boostnap config.
Full Changelog: https://github.com/rails/bootsnap/compare/v1.24.4...v1.24.5
- Ruby
Published by byroot about 2 months ago
https://github.com/rails/bootsnap - v1.24.4
What's Changed
- Fix several compatibility issues with Ruby
4.0.4, particularly theshould not compile with coverageerror. See #547. - Fix
Bootsnap.enable_frozen_string_literalto work even when coverage is enabled. Unfortunately only possible on Ruby4.0.4+.
On older rubies if coverage is enabled a warning will be issued and the feature won't work. - Reduced cache files header size from 64 to 32 bytes, and got rid of the random padding element.
- Avoid leaking a private method in
Objectwhen testing for Parse.y bugs.
Full Changelog: https://github.com/rails/bootsnap/compare/v1.24.3...v1.24.4
- Ruby
Published by byroot 5 months ago
https://github.com/rails/bootsnap - v1.24.3
- Fix the
1.24.2workaround to parse Ruby files with UTF-8 even when theLANGenvironment variable
is unset or set toC.
Full Changelog: https://github.com/rails/bootsnap/compare/v1.24.2...v1.24.3
- Ruby
Published by byroot 5 months ago
https://github.com/rails/bootsnap - v1.24.2
What's Changed
- Workaround two Ruby bugs in
RubyVM::InstructionSequence.compile_file, that were causing
files to be loaded with the old Ruby parser instead of Prism, causing issues with some pattern matching syntax.
Ref: https://bugs.ruby-lang.org/issues/22023
Full Changelog: https://github.com/rails/bootsnap/compare/v1.24.1...v1.24.2
- Ruby
Published by byroot 5 months ago
https://github.com/rails/bootsnap - v1.24.1
What's Changed
- Fix encoding of Ruby source files loaded when
BOOTSNAP_READONLYis set.
Files would incorectly be loaded inASCII-8BITcausing literal strings outside
the pure ASCII range to haveASCII-8BITencoding instead ofUTF-8.
This bug was introduced in1.24.0.
Full Changelog: https://github.com/rails/bootsnap/compare/v1.24.0...v1.24.1
- Ruby
Published by byroot 5 months ago
https://github.com/rails/bootsnap - v1.24.0
What's Changed
- Added a hook API to customize Ruby compilation.
Full Changelog: https://github.com/rails/bootsnap/compare/v1.23.0...v1.24.0
- Ruby
Published by byroot 5 months ago
https://github.com/rails/bootsnap - v1.23.0
What's Changed
- Require Ruby 2.7.
- Fix support for absolute paths in
BOOTSNAP_IGNORE_DIRECTORIES.
Full Changelog: https://github.com/rails/bootsnap/compare/v1.22.0...v1.23.0
- Ruby
Published by byroot 8 months ago
https://github.com/rails/bootsnap - v1.22.0
What's Changed
- Proper fix for the
opendircrash. - Add
bootsnap/rakefor cleaning the bootsnap cache as part ofrake clobber.
Full Changelog: https://github.com/rails/bootsnap/compare/v1.21.1...v1.22.0
- Ruby
Published by byroot 8 months ago
https://github.com/rails/bootsnap - v1.21.1
What's Changed
- Fallback to pure the pure ruby path scanner on unexpected error.
Full Changelog: https://github.com/rails/bootsnap/compare/v1.21.0...v1.21.1
- Ruby
Published by byroot 8 months ago
https://github.com/rails/bootsnap - v1.20.1
What's Changed
- Handle broken symlinks in load path scanning code.
Should fixErrno::ENOENT fstatatissues some users have encountered after upgrading to 1.20.0.
Full Changelog: https://github.com/rails/bootsnap/compare/v1.20.0...v1.20.1
- Ruby
Published by byroot 9 months ago
https://github.com/rails/bootsnap - v1.20.0
What's Changed
- Optimized load path scanning with a C extension. Should be about 2x faster on supported platforms.
Full Changelog: https://github.com/rails/bootsnap/compare/v1.19.0...v1.20.0
- Ruby
Published by byroot 10 months ago