Bump bootsnap from 1.10.2 to 1.10.3
Bumps bootsnap from 1.10.2 to 1.10.3.
Changelog
Sourced from bootsnap's changelog.
1.10.3
Fix Regexp and Date type support in YAML compile cache. (#400)
Improve the YAML compile cache to support
UTF-8symbols. (#398, #399) The defaultMessagePacksymbol serializer assumes all symbols are ASCII, because of this, non-ASCII compatible symbol would be restored withASCII_8BITencoding (AKABINARY). Bootsnap now properly cache them inUTF-8.Note that the above only apply for actual YAML symbols (e..g
--- :foo). The issue is still present for string keys parsed withYAML.load_file(..., symbolize_names: true), that is a bug inmsgpackthat will hopefully be solved soon, see: https://github.com/msgpack/msgpack-ruby/pull/246Entirely disable the YAML compile cache if
Encoding.default_internalis set to an encoding not supported bymsgpack. (#398)Psychcoerce strings toEncoding.default_internal, butMessagePackdoesn't. So in this scenario we can't provide YAML caching at all without returning the strings in the wrong encoding. This never came up in practice but might as well be safe.
Commits
-
fbdce33Release 1.10.3 -
1e71cc5Merge pull request #400 from Shopify/improve-yaml-cache-some-more -
31dce79Fix Regexp and Date handling in YAML compile cache -
a75ab21Merge pull request #399 from Shopify/simpler-symbol-encoding -
85f1242Simplified handling of UTF-8 symbols in YAML -
487d46cAppease rubocop -
2e61f8dMerge pull request #398 from Shopify/symbol-encoding -
647969fCode style and CI improvements -
76a05dbYAML compile cache: encoding aware symbols -
e3ef615Merge pull request #397 from mishina2228/chagelog - Additional commits viewable in compare view