Releases: apiato/core
v8.15.0
What's Changed
- chore(deps): update Composer dependencies
- feat(config): Apiato default configs can now be published using
artisan vendor:publish
- fix(events): Laravel event discovery doesnt work
Note: It is enabled by default on new Apiato projects now.
You can globally enable it on your current project viaApp\Ship\Parents\Providers\EventServiceProvider::shouldDiscoverEvents
method. Here is the docs. - refactor(tests): use fake() helper by @mderis
Code Generator Overhaul
- feat: allow passing custom Model name when generating a Controller by @innoflash
- fix: outdated generated files. Generated files now reflect the latest Apiato changes.
- fix: broken multi-action Controller generator
- fix: functional tests are generated in the wrong directory
Note: if you customized the test stubs, their directory changed a bit! please have a look here to see the new directory structure. - fix:
Listeners
are not added to the generatedEventServiceProvider
class - fix:
EventServiceProvider
don't get registered inMainServiceProvider
New Contributors
- @mderis made their first contribution in #212
- @innoflash made their first contribution in #194
Full Changelog: v8.14.0...v8.15.0
Development Insights
Open Source doesn't come cheap.
Here are some intresting facts about this release:
- This release, including Apiato v12.6, took around 8 work days.
- Since started working on it, I didn't even have a day off, not even on the weekends, and that would be a a month now.
How You Can Support
If you need help with your Apiato project—whether you’re an individual developer or part of an organization—We offer dedicated consultancy and support services tailored to your needs. By working with us, you’ll not only gain expert guidance but also contribute to the sustainability of this project. Your support ensures that we can continue to build amazing open-source tools for you and the broader developer community.
Get in touch via email or Discord ❤️
Thank You
To everyone who uses, shares, or contributes to Apiato—thank you. Your support and trust make the sacrifices worthwhile. Together, we’re shaping something extraordinary.
v8.14.0
What's Changed
Full Changelog: v8.13.2...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