aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2020-07-05 20:29:16 +0700
committerShulhan <ms@kilabit.info>2020-07-05 20:29:16 +0700
commit2a480f6b856367ac5cc0102c4ae92eb6814228da (patch)
tree989d03e864f2f80112547d240c5c6302092ccb38
parent6a85a0994a7c430c436453aff66e85237bb8b3e0 (diff)
downloadciigo-2a480f6b856367ac5cc0102c4ae92eb6814228da.tar.xz
Release ciigo v0.2.0 (2020-07-05)v0.2.0
* all: simplify serving content using function Serve Previously to serve the generated content we call two fucntions: NewServer() and Server.Start(). This changes unexported the internal server, and expose only the Serve() function with the same parameter as NewServer(). * all: embed the HTML template and the stylesheet The parameter for template either in Convert or Generate functions or in CLI now become pure optional, not default to "templates/html.tmpl" anymore. This will minimize steps for user to setup or run the library or program.
-rw-r--r--CHANGELOG.adoc18
-rw-r--r--go.mod2
-rw-r--r--go.sum4
3 files changed, 19 insertions, 5 deletions
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc
index 7ae4b4e..a2ce986 100644
--- a/CHANGELOG.adoc
+++ b/CHANGELOG.adoc
@@ -1,6 +1,20 @@
-# CHANGELOG
+= CHANGELOG
-## ciigo v0.1.1 (2020-03-24)
+== ciigo v0.2.0 (2020-07-05)
+
+* all: simplify serving content using function Serve
+ Previously to serve the generated content we call two fucntions:
+ NewServer() and Server.Start().
+ This changes unexported the internal server, and expose only the Serve()
+ function with the same parameter as NewServer().
+
+* all: embed the HTML template and the stylesheet
+ The parameter for template either in Convert or Generate functions or
+ in CLI now become pure optional, not default to "templates/html.tmpl"
+ anymore.
+ This will minimize steps for user to setup or run the library or program.
+
+== ciigo v0.1.1 (2020-03-24)
The first release support asciidoc and markdown markup language.
diff --git a/go.mod b/go.mod
index 5f09f90..9426afb 100644
--- a/go.mod
+++ b/go.mod
@@ -7,7 +7,7 @@ require (
github.com/onsi/ginkgo v1.12.3 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
- github.com/shuLhan/share v0.16.1-0.20200627020222-d13579896847
+ github.com/shuLhan/share v0.17.0
github.com/sirupsen/logrus v1.6.0 // indirect
github.com/yuin/goldmark v1.1.32
github.com/yuin/goldmark-meta v0.0.0-20191126180153-f0638e958b60
diff --git a/go.sum b/go.sum
index ac14ad0..e91dcf5 100644
--- a/go.sum
+++ b/go.sum
@@ -55,8 +55,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
-github.com/shuLhan/share v0.16.1-0.20200627020222-d13579896847 h1:95W8Oa8zy80r16qWUIvozQ1LI1Z922/qbqVPfU02yQ4=
-github.com/shuLhan/share v0.16.1-0.20200627020222-d13579896847/go.mod h1:FqPloTQlDTAmMXxaWft/V5tPmxEHBJeyJMAzVm4/1og=
+github.com/shuLhan/share v0.17.0 h1:S7PpkWdp+BZVGHNU0wmUmhybvVwDp7jiQSBYeBpPBS0=
+github.com/shuLhan/share v0.17.0/go.mod h1:FqPloTQlDTAmMXxaWft/V5tPmxEHBJeyJMAzVm4/1og=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
github.com/sirupsen/logrus v1.6.0 h1:UBcNElsrwanuuMsnGSlYmtmgbb23qDR5dG+6X6Oo89I=
github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=