All notable changes to laravel-fileable
will be documented in this file
- rename
\Astrotomic\Fileable\Concerns\Fileable
to\Astrotomic\Fileable\Concerns\HasFiles
- #2
- add PHP 8 support
- fix
fclose(): supplied resource is not a valid stream resource
exception
- fix
\Astrotomic\Fileable\Concerns\Fileable::deleting()
listener to only returnnull
orfalse
- fix
\Astrotomic\Fileable\Models\File
JSON response - add
\Astrotomic\Fileable\Contracts\File
interface - allow to customize file table and connection
- fix custom model in
\Astrotomic\Fileable\Concerns\Fileable::files()
relationship - add
resource
/stream as supported type to\Astrotomic\Fileable\FileAdder::add()
- add helper methods to
\Astrotomic\Fileable\Concerns\Fileable
- change
\Astrotomic\Fileable\Models\File::toResponse()
behavior
- initial release