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 severly 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.
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 from 1.11.1 to 1.14.0.
Changelog
Sourced from bootsnap's changelog.
Commits
98825f8
Release 1.14.00cbe7bf
Fix an uninitialized instance variable warning in testcff5fc7
Run platforms CI on Ruby 2.613fd9e6
Merge pull request #425 from delphaber/patch-135297ec
Fix small typob6f0b3f
Require ruby 2.6+bbd7bad
Remove some long deprecated setup optionsfd54ddf
Merge pull request #424 from Shopify/ignore-dirs4b7c16a
Add a way to skip direcftories during load path scanningfbb7146
Fix Bootsnap.unload_cache!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)