@@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
66
77## [ Unreleased] ##
88
9+ ## [ 0.4.0] - 2025-01-13 ##
10+
911### Breaking ####
1012- ` SecureJoin(VFS) ` will now return an error if the provided ` root ` is not a
1113 ` filepath.Clean ` 'd path.
@@ -22,6 +24,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2224 necessarily a breaking API change (though we expect no real users to be
2325 affected by it).
2426
27+ Thanks to [ Erik Sjölund] ( https://github.com/eriksjolund ) , who initially
28+ reported this issue as a possible security issue.
29+
2530- ` MkdirAll ` and ` MkdirHandle ` now take an ` os.FileMode ` -style mode argument
2631 instead of a raw ` unix.S_* ` -style mode argument, which may cause compile-time
2732 type errors depending on how you use ` filepath-securejoin ` . For most users,
@@ -223,7 +228,8 @@ This is our first release of `github.com/cyphar/filepath-securejoin`,
223228containing a full implementation with a coverage of 93.5% (the only missing
224229cases are the error cases, which are hard to mocktest at the moment).
225230
226- [ Unreleased ] : https://github.com/cyphar/filepath-securejoin/compare/v0.3.6...HEAD
231+ [ Unreleased ] : https://github.com/cyphar/filepath-securejoin/compare/v0.4.0...HEAD
232+ [ 0.4.0 ] : https://github.com/cyphar/filepath-securejoin/compare/v0.3.6...v0.4.0
227233[ 0.3.6 ] : https://github.com/cyphar/filepath-securejoin/compare/v0.3.5...v0.3.6
228234[ 0.3.5 ] : https://github.com/cyphar/filepath-securejoin/compare/v0.3.4...v0.3.5
229235[ 0.3.4 ] : https://github.com/cyphar/filepath-securejoin/compare/v0.3.3...v0.3.4
0 commit comments