Releases: spatie/laravel-medialibrary
Releases · spatie/laravel-medialibrary
11.21.2
What's Changed
- fix: skip URL encoding for S3 disk to prevent double encoding by @moemadeldin in #3934
Full Changelog: 11.21.1...11.21.2
11.21.1
What's Changed
- Fix docs bugs: 'to the where' typo and 'how to working with conversio… by @tareq-halaby in #3928
- Fix awkward phrasing: 'want to not move, but copy' -> clearer wording by @tareq-halaby in #3927
- fix: encode percent signs in filenames when generating URL by @moemadeldin in #3930
New Contributors
- @tareq-halaby made their first contribution in #3928
- @moemadeldin made their first contribution in #3930
Full Changelog: 11.21.0...11.21.1
11.21.0
What's Changed
- Add Laravel 13 support
11.20.0
11.19.0
11.18.2
What's Changed
- Fix setNewOrder breaking with non-sequential array keys by @freekmurze in #3916
Full Changelog: 11.18.1...11.18.2
11.18.1
What's Changed
- Revert breaking interface change on
registerAllMediaConversions()— the?Media $media = nullparameter that was added to theHasMediainterface in v11.18.0 has been removed, as it broke userland code that overrides the method without the parameter. The PHPStan error is now handled via the baseline instead. Fixes #3915.
11.18.0
What's Changed
- Add vips as a documented image driver option by @freekmurze in #3911
- Fix: setNewOrder method upgrade by @GameBear64 in #3908
- Update Laravel Filesystem documentation link to v12 by @mathiasdg in #3909
- Add conversion to responsAdd conversion parameter to toResponse and toInlineResponse by @miccehedin in #3907
- Fix #3889: Clean orphaned responsive images for base image by @freekmurze in #3913
- Fix S3 conversions inheriting original media's ContentType by @freekmurze in #3914
New Contributors
- @GameBear64 made their first contribution in #3908
- @mathiasdg made their first contribution in #3909
- @miccehedin made their first contribution in #3907
Full Changelog: 11.17.10...11.18.0
11.17.10
What's Changed
- Add
getAvailablePathRelativeToRoot()method by @adriaanzon in #3877
This new method is similar to getAvailablePath() but calls getPathRelativeToRoot() instead of getPath(). This is useful when working with both local and cloud filesystem drivers, as getPath() returns an absolute path that cannot be passed to Storage::get().
Example usage:
Storage::disk($media->disk)->get(
$media->getAvailablePathRelativeToRoot(['conversion'])
)Full Changelog: 11.17.9...11.17.10
11.17.9
What's Changed
- Fix getStream path concatenation for custom PathGenerator by @dmitrakovich in #3904
This fix resolves an issue where getStream() was forcing directory-style paths, making it impossible to use custom PathGenerators with non-directory paths (like prefixes). The fix allows developers to use filename prefixes such as {basePath}-{fileName}.
Full Changelog: 11.17.8...11.17.9