summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-01-21 00:53:22 +0700
committerShulhan <ms@kilabit.info>2021-01-21 00:53:22 +0700
commit8d78e329735cd759f2172fba270c21ec4422f9de (patch)
tree28c8d5a8eceb7db8f544ac7172bf56af9f8355e9
parent0024593be24cca6216582cf82d9c67c096b2ca69 (diff)
downloadciigo-0.4.0.tar.xz
Release ciigo v0.4.0 (2021-01-21)v0.4.0
Refactoring due to change on memfs package. This changes affect the exported functions Generate() and Serve(). Previously, the Generate() function accept three options: dir, out, and htmlTemplate; this release changes the parameter into single struct Options with two additional options: GenPackageName and GenVarName. The GenPackageName allow to set the package name in Go generate source code, default to "main" if not set. The GenVarName set the instance of memfs.MemFS where the embedded files will be stored. On the Serve() function, we add parameter to pass the instance of memfs.MemFS (the one that passed on GenVarName).
-rw-r--r--CHANGELOG.adoc18
1 files changed, 18 insertions, 0 deletions
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc
index 6ad0ff4..6fe02d7 100644
--- a/CHANGELOG.adoc
+++ b/CHANGELOG.adoc
@@ -1,5 +1,23 @@
= CHANGELOG
+== ciigo v0.4.0 (2021-01-21)
+
+Refactoring due to change on memfs package.
+
+This changes affect the exported functions Generate() and Serve().
+
+Previously, the Generate() function accept three options: dir, out,
+and htmlTemplate; this release changes the parameter into single struct
+Options with two additional options: GenPackageName and GenVarName.
+The GenPackageName allow to set the package name in Go generate source
+code, default to "main" if not set.
+The GenVarName set the instance of memfs.MemFS where the embedded
+files will be stored.
+
+On the Serve() function, we add parameter to pass the instance of
+memfs.MemFS (the one that passed on GenVarName).
+
+
== ciigo v0.3.0 (2020-12-06)
This release replace the asciidoc parsing from libasciidoc-go to