Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump bootsnap from 1.11.1 to 1.16.0 #3043

Merged
merged 3 commits into from
Feb 3, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 26, 2023

Bumps bootsnap from 1.11.1 to 1.16.0.

Changelog

Sourced from bootsnap's changelog.

1.16.0

  • Use RbConfig::CONFIG["rubylibdir"] instead of RbConfig::CONFIG["libdir"] to check for stdlib files. See #431.
  • Fix the cached version of YAML.load_file being slightly more permissive than the default Psych one. See #434. Date and Time values are now properly rejected, as well as aliases. If this causes a regression in your application, it is recommended to load trusted YAML files with YAML.unsafe_load_file.

1.15.0

  • Add a readonly mode, for environments in which the updated cache wouldn't be persisted. See #428 and #423.

1.14.0

  • Require Ruby 2.6.
  • Add a way to skip directories during load path scanning. If you have large non-ruby directories in the middle of your load path, it can severely slow down scanning. Typically this is a problem with node_modules. See #277.
  • Fix Bootsnap.unload_cache!, it simply wouldn't work at all becaue of a merge mistake. See #421.

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.

Commits
  • 88548cc Release 1.16.0
  • a00bce2 Merge pull request #435 from Shopify/stricter-yaml-load-file
  • 566dd18 Fix the YAML.load_file decorator to be as strict as regular YAML.load_file
  • a79a163 Merge pull request #433 from simi/patch-1
  • f0df353 Update README.md
  • 72202aa Use RbConfig::CONFIG["rubylibdir"] to check for stdlib files
  • b6107b8 Merge pull request #430 from adamzapasnik/adamzapasnik-patch-1
  • 0a1990e Fix a typo
  • b27b5fe Release 1.15.0
  • 95e8d17 Merge pull request #428 from Shopify/readonly-mode
  • 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)

@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Jan 26, 2023
@dependabot dependabot bot force-pushed the dependabot/bundler/master/bootsnap-1.16.0 branch 3 times, most recently from 627cbb2 to e7749a2 Compare February 3, 2023 18:52
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.11.1 to 1.16.0.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/main/CHANGELOG.md)
- [Commits](Shopify/bootsnap@v1.11.1...v1.16.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 force-pushed the dependabot/bundler/master/bootsnap-1.16.0 branch from e7749a2 to 8cdfe25 Compare February 3, 2023 19:01
Copy link
Contributor

@ConnorSheremeta ConnorSheremeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't use RbConfig::CONFIG["libdir"] so that breaking change doesn't affect us. The app runs as expected along with all features working as expected.

@ConnorSheremeta ConnorSheremeta merged commit b91ca33 into master Feb 3, 2023
@ConnorSheremeta ConnorSheremeta deleted the dependabot/bundler/master/bootsnap-1.16.0 branch February 3, 2023 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant