| tag name | v0.5.1 (fd02026491c13f287993d783d3d95b5249d072a1) |
| tag date | 2023-12-14 15:41:19 +0700 |
| tagged by | Shulhan <ms@kilabit.info> |
| tagged object | commit bc54ecb3e2... |
| download | asciidoctor-go-0.5.1.tar.xz |
|---|
Release asciidoctor-go v0.5.1 (2023-12-14)
=== Bug fixes
* all: fix custom IDs on first section always got replaced
Any custom ID on the first section always replaced with the subsection
because, first, when detecting preamble we did not check for line with
kind ID "[[…]]" an short ID "[#…]". Second, when parsing
preamble we did not stop when we found line kind ID and short ID.
This preamble thing is kind of annoying. We need to revisit again how
to detect preamble, maybe not calling separate block parser, but
making it linear as the default first child of parent element.
=== Chores
* all: replace "lib/parser" with "strings/parser"
The lib/parser has been deprecated in share module.
* all: remove dependency to "github.com/shuLhan/share/lib/debug"
* all: replace linter golangci-lint with revive and shadow
The golangci-lint does not output any results anymore.
Either we are getting good at writing Go or the linter itself is
become less good.
We also have seen that the latest golangci-lint is failed to build
with Go tip, a simple "make" on the golangci-lint never success in
my experiences.
This changes fix all the output reported by the revive and shadow.
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQSyS35x1RIQ2SkuGz5KU2C1AMnE8AUCZXq/0gAKCRBKU2C1AMnE
8DzpAP9xQ8tQhHSaJdFh1NK3y8xMT85bSd1E95G68zbXhoQDTQEAwxwbChZ3bewg
FEgRQkZuL6SlAlCnmC+x1GMBfjhy5AQ=
=Ex4m
-----END PGP SIGNATURE-----
