/oss · 4 merged

johannesboyne/gofakes3

A fake Amazon S3 storage server for running tests locally.

the project on GitHub (opens in a new tab)
  1. 30 Nov 2026

    Folder listings split across pages no longer repeat folders

    What was broken
    With the memory backend, a folder listing that spanned more than one page returned the same folder again on the next page.
    What I changed
    When a page ends on a folder, the next page now starts after everything in it, as the bolt backend already did.
    Why it matters
    Apps that page through a bucket see each folder once, the same as on real S3.

    see the code, #133 (opens in a new tab)

  2. 30 Nov 2026

    Listing an empty folder works with the file system backends

    What was broken
    With the file system backends, listing a folder that had no files yet failed with a missing bucket error or a raw file error, while real S3 returns an empty list.
    What I changed
    Both file system backends now return an empty list, and still report a missing bucket when it is really missing.
    Why it matters
    Tests that list a folder before writing to it behave the same as on real S3.

    see the code, #132 (opens in a new tab)

  3. 24 Nov 2026

    File metadata names come back in lowercase, as on S3

    What was broken
    Custom metadata on stored files came back with capitalized names, so code that works against Amazon S3 failed with missing-key errors in tests.
    What I changed
    Metadata header names are now sent in lowercase in every storage backend.
    Why it matters
    Tests against this fake S3 behave like the real service.

    see the code, #130 (opens in a new tab)

  4. 22 Nov 2026

    Partial downloads work with current AWS tools

    What was broken
    Current AWS tools send a checksum with every upload. The fake server sent it back on partial downloads too, so the tools checked a piece against the whole file and failed. Big downloads broke the same way.
    What I changed
    I made partial downloads leave out the whole-file checksum, as real S3 does.
    Why it matters
    Tests using current AWS tools against the fake server pass again.

    see the code, #127 (opens in a new tab)

← every project