Skip to content

Commit 54460df

Browse files
committed
merge #45 into cyphar/filepath-securejoin:main
Aleksa Sarai (2): VERSION: back to development VERSION: release v0.4.0 LGTMs: cyphar
2 parents e410d4a + 14e6cfe commit 54460df

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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`,
223228
containing a full implementation with a coverage of 93.5% (the only missing
224229
cases 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

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.6+dev
1+
0.4.0+dev

0 commit comments

Comments
 (0)