Skip to content

Commit

Permalink
Release pakakeh.go v0.55.2 (2024-07-22)
Browse files Browse the repository at this point in the history
=== 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 ".".
  • Loading branch information
shuLhan committed Jul 21, 2024
1 parent 52ef996 commit e28a932
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pakakeh.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ package pakakeh

var (
// Version of this module.
Version = `0.55.1`
Version = `0.55.2`
)

0 comments on commit e28a932

Please sign in to comment.