- Added support up to Laravel 11
- Fix ObjectFieldsTransformer on PHP 7.2+
- Add 7.3, 7.4 environments to test on Travis CI
Declare compatibility with Laravel 6
- Format passed into array dates in BaseTransformer. Previous version formats only dates in model
- Resolve issue with
$hiddenand$visiblearrays of fields in model. Previously only$hiddenwas taken into account
Require saritasa/php-common after extracting base Dto class
Require newer version of league/fractal
- DtoModel extends Saritasa\Dto (previously was self-sufficient)
- NotSupportedException is deprecated. Use Saritasa\NotImplementedException instead
Do not require minimum-stability of packages
Enable Laravel's package discovery https://laravel.com/docs/5.5/packages#package-discovery
- Add NotSupportedException.
- Using in the DtoModel the Saritasa\Transformers\Exceptions\NotSupportedException instead the
- League\Flysystem\NotSupportedException.
Fix DtoModel different classes fields overlap + DtoModel unit test
- Add ObjectFieldsTransformer
- Fix message display
Update dependencies versions
Add:
- TransformTypeMismatchException
- TransformersServiceProvider
Update dependencies versions
- Move default pagination limits to saritasa/dingo-api-custom
- Remove TransformersProvider
Fixes
Add TransformException
Fix namespace
Initial version:
- IDataTransformer
- BaseTransformer
- LimitFieldsTransformer
- CombineTransformer