CHANGELOG.adoc in asciidoctor-2.0.10 vs CHANGELOG.adoc in asciidoctor-2.0.11

- old
+ new

@@ -12,21 +12,100 @@ This document provides a high-level view of the changes introduced in Asciidoctor by release. For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub. // tag::compact[] +== 2.0.11 (2020-11-02) - @mojavelinux + +Bug Fixes:: + + * Fix infinite loop when callout list with obsolete syntax is found inside list item (#3472) + * Fix infinite loop when xreftext contains a circular reference path in HTML and manpage converters (#3543) + * Apply text formatting to table cells in implicit header row when column has the "a" or "l" style (#3760) + * Fix errant reference warning for valid reference when running in compat mode (#3555) + * Initialize backend traits for converter (if not previously initialized) using assigned basebackend; mimics Asciidoctor < 2 behavior (#3341) + * Set source_location on preamble block when sourcemap option is enabled (#3799) + * Link the notitle and showtitle attributes so they act as opposites for the same toggle (#3804) + * Pass options to constructor of Rouge lexer instead of #lex method; restores compatibility with Rouge >= 3.4 (#3336) + * Don't clobber cgi-style options on language when enabling start_inline option on the Rouge PHP lexer (#3336) + * Fix parsing of wrapped link and xref text, including when an attrlist signature is detected (#3331) + * Restore deprecated writable number property on AbstractBlock + * Always use title as xreftext if target block has an empty caption, regardless of xrefstyle value (#3745) + * Allow a bibliography reference to be used inside a footnote (#3325) + * Fix bottom margin collapsing on AsciiDoc table cell (#3370) + * Remove excess hard line break in multi-line AsciiMath blocks (#3407) + * Only strip trailing spaces from lines of AsciiDoc include file (#3436) + * Remove errant optional flag in regexp for menu macro that breaks Asciidoctor.js (#3433) + * Preserve repeating backslashes when generating manpage output (#3456) + * Honor percentage width specified on macro of inline SVG (#3464) + * Removing leading and trailing blank lines in AsciiDoc include file to match assumption of parser (#3470) + * Activate extensions when :extensions option is set even if Extensions API is not yet loaded (#3570) + * Don't activate global extensions if :extensions option is false (#3570) + * Escape ellipsis at start of line in manpage output (#3645) (*@jnavila*) + * Don't register footnote with ID if a footnote is already registered with that ID (#3690) + * Honor start attribute on ordered list in manpage output (#3714) + * Warn instead of crashing if SVG to inline is empty (#3638) (*@mogztter*) + * Compute highlight line ranges on source block relative to value of start attribute (#3519) (*@mogztter*) + * Prevent collapsible block from incrementing example number by assigning an empty caption (#3639) + * Use custom init function for highlight.js to select the correct `code` elements (#3761) + * Fix resolved value of :to_dir when both :to_file and :to_dir options are set to absolute paths (#3778) + * Fix crash if value of `stylesheets` attribute contains a folder and the destination directory for the stylesheet does not exist (even when the `:mkdirs` option is set) (#3808) + * Fix crash if value passed by API for `copycss` attribute is not a string (#3592) + * Restore label in front of each bibliography entry in DocBook output that was dropped by fix for #3085 (#3782) + * Apply max width to each top-level container instead of body in HTML output (#3513) + * Don't apply border-collapse: separate to HTML for table blocks; fixes double border at boundary of colspan/rowspan (#3793) (*@ahus1*) + * Don't remove right border on last table cell in row (#2563) + * Rework table borders to leverage border collapsing (apply frame border to table, grid border to cells, and selectively override border on cells to accommodate frame) (#3387) + +Compliance:: + + * Add support for muted option to self-hosted video (#3408) + * Move style tag for convert-time syntax highlighters (coderay, rouge, pygments) into head (#3462) + * Move style tag for client-side syntax highlighters (highlight.js, prettify) into head (#3503) + * Define entry point API methods (load, convert, load_file, convert_file) as class methods instead of module_function to avoid conflict with Kernel.load (#3625) + * Retain attribute order on HTML code tag for source block to remain consistent with output from 1.5.x (#3786) + * Correct language code for Korean language file from kr to ko (#3807) (*@jnavila*) + +Improvements:: + + * Apply word wrap (i.e., `word-wrap: anywhere`) to body in default stylesheet (#3544) + * Allow `nobreak` and `nowrap` roles to be used on any inline element (#3544) + * Add CSS class to support pre-wrap role to preserve leading, trailing, and repeating spaces in phrase (#3815) + * Preserve guard around XML-style callout when icons are not enabled (#3319) + * Use `.fam C` command to switch font family for verbatim blocks to monospaced text in manpage output (#3561) + * Remove redundant test for halign and valign attributes on table cell in DocBook converter + * Allow encoding of include file to be specified using encoding attribute (#3248) + * Allow template to be used to override outline by only specifying the outline template (#3491) + * Upgrade MathJax from 2.7.5 to 2.7.9 + * Upgrade highlight.js from 9.15.10 to 9.18.3 (note that this increases script size from 48.8 KB to 71.5 KB) + * Skip unused default attribute assignments for embedded document + * Allow a URL macro to have a preceding single or double quote (#3376) + * Add support for erubi template engine; use it in place of erubis in test suite; note the use of erubis is deprecated (#3737) + * Download and embed remote custom stylesheet if allow-uri-read is set (#3765) + * Remove direction property from default stylesheet (#3753) (*@abdnh*) + * remove max width setting on content column for print media in default stylesheet (#3802) + * Normalize frame value "topbot" to "ends" in HTML output (consistently use frame-ends class) (#3797) + * Add role setter method on AbstractNode (#3614) + * Map chapter-signifier and part-signifier attributes in locale attribute files to replace chapter-label and part-label (#3817) + +Build / Infrastructure:: + + * Run test suite on TruffleRuby nightly (*@mogztter*, *@erebor*) + * Upgrade TruffleRuby to 20.0.0 (*@mogztter*) + * Trigger upstream builds for AsciidoctorJ on Github Actions (*@robertpanzer*) + +// end::compact[] == 2.0.10 (2019-05-31) - @mojavelinux Bug Fixes:: * fix Asciidoctor.convert_file to honor `header_footer: false` option when writing to file (#3316) * fix placement of title on excerpt block (#3289) * always pass same options to SyntaxHighlighter#docinfo, regardless of value of location argument * fix signature of SyntaxHighlighter#docinfo method (#3300) * when `icons` is set to `image`, enable image icons, but don't use it as the value of the `icontype` attribute (#3308) -// end::compact[] == 2.0.9 (2019-04-30) - @mojavelinux Bug Fixes:: * process multiple single-item menu macros in same line (#3279) @@ -146,11 +225,11 @@ Enhancements / Compliance:: * drop support for Ruby < 2.3 and JRuby < 9.1 and remove workarounds (#2764) * drop support for Slim < 3 (#2998) - * drop the converter for the docbook45 backend (#3005) + * drop the converter for the docbook45 backend from core; moved to https://github.com/asciidoctor/asciidoctor-docbook45 (#3005) * apply substitutions to section and block titles in normal substitution order (#1173) * make syntax highlighter pluggable; extract all logic into adapter classes (#2106) * add syntax highlighter adapter for Rouge (#1040) * redesign Converter API based on SyntaxHighlighter API; remap deprecated API to new API to ensure compatibility (#2891) * repurpose built-in converters as regular converters (#2891) @@ -335,10 +414,11 @@ * change AbstractBlock#find_by to honor return values :skip and :skip_children from filter block to skip node and its descendants or just its descendants, respectively (#2067) * add API to retrieve authors as array; use API in converters (#1042) (*@mogztter*) * add support for start attribute on source block to set starting line number when converting to DocBook (#2915) * track imagesdir for image on node and in catalog (#2779) * allow starting line number to be set using start attribute when highighting source block with Pygments or CodeRay (#1742) + * add intrinsic attribute named `pp` that effectively resolves to `++` (#2807) * upgrade highlight.js to 9.13.1 Bug Fixes:: * don't hang on description list item that begins with /// (#2888) @@ -419,10 +499,15 @@ Enhancements:: * BREAKING: drop XML tags, character refs, and non-word characters (except hyphen, dot, and space) when auto-generating section IDs (#794) ** hyphen, dot, and space are replaced with value of idseparator, if set; otherwise, spaces are dropped + * BREAKING: disable interdocument xrefs in compat mode (#2740) + * BREAKING: automatically parse attributes in link macro if equals is present, ignoring linkattrs (except in compat mode) (#2059) + * pass non-AsciiDoc file extensions in target of xref through unprocessed (#2740) + * process any known AsciiDoc file extension in target of shorthand interdocument xref if hash is also present (e.g., `<<target.asciidoc#,text>>`) (#2740) + * only allow .adoc to be used in target of formal xref macro to create an interdocument xref (with or without a hash) (#2740) * allow attribute names to contain any word character defined by Unicode (#2376, PR #2393) * do not recognize attribute entry line if name contains a colon (PR #2377) * route all processor messages through a logger instead of using Kernel#warn (#44, PR #2660) * add MemoryLogger for capturing messages sent to logger into memory (#44, PR #2660) * add NullLogger to prevent messages from being logged (#44, PR #2660) @@ -538,11 +623,10 @@ * make block roles specified using shorthand syntax additive (#2174) * allow paragraph to masquerade as open block (PR #2412) * move callouts into document catalog (PR #2394) * document ID defined in block attribute line takes precedence over ID defined inside document title line * don't look for link and window attributes on document when resolving these attributes for an image - * when linkattrs is set, only parse attributes in link macro if equals is present * skip line comments in name section of manpage (#2584, PR #2585) * always activate extension registry passed to processor (PR #2379) * skip extension registry activation if no groups are registered (PR #2373) * don't apply lead styling to first paragraph if role is present (#2624, PR #2625) * raise clearer exception when extension class cannot be resolved (#2622, PR #2623) @@ -915,11 +999,11 @@ * Add preference to limit the maximum size of an attribute value (#1861) * Honor SOURCE_DATE_EPOCH environment variable to accomodate reproducible builds (#1721) (*@JojoBoulix*) * Add reversed attribute to ordered list if reversed option is enabled (#1830) * Add support for additional docinfo locations (e.g., :header) - * Configure default stylesheet to break monospace word if exceeds length of line; add roles to prevent breaks (#1814) + * Configure default stylesheet to break monospace word if exceeds length of line using `word-wrap: break-word`; add `nobreak` and `nowrap` roles to prevent breaks (#1814) * Introduce translation file for built-in labels (*@ciampix*) * Provide translations for built-in labels (*@JmyL* - kr, *@ciampix* - it, *@ivannov* - bg, *@maxandersen* - da, *@radcortez* - pt, *@eddumelendez* - es, *@leathersole* - jp, *@aslakknutsen* - no, *@shahryareiv* - fa, *@AlexanderZobkov* - ru, *@dongwq* - zh, *@rmpestano* - pt_BR, *@ncomet* - fr, *@lgvz* - fi, *@patoi* - hu, *@BojanStipic* - sr, *@fwilhe* - de, *@rahmanusta* - tr, *@abelsromero* - ca, *@aboullaite* - ar, *@roelvs* - nl) * Translate README to Chinese (*@diguage*) * Translate README to Japanese (*@Mizuho32*) @@ -1169,10 +1253,10 @@ * upgrade highlight.js to version 8.4 (#1216) * upgrade Font Awesome to version 4.2.0 (#1201) (*@clojens*) * define JAVASCRIPT_PLATFORM constant to simplify conditional logic in the JavaScript environment (#897) * provide access to destination directory, outfile and outdir via Document object (#1203) * print encoding information in version report produced by `asciidoctor -v` (#1210) - * add intrinsic attribute named `cpp` with value `C++` (#1208) + * add intrinsic attribute named `cpp` that effectively resolves to `C++` (#1208) * preserve URI targets passed to `stylesheet` and related attributes (#1192) * allow numeric characters in block attribute name (#1103) * support custom YouTube playlists (#1105) * make start number for unique id generation configurable (#1148) * normalize and force UTF-8 encoding of docinfo content (#831)