Skip to content

Releases: apiato/core

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

v8.8.0

05 Feb 15:12
Compare
Choose a tag to compare

Full Changelog: v8.7.0...v8.8.0

Bug fixes

  • fix(loaders): Ship views are not being loaded

Enhancements

  • ci: Setup GitHub actions: test runner, php cs fixer
  • ci: Setup code coverage
  • feat(test): Setup testing using Testbench
  • refactor: Gather and move all source code files and put them under /src directory (namespaces stays the same, so no breaking change)
  • refactor: Remove useless PHP docs
  • refactor(loaders): Improve backward compatibility by allowing the usage of both middlewarePriority & middlewareAliases properties
  • refactor(code-generator): Rename GetAllResources files to ListResource
  • refactor: Made many of Core\Abstracts\Repositories\Repository methods public so they can be overridden
  • refactor: Remove Apiato\Core\Traits\ResponseTrait::transform() method array return type in favor of easier method overriding

v8.7.0

14 Oct 18:10
Compare
Choose a tag to compare

Full Changelog: v8.6.0...v8.7.0

Bug fixes

  • fix(hash-id): route model binding now correctly resolve and decode scoped model bindings

Enhancements

  • feat: WrongConfigurationsException marked as deprecated and will be removed in the next major release.
  • feat: Add addRequestCriteria method to Repository.
    Note: addRequestCriteria & removeRequestCriteria methods on Task & Action are deprecated and will be removed in feature
    releases. You should use Repository's addRequestCriteria & removeRequestCriteria methods instead.
  • feat: removed ownsMorph of CanOwnTrait as it was not working as expected.
  • feat: owns method of CanOwnTrait now supports all kinds of relationships.
  • feat: Add isOwnedBy() method. It is just delegates the owns method and works the same.

v8.6.0

14 Oct 18:07
Compare
Choose a tag to compare

INVALID RELEASE

UPGRADE TO v8.7.0