Skip to content

Releases: apiato/core

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

v8.5.0

12 Jul 17:47
Compare
Choose a tag to compare

Full Changelog: v8.4.1...v8.5.0

  • feat: add fakerphp/fake & phpunit/phpunit dependencies
  • refactor(performance): spread arrays instead of using array_merge
  • feat: add deleted_at to assertion list of assertModelCastsIsEmpty() assertion method
  • feat!: change assertion method access modifiers
    • assertModelCastsIsEmpty() -> from public to protected
    • inIds() -> from public to protected
  • feat: add getGateMock test assertion method
  • feat: add assertDatabaseTable test assertion method

v8.4.1

12 Jul 17:11
b54c05b
Compare
Choose a tag to compare

What's Changed

v8.4.0

15 Jun 22:02
Compare
Choose a tag to compare
  • feat: don't load routes if routes are cached
  • feat!: remove assertRequestAuthorizeCallsPolicyCorrectly assertion
  • fix: replace removed exception HashidsException -> InvalidArgumentException

v7.2.6

05 Jun 16:57
f0f0b23
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.2.5...v7.2.6

v8.3.2

04 Jun 19:53
Compare
Choose a tag to compare

Full Changelog: v8.3.1...v8.3.2