aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-02-21 22:34:24 +0700
committerShulhan <ms@kilabit.info>2021-02-21 22:34:24 +0700
commitf0ce04a4dbb1fb41705afa93ba566a1587f2607c (patch)
tree169f743670095df78a767ffa3d46747c6f0ae4e3
parentbac03b92129a703c3241b4a31b04ed5904ded333 (diff)
downloadciigo-f0ce04a4dbb1fb41705afa93ba566a1587f2607c.tar.xz
Release ciigo v0.5.0 (2021-02-21)v0.5.0
=== New features * all: implement Watch functionality The Watch function, watch any changes on asciidoc files on directory "dir" recursively and changes on the HTML template file. If there is new or modified asciidoc files it will convert them into HTML files using HTML template automatically. If the HTML template file modified, it will re-convert all asciidoc files. If the HTML template file deleted, it will replace them with internal, default HTML template. === Breaking changes * all: return error instead of call log.Fatal on non main packages The library, non-main packages, should never call Fatal or panic, its up to the main package or the caller on how to handle it. While at it, fix the returned error to use log prefix and the error value, remove the "ciigo: " prefix. === Chores * all: rewrite to use the watcher Now that we have the watcher which task are to watch the asciidoc files and template files, we can use it in server to minimize duplicate code. This changes refactoring the htmlGenerator to initialize the HTML template from internal or memfs, so the caller did not need to check by itself.
-rw-r--r--CHANGELOG.adoc38
1 files changed, 38 insertions, 0 deletions
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc
index 12cfff2..2ffffcf 100644
--- a/CHANGELOG.adoc
+++ b/CHANGELOG.adoc
@@ -1,5 +1,43 @@
= CHANGELOG
+== ciigo v0.5.0 (2021-02-21)
+
+=== New features
+
+* all: implement Watch functionality
+
+ The Watch function, watch any changes on asciidoc files on directory
+ "dir" recursively and changes on the HTML template file.
+ If there is new or modified asciidoc files it will convert them into HTML
+ files using HTML template automatically.
+
+ If the HTML template file modified, it will re-convert all asciidoc files.
+ If the HTML template file deleted, it will replace them with internal,
+ default HTML template.
+
+=== Breaking changes
+
+* all: return error instead of call log.Fatal on non main packages
+
+ The library, non-main packages, should never call Fatal or panic,
+ its up to the main package or the caller on how to handle it.
+
+ While at it, fix the returned error to use log prefix and the error
+ value, remove the "ciigo: " prefix.
+
+=== Chores
+
+* all: rewrite to use the watcher
+
+ Now that we have the watcher which task are to watch the asciidoc
+ files and template files, we can use it in server to minimize duplicate
+ code.
+
+ This changes refactoring the htmlGenerator to initialize the HTML
+ template from internal or memfs, so the caller did not need to check by
+ itself.
+
+
== ciigo v0.4.1 (2021-01-21)
Update to latest share module.