| tag name | v0.7.0 (3a351d1c1f7e4768df7858e8c3dd387ad4ae8dcb) |
| tag date | 2021-12-06 18:52:35 +0700 |
| tagged by | Shulhan <ms@kilabit.info> |
| tagged object | commit b9320bece5... |
| download | ciigo-0.7.0.tar.xz |
|---|
Release ciigo v0.7.0 (2021-12-06)
Changes on asciidoctor-go,
* all: fix parsing and rendering cross reference
* all: allow colon ':' and period '.' on the ID
=== Breaking changes
* all: refactoring with latest share module
The latest share module use the term GoEmbed to generate Go source file.
In order for this repo in sync with upstream terminology and to minimize
confusion, we changes the exported function and command name from
"generate" to "embed", this includes
* Command "ciigo generate" become "ciigo embed"
* Exported function to generate Go renamed from "Generate" to "GoEmbed".
This include the parameter GenerateOptions which renamed to
EmbedOptions.
* The internal command to generate example renamed from "generate" to
"goembed"
=== Bug fixes
* all: add missing new line when printing file to be converted
* all: fix empty fileMarkups on watcher
Previously, when user call ciigo.Watch(), and the markup file changes,
the onChangeFileMarkup method will print an error "xyz not found" which
cause the markup file not converted.
This is caused by watcher.fileMarkups is empty.
This changes fix this issue by initializing the fileMarkups field using
listFileMarkups, so the next callback to onChangeFileMarkup can detect
the changed file and convert it.
* This update fix HTTP server caching using ETag.
=== Enhancements
* all: check markup modification time before converting to HTML
Previously, when the Convert, Watch or Serve running it will convert
all markup files into HTML without checking if the adoc has been modified
or newer than HTML file.
This changes check the modification time of markup file first before
converting them, to minimize unnecessary operation.
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEzvGqh+M3psOQ3lVQ+FB+6RSKTOMFAmGt+YgACgkQ+FB+6RSK
TONt4QgAtsHu0MNtmVnvp6qAzg1sfkBw2fq/wqNSAtWGVQHhzys1+3/PHNIp7kHN
iyWsCGxMRe/1knpbgny4BkTCgEZ909JWbj+2d9gFQXXT2N38BXEC8lyDNk/5uK3O
hO16a7KrXFLjTYgF9iXP2vsP8bfzKoHcPUv7tRuvytdZlaLzHKjGLZ8JtvfyIyE0
2zrarzFU0HxZAmQkeYTqCbIgXnrsuK/Ax+7LsUm5IMxNwdPLotAe6i8J6GrZrmCU
+gUCVTHHMnOp6uuv0TynKw9jnkKpbV2giE+RdI7PUte0t4AoyY/Myr0o4WwFqWQj
02OZ0rY4lC+c62nhDDFYuITbd9TK6g==
=kRD7
-----END PGP SIGNATURE-----
