All Versions
82
Latest Version
Avg Release Cycle
85 days
Latest Release
876 days ago

Changelog History
Page 3

  • v0.9.7 Changes

    January 09, 2017
    • ๐Ÿ›  Fixed resolution of absolute object paths with ambiguous names. (#1029)
  • v0.9.6 Changes

    January 07, 2017
    • โœ‚ Removed official support for Ruby 1.x (1.8/1.9). YARD can still be installed in these versions, but support is not guaranteed. Simple bug fixes may still be considered via pull request only. Issues without code will be automatically closed.
    • โž• Added {YARD::Tags::Tag#explain_types} returning a plain English summary of the type specification of a given tag. Also adds {YARD::Tags::TypesExplainer} as an implementation class for the method.
    • โž• Added support for automatic linking of constants and method calls of Ruby syntax highlighted source code in generated HTML. Also adds the {YARD::Parser::Ruby::TokenResolver} implementation class to iterate over tokenized code with extra resolved object information.
    • โž• Added support for compound constant assignments (A::B::C = true).
    • Added LibraryVersion#yardoc_file_for_SOURCE callback method for sources with a pre-determined yardoc file location. Implement this method instead of manually setting library.yardoc_file = ... in your load method (you can still assign the attribute manually).
    • ๐Ÿ’Ž Use RubyGems 2.x+ API to query gems when available instead of using backport.
    • ๐Ÿ›  Various bug fixes
  • v0.9.5 Changes

    July 22, 2016
    • yard doc will now generate .yardoc/processing and .yardoc/complete files to allow other tools to properly detect when YARD is in the middle of parsing source files, and when it has completed writing the database.
    • โž• Added support for on-demand generation of LibraryVersion objects using the :disk source type. LibraryVersion objects pointing to a .yardoc database directory will now auto-generate if there is a source_path attached.
    • โž• Added warning for macros attached to non-method objects.
    • ๐Ÿ›  Fixed a few more parsing errors.
  • v0.9.4 Changes

    July 21, 2016
    • ๐Ÿ“œ Minor Ruby file parsing and CSS bug fixes.
  • v0.9.3 Changes

    July 20, 2016
    • โž• Added support for {YARD::Server::RackAdapter} to be mounted under prefix URIs.
    • ๐Ÿ›  Fixed regression in yard server -g that caused static file assets on index page to return 404 errors.
    • ๐Ÿ›  Fixed regression in yard server -g index page that disabled scrolling and caused other HTML rendering glitches.
  • v0.9.2 Changes

    July 19, 2016
    • โž• Added yard config --gem-install-[yri|yard] commands which auto-configure your ~/.gemrc file to run yri/yard instead of ri/rdoc on a gem install.
    • โž• Added support for gemspec metadata key "yard.run", which can be either "yard" or "yri" to run the respective commands on a gem install.
    • โž• Added yard doc --no-progress to hide the progress bar.
    • ๐Ÿ›  Fix resolution error for compound proxy namespaces.
    • โœ… YRI will now search across all gem versions (latest first) for the .yardoc database.
  • v0.9.1 Changes

    July 18, 2016
    • โž• Added "Attributes" section to yard stats.
    • โž• Added support for RubyGems 2.x --document=yri,yard flags. You can now run YARD documentation generation against installed gems by running: gem install mygem --document=yard,yri.
    • โž• Added /static/* routing for library-specific routing. This enables static template files to be served on a per-library basis instead of globally shared across the yard server.
    • โž• Added support for inlining of {include:*} syntax. Using this syntax in the middle of a docstring paragraph will no longer create a separate paragraph for the included text.
    • โž• Added support for resolving {} syntax in text templates, specifically for use in {include:*} syntax.
    • ๐Ÿ‘Œ Improved object resolution logic in {Foo::Bar} syntax and {YARD::Registry.resolve}. New resolution logic should now more accurately support resolving compound paths across namespaces and through the inheritance tree (as Ruby does).
    • The frozen_string_literal: true comment line in Ruby source files will now be excluded from docstrings.
    • โž• Added a workaround for https://bugs.ruby-lang.org/issues/11485
    • ๐Ÿ›  Fixed an issue where type using a docstring reference on an @!attribute macro would be incorrectly parsed as a type specifier. This change updates the tag parser to disallow newlines between the tag name and opening bracket of the type specification.
    • ๐Ÿ›  Fixed an issue where --embed-mixins would improperly embed methods from inherited classes instead of modules.
    • ๐Ÿ›  Fixed various parsing errors and YARD exceptions.
    • โž• Added a warning for modules or classes being redefined as constants.
    • โช Reverted stripping of HTML in {YARD::Docstring#summary}.
    • โž• Added optimization to remove initial docstring parse on newly created code objects.
    • {YARD::CodeObjects::Base#format} now passes the :type parameter to templates.
    • Hide methods with filtered namespaces in Method Listing.
  • v0.9.0 Changes

    July 04, 2016

    Special thanks to Alex Dowad, MSP-Greg, and Alex McLain for their extended contributions to this version.

    • โšก๏ธ (Breaking Change): Replaced default template with an updated "frameless" version. This change may affect backward compatibility if custom templates made modifications to default/fulldoc/html, specifically the index or navigation lists.
    • โž• Added support for Ruby 2.1+ decorator style method declaration syntax. YARD now supports: private def foo(x, y) end
    • ๐Ÿ“‡ Metadata headers in extra files can now be escaped from rendering by enclosing them in HTML comment blocks (<!--\n @metadata here... \n-->). Ensure that the opening comment tag is alone on the first line of the file to use this functionality.
    • ๐Ÿ‘Œ Improved parsing of various CRuby coding styles.
    • ๐Ÿ›  Fixed issue with binary image assets when using yard server.
    • ๐Ÿ›  Fixed deprecation warnings from Rake 10.x.
    • โšก๏ธ Tests updated for RSpec 3.
  • v0.8.7 Changes

    July 26, 2013
    • โž• Added --hide-api API option to hide objects with a given @api tag (#685).
    • โž• Added "Returns ...." prefix to summary when a lone @return tag is used.
    • ๐Ÿ›  Fixed issue that caused ref tags to be added to a docstring twice (#678).
    • ๐Ÿ›  Fixed formatting issue in docstring summaries (#686)
  • v0.8.7.6 Changes

    October 26, 2014
    • ๐Ÿ‘Œ Support using @option tag on keyword arg splat parameter. (#729)
    • โž• Add .stats_options for YardocTask. (#800, #801)