From d4b59bd3cefeb40c5c59f5bf79d10d48e725b0f3 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 8 Dec 2024 21:03:01 +0700 Subject: Release asciidoctor-go v0.6.1 (2024-12-08) === Bug fixes * all: fix error log when failed to open included file:: The log use the wrong variable when printing path for failed include file. * all: fix reading include file when parent path is absolute:: Previously, if the parent document is opened using absolute path and it contains include directive, the included file will fail to read because the parent path is joined with current working directory. --- CHANGELOG | 18 ++++++++++++++++++ asciidoctor.go | 2 +- testdata/document_tohtml_test.txt | 4 ++-- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index d881d0b..63df735 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -6,6 +6,24 @@ Shulhan :sectlinks: +[#v0_6_1] +== asciidoctor-go v0.6.1 (2024-12-08) + +[#v0_6_1__bug_fixes] +=== Bug fixes + +all: fix error log when failed to open included file:: ++ +The log use the wrong variable when printing path for failed include +file. + +all: fix reading include file when parent path is absolute:: ++ +Previously, if the parent document is opened using absolute path and +it contains include directive, the included file will fail to read +because the parent path is joined with current working directory. + + [#v0_6_0] == asciidoctor-go v0.6.0 (2024-09-07) diff --git a/asciidoctor.go b/asciidoctor.go index 76b2f26..8ddfdc4 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.6.0` + Version = `0.6.1` _lf = "\n" ) diff --git a/testdata/document_tohtml_test.txt b/testdata/document_tohtml_test.txt index bd50046..fded3e4 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 -- cgit v1.3