Releases: MarcinOrlowski/laravel-api-response-builder
Releases · MarcinOrlowski/laravel-api-response-builder
v9.2.1
ExceptionHandler
now expects\Throwable
instead of\Exception
.
v9.2.0
- Updated Travis config to run tests on PHP 8 too.
- Added Arabic translation (thanks to @mustafa-online)
- Added Turkish translation (thanks to @victorioustr)
v9.1.1
v9.1.0
- [RB-175]
Paginator
andLengthAwarePaginator
support is now included in default converter configuration (reported by @kcaj-burr) - Fixed
testConfigClassesMappingEntriesUnwantedConfigKeys()
testing trait not supportingnull
keys in converter config.
v9.0.3
Validator
type related exceptions must now implementInvalidTypeExceptionContract
.converter
configkey
element now acceptsnull
to indicate you want no key to be used.
v9.0.2
- Corrected tests to use regular ServiceProvider.
- Corrected primitive converter tests.
- Presence of configuration "converter/classes" array is now mandatory (reported by Raja)
- Extensive documentation overhaul
v9.0.1
- Fixed auto-discovery failing due to broken
ServiceProvider
(reported by Efriandika Pratama). - Corrected documentation and usage examples.
v9.0.0
- BACKWARD INCOMPATIBLE CHANGES (more info)
- [RB-156] Added logic to deal with directly returned objects or arrays.
- [RB-158] Passing primitives as direct payload (i.e.
success(12.50);
is now supported forarray
,boolean
,
double
,integer
andstring
types, configurable via newconverter/primitives
. - Removed hadrcoded
val
key used byJsonSerializable
converter. - Introduced own exceptions for better error reporting. See src/Exceptions for more info.
v8.1.1
v8.1.0
- Added logging (
.env
controllable) for payload Converter to help debugging inproper data conversion.