Skip to content

Releases: bytesparadise/libasciidoc

v0.8.0

22 Oct 15:43
b92f431
Compare
Choose a tag to compare

Changelog

Features

Refactoring

Bug fixes

Others

v0.7.0

20 Mar 17:02
e0ecee8
Compare
Choose a tag to compare
v0.7.0 Pre-release
Pre-release

Changelog

Features

Bug fixes

Refactoring

Others

v0.6.0

21 Mar 09:38
82bfd34
Compare
Choose a tag to compare
v0.6.0 Pre-release
Pre-release

Version 0.6.0 focused on improved support for substitutions. It also includes a few extra features
and fixes for bugs discovered while working on the main theme.

Bug Fixes

  • parser: check for letters in roman numbering of list item (#787) (e7a8907), closes #747
  • parser: rearranging lists with delimited blocks afterwards (#789) (d547fd0), closes #785
  • support multiple roles on blocks (#807) (50fb873), closes #602
  • parser: support nested attributes in links (#836) (7307f2f), closes #826
  • parser/renderer: encode URL in links when no text is provided (#788) (ad8fee6), closes #745

Code Refactoring

  • parser: simplified grammar rules for attributes (#804) (1a08657), closes #750

Features

  • parser: support attribute substitution in attribute declaration (#801) (b0e80f5), closes #800
  • parser: support attribute substitution in element attributes (#799) (62ddfce), closes #604
  • parser: support custom substitutions on literal blocks (#774) (826d5db), closes #770
  • parser: support for 'idseparator' attribute (#786) (cd386b8), closes #783
  • parser: support incremental substitutions (#782) (fb1e1fd), closes #761
  • parser: support substitutions on passthrough blocks (#773) (68a9843), closes #772
  • parser/renderer: support 'listing' paragraphs (#781) (87b53b3), closes #778
  • parser/renderer: support 'nowrap' option on source blocks (#795) (6fa3065), closes #784
  • parser/renderer: support 'target' and 'role' attributes in link (#810) (e86a252), closes #803
  • parser/renderer: support example paragraphs (#779) (d642854), closes #728
  • parser/renderer: support quoted text in element attributes (#835) (ce36ad6), closes #829
  • renderer: default HTML title (#798) (6b43b68), closes #627
  • support interactive checklists (#811) (158988e), closes #629

BREAKING CHANGES

  • parser: for images and links, positional attributes are delimited
    with commas, so if a link text should contain such a comma, it is necessary
    that the text be wrapped in single or double quotes. This makes the syntax
    (and thus, the parsing) consistent between block attributes and inline
    attributes.
    Eg: link:http://example.com["a description, with comma"]
  • parser: inline attributes content must not start with spaces, as
    it is the case with block attributes.
    Eg: image::cookie.png[ cookie ] is not valid.

v0.5.1

04 Oct 12:52
3a95294
Compare
Choose a tag to compare
v0.5.1 Pre-release
Pre-release

This is a patch-release to solve a bug in the passthrough block substitutions.
This issue should have been addressed in v0.5.0 but it wasn't triaged 🤦‍♂️

Bug Fixes

  • parser: ignore special chars in passthrough blocks (#763) (3f4ee89), closes #746

v0.5.0

04 Oct 11:10
11c69eb
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

Version 0.5.0 adds the XHTML5 backend, as well as support for custom substitutions on paragraphs and delimited blocks.
Also, rendering on other blocks as also been greatly improved, thanks to better support for attributes.
Finally, source blocks can now be rendered with the Chroma syntax highlighter (using the :source-highlighter: pygments or :source-highlighter: chroma document attribute) and callouts are supported.

As usual, this version also includes its share bug fixes as well.

Huge thanks to gdamore and pjanx for their numerous contributions 🙌

Bug Fixes

  • parser: colons, images and icons not supported in list terms (#615) (b61a886), closes #614
  • parser: expose authors and revision in the document attributes (#521) (9335817), closes #517
  • parser: failure to convert nested elements (#740) (6f07b44), closes #739
  • parser: fix footnotes grammar (#535) (03587bb), closes #532
  • parser: fix quoted text delimitation (#505) (c394f70), closes #504
  • parser: ignore standalone attributes at the end of doc (#606) (a57b8fb), closes #605
  • parser: Inline attribute parsing is incorrect (#684) (04f2a1d)
  • parser: quoted strings should not allow interior adjacent spaces (#636) (fc8a97e), closes #622
  • parser: quoted text newline handling (#624) (07252b5), closes #623
  • parser: verify configuration attributes (#513) (a9da628), closes #509
  • parser: verify document with leading empty line (#757) (921565a), closes #707
  • parser/renderer: support concelead index terms in labeled lists (#507) (1b574d6), closes #502
  • parser/renderer: support non-alphanum characters in index terms (#506) (c94b470), closes #503
  • renderer: do not 'HTML escape' string elements (#752) (4fd36b5), closes #741
  • renderer: do not highlight syntax when language is not set (#515) (c3439bd), closes #514
  • renderer: do not HTML escape content twice in source blocks (#571) (08b705d), closes #570
  • renderer: Remove stray debugging message (#716) (8b13202)
  • renderer: Section ID should include the icon class (#730) (994c92f), closes #691
  • renderer: source highlighter should get unadulterated string (#723) (8fbc228), closes #721
  • renderer: Wrong code for (TM) (#642) (f8cb430), closes #641
  • types: CalloutListItem must implement DocumentElement (#569) (d759c0b), closes #568

Features

  • parser: custom subs on paragraphs (#726) (5dcda32), closes #597
  • parser: custom substitutions on paragraphs (#749) (7050c34), closes #597
  • parser: support custom substitutions on delimited blocks (#755) (2179d24), closes #558
  • parser: support custom substitutions on delimited blocks (#759) (667d4ce), closes #558
  • parser: support Markdown style quote blocks (#563) (b17f6e1), closes #561
  • parser/renderer: Multiple roles for images. (#669) (efdeeea), closes #602
  • parser/renderer: Render curved quotes (#648) (51153eb), closes #176
  • parser/renderer: support callouts in verbatim blocks (#567) (9b5a26c), closes #562
  • parser/renderer: Support inline role assignment (#598) (4ab8453), closes #588
  • parser/renderer: support passthrough blocks (#572) (a4870b3), closes #269
  • parser/renderer: Support wanted for #mark# syntax (#600) ([90b4f2...
Read more

v0.4.0

19 Apr 13:57
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Focus of v0.4.0 was around support for manpage document, plus a bit of refactoring and some bug fixes.

Thanks to gdamore for reporting issues and helping the project 🙌

Bug Fixes

  • parser: expose authors and revision in the document attributes (#521) (9335817), closes #517
  • parser: fix footnotes grammar (#535) (03587bb), closes #532
  • parser: fix quoted text delimitation (#505) (c394f70), closes #504
  • parser: verify configuration attributes (#513) (a9da628), closes #509
  • parser/renderer: support concelead index terms in labeled lists (#507) (1b574d6), closes #502
  • parser/renderer: support non-alphanum characters in index terms (#506) (c94b470), closes #503
  • renderer: do not highlight syntax when language is not set (#515) (c3439bd), closes #514

Features

v0.3.0

14 Mar 14:42
ff1467a
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Changelog

Focus of v0.3.0 was around performances, support for file inclusions, syntax highlighting in source blocks, configuration via the CLI and, refactoring and bug fixes.

Thanks to Arteneko, gdamore, shuLhan and odknt for reporting issues and helping the project 🙌

Bug Fixes

  • parser: allow empty lines between attributes and element (#496) (4d3ef23), closes #493
  • parser: do not allow spaces in singleplus passthough (#346) (5663022), closes #337
  • parser: fix parsing in quoted text (#357) (21f6c7f), closes #354
  • parser: invalid grammar rule (#359) (3f3f349), closes #358
  • parser: invalid parsing of link location (#443) (b7e4654), closes #442
  • parser: provide actual filename in file inclusion error msg (#402) (bc3d557), closes #384
  • parser: support chained admonitions (#500) (f60fabf), closes #492
  • parser: support commas in link text attribute (#389) (23feea9), closes #388
  • parser: support comment between doc title and author (#486) (46e85ae), closes #481
  • parser: support encoded spaces in link URL (#420) (6c57b55), closes #419
  • parser: support inline links in quoted text (#464) (6acb277), closes #456
  • parser: support valid characters in URLs (#417) (98a84d4), closes #416
  • parser/renderer: skip trailing empty lines in delimited blocks (#472) (940da7f), closes #470
  • parser/renderer: support quoted text in links (#360) (e0ac68b), closes #356
  • parser/renderer: use main file path to start inclusions (#429) (5bc6ab4), closes #424
  • renderer: do not include section 0 element (#432) (bfff288), closes #425
  • renderer: escape content of listing and source blocks (#345) (736a89d), closes #341
  • renderer: use file mtime as 'Last updated' (#467) (f539c75), closes #461

Features

  • cli: add 'css' arg to specify the stylesheet (#487) (c1de2f2), closes #482
  • cli: support attributes set/reset in CLI (#495) (79c454c), closes #484
  • parser: do not further processing inclusions in non-asciidoc files (#433) (c4317a1), closes #380
  • parser: include document attribute when processing section 0 (#451) (0826b73), closes #447
  • parser: report an error when tag to limit file inclusion could not be found (#407) (fc187b4), closes #393
  • parser: report error on unbalanced/unclosed tag (#409) (8128d97), closes #392
  • parser: support attribute in path of file to include (#355) (18b54a2), closes #317
  • parser: support concealed index terms (#475) (d295e1b), closes #473
  • parser: support document attributes in links (#441) (fa27e8e), closes #351
  • parser: support file inclusion with absolute level offset (#438) (4db334f), closes #314
  • parser: support file inclusion with tag ranges (#387) (f49fe6f), closes #322
  • parser: support nested relative level offset in file inclusions (#437) (2bb6f9d), closes #434
  • parser: support wildcards in tag inclusions (#423) (8cff6b2), closes #396
  • parser/renderer: add user macro feature (#347) (96b01cf), closes [#334](https://github....
Read more

v0.2.0

24 Feb 17:44
2e2642e
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

The focus of this v0.2.0 release was around improved support for lists.

Features

  • parser: support spaces and tabs ahead of single line comment (#289) (061eb82), closes #288
  • parser/renderer: attach list item to ancestor (#291) (6d9eb0e), closes #264
  • parser/renderer: support checklists (#262) (34598af), closes #244
  • parser/renderer: support element ID prefix (#302) (9780fef), closes #300
  • parser/renderer: support list separation (#274) (d2945ab), closes #263
  • renderer: support 'start' attribute when rendering an ordered list (#279) (e7f692d), closes #271
  • renderer: support "Q and A" labeled lists (#280) (6be62cd), closes #271
  • renderer: support dropping of principal text in ordered list item (#283) (2387309), closes #266 #265
  • renderer: support predefined attributes (#282) (99581b5), closes #266
  • renderer: support title on labeled lists (#278) (a50c637), closes #267

Bug Fixes

  • renderer: avoid double encoding of document attributes (#296) (00c0132), closes #43 #43 #295
  • renderer: do not always render preamble withing wrapper (#299) (76ea3f7), closes #298
  • renderer: fix panic in ToC when doc has no section (#285) (f7ee178), closes #284
  • renderer: wrap continuing element in <div> (#281) (f94e69a), closes #270
  • types: attach child elements to correct parent in ordered list (#294) (8d72ae0), closes #293

v0.1.0

02 Jan 21:53
3b97140
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

v0.1.0 (2019-01-02)

The goal of this v0.1.0 version was to put in place the foundations of the parser and renderer, with (partial) support for a sufficient number of features (sections, paragraphs, lists, tables, blocks, etc.)

Features

  • build: add makefile goal to verify the generated parser (#126) (15b4680)
  • build: add windows and osx builds to Travis (#224) (94a8009), closes #223 #225
  • build: use golangci-lint for all linting (b07c3a7), closes #61
  • build/cmd: include commit/tag and time in 'version' cmd (#114) (96409c3), closes #113
  • cli: add arg to specify the output file (#122) (d402c2d), closes #119
  • cmd: add command line interface (#78) (2f6ae3b), closes #60
  • cmd: add flag to suppress header/footer (#95) (4a31775)
  • cmd: add support to specify log level (#85) (47e6e3c)
  • cmd: allow reading input from stdin (#86) (add3287)
  • make: add goal to build executable (#94), show help by default (#99) (#103) (3ea969a)
  • parser: add support for meta-elements: ID, link and title (c08a7f3)
  • parser: allow id and title on paragraphs (#16) (c499d94)
  • parser: support double punctuation in quoted text (#39) (f7f82e9)
  • parser: support front-matter in YAML format (#28) (b69fe01)
  • parser: support italic and monospace quotes, as well as nested quotes (bd58fd1)
  • parser: support relative links (#65) (5e47b65), closes #56
  • parser: support substitution prevention (#40) (8e59c45)
  • parser: use the memoize option in the parser to improve perfs (#123) (491dbdd), closes #117
  • parser/renderer: image blocks with metadata and paragraphs with multiple lines (8ff1125)
  • parser/renderer: list item continuation (#53) (613a112)
  • parser/renderer: parse and render inline images (#17) (65f8ac7)
  • parser/renderer: parse and render unordered list items (#12) (868e95a)
  • parser/renderer: support admonitions (#70) (6c221f1), closes #67
  • parser/renderer: support block and paragraph quotes (#157) (9f1e394), closes #141
  • parser/renderer: support cross-references with Element ID (#47) (65f9c9c)
  • parser/renderer: support example blocks (#72) (230febb), closes #71
  • parser/renderer: support explicit line breaks (#195) (f5f87cc), closes #189
  • parser/renderer: support for delimited source blocks (4cb7c14)
  • parser/renderer: support for document attributes (#22) (362892a)
  • parser/renderer: support for document attributes reset and substitutions (#23) (f24fbd5)
  • parser/renderer: Support for Document Author and Revision, and Preamble (#36) (99b1fd9)
  • parser/renderer: support for labeled list (#51) (5e758c6)
  • parser/renderer: support for literal blocks (#29) (51f4897)
  • parser/renderer: support inline footnotes (#183) (28e43c7), closes #138
  • parser/renderer: support links to section title (#58) (1900b10)
  • parser/renderer: support listing blocks (#42) (2fb5fe6)
  • parser/renderer: support literal block attributes (#186) (4ef1381), closes #185
  • parser/renderer: support optional label in cross-references (#174) (ec85fd2), closes #143
  • parser/renderer: support ordered lists (#77) (416e9ea), closes #64
  • parser/renderer: support passthrough (#41) (aa501da)
  • parser/renderer: support role attributes, refactor attributes and image type (#171) (d2b6e95), closes #151
  • parser/renderer: support sidebar blocks (#182) (e34547c), closes #139
  • parser/renderer: support single line and block comments (#146) (c6549d3), closes #144
  • parser/renderer: support source code blocks with language (#255) ([293761e](https://github.com/bytesparadise/libasc...
Read more