YARD is a documentation generation tool for the Ruby programming language. It
| 2026-11-30 17:16:00 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
textproc/ruby-yard: udpate to 0.9.46
0.9.46 (2026-11-27)
* 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
* Fix TypesExplainer parsing of nested collection types in Hash key position
* Fix duplicate "View source" links after client-side navigation in default
HTML template
* Fix duplicated character class range warning in HybridMarkdown
* Fix quadratic parsing slowdown on source files containing very large
literals
* Send XHR requests from processing template
Contributors
* @manus-pi
* @oss-security-shopify
|
2026-07-20 07:45:54 by Takahiro Kambe | Files touched by this commit (2) |  |
Log message:
textproc/ruby-yard: update to 0.9.45
0.9.45 (2026-07-14)
* Use @param types to document generated Struct.new and Data.define members
(#1684)
* Add compatibility with RDoc 8
* Fix TypesExplainer parsing of types following Hash collections (#1688)
* Fix HTML generation for RBS constants without source values (#1686)
* Fix method redefinition warnings when loading YARD with Ruby warnings
enabled (#1687)
* Improve sanitization of yard server request paths
|
2026-05-31 16:11:39 by Takahiro Kambe | Files touched by this commit (3) |  |
Log message:
textproc/ruby-yard: update to 0.9.44
0.9.44 (2026-05-25)
* Fix possible path traversal with document_root (--docroot) and disk
caching (--cache) set in yard server (GHSA-pxcc-8665-phx8)
* Fix support for HTML entities in HybridMarkup (#1680, #1681)
* Add support for string literals in TypesExplainer (#1628)
* Add support for multiple & nested Hash keys definition (#1630)
|
2026-04-19 16:32:52 by Takahiro Kambe | Files touched by this commit (3) |  |
Log message:
textproc/ruby-yard: update to 0.9.43
0.9.40 (2026-04-13)
* Add support for Ruby .rbs files (docstrings included) (#1673)
* Add built-in hybrid RDoc/Markdown renderer (HybridMarkdown) requiring no
external gems (#1674)
* Add support for #- as a comment-block separator. See Getting Started Guide.
* Add support for commonmarker version >= 1.0.
* Remove usage of jQuery in default templates. jQuery library is still
packaged in templates for backward compatibility (#1675)
* Fix false self-referential mixin when bare name matches ancestor namespace
(#1672)
* Fix bracket/brace map corruption from Ruby 3.0+ pattern matching
deconstruction (#1671)
* Fix @!scope class on attributes (#1582, #1655, #1666)
* Fix @!parse directives not including source for block (#1665)
* Fix inherited methods not appearing in groups (#1656)
0.9.41 (2026-04-14)
* Add support for rdoc-image:... syntax in HybridMarkup (#1676)
* Add support for colon suffix code blocks in HybridMarkup (rdoc
compatibility)
* Fix responsiveness and state issues with nav frame links in yard server
0.9.42 (2026-04-16)
* Fix alternating rows when loading a module in default HTML templates with
subelements in the nav frame
* Fix reliability of keypresses and copy/paste in search box (#1174)
* Fix regression in yard server search box styling
* Fix possible path traversal with document_root (--docroot) set in yard
server (GHSA-xfhh-rx56-rxcr)
0.9.43 (2026-04-18)
* Fix attribute registration in .rbs files (#1583)
|
2026-04-12 17:20:54 by Takahiro Kambe | Files touched by this commit (2) |  |
Log message:
textproc/ruby-yard: update to 0.9.39
0.9.39 (2026-04-08)
* Add support for Ruby 4.0 (#1663)
* Add changelog URI to gemspec metadata (#1641)
* Fix issues with source ranges (#1642)
* Fix an issue loading relative links from file list in HTML template (#1660)
* Various test fixes (#1650, #1651)
|
2026-01-18 15:31:58 by Takahiro Kambe | Files touched by this commit (2) |  |
Log message:
textproc/ruby-yard: update to 0.9.38
0.9.38 (2025-12-05)
* Add support for complex constant assignment (#1599)
* Add support for Data type structs (#1600)
* Support multi method duck type syntax in type explainer (#1631)
* Improve Ruby 3.5 compatibility (#1616)
* Update documentation for various type annotations (#1615)
* JavaScript frontend updates (resizer, JS bugs, reduce console verbosity)
for default template
* Fix beginless/endless range errors (#1549, #1625)
* Fix path structure in Templates.md documentation (#1588)
* Fix signature handling in overload (#1590)
* Fix handling of **nil with named block (#1623)
* Fix directives in empty class bodies (#1624)
* Fix parsing of array within array syntax (#1604)
* Fix parsing of visibility keywords in front of class methods (#1632)
|
2024-09-22 09:42:53 by Takahiro Kambe | Files touched by this commit (3) |  |
Log message:
textproc/ruby-yard: update to 0.9.37
0.9.37 (2024-09-04)
* Fix JavaScript errors in --one-file template (#1426)
* Fix heredoc parsing and add support for squiggly heredocs (#1315, #1495)
* Accessibility improvements to the default template (#1501)
* Improved YARD documentation (#1410, #1512, #1516, #1544)
* Fix error when parsing @option tags (#1515)
* Fix issue parsing UTF-8 filenames (#1517)
* Replace OpenStruct with optimized YARD::OpenStruct to avoid ostruct
performance warnings (#1545)
* Add support for private attr_* syntax (#1541)
* Remove logger dependency (#1546)
|
2024-03-03 09:49:30 by Takahiro Kambe | Files touched by this commit (2) |  |
Log message:
textproc/ruby-yard: update to 0.9.36
0.9.35 (2024-02-28)
* Fix possible XSS on generated YARD frameset pages (thanks to @RedYetiDev
for finding and patching) (2069e2b).
* Fix errors when using @option on non-method objects (#1508)
* Support Ruby 3.3 changes in Ripper parser (#1510)
0.9.36 (2024-02-29)
* Further XSS fixes for generated frameset pages (#1538)
* Improve tests for Ruby 3.3 compatibility (#1519, #1531)
* Documentation improvements (#1524)
|