Improve YAML parsing cache to more efficiently handle Time, Date and DateTime.
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 +YJIT marker to RUBY_DESCRIPTION ( +YJIT <token> on YJIT_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.fetch and .precompile reading a non-String path argument (e.g. a Pathname)
with RSTRING_PTR. Regression from 1.24.0.
Improve YAML parsing cache to more efficiently handle Time, Date and DateTime.
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 +YJIT marker to RUBY_DESCRIPTION ( +YJIT <token> on YJIT_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.fetch and .precompile reading a non-String path argument (e.g. a Pathname)
with RSTRING_PTR. Regression from 1.24.0.
1.24.6
Fix detection of Ruby bug #22023 on some patch versions of Ruby 3.4, and properly apply the workaround.
Bumps bootsnap from 1.24.5 to 1.25.0.
Release notes
Sourced from bootsnap's releases.
Changelog
Sourced from bootsnap's changelog.
Commits
e099ec7Release 1.25.0b694a11Merge pull request #563 from stanhu/sh-ignore-yjit-in-compile-cache-key51898f9Ignore YJIT status in the compile cache key1ad589bMerge pull request #560 from rails/hm-qnqlnylzkqkltqsz21fbd65Merge pull request #561 from jeremy/fix-path-conversion-entry-points4898853Convert the path argument in the frame that reads it8ee47c4Add MessagePack::Bigint type49e3eb7Replace Date Marshalling with recursive msgpack711fd0bBump minimum msgpack to 1.5.0160fc10Merge pull request #558 from viralpraxis/fix-yaml-cache-kwargs-mutation