Releases: apiato/core
Releases · apiato/core
v8.9.0
Full Changelog: v8.8.1...v8.9.0
Enhancements
- feat(test): Add test assertion methods
createSpyWithRepository
assertCriteriaPushedToRepository
assertNoCriteriaPushedToRepository
allowAddRequestCriteriaInvocation
v8.8.1
Enhancements
- fix(ci): can't generate code coeverage
- chore(deps): update composer dependencies
v8.8.0
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 toListResource
- refactor: Made many of
Core\Abstracts\Repositories\Repository
methods public so they can be overridden - refactor: Remove
Apiato\Core\Traits\ResponseTrait::transform()
methodarray
return type in favor of easier method overriding
v8.7.0
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 toRepository
.
Note:addRequestCriteria
&removeRequestCriteria
methods onTask
&Action
are deprecated and will be removed in feature
releases. You should useRepository
'saddRequestCriteria
&removeRequestCriteria
methods instead. - feat: removed
ownsMorph
ofCanOwnTrait
as it was not working as expected. - feat:
owns
method ofCanOwnTrait
now supports all kinds of relationships. - feat: Add
isOwnedBy()
method. It is just delegates theowns
method and works the same.
v8.6.0
INVALID RELEASE
UPGRADE TO v8.7.0
v8.5.0
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 ofassertModelCastsIsEmpty()
assertion method - feat!: change assertion method access modifiers
- assertModelCastsIsEmpty() -> from
public
toprotected
- inIds() -> from
public
toprotected
- assertModelCastsIsEmpty() -> from
- feat: add
getGateMock
test assertion method - feat: add
assertDatabaseTable
test assertion method
v8.4.1
What's Changed
- chore(deps): bump league/oauth2-server from 8.5.1 to 8.5.3 by @dependabot in #182
- fix: Functional problem with API_PREFIX
- fix: unable to set Content-Type response header
v8.4.0
- feat: don't load routes if routes are cached
- feat!: remove
assertRequestAuthorizeCallsPolicyCorrectly
assertion - fix: replace removed exception
HashidsException
->InvalidArgumentException
v7.2.6
What's Changed
- Added type for $field by @koraga in #180
- chore(deps): bump guzzlehttp/psr7 from 2.4.3 to 2.5.0 by @dependabot in #178
- chore(deps): bump nyholm/psr7 from 1.5.1 to 1.7.0 by @dependabot in #179
New Contributors
- @koraga made their first contribution in #180
- @dependabot made their first contribution in #178
Full Changelog: v7.2.5...v7.2.6
v8.3.2
Full Changelog: v8.3.1...v8.3.2
- feat!: add type 789606b