summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-07-22 00:39:49 +0700
committerShulhan <ms@kilabit.info>2024-07-22 00:39:49 +0700
commite28a932fe2e4c13f599e029c3f7c3af1d1441700 (patch)
treef76aafd157f06ec79c2c8e9da88c466d513f1e13
parent52ef9967fca5946ee047847d744d00ccaecff1a8 (diff)
downloadpakakeh.go-e28a932fe2e4c13f599e029c3f7c3af1d1441700.tar.xz
Release pakakeh.go v0.55.2 (2024-07-22)v0.55.2
=== Bug fix * lib/memfs: sanitize the Root directory to fix refresh In [MemFS.refresh], if the requested url is "/file1" and [Options.Root] is ".", the path during refresh become "file1" and if passed to [filepath.Dir] it will return ".". This cause the loop on refresh never end because there is no PathNodes equal with ".".
-rw-r--r--CHANGELOG.adoc15
-rw-r--r--pakakeh.go2
2 files changed, 16 insertions, 1 deletions
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc
index 4cbac439..4543b370 100644
--- a/CHANGELOG.adoc
+++ b/CHANGELOG.adoc
@@ -20,6 +20,21 @@ link:CHANGELOG_2018-2019.html[Changelog from 2018 to 2019^].
This is changelog for `pakakeh.go` module since v0.1.0 until v0.11.0.
+[#v0_55_2]
+== pakakeh.go v0.55.2 (2024-07-22)
+
+[#v0_55_2__bug_fix]
+=== Bug fix
+
+lib/memfs: sanitize the Root directory to fix refresh::
++
+In [MemFS.refresh], if the requested url is "/file1" and [Options.Root]
+is ".", the path during refresh become "file1" and if passed to
+[filepath.Dir] it will return ".".
+This cause the loop on refresh never end because there is no PathNodes
+equal with ".".
+
+
[#v0_55_1]
== pakakeh.go v0.55.1 (2024-06-20)
diff --git a/pakakeh.go b/pakakeh.go
index 89dc8222..fd424660 100644
--- a/pakakeh.go
+++ b/pakakeh.go
@@ -8,5 +8,5 @@ package pakakeh
var (
// Version of this module.
- Version = `0.55.1`
+ Version = `0.55.2`
)