Skip to content

Bump bootsnap from 1.10.2 to 1.10.3

George Koltsov requested to merge dependabot-bundler-bootsnap-1.10.3 into master

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-8 symbols. (#398, #399) The default MessagePack symbol serializer assumes all symbols are ASCII, because of this, non-ASCII compatible symbol would be restored with ASCII_8BIT encoding (AKA BINARY). Bootsnap now properly cache them in UTF-8.

    Note that the above only apply for actual YAML symbols (e..g --- :foo). The issue is still present for string keys parsed with YAML.load_file(..., symbolize_names: true), that is a bug in msgpack that will hopefully be solved soon, see: msgpack/msgpack-ruby#246

  • Entirely disable the YAML compile cache if Encoding.default_internal is set to an encoding not supported by msgpack. (#398) Psych coerce strings to Encoding.default_internal, but MessagePack doesn'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
  • fbdce33 Release 1.10.3
  • 1e71cc5 Merge pull request #400 from Shopify/improve-yaml-cache-some-more
  • 31dce79 Fix Regexp and Date handling in YAML compile cache
  • a75ab21 Merge pull request #399 from Shopify/simpler-symbol-encoding
  • 85f1242 Simplified handling of UTF-8 symbols in YAML
  • 487d46c Appease rubocop
  • 2e61f8d Merge pull request #398 from Shopify/symbol-encoding
  • 647969f Code style and CI improvements
  • 76a05db YAML compile cache: encoding aware symbols
  • e3ef615 Merge pull request #397 from mishina2228/chagelog
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • @dependabot-bot rebase will rebase this MR
  • @dependabot-bot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading