summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-04-04 21:45:27 +0700
committerShulhan <ms@kilabit.info>2024-04-04 21:45:27 +0700
commit9a2bcad4d62c7fd93a3411e0a60cfa07c2b04051 (patch)
treec0312b9823931100ee3cf2b3e1efbd165fc8c70a
parentdc67158aeeb6035f0755a3156449a342edbf24b0 (diff)
downloadasciidoctor-go-0.5.2.tar.xz
Release asciidoctor-go v0.5.2 (2023-04-04)v0.5.2
This release only contains chores. * all: replace module "share" with "pakakeh.go" The "share" module has been moved to new repository with new name at "https://sr.ht/~shulhan/pakakeh.go". For more information see the change logs at "pakakeh.go" module. * all: comply with linter recommendations Most of the code changes related to refactoring if-else witch switch statement. * all: replace if-else bytes.Equals with static string case comparisons Using string instead of [bytes.Equal] give code much more readable.
-rw-r--r--CHANGELOG23
-rw-r--r--asciidoctor.go2
-rw-r--r--go.mod4
-rw-r--r--go.sum4
-rw-r--r--testdata/document_tohtml_test.txt4
-rw-r--r--testdata/test.got.html2
6 files changed, 31 insertions, 8 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 838a46a..50ce0eb 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -6,6 +6,29 @@ Shulhan <ms@kilabit.info>
:sectlinks:
+[#v0_5_2]
+== asciidoctor-go v0.5.2 (2023-04-04)
+
+This release only contains chores.
+
+all: replace module "share" with "pakakeh.go"::
++
+--
+The "share" module has been moved to new repository with new name at
+"https://sr.ht/~shulhan/pakakeh.go".
+For more information see the change logs at "pakakeh.go" module.
+--
+
+all: comply with linter recommendations::
++
+Most of the code changes related to refactoring if-else witch switch
+statement.
+
+all: replace if-else bytes.Equals with static string case comparisons::
++
+Using string instead of [bytes.Equal] give code much more readable.
+
+
[#v0_5_1]
== asciidoctor-go v0.5.1 (2023-12-14)
diff --git a/asciidoctor.go b/asciidoctor.go
index f7c2f5e..d8c150d 100644
--- a/asciidoctor.go
+++ b/asciidoctor.go
@@ -11,7 +11,7 @@ import "git.sr.ht/~shulhan/pakakeh.go/lib/math/big"
const (
// Version of this module.
- Version = `0.5.1`
+ Version = `0.5.2`
_lf = "\n"
)
diff --git a/go.mod b/go.mod
index 81de087..e78523a 100644
--- a/go.mod
+++ b/go.mod
@@ -3,8 +3,8 @@
module git.sr.ht/~shulhan/asciidoctor-go
-go 1.20
+go 1.21
-require git.sr.ht/~shulhan/pakakeh.go v0.53.2-0.20240305092154-76510776395b
+require git.sr.ht/~shulhan/pakakeh.go v0.54.0
//replace git.sr.ht/~shulhan/pakakeh.go => ../pakakeh.go
diff --git a/go.sum b/go.sum
index 868d8d0..066d161 100644
--- a/go.sum
+++ b/go.sum
@@ -1,2 +1,2 @@
-git.sr.ht/~shulhan/pakakeh.go v0.53.2-0.20240305092154-76510776395b h1:LtSlSrDg3Zw1ASfUi5enaHqefPWiWsPEDK+IlzSO72g=
-git.sr.ht/~shulhan/pakakeh.go v0.53.2-0.20240305092154-76510776395b/go.mod h1:C43kVQ9Dai9Ol3bCHi8VKeOtYzp+E8617jNBaIsmd8o=
+git.sr.ht/~shulhan/pakakeh.go v0.54.0 h1:pwTQiJSyE5xTaWNR0FnWsszJ+0Z5hB2ufNLXcy8z0y8=
+git.sr.ht/~shulhan/pakakeh.go v0.54.0/go.mod h1:ys7WNtXm03x0M59oqrqBjXnc+wRCX8JBXyE/W8+KVbw=
diff --git a/testdata/document_tohtml_test.txt b/testdata/document_tohtml_test.txt
index e7734da..c72dd25 100644
--- a/testdata/document_tohtml_test.txt
+++ b/testdata/document_tohtml_test.txt
@@ -21,7 +21,7 @@ Document body.
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<meta name="generator" content="asciidoctor-go 0.5.1">
+<meta name="generator" content="asciidoctor-go 0.5.2">
<meta name="description" content="Multiline description with backslash">
<meta name="keywords" content="multiline, key, words">
<meta name="author" content="John Doe">
@@ -70,7 +70,7 @@ Section 2 content.
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<meta name="generator" content="asciidoctor-go 0.5.1">
+<meta name="generator" content="asciidoctor-go 0.5.2">
<meta name="author" content="John Doe">
<title>Title</title>
</head>
diff --git a/testdata/test.got.html b/testdata/test.got.html
index 0d72804..b567740 100644
--- a/testdata/test.got.html
+++ b/testdata/test.got.html
@@ -3056,7 +3056,7 @@ this sidebar.</p>
<div id="footer">
<div id="footer-text">
1.1.1<br>
-Last updated 2023-05-30 01:01:33 +0700
+Last updated 2024-04-04 21:22:35 +0700
</div>
</div>
</body>