Skip to content

Releases: open-southeners/laravel-response-compression

3.1.0

12 Mar 18:33
4987a27
Compare
Choose a tag to compare

Added

  • order config property to have better control on the order of algorithm preference (e.g. RESPONSE_COMPRESSION_ORDER=ztsd,br,gzip)

3.0.0

05 Mar 21:02
b8518ca
Compare
Choose a tag to compare

Added

  • lz4 compression algorithm
  • Compression algorithm preference based on the ones sent from client (if supported by server)
  • Laravel dependencies

Changed

  • Package rename to open-southeners/laravel-response-compression, change all OpenSoutheners\LaravelVaporResponseCompression to OpenSoutheners\LaravelResponseCompression
  • Config file with *_LEVEL environment variables for each algorithm compression level, force publishing using php artisan vendor:publish --tag="response-compression" --force
  • CompressionEncoding is now a backed enum instead with some functionality

Removed

  • Laravel 9 and 10 support
  • PHP 7.4 and 8.0 support
  • Composer dependency for zlib PHP extension (not really required)

2.2.0

17 Feb 21:09
35d5155
Compare
Choose a tag to compare

Added

2.1.0

14 Feb 17:22
0ebd6a1
Compare
Choose a tag to compare

Changed

  • Ignore response()->stream(), response()->streamDownload() and response()->streamDownload() responses as files might be already compressed. [#2]
  • Ignore compression when Content-Encoding header already present. [#2]

2.0.1

02 Feb 09:49
9dac40b
Compare
Choose a tag to compare

Fixed

  • PHP 8.2 interpolation deprecations

2.0.0

25 Aug 15:20
b5b0837
Compare
Choose a tag to compare

Added

  • Enable option following its environment variable RESPONSE_COMPRESSION_ENABLE (default: true)

Changed

  • Its dedicated config file (config/response-compression.php). Publishable by running the command: php artisan vendor:publish --tag=response-compression

1.0.0

22 Jul 14:24
98198f7
Compare
Choose a tag to compare

Added

  • Initial release!