Skip to content

Releases

v0.52.3

Choose a tag to compare

@tannevaled tannevaled released this 29 Nov 20:32
cdd69b2

What's Changed

Full Changelog: v0.52.2...v0.52.3

v0.52.2

Choose a tag to compare

@tannevaled tannevaled released this 29 Nov 18:56
5aa55e0

What's Changed

  • Use go-filesystems/lockedfs for the image lock wrapper by @tannevaled in #161

Full Changelog: v0.52.1...v0.52.2

v0.52.1

Choose a tag to compare

@tannevaled tannevaled released this 29 Nov 18:42
14eaf88

What's Changed

Full Changelog: v0.52.0...v0.52.1

v0.52.0

Choose a tag to compare

@tannevaled tannevaled released this 29 Nov 15:06
0246e5b

What's Changed

  • Require SMB signing and encryption of every client (require_signing, require_encryption) by @tannevaled in #159

Full Changelog: v0.51.0...v0.52.0

v0.51.0

Choose a tag to compare

@tannevaled tannevaled released this 23 Nov 14:42
a26a1c7

What's Changed

Full Changelog: v0.50.1...v0.51.0

v0.50.1

Choose a tag to compare

@tannevaled tannevaled released this 20 Nov 14:23
a0a9b38

What's Changed

  • kerberos: a user needs no credential here, and a name may hold an @ by @tannevaled in #151

Full Changelog: v0.50.0...v0.50.1

v0.50.0

Choose a tag to compare

@tannevaled tannevaled released this 19 Nov 07:39
2e12c95

What's Changed

  • Serve SMB with Kerberos from the kerberos block, and ntlm = false by @tannevaled in #147
  • README: the keytab owner and mode rule; identity from the ticket by @tannevaled in #150
  • S3: STS AssumeRoleWithWebIdentity and temporary credentials by @tannevaled in #146

Full Changelog: v0.49.2...v0.50.0

v0.49.2

Choose a tag to compare

@tannevaled tannevaled released this 16 Nov 08:36
b5ade98

Measured reasons for HFS+ opt-in

HFS+ writing stays opt-in (hfsplus_writable_max defaults to "0"). The reasons the server gives for it, in the log line of a read-only HFS+ share, the README and the docs, now match what has been measured:

  • Measured gap against macOS. A durable small write is about 2.5x slower than macOS's own HFS+ driver at the default level, and 1.6x at hfsplus_durability = "mounted". This replaces the old "about 3x". Measured with go-filesystems/hfsplus v0.12.2 at a quiet load: macOS 5.13 ms, strict 12.66 ms, mounted 8.20 ms. The remaining gap is tracked in go-filesystems/hfsplus#45: write journaled volumes through their journal.
  • Crash tests are done. The claim that they were unfinished is removed: go-filesystems/hfsplus#37 was closed as completed.
  • Unchanged: after a crash, a journaled volume mounts without its journal until diskutil enableJournal.

Refs go-filesystems/hfsplus#35, go-filesystems/hfsplus#37, go-filesystems/hfsplus#45

v0.49.1

Choose a tag to compare

@tannevaled tannevaled released this 15 Nov 22:29
f8bffd9

hfsplus_durability: level set before a reload is served

  • Ordering. On a reload, the new hfsplus_durability level is now applied after the old connections are stopped and before the new share list is served. No client of the new configuration writes at the old level. A refused reload still leaves the level untouched.
  • Failure log. When a level change fails, the log now says the volume stays at its previous level and that the share accepts no write until it is reopened. That is what hfsplus does: a failed flush latches ErrVolumeFailed.
  • Tests. The lock test is deterministic: a fake volume checks that the image mutex is held, and it fails 20 runs out of 20 when the lock is removed, without -race. A new test, TestSwapAppliesHFSPlusDurabilityBeforePublishing, fails 20 runs out of 20 when the level is applied after publishing.

Closes #136

v0.49.0

Choose a tag to compare

@tannevaled tannevaled released this 15 Nov 18:52
8ed38d6

SFTP fsync syncs only the share under the handle

An SFTP fsync@openssh.com now syncs only the share that holds the handle's file. Before, it synced every share the user may write.

  • Cost. One barrier instead of N. With several writable strict HFS+ shares, each fsync used to pay a barrier per share.

  • Failures stay local. A failed volume, which stays failed until it is reopened, now fails only fsyncs of its own files. Fsyncs on healthy shares go through.

  • How the share is chosen. unionFS.SyncPath follows the same route as open and write:

    • a revoked session is refused;
    • a read-only share returns nil;
    • the root, or a path under no share, returns ErrNotExist.

    A rename across shares is refused, so the share under the handle's path is always the handle's own.

  • Dependency. This needs go-filesystems/sftp v0.15.0 (go-filesystems/sftp#45).

Go 1.27.4 floor

The go directive is now 1.27.4, the version that fixes GO-2026-6859 in net/http, as in go-filesystems/sftp#44. CI now takes its toolchain from go.mod instead of a hard-coded version. A consumer pinned below 1.27.4 with GOTOOLCHAIN=local can no longer build. That is the intended failure: the alternative is a binary built against an unpatched net/http.

Closes #138

⌂ 换网址