Skip to content

Bump zeitwerk from 2.7.5 to 2.8.2#207

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/zeitwerk-2.8.2
Open

Bump zeitwerk from 2.7.5 to 2.8.2#207
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/zeitwerk-2.8.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 28, 2026

Bumps 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 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 [zeitwerk](https://github.com/fxn/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
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels May 28, 2026
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.

0 participants