---
title: "github.com/cyphar/filepath-securejoin (go) | Since.dev"
description: "What each github.com/cyphar/filepath-securejoin release removed, renamed or changed: 17 breaking changes in 3 versions on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/cyphar/filepath-securejoin
last_updated: 2026-12-04
---

# github.com/cyphar/filepath-securejoin breaking changes

github.com/cyphar/filepath-securejoin v0.6.0 (November 3, 2025) is its newest release with breaking changes, 5 of them. The first: Removed MkdirAll. Every breaking API change we have recorded in github.com/cyphar/filepath-securejoin on Go modules: 17 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v0.7.0`, released June 18, 2026. 

Packages on Go modules run on Go. [Go end of life dates](https://since.dev/calendar/go.md).

- From [v0.4.0](#v-v0-4-0) to [v0.6.0](#v-v0-6-0): 13 breaking changes in 2 versions.

## github.com/cyphar/filepath-securejoin v0.6.0 breaking changes

github.com/cyphar/filepath-securejoin v0.6.0, released November 3, 2025: 5 breaking changes.

- **Removed** `MkdirAll`  

The deprecated MkdirAll, MkdirAllHandle, OpenInRoot, OpenatInRoot and Reopen wrappers were removed. Switch to using pathrs-lite directly. [github.com](https://github.com/cyphar/filepath-securejoin/releases/tag/v0.6.0)
- **Removed** `MkdirAllHandle`  

The deprecated MkdirAllHandle wrapper was removed. Switch to using pathrs-lite directly. [github.com](https://github.com/cyphar/filepath-securejoin/releases/tag/v0.6.0)
- **Removed** `OpenatInRoot`  

The deprecated OpenatInRoot wrapper was removed. Switch to using pathrs-lite directly. [github.com](https://github.com/cyphar/filepath-securejoin/releases/tag/v0.6.0)
- **Removed** `OpenInRoot`  

The deprecated OpenInRoot wrapper was removed. Switch to using pathrs-lite directly. [github.com](https://github.com/cyphar/filepath-securejoin/releases/tag/v0.6.0)
- **Removed** `Reopen`  

The deprecated Reopen wrapper was removed. Switch to using pathrs-lite directly. [github.com](https://github.com/cyphar/filepath-securejoin/releases/tag/v0.6.0)

## github.com/cyphar/filepath-securejoin v0.5.0 breaking changes

github.com/cyphar/filepath-securejoin v0.5.0, released September 25, 2025: 8 breaking changes.

- **Removed**  

The API introduced in 0.3.0 now lives in the pathrs-lite subpackage; users should update their import paths. Top-level wrappers remain but are deprecated. [github.com](https://github.com/cyphar/filepath-securejoin/releases/tag/v0.5.0)
- **Removed** `github.com/cyphar/filepath-securejoin.STATX_MNT_ID_UNIQUE`  

github.com/cyphar/filepath-securejoin.STATX_MNT_ID_UNIQUE was removed in github.com/cyphar/filepath-securejoin v0.5.0 [pkg.go.dev](https://pkg.go.dev/github.com/cyphar/filepath-securejoin@v0.5.0)
- **Renamed** `github.com/cyphar/filepath-securejoin.MkdirAll`  

Use github.com/cyphar/filepath-securejoin/pathrs-lite.MkdirAll instead. [pkg.go.dev](https://pkg.go.dev/github.com/cyphar/filepath-securejoin@v0.5.0)
- **Renamed** `github.com/cyphar/filepath-securejoin.MkdirAllHandle`  

Use github.com/cyphar/filepath-securejoin/pathrs-lite.MkdirAllHandle instead. [pkg.go.dev](https://pkg.go.dev/github.com/cyphar/filepath-securejoin@v0.5.0)
- **Renamed** `github.com/cyphar/filepath-securejoin.OpenatInRoot`  

Use github.com/cyphar/filepath-securejoin/pathrs-lite.OpenatInRoot instead. [pkg.go.dev](https://pkg.go.dev/github.com/cyphar/filepath-securejoin@v0.5.0)
- **Renamed** `github.com/cyphar/filepath-securejoin.OpenInRoot`  

Use github.com/cyphar/filepath-securejoin/pathrs-lite.OpenInRoot instead. [pkg.go.dev](https://pkg.go.dev/github.com/cyphar/filepath-securejoin@v0.5.0)
- **Renamed** `github.com/cyphar/filepath-securejoin.Reopen`  

Use github.com/cyphar/filepath-securejoin/pathrs-lite.Reopen instead. [pkg.go.dev](https://pkg.go.dev/github.com/cyphar/filepath-securejoin@v0.5.0)
- **Behavior changed** `Reopen`  

Reopen and Open(at)InRoot now protect against overmount attacks on more kernels, which may change which files are reachable in some setups. [github.com](https://github.com/cyphar/filepath-securejoin/releases/tag/v0.5.0)

## github.com/cyphar/filepath-securejoin v0.4.0 breaking changes

github.com/cyphar/filepath-securejoin v0.4.0, released January 13, 2025: 4 breaking changes.

- **Behavior changed** `SecureJoin`  

SecureJoin(VFS) now returns an error if the root is not a filepath.Clean'd path. Callers must pass a cleaned root path. [github.com](https://github.com/cyphar/filepath-securejoin/releases/tag/v0.4.0)
- **Signature changed** `github.com/cyphar/filepath-securejoin.MkdirAll`  

MkdirAll now takes an os.FileMode-style mode instead of a raw unix.S\_\* mode. Code passing unix.S_ISVTX for the sticky bit must switch to os.ModeSticky, or it will get a runtime error. [pkg.go.dev](https://pkg.go.dev/github.com/cyphar/filepath-securejoin@v0.4.0)
- **Signature changed** `github.com/cyphar/filepath-securejoin.MkdirAllHandle`  

Was func MkdirAllHandle(\*os.File, string, int) (\*os.File, error); now func MkdirAllHandle(\*os.File, string, os.FileMode) (\*os.File, error). [pkg.go.dev](https://pkg.go.dev/github.com/cyphar/filepath-securejoin@v0.4.0)
- **Signature changed** `MkdirHandle`  

MkdirHandle now takes an os.FileMode-style mode instead of a raw unix.S\_\* mode. Code passing unix.S_ISVTX for the sticky bit must switch to os.ModeSticky, or it will get a runtime error. [github.com](https://github.com/cyphar/filepath-securejoin/releases/tag/v0.4.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
