Releases: FriendsOfCake/crud
3.0.9
3.0.8
This is a pure bugfix release, no new features was added :)
- [fix] Load the API exception renderer earlier to avoid non-api error responses (#128)
- [fix] allow short hand definition of listeners inside plugins
- [fix] fix _deriveRuleSpecific where there is many models in the
$errors
array (2514989) - [improve] Improve Code Standard - Thanks @tersmitten
3.0.7
This release is primarily a maintenance release - there is no new features and just one bug fix.
- [Fixed]: RelatedModelsListener conditions are now always an array (Thanks @lorenzo)
- [Fixed]: FriendsOfCake Travis CI plugin usage (Thanks @Phally)
- [Improve]: Tons of docblock and grammar fixes (Thanks @dereuromark & @bcrowe)
3.0.6
- [fix] Redirect logic has been fixed and improved greatly - #118
- [change] travis now uses FriendsOfCake/travis for travis configuration - #119
- [change] backported 2.4 changes to JsonView and XmlView - #121
The new redirect listener logic & configuration has been documented on a dedicated page.
View the full diff between v3.0.5 and v3.0.6
3.0.5
- [change]
executeAction
has been renamed toexecute
-executeAction
is marked as deprecated, and will be removed in v3.1.0 (#107 + #108) - [improve] make
RelatedModels
configuration more consistent and easy to use, and add event subjects for theassociation type
($event->subject->associationType
) andassociated model
instance ($event->subject->associatedModel
) inbeforeRelatedModel
andafterRelatedModel
events (#115 + #116) - [improve] speed (
is_null
vs=== null
) and documentation improvements
Thanks to the entire Friends Of Cake team & IRC hangarounds for their contributions and help with this release - you guys are awesome ! :)
All changes since v3.0.4 can be found in the milestone overview
3.0.4
- [new]
ApiTransformationListener
has been added, to make API response more in line with GitHub, Twitter and other APIs. The response is less CakePHP specific.(Issue #89) - Please see the documentation for more info - [fix] ApiFieldFilterListener now modifies
$controller->Paginator->settings
instead of the deprecated$controller->paginate
property (Issue #97) - [improve]
ApiListener
now remove all its events if the request is notapi
(Issue #88)
3.0.3
3.0.2
3.0.1
- [change]
add
andedit
now usessaveAssociated
instead ofsaveAll
by default - [feature] saveMethod for
add
andedit
can be changed using$action->saveMethod('saveAll')
- [feature] Implement new Crud event -
Crud.initialize
- called inCrudComponent::initialize()
- [fix] Composer will now save Crud as
Plugin/Crud
instead ofPlugin/CakephpCrud
- [fix]
$request->is('api')
now works inController::beforeFilter
- [fix] Skip tests in
CrudPanelTest
if DebugKit is not loaded
Major release 3.0
This release is a complete rewrite of Crud
Please see the huge diff between v2. and v3
The release consists of 475 commits, and contains tons of new features
Please check out the documentation for all the new features, and how to use Crud v3
Crud v3 is in no way compatible with Crud v2, though it should be fairly easy to migrate from 2.x to 3.x, since most concepts are the same.
The new release got a lot better code coverage than v2.
V2: OK (63 tests, 170 assertions)
V3: OK (253 tests, 659 assertions)
A special "thank you" to all of the team - @AD7six, @ADmad, @lorenzo and @josegonzalez