Releases: apiato/core
Releases · apiato/core
v8.14.0
v8.13.2
v8.13.1
- fix(test): make failing tests pass
v8.13.0
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 toIlluminate\Support\Collection
to help checking if the given hashed id exists in the collection - feat(config):
filter
query parameter key is now configurable viaapiato.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
Enhancements
- feat: implement custom serializer to handle
attribute filtering
v8.11.0
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
Enhancements
- feat(test): allow
url
overriding in functional tests - refactor(test): simplfy Passport installation during test runs
v8.9.2
- fix: revert breaking change
v8.9.1
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
Full Changelog: v8.8.1...v8.9.0
Enhancements
- feat(test): Add test assertion methods
createSpyWithRepository
assertCriteriaPushedToRepository
assertNoCriteriaPushedToRepository
allowAddRequestCriteriaInvocation