- fix: fix phpstan errors
- test: modernization
- fix(filepond): clear field class, fix issues with Bootstrap 4
- fix(filepond): also clear style attribute just in case
- chore: cleanup
composer.json
- deps: avoid buggy reconstitutor versions
- deps: update javascript dependencies
- deps: drop PHP 8.1 support
- feat: PHP 8.4 compatibility
- chore: add and set rector
- fix: creates
DateTime
objects with the default timezone.
- fix: wrong type hint for
ContainerInterface
- fix: remove dependency on
ServiceSubscriberTrait
, fixes deprecated warning fromsymfony/service-contracts
- feat: AssetMapper compatibility
- deps: Update oneup/uploaderbundle requirement from 4.0 to 5.0
- fix: inconsistent intervention version
- fix:
MetadataFactory
return type hint
- build: allow specifying option in
make phpunit
. - fix: fix errors under
open_basedir
restrictions.
- Supports Symfony 7
- Use lazy-loading in
FileTrait
. - Add informative exception if the file is missing in
FileTrait
. - Use
UnsetFile
in place of an unset file. Allows caller to get data from the embedded metadata if the file is unset. Will only throw exception, i.e. if the caller attempts to get the file.
- Fix typehints
- Update Filepond JS dependencies
- Fix common extensions tests
- Update psalm (fixes Override)
- Remove allowFileEncode in FilePondCollectionType as upstream already fixed the blocker
- Change version dependency of
psr/http-message
to^1.0 || ^2.0
- Bump deps of
symfony/form
to^6.3.6 || ^6.4
because of the necessary fixes - Update for config deprecations in preparation for Symfony 7
- Add
FilePondCollectionType
. - Revert
symfony/form
dep to6.2
because we are blocked by a FilePond bug anyway. - Force
FilePondCollectionType
to useallowFileEncode
and disablestoreAsFile
for now.
- filepond: Now depends on
file-server
- filepond: Rename
remove_on_null
toallow_delete
for consistency with other form types. - symfony-bridge: Update
FileTransformer
to deal with situations where the transformer is installed twice on the same form. For example, ifFileTypeExtension
is active app-wide.
- Add FilePond form type.
- Fix passing translation in ZIP file name.
FileCollection
andReadableFileCollection
now accept a translated name.- Add
TranslatableFileName
- Update doctrine-collections-decorator to 2.0
file-bundle
now suggestsfile-zip
.- Fix type hint for
FileInterface::get()
- Add
ReadableFileCollection
. RenameFileCollectionDecorator
toFileCollection
. - Add
Directory
, which is an ultra-simple implementation ofDirectoryInterface
. - Add
FileZip::createZipResponse()
- Rename
FilesCollection
toFileCollectionDecorator
- Interfaces to implement a tree-like structure for
FileInterface
andFilePointerInterface
. AddNodeInterface
&DirectoryInterface
. Should still be backward compatible. - Zip-streaming of
DirectoryInterface
.
- Simplify exception handling in
NullFileTrait
- Fix "uncaught exception" if the
$other
field is null in the database.
- Add
DoctrineObjectIdResolver
for a more universal object id resolver. - Cache object id in
ChainedObjectIdResolver
- Add
FileDecorator::setFileMandatory()
to deal with non-nullable file properties in entities. - Make file properties in
FileTrait
non-nullable. PropertyInspector
: fix bug where the property inspector would not find private properties in parent classes.
- Add
PropertyInspectorInterface
infile-association
- Implements lazy-loading of files in entities.
- Create
file-null
package to hold null file objects. - Remove
NullFile
fromfile-association-entity
. - Add
NullFileInterface
&NullFilePointerInterface
to the contracts. - If the file property in an entity is not nullable, substitute it with a
MissingFile
object.
- Spin off the main part of
AbstractFile
intoFileTrait
to cater to entities that have to extend another class. FileDecoratorTrait
: changegetWrapped()
visibility to private
- Separate metadata classes from
rekalogika/file
torekalogika/file-metadata
. - Add
rekalogika/file-association-entity
to allow replicating metadata inside Doctrine entities. - Add
AbstractFile
to help create file entities (and collection of files). - Add
NullFile
to represent a file that should exist but does not.
- Remove remnant.
- Change
RawMetadataInterface::get()
to throwMetadataNotFoundException
if the key is not found. - Add
RawMetadataInterface::tryGet()
to returnnull
if the key is not found.
- Change translated return type from
string|(\Stringable&TranslatableInterface)
to\Stringable&TranslatableInterface
- Allow PHP 8.1
- Fix translation directory location
- Refactor translation
AttributesPropertyLister
now caches the results in memory.
- FileType: Catch
MappingException
ongetDescription()
.
- Use
sys_get_temp_dir()
andtempnam()
to get a temporary file path if the filesystem is local. - Allow temporary URL generation for
FileInterface
- Initial Release