| tag name | v0.6.0 (55429e4100ced1f69728abbea3156fe8aac3008b) |
| tag date | 2024-09-07 16:50:23 +0700 |
| tagged by | Shulhan <ms@kilabit.info> |
| tagged object | commit d7214a14e9... |
| download | asciidoctor-go-0.6.0.tar.xz |
|---|
Release asciidoctor-go v0.6.0 (2024-09-07)
=== Breaking changes
* all: rename struct "AttributeEntry" to "DocumentAttribute"
This is to make the struct is clear that it represent the document
attribute.
* all: rename struct "AttributeEntry" to "DocumentAttribute"
This is to make the struct is clear that it represent the document
attribute.
* all: refactoring DocumentAttribute into struct
Using struct limit the value to only string, while some attributes can
be an integer value, for example "leveloffset".
=== New features
* all: support document attribute "leveloffset"
The ":leveloffset:" on document attribute allow increment or decrement
the heading level on included files.
Reference: https://docs.asciidoctor.org/asciidoc/latest/directives/include-with-leveloffset/
=== Enhancements
* all: use strict document header format
Previously, an empty line before Document Title cause the parser stop
parsing the document header, now an empty lines are skipped.
Also document attribute can be place anywhere, either before or after
title, and in between attributes; now it can be only placed after
revision or author or title.
* all: remove unnecessary TrimRight
Each lines to be parsed has been trimmed on the first load, so there
is no need to do it again, on some cases
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQSyS35x1RIQ2SkuGz5KU2C1AMnE8AUCZtwiHQAKCRBKU2C1AMnE
8JgDAQCwT7ftWzlzB2RaIQUlTa19DystES1ML5BJMcRg9jwvbQEApNSfe1eCSzX5
ey28CSxMIch3is4rYFX6zEOlcbDdIQM=
=r5oq
-----END PGP SIGNATURE-----
