Skip to content

v3.4.0

Latest

Choose a tag to compare

@tim-kos tim-kos released this 18 Nov 07:40
0698e27

Highlights

  • Default Assembly request signing now uses SHA-384.
  • Signatures now include an algorithm prefix, for example sha384:<digest>.
  • Added signatureAlgorithm configuration on both Transloadit and TransloaditRequest to keep legacy sha1 compatibility where needed.
  • Normalized invalid algorithm handling so callers get InvalidArgumentException consistently (including PHP 8+).

Tests and validation

  • Added/updated tests for:
    • default SHA-384 behavior,
    • explicit SHA-1 override,
    • invalid algorithm error handling,
    • parity check against the Node tooling workflow.

Notes

  • Smart CDN signing behavior is unchanged.

Changelog

  • Default request signatures to sha384 with an algorithm prefix (sha384:...), allowing Auth Keys that require at least SHA-256 to authenticate
  • Add client-level and request-level signatureAlgorithm configuration for legacy sha1 compatibility
  • Reject unsupported signature algorithms with InvalidArgumentException consistently across PHP versions
  • Refresh development dependencies and pinned PHP and Node test runtimes while retaining PHP 7.4 support
  • Harden CI for forked contributions and run Packagist notifications through Docker
  • Extend tests to cover default sha384 signing, legacy overrides, and Node CLI parity

diff: v3.3.0...v3.4.0