Skip to content

Releases: MarcinOrlowski/laravel-api-response-builder

v9.1.1

30 Oct 16:51
Compare
Choose a tag to compare

Please see CHANGELOG for detailed information.

v9.1.0

30 Oct 08:07
75e0c47
Compare
Choose a tag to compare
  • [RB-175] Paginator and LengthAwarePaginator support is now included in default converter configuration (reported by @kcaj-burr)
  • Fixed testConfigClassesMappingEntriesUnwantedConfigKeys() testing trait not supporting null keys in converter config.

v9.0.3

28 Oct 14:43
9a15037
Compare
Choose a tag to compare
  • Validator type related exceptions must now implement InvalidTypeExceptionContract.
  • converter config key element now accepts null to indicate you want no key to be used.

v9.0.2

25 Oct 09:11
2fb8544
Compare
Choose a tag to compare
  • 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

22 Oct 13:22
87e00f5
Compare
Choose a tag to compare
  • Fixed auto-discovery failing due to broken ServiceProvider (reported by Efriandika Pratama).
  • Corrected documentation and usage examples.

v9.0.0

17 Oct 16:19
42ae0f5
Compare
Choose a tag to compare
  • 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 for array, boolean,
    double, integer and string types, configurable via new converter/primitives.
  • Removed hadrcoded val key used by JsonSerializable converter.
  • Introduced own exceptions for better error reporting. See src/Exceptions for more info.

v8.1.1

15 Oct 18:05
277a702
Compare
Choose a tag to compare
  • [#155] Fixed ResponseBuilder internals preventing exdending class code from being invoked, thus making response object structure manipulation ineffective (reported by krek95)

v8.1.0

17 Sep 08:50
Compare
Choose a tag to compare
  • Added logging (.env controllable) for payload Converter to help debugging inproper data conversion.

v8.0.1

09 Sep 10:41
Compare
Choose a tag to compare
  • Updated Travis config to make tests run against Laravel 8.0.
  • Removed Util::printArray() helper.

v8.0.0

14 Jul 17:38
c6554ec
Compare
Choose a tag to compare
  • BACKWARD INCOMPATIBLE CHANGES (more info)
  • Improved performance by using calls qualified references.
  • [RB-132] Reworked exception handler helper to support delegated handlers for better flexibility.
  • Reverted depreciation of BaseApiCodes reserved range codes.
  • Sealed built-in data converter classes.
  • Removed ResponseBuilderLegacy class from the package.
  • Added German localization.