Skip to content

Releases: golchha21/ReSmushIt

v1.3.4 – Reliability improvements and safer error handling

02 Feb 21:01

Choose a tag to compare

This release improves the reliability of image optimization without changing how the package is used.

Fixed

  • Prevented fatal errors when the reSmush.it API is unreachable or returns invalid responses
  • Restored file size validation to reject oversized images before upload
  • Gracefully handle cURL, SSL, and JSON decoding failures

Improved

  • Image optimization now always returns a structured array instead of triggering runtime errors
  • Batch optimization (paths()) no longer fails entirely if a single file cannot be optimized
  • Internal request flow refactored to improve reliability and testability

Tests

  • Added unit test to validate file size rejection behavior
  • Strengthened coverage around error handling paths

Documentation

  • Updated README with explicit error handling and return value guarantees
  • Added a Troubleshoot guide for common environment-specific issues

Backward Compatibility

This release does not change the public API.
Existing usage of path(), paths(), and the Optimize facade continues to work as before.

In failure scenarios, structured error arrays are returned instead of fatal errors, allowing applications to handle issues gracefully.

v1.3.3 – Graceful error handling & improved reliability

02 Feb 20:15

Choose a tag to compare

This release improves reliability and stability when interacting with the reSmush.it API, without changing how the package is used.

Fixed

  • Prevented fatal errors when the reSmush.it API is unreachable or returns invalid responses
  • Gracefully handle cURL and JSON decoding failures

Improved

  • Image optimization now always returns a structured array instead of triggering runtime errors
  • Batch optimization (paths()) no longer fails entirely if a single file cannot be optimized
  • Internal HTTP call refactored to improve testability and reliability

Documentation

  • Updated README with explicit error handling guidance
  • Clarified return value guarantees for both single and batch optimization

Backward Compatibility

This release does not change the public API.
Existing usage of path(), paths(), and the Optimize facade continues to work as before.

In failure scenarios, structured error arrays are returned instead of fatal errors, allowing applications to handle issues gracefully.

Added Laravel 12 support and Version bump

13 Apr 11:14

Choose a tag to compare

v1.3.2

Added Laravel 12 support and Version bump

Added Laravel 11 support and Version bump

29 Jun 13:54

Choose a tag to compare

v1.3.1

Added Laravel 11 support and Version bump

Merged pull request from @atastycookie and version bump

02 Mar 07:52

Choose a tag to compare

v1.3.0

Merged pull request from @atastycookie and version bump

Added support for Laravel 10 and version bump.

06 May 16:13

Choose a tag to compare

v1.2.9

Added support for Laravel 10 and version bump.

Moved Laravel/framework from require-dev to require.

08 May 13:12

Choose a tag to compare

v1.2.8

Moved Laravel/framework from require-dev to require.

Updated const version

14 Jan 16:55

Choose a tag to compare

v1.2.7

Updated const version

Version Bump

11 Jan 09:19

Choose a tag to compare

  • Version bump
  • Updated Readme.md & Changelog.md

Version Bump

09 Jan 17:44

Choose a tag to compare

v1.2.5

Version Bump