Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Bump bootsnap from 1.6.0 to 1.13.0 #1205

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 1, 2022

Bumps bootsnap from 1.6.0 to 1.13.0.

Changelog

Sourced from bootsnap's changelog.

1.13.0

  • Stop decorating Kernel.load. This used to be very useful in development because the Rails "classic" autoloader was using Kernel.load in dev and Kernel.require in production. But Zeitwerk is now the default, and it doesn't use Kernel.load at all.

    People still using the classic autoloader might want to stick to bootsnap 1.12.

  • Add Bootsnap.unload_cache!. Applications can call it at the end of their boot sequence when they know no more code will be loaded to reclaim a bit of memory.

1.12.0

  • bootsnap precompile CLI will now also precompile Rakefile and .rake files.

  • Stop decorating Module#autoload as it was only useful for supporting Ruby 2.2 and older.

  • Remove uname and other patform specific version from the cache keys. RUBY_PLATFORM + RUBY_REVISION should be enough to ensure bytecode compatibility. This should improve caching for alpine based setups. See #409.

1.11.1

  • Fix the can't modify frozen Hash error on load path cache mutation. See #411.

1.11.0

  • Drop dependency on fileutils.

  • Better respect Kernel#require duck typing. While it almost never comes up in practice, Kernel#require follow a fairly intricate duck-typing protocol on its argument implemented as rb_get_path(VALUE) in MRI. So when applicable we bind rb_get_path and use it for improved compatibility. See #396 and #406.

  • Get rid of the Kernel.require_relative decorator by resolving $LOAD_PATH members to their real path. This way we handle symlinks in $LOAD_PATH much more efficiently. See #402 for the detailed explanation.

  • Drop support for Ruby 2.3 (to allow getting rid of the Kernel.require_relative decorator).

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

... (truncated)

Commits
  • 27735a5 Release 1.13.0
  • 8be976f Merge pull request #420 from Shopify/replace-cla-probot-with-action
  • 3dd29a8 Remove CLA from probot and use new GitHub action
  • b7455a3 Merge pull request #324 from knovok/master
  • 89434cc Merge pull request #388 from Shopify/drop-cache
  • f541922 Add missing fail-fast: false on CI
  • 901c0b7 Add Bootsnap.unload_cache!
  • 26fcb55 Add ChangeObserver.unregister
  • eec400e Remove Kernel.load caching.
  • 7b668e2 Merge pull request #418 from Shopify/drop-ruby-2.4
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.6.0 to 1.13.0.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/main/CHANGELOG.md)
- [Commits](Shopify/bootsnap@v1.6.0...v1.13.0)

---
updated-dependencies:
- dependency-name: bootsnap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Aug 1, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 21, 2022

Superseded by #1311.

@dependabot dependabot bot closed this Nov 21, 2022
@dependabot dependabot bot deleted the dependabot/bundler/bootsnap-1.13.0 branch November 21, 2022 23:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants