Skip to content

Bump zeitwerk from 2.7.1 to 2.7.5#276

Merged
edouard merged 1 commit into
mainfrom
dependabot/bundler/zeitwerk-2.7.5
Mar 30, 2026
Merged

Bump zeitwerk from 2.7.1 to 2.7.5#276
edouard merged 1 commit into
mainfrom
dependabot/bundler/zeitwerk-2.7.5

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 30, 2026

Bumps zeitwerk from 2.7.1 to 2.7.5.

Changelog

Sourced from zeitwerk's changelog.

2.7.5 (19 Feb 2026)

  • If available, tree traversal is based on Dir.scan, which saves syscalls in common platforms. This method is a recent addition to Ruby contributed by @​byroot, so you need to be on Ruby master to leverage this for now.

  • Tree traversal is a tad more performant, regardless of the previous point. Gains are marginal when eager loading, because it is dominated by loading the code, but Zeitwerk::Loader#all_expected_cpaths was 14% faster in some benchmarks, for example.

  • README.md documents how to collect autoloaded constants using an on_load callback.

  • Internal maintenance.

2.7.4 (16 Dec 2025)

  • Loaders have to manage disjoint source trees. Therefore, when a root directory is configured Zeitwerk ensures it is not already managed by some other loader. The performance of this validation has been improved.

    Thanks to @​ngan for sharing some benchmarks that led to revise this logic.

2.7.3 (20 May 2025)

  • The helper Zeitwerk::Loader#cpath_expected_at did not work correctly if the inflector had logic that relied on the absolute path of the given file or directory. This has been fixed.

    This bug was found by Codex.

  • Perpetual internal work.

2.7.2 (18 February 2025)

  • Internal improvements and micro-optimizations.

  • Add stable TruffleRuby to CI.

Commits
  • adfeec4 Ready for 2.7.5
  • a22d742 Use the now yielded cwd in a few tests
  • 5df497f Adds unit tests for Zeitwerk::Loader::FileSystem
  • 0a7021a Let with_(files|setup) yield the cwd
  • 976b8f1 Update code comment
  • 8398da8 Let the log method take a block
  • 812d0ee Use Dir.scan if available
  • f845a27 Delete PoC file
  • 112cfdf directory -> dir for consistency
  • 064b76c Add a section about predicates to PROJECT_RULES.md
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Mar 30, 2026
@dependabot dependabot Bot force-pushed the dependabot/bundler/zeitwerk-2.7.5 branch from 4f7609c to fadd6b3 Compare March 30, 2026 06:18
Bumps [zeitwerk](https://github.com/fxn/zeitwerk) from 2.7.1 to 2.7.5.
- [Changelog](https://github.com/fxn/zeitwerk/blob/main/CHANGELOG.md)
- [Commits](fxn/zeitwerk@v2.7.1...v2.7.5)

---
updated-dependencies:
- dependency-name: zeitwerk
  dependency-version: 2.7.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/bundler/zeitwerk-2.7.5 branch from fadd6b3 to 7cdb7dd Compare March 30, 2026 06:19
@edouard edouard merged commit c2b877f into main Mar 30, 2026
5 checks passed
@edouard edouard deleted the dependabot/bundler/zeitwerk-2.7.5 branch March 30, 2026 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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.

1 participant