<feed xmlns='http://www.w3.org/2005/Atom'>
<title>asciidoctor-go, branch v0.6.0</title>
<subtitle>Native Go parser for asciidoc markup.</subtitle>
<id>http://git.kilabit.info/asciidoctor-go/atom?h=v0.6.0</id>
<link rel='self' href='http://git.kilabit.info/asciidoctor-go/atom?h=v0.6.0'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/'/>
<updated>2024-09-07T09:47:04Z</updated>
<entry>
<title>Release asciidoctor-go v0.6.0 (2024-09-07)</title>
<updated>2024-09-07T09:47:04Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-09-07T09:47:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=d7214a14e994bea65eab6620689708484b9c45e7'/>
<id>urn:sha1:d7214a14e994bea65eab6620689708484b9c45e7</id>
<content type='text'>
=== 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.
</content>
</entry>
<entry>
<title>go.mod: update dependency</title>
<updated>2024-09-07T07:44:49Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-09-07T07:44:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=6d1232efffd9dc14b34bd9c44a38473b85e7c0d8'/>
<id>urn:sha1:6d1232efffd9dc14b34bd9c44a38473b85e7c0d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Makefile: replace golangci-lint with "go vet"</title>
<updated>2024-09-07T07:44:36Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-09-07T07:44:36Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=b1572c628a4a07ab189a779f4e703918f9f3a50a'/>
<id>urn:sha1:b1572c628a4a07ab189a779f4e703918f9f3a50a</id>
<content type='text'>
This is the second we remove golangci-lint.
Previously, we replace it with revive, now we replace it with go internal
tools "go vet".

The problem is the same, golangci-lint does not works when compiled or
using gotip.
Also, on VM with 8GB memory, it will crash due to OOM.
</content>
</entry>
<entry>
<title>all: fix signature of [Element.WriteByte]</title>
<updated>2024-09-07T07:36:20Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-09-07T07:36:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=fb4449f82b5691154e962a95cad2f0794a22f996'/>
<id>urn:sha1:fb4449f82b5691154e962a95cad2f0794a22f996</id>
<content type='text'>
The WriteByte is the method in that conform [io.ByteWriter].
</content>
</entry>
<entry>
<title>all: remove unnecessary TrimRight</title>
<updated>2024-08-15T17:30:49Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-08-15T16:30:50Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=e9b1dce76d78e6b26afa57de7469bf262a53790f'/>
<id>urn:sha1:e9b1dce76d78e6b26afa57de7469bf262a53790f</id>
<content type='text'>
Each lines to be parsed has been trimmed on the first load, so
there is no need to do it again, on some cases.
</content>
</entry>
<entry>
<title>all: support document attribute "leveloffset"</title>
<updated>2024-08-15T17:18:55Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-08-14T17:59:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=836385a4ad7bc9a914c9a8544901518f0a64f2ed'/>
<id>urn:sha1:836385a4ad7bc9a914c9a8544901518f0a64f2ed</id>
<content type='text'>
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/
</content>
</entry>
<entry>
<title>all: refactoring DocumentAttribute into struct</title>
<updated>2024-08-13T16:50:21Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-08-13T16:50:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=64bd8146914636d395ecd50bf2623b5353976521'/>
<id>urn:sha1:64bd8146914636d395ecd50bf2623b5353976521</id>
<content type='text'>
Using struct limit the value to only string, while some attributes
can be an integer value, for example "leveloffset".
</content>
</entry>
<entry>
<title>all: rename meta or metadata words to document attribute</title>
<updated>2024-08-13T16:08:33Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-08-13T16:08:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=f4c31c2117be6e83c11b975163a7695eddba894b'/>
<id>urn:sha1:f4c31c2117be6e83c11b975163a7695eddba894b</id>
<content type='text'>
The idea is to provide consistent naming for metadata and attribute.
The AsciiDoctor documentation mostly name them as document attribute.
</content>
</entry>
<entry>
<title>all: replace licensing format to REUSE.toml</title>
<updated>2024-08-13T00:38:35Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-08-13T00:37:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=d2ff454eaa7b713e20842b387705c91aa180eaca'/>
<id>urn:sha1:d2ff454eaa7b713e20842b387705c91aa180eaca</id>
<content type='text'>
Using ".reuse/dep5" has been deprecated since REUSE v3.2.

While at it, add missing license to file "const.go".
</content>
</entry>
<entry>
<title>all: rename struct "AttributeEntry" to "DocumentAttribute"</title>
<updated>2024-08-13T00:38:35Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-08-13T00:35:12Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=b8fdcc2be2fcae1bfd3dd62b8bc2d4abe75e78d0'/>
<id>urn:sha1:b8fdcc2be2fcae1bfd3dd62b8bc2d4abe75e78d0</id>
<content type='text'>
This is to make the struct is clear that it represent the document
attribute.
</content>
</entry>
</feed>
