Skip to content

Bump zeitwerk from 2.7.5 to 2.8.2 in /ruby in the ruby-deps group#97

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/bundler/ruby/ruby-deps-161794ef50
Jun 4, 2026
Merged

Bump zeitwerk from 2.7.5 to 2.8.2 in /ruby in the ruby-deps group#97
github-actions[bot] merged 1 commit into
mainfrom
dependabot/bundler/ruby/ruby-deps-161794ef50

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 4, 2026

Copy link
Copy Markdown
Contributor

Bumps the ruby-deps group in /ruby with 1 update: zeitwerk.

Updates zeitwerk from 2.7.5 to 2.8.2

Changelog

Sourced from zeitwerk's changelog.

2.8.2 (23 May 2026)

  • on_load and on_unload accept constant paths with leading colons. For example:

    loader.on_load('::User') { ... }
  • on_load and on_unload validate that their input is a constant path. For example:

    loader.on_load(':User') { ... }

    raises NameError.

2.8.1 (19 May 2026)

  • Replace anonymous block parameters with regular named ones.

    Ruby 3.3.0 has a bug: it does not parse anonymous block parameters, which were introduced in Ruby 3.1.

    While this is a Ruby bug and people could upgrade to 3.3.1, I prefer users just do not hit this. At the end of the day, it is cosmetic.

2.8.0 (18 May 2026)

  • Adds support for namespace files, nsfiles for short.

    If a loader has an nsfile configured (nil by default):

    loader.nsfile = 'ns.rb' # must be set before setup

    explicit namespaces can be defined by such special file inside their directories:

    my_component/ns.rb     # MyComponent
    my_component/widget.rb # MyComponent::Widget
    

    This may be handy for self-contained units for which a my_component.rb file in the parent directory would feel unnatural.

    If an nsfile is set, you can still define explicit namespaces as always. Both styles can coexist in the project. However, it is an error condition to try to define the same namespace using both conventions.

... (truncated)

Commits
  • 76f0790 Ready for 2.8.2
  • 14cff5e Refactor cpath validation for TruffleRuby
  • 8c26393 on_load and on_unload validate their input is a constant path
  • ea55f02 Add a constant path validator
  • 80e925b Let on_load/on_unload use a sentinel for 0 args
  • 2a25bce Add RuboCop to CI
  • 198fe83 Linting
  • 27b9a58 Merge pull request #335 from Shopify/on_load_qualifier
  • 14e4143 Ready for 2.8.1
  • 94d607d Remove anonymous blocks
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Summary by cubic

Upgrade zeitwerk from 2.7.5 to 2.8.2 in /ruby to ship the latest autoloading fixes and features. Includes nsfile support, safer on_load/on_unload validation, and compatibility with Ruby 3.3.

Written for commit 4145a29. Summary will update on new commits.

Review in cubic

Bumps the ruby-deps group in /ruby with 1 update: [zeitwerk](https://github.com/fxn/zeitwerk).


Updates `zeitwerk` from 2.7.5 to 2.8.2
- [Changelog](https://github.com/fxn/zeitwerk/blob/main/CHANGELOG.md)
- [Commits](fxn/zeitwerk@v2.7.5...v2.8.2)

---
updated-dependencies:
- dependency-name: zeitwerk
  dependency-version: 2.8.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ruby-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 4, 2026
Copilot AI review requested due to automatic review settings June 4, 2026 09:23
@dependabot dependabot Bot added ruby Pull requests that update ruby code dependencies Pull requests that update a dependency file labels Jun 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@github-actions github-actions Bot merged commit 736295b into main Jun 4, 2026
14 checks passed
@dependabot dependabot Bot deleted the dependabot/bundler/ruby/ruby-deps-161794ef50 branch June 4, 2026 09:24
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