~shulhan/asciidoctor-go

9a2bcad4d62c7fd93a3411e0a60cfa07c2b04051 — Shulhan 8 months ago dc67158 v0.5.2
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.
6 files changed, 31 insertions(+), 8 deletions(-)

M CHANGELOG
M asciidoctor.go
M go.mod
M go.sum
M testdata/document_tohtml_test.txt
M testdata/test.got.html
M CHANGELOG => CHANGELOG +23 -0
@@ 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)


M asciidoctor.go => asciidoctor.go +1 -1
@@ 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"
)

M go.mod => go.mod +2 -2
@@ 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

M go.sum => go.sum +2 -2
@@ 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=

M testdata/document_tohtml_test.txt => testdata/document_tohtml_test.txt +2 -2
@@ 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>

M testdata/test.got.html => testdata/test.got.html +1 -1
@@ 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>