Skip to content

Bump zeitwerk from 2.6.16 to 2.7.1#189

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/zeitwerk-2.7.1
Open

Bump zeitwerk from 2.6.16 to 2.7.1#189
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/zeitwerk-2.7.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 21, 2024

Bumps zeitwerk from 2.6.16 to 2.7.1.

Changelog

Sourced from zeitwerk's changelog.

2.7.1 (19 October 2024)

  • Micro-optimization in a hot path.

  • Raises Zeitwerk::Error if an autoloaded constant expected to represent a namespace does not store a class or module object.

  • Adds truffleruby-head to CI, except for autoloading thread-safety (see why in oracle/truffleruby#2431).

2.7.0 (11 October 2024)

  • Explicit namespaces can now also be defined using constant assignments.

    While constant assignments like

    # coordinates.rb
    Coordinates = Data.define(:x, :y)

    worked for most objects, they did not for classes and modules that were also namespaces (i.e., those defined by a file and matching subdirectories). In such cases, their child constants could not be autoloaded.

    This limitation has been removed.

  • TracePoint is no longer used.

  • Requires Ruby 3.2 or later.

    Gems that work with previous versions of Zeitwerk also work with this one. If they support Ruby versions older than 3.2 they can specify a relaxed version constraint for Zeitwerk like "~> 2.6", for example.

    In client projects, Bundler takes the Ruby requirement into account when resolving dependencies, so Gemfile.lock will get one compatible with the Ruby version being used.

2.6.18 (2 September 2024)

  • Fixes a bug in which projects reopening the main namespace of a gem dependency managed by its own Zeitwerk loader could not reload the constants they added to that external namespace.

2.6.17 (29 July 2024)

  • Fix log message when eager loading a directory ends.
Commits
  • 7d8fcff Ready for 2.7.1
  • 0be1875 Merge pull request #305 from eregon/add-truffleruby-in-ci
  • 1267f6d Update README about TruffleRuby
  • d94fcfe Add truffleruby in CI now that the test suite is passing on it
  • 3c5bccb Skip well-known failing test on truffleruby
  • 5ecdd9f Validate autoloaded explicit namespaces are classes or modules
  • 1289989 Improves the internal docs of Zeitwerk::ExplicitNamespace
  • 1ea9729 Update TruffleRuby notes for Zeitwerk 2.7
  • 15282c1 Improves internal docs for explicit namespaces
  • 4e37814 Merge pull request #304 from eregon/speedup-windows-ci
  • 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 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.6.16 to 2.7.1.
- [Changelog](https://github.com/fxn/zeitwerk/blob/main/CHANGELOG.md)
- [Commits](fxn/zeitwerk@v2.6.16...v2.7.1)

---
updated-dependencies:
- dependency-name: zeitwerk
  dependency-type: indirect
  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 Oct 21, 2024
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 21, 2024

The following labels could not be found: gem.

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