- Can now count relations defined in
Controller::$counts
(see "Counting Related Models") - Requires now Laravel ~5.2
- Add SplitRelationsTransformer and -Formatter classes
- Introduce Plugins as a more flexible alternative to the old "hook methods"
- Make plugins configurable
- Add SearchFilter plugin
- SearchFilter plugin can search on (nested) relationships
- Remove Formatters alltogether (replace with plugin hooks)
- Paginator plugin adds meta info to reponse headers (optionally to payload)
- New Plugin: RelationSplitter (replaces SplitRelationsFormatter)
- RelationSplitter:
- Also split relations on 'resource' requests
- Add 'ignore_relations' config option
- Offer
$last_page
as paginator meta value
- Add Authorization Plugin
- Prepare for Plugin testing
- Introduce controller
context
for plugin interaction - Allow controller to implement hooks itself
- Migrate most deprecated hooks
- Fix a bug in RelationSplitter, add tests and refactor
- RelationSplitter: Add
ignore_pivots
config options
- Bugfix: RelationSplitter falsely added plain ids to includes
- Allow adding counts to side-loads (using dot-notation)
- Breaking: Context is now a property of Plugins instead of an argument to Hooks
- Introduce
BeginAction
andAdaptRelations
hooks
- Bugfix when loading relations with nested counts
- Performance improvement in RelationSplitter
- Bugfix RelationSplitter
- Slightly optimize the way Transformation works
- Introduce
saveMany
action
- Bugfix
- Compatibility Laravel 5.6, PHP 7.2
- Bugfix in Paginator plugin
- Slight improvement in Paginator plugin