From 9a2bcad4d62c7fd93a3411e0a60cfa07c2b04051 Mon Sep 17 00:00:00 2001
From: Shulhan
Date: Thu, 4 Apr 2024 21:45:27 +0700
Subject: Release 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.
---
CHANGELOG | 23 +++++++++++++++++++++++
asciidoctor.go | 2 +-
go.mod | 4 ++--
go.sum | 4 ++--
testdata/document_tohtml_test.txt | 4 ++--
testdata/test.got.html | 2 +-
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
: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.
-
+
@@ -70,7 +70,7 @@ Section 2 content.
-
+
Title
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.