Skip to content

build(deps-dev): bump yard from 0.9.45 to 0.9.46 - #5726

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/yard-0.9.46
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/yard-0.9.46

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps yard from 0.9.45 to 0.9.46.

Release notes

Sourced from yard's releases.

Release v0.9.46

  • Fix gem archive path traversal in yard diff. Reported by Shopify (@​oss-security-shopify). GHSA-r86q-p7r5-qcmh
  • Use the browser's current URL to poll for documentation while a library builds. Reported by zx (@​manus-pi).
  • Fix the search result count in the file and class lists, and the first click on a search result being lost when the search field loses focus (#1736)
  • Fix type parser rejecting namespaced RBS interface names such as Asana::Client::_Projects (#1735)
  • Fix stack overflow when a module's mixins form a cycle
  • Register RBS method aliases
  • Register RBS class and module aliases (class Foo = Bar) as constants
  • Support RBS visibility modifiers, private sections and self? methods
  • Support RBS method signatures that span several lines
  • Fix RBS include, extend and prepend keeping type arguments in the mixin name
  • Fix RBS parser not closing a namespace at an end followed by an inline comment, which nested every later declaration one level too deep (#1723)
  • Fix stack overflow when many files reference namespaces defined in later files (#1375). A handler that calls Handlers::Base#ensure_loaded! on an unresolved object is now deferred and run again from the start once all files are parsed, instead of parsing the remaining files recursively. The max_retries argument to ensure_loaded! and Handlers::C::Base#ensure_variable_defined! is deprecated and ignored.
  • Add support for intersection (Foo & Bar) types: a value must satisfy every type listed, rather than any one of them, reading as "both a Foo and a Bar" (or "all of a Foo, a Bar, and a Baz" for 3+) to avoid reading like two separate values (closes #1644)
  • Add | as a union operator (Foo | Bar means an object that's either a Foo or a Bar). Type lists that already mean a union - the top level, a hash's key/value lists, Array<...>/Set<...> - read , and | the same way; elsewhere, where a comma-separated list means distinct type parameters or tuple slots (Array(...), or <...> for a name other than Array/Set), | groups a union within a single one of them (closes #1699)
  • Add [...], used the same way parentheses are in algebra: to override the default order of operations, e.g. to use a union as one conjunct of an intersection (closes #1699)
  • Document the existing anonymous <A>, (A), and {A=>B} shorthand forms
  • Stop assuming Foo<A, B> always means "A or B": only Array/Set (known homogeneous collections) keep that implicit-union reading; any other name with 2+ type parameters now reads neutrally as "with type parameters (A, B)", since <...> is also conventionally used for a class's distinct type parameters (e.g. Result<Success, Failure>). Hash<KeyType, ValueType> gets its own dedicated positional rendering, matching Hash{KeyType=>ValueType}
  • Fix spurious "Cannot resolve link" warnings for braces inside fenced code blocks nested in HTML blocks (e.g. <details>) in Markdown files (#1706)
  • Fix RBS method tags for signatures with type parameters or an optional block

... (truncated)

Changelog

Sourced from yard's changelog.

0.9.46 - November 26th, 2026

  • Fix gem archive path traversal in yard diff. Reported by Shopify (@​oss-security-shopify). GHSA-r86q-p7r5-qcmh
  • Use the browser's current URL to poll for documentation while a library builds. Reported by zx (@​manus-pi).
  • Fix the search result count in the file and class lists, and the first click on a search result being lost when the search field loses focus (#1736)
  • Fix type parser rejecting namespaced RBS interface names such as Asana::Client::_Projects (#1735)
  • Fix stack overflow when a module's mixins form a cycle
  • Register RBS method aliases
  • Register RBS class and module aliases (class Foo = Bar) as constants
  • Support RBS visibility modifiers, private sections and self? methods
  • Support RBS method signatures that span several lines
  • Fix RBS include, extend and prepend keeping type arguments in the mixin name
  • Fix RBS parser not closing a namespace at an end followed by an inline comment, which nested every later declaration one level too deep (#1723)
  • Fix stack overflow when many files reference namespaces defined in later files (#1375). A handler that calls Handlers::Base#ensure_loaded! on an unresolved object is now deferred and run again from the start once all files are parsed, instead of parsing the remaining files recursively. The max_retries argument to ensure_loaded! and Handlers::C::Base#ensure_variable_defined! is deprecated and ignored.
  • Add support for intersection (Foo & Bar) types: a value must satisfy every type listed, rather than any one of them, reading as "both a Foo and a Bar" (or "all of a Foo, a Bar, and a Baz" for 3+) to avoid reading like two separate values (closes #1644)
  • Add | as a union operator (Foo | Bar means an object that's either a Foo or a Bar). Type lists that already mean a union - the top level, a hash's key/value lists, Array<...>/Set<...> - read , and | the same way; elsewhere, where a comma-separated list means distinct type parameters or tuple slots (Array(...), or <...> for a name other than Array/Set), | groups a union within a single one of them (closes #1699)
  • Add [...], used the same way parentheses are in algebra: to override the default order of operations, e.g. to use a union as one conjunct of an intersection (closes #1699)
  • Document the existing anonymous <A>, (A), and {A=>B} shorthand forms
  • Stop assuming Foo<A, B> always means "A or B": only Array/Set (known homogeneous collections) keep that implicit-union reading; any other name with 2+ type parameters now reads neutrally as "with type parameters (A, B)", since <...> is also conventionally used for a class's distinct type parameters (e.g. Result<Success, Failure>). Hash<KeyType, ValueType> gets its own dedicated positional rendering, matching Hash{KeyType=>ValueType}
  • Fix spurious "Cannot resolve link" warnings for braces inside fenced code blocks nested in HTML blocks (e.g. <details>) in Markdown files (#1706)

... (truncated)

Commits
  • 869e069 Release: v0.9.46
  • f379fa8 Fix documentation server processing page URL handling
  • 467c644 Fix path traversal in yard diff gem extraction
  • fc44dad Fix search result count and lost first click on results (#1736)
  • 1075efa Accept RBS interface names like A::_B in type tags (#1735)
  • 9627782 Fix stack overflow when mixins form a cycle (#1734)
  • 51f9351 Fix RBS tags for generic methods and optional blocks (#1733)
  • eb286e6 Register RBS method aliases (#1732)
  • a5e8fc6 Register RBS class and module aliases as constants (#1731)
  • 2606474 Support RBS visibility modifiers, sections and self? methods (#1730)
  • 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 [yard](https://github.com/lsegal/yard) from 0.9.45 to 0.9.46.
- [Release notes](https://github.com/lsegal/yard/releases)
- [Changelog](https://github.com/lsegal/yard/blob/main/CHANGELOG.md)
- [Commits](lsegal/yard@v0.9.45...v0.9.46)

---
updated-dependencies:
- dependency-name: yard
  dependency-version: 0.9.46
  dependency-type: indirect
  update-type: version-update:semver-patch
...

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 Nov 30, 2026

This branch has not been deployed

No deployments
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