Skip to content

Releases: apiato/core

v8.13.2

05 Sep 08:55
Compare
Choose a tag to compare
  • fix: reverse breaking change

v8.13.1

26 Aug 16:31
Compare
Choose a tag to compare
  • fix(test): make failing tests pass

v8.13.0

26 Aug 15:24
Compare
Choose a tag to compare

Full Changelog: v8.12.0...v8.13.0

  • feat(test): Setup automated tests and began adding tests to the Core. (We even have abadge for it now on the repo page!)
  • feat: Added Apiato\Core\Abstracts\Collections\EloquentCollection which will be used as the parent of all custom collections.
  • feat(collection): Added containsDecodedHash macro method to Illuminate\Support\Collection to help checking if the given hashed id exists in the collection
  • feat(config): filter query parameter key is now configurable via apiato.requests.params.filter config key.
  • feat(transformer): Added empty static method to Transformers. It can be used to get a valid empty Transformer.
  • fix(transformer): Passing nullableItem method third parameter, $resourceKey, does not have any effect.
  • deprecate(test): Apiato\Core\Traits\TestCaseTrait is now deprecated.
    You probably don't need to worry about this one, as it was designed to be only used internally by Apiato Core.
  • deprecate(model): $resourceKey property on Models is now deprecated.

v8.12.0

01 Jun 19:15
Compare
Choose a tag to compare

Enhancements

  • feat: implement custom serializer to handle attribute filtering

v8.11.0

29 May 17:25
Compare
Choose a tag to compare

Enhancements

  • feat(collection): add eloquent collection base class
  • feat: move inIds method functionality to base collection class
  • docs: update inIds method depraction info

v8.10.0

29 May 15:51
Compare
Choose a tag to compare

Enhancements

  • feat(test): allow url overriding in functional tests
  • refactor(test): simplfy Passport installation during test runs

v8.9.2

28 May 17:49
Compare
Choose a tag to compare
  • fix: revert breaking change

v8.9.1

28 May 17:41
Compare
Choose a tag to compare

Full Changelog: v8.9.0...v8.9.1

Enhancements

  • refactor: remove reduntant code
  • chore(deps): update composer dependencies
  • feat: deprecate methods of Apiato\Core\Traits\ResponseTrait
    • transform
    • withMeta

Reason: transform is the cause of many bugs and its functionality is already covered by the Fractal package.
Replacement: \Spatie\Fractal\Facades\Fractal::create

v8.9.0

06 Feb 14:27
36da5a8
Compare
Choose a tag to compare

Full Changelog: v8.8.1...v8.9.0

Enhancements

  • feat(test): Add test assertion methods
    • createSpyWithRepository
    • assertCriteriaPushedToRepository
    • assertNoCriteriaPushedToRepository
    • allowAddRequestCriteriaInvocation

v8.8.1

05 Feb 16:14
Compare
Choose a tag to compare

Enhancements

  • fix(ci): can't generate code coeverage
  • chore(deps): update composer dependencies