From b97be92c238e766dafa80dcfeae92987f016b895 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Thu, 14 Dec 2023 15:49:35 +0700 Subject: Release ciigo v0.11.0 (2023-12-14) === Breaking changes * Field [ConvertOptions.HtmlTemplate] become [ConvertOptions.HTMLTemplate] * Method [Converter.SetHtmlTemplateFile] become [Converter.SetHTMLTemplateFile] * Method [Converter.ToHtmlFile] become [Converter.ToHTMLFile] === Bug fix * asciidoc: fix custom ID on the first section not applied correctly --- CHANGELOG.adoc | 16 ++++++++++++++++ ciigo.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- testdata/watcher_test.txt | 4 ++-- 5 files changed, 22 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index e2c4960..4655608 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -4,6 +4,22 @@ Shulhan :sectanchors: :sectlinks: +[#v0_11_0] +== ciigo v0.11.0 (2023-12-14) + +[#v0_11_0__breaking_changes] +=== Breaking changes + +* Field [ConvertOptions.HtmlTemplate] become [ConvertOptions.HTMLTemplate] +* Method [Converter.SetHtmlTemplateFile] become + [Converter.SetHTMLTemplateFile] +* Method [Converter.ToHtmlFile] become [Converter.ToHTMLFile] + +[#v0_11_0] +=== Bug fixes + +* asciidoc: fix custom ID on the first section not applied correctly + [#v0_10_1] == ciigo v0.10.1 (2023-11-06) diff --git a/ciigo.go b/ciigo.go index 272e838..9925736 100644 --- a/ciigo.go +++ b/ciigo.go @@ -27,7 +27,7 @@ const ( ) // Version define the latest tagged release of this module. -var Version = `0.10.1` +var Version = `0.11.0` // defExcludes define default files to be excludes on GoEmbed. var defExcludes = []string{ diff --git a/go.mod b/go.mod index 37e212a..cf7bcf7 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ module git.sr.ht/~shulhan/ciigo go 1.20 require ( - git.sr.ht/~shulhan/asciidoctor-go v0.5.1-0.20231213112841-008230e7e722 + git.sr.ht/~shulhan/asciidoctor-go v0.5.1 github.com/shuLhan/share v0.51.0 github.com/yuin/goldmark v1.6.0 github.com/yuin/goldmark-meta v1.1.0 diff --git a/go.sum b/go.sum index 180bd7f..664718f 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -git.sr.ht/~shulhan/asciidoctor-go v0.5.1-0.20231213112841-008230e7e722 h1:lIN48+M5mgV9VSYpQyt1eieEysdMLCshVV1Bphw9OW8= -git.sr.ht/~shulhan/asciidoctor-go v0.5.1-0.20231213112841-008230e7e722/go.mod h1:5audSCN6jDr2+/cMvx1MdZxkCurjl/k6A5OGYWRtB0o= +git.sr.ht/~shulhan/asciidoctor-go v0.5.1 h1:TuuLo+N61+qsXkiFgtiW5W1q7xHzeSID4zH+ci5J8ic= +git.sr.ht/~shulhan/asciidoctor-go v0.5.1/go.mod h1:5audSCN6jDr2+/cMvx1MdZxkCurjl/k6A5OGYWRtB0o= github.com/shuLhan/share v0.51.0 h1:WPKRNNWnZPaVTi/o6nUdkAePek2Lbjz5baoq8MU1U+I= github.com/shuLhan/share v0.51.0/go.mod h1:Zn0zwUdSuu7L2BKaYkVOXwbwxd5Kn6Y2bhohD9Tf0Sc= github.com/yuin/goldmark v1.6.0 h1:boZcn2GTjpsynOsC0iJHnBWa4Bi0qzfJjthwauItG68= diff --git a/testdata/watcher_test.txt b/testdata/watcher_test.txt index e1f611a..a4a04c1 100644 --- a/testdata/watcher_test.txt +++ b/testdata/watcher_test.txt @@ -8,7 +8,7 @@ - + watch create