• 1.5.1 a498b5af15

    v1.5.1 Stable

    javier released this 2026-11-03 16:45:04 +00:00 | 1 commits to main since this release

    1.5.1

    Release date: 2026-10-02

    Fixed

    • Remote name collisions no longer overwrite existing S3 objects: on the first upload of an attachment, the plugin probes the remote bucket (headObject) and, when the key is taken, renames the local files WordPress-style (file.jpg → file-1.jpg, file-2.jpg, …) before uploading, keeping metadata, _wp_attached_file, and GUID in sync. Previously a re-uploaded name silently overwrote the existing remote object (and every attachment pointing at it), because local files are deleted after upload and WordPress core deduplicates names against the local disk only. Re-uploads of an already-offloaded attachment keep their name (intentional overwrite). Non-404 headObject errors fall back to the previous upload-without-check behavior so uploads are never blocked

    Compatibility

    • WordPress: 5.3 - 7.1 (no new symbols)
    • PHP: 8.1 - 8.5

    Tests

    • PHPUnit: 95 tests, 207 assertions (7 new Media_Uploader tests covering rename-on-collision, local-candidate blocking, missing-original, and the headObject 404/NotFound/NoSuchKey/non-404 outcomes)
    Downloads