Skip to content

Releases: FriendsOfCake/crud

3.0.9

11 Dec 12:57
Compare
Choose a tag to compare
  • [fix] Do not call RequestHandler::renderAs unless the RequestHandler have detected an actual extension for the current request.

This could lead to an empty helper being appended to Controller::$helpers and making the request fail.

Thanks to @lorenzo for epic debug session

3.0.8

12 Nov 12:11
Compare
Choose a tag to compare

This is a pure bugfix release, no new features was added :)

3.0.7

22 Oct 08:36
Compare
Choose a tag to compare

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

17 Sep 19:45
Compare
Choose a tag to compare
  • [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

View issues closed in this release

3.0.5

15 Sep 14:51
Compare
Choose a tag to compare
  • [change] executeAction has been renamed to execute - 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 the association type ($event->subject->associationType) and associated model instance ($event->subject->associatedModel) in beforeRelatedModel and afterRelatedModel 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

04 Sep 11:32
Compare
Choose a tag to compare
  • [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 not api (Issue #88)

List of all closed issues during this release

3.0.3

21 Aug 14:20
Compare
Choose a tag to compare
  • [fix] - #87 - Do not disassociate $data from request data
  • [remove] - #86 - Remove the _cancel redirect method in add/edit crud actions, should be handled with a normal link, and not POST parameter

Updated docs and links to point to FriendsOfCake repo

3.0.2

20 Aug 13:19
Compare
Choose a tag to compare
  • [fix] change id injection, and account for more permutations (HABTM) (@AD7six)
  • [improve] make mapResources test more flexible (@AD7six)
  • [improve] add a setup method to listeners (@AD7six)

Also check out the diff since v3.0.1

3.0.1

18 Aug 19:32
Compare
Choose a tag to compare
  • [change] add and edit now uses saveAssociated instead of saveAll by default
  • [feature] saveMethod for add and edit can be changed using $action->saveMethod('saveAll')
  • [feature] Implement new Crud event - Crud.initialize - called in CrudComponent::initialize()
  • [fix] Composer will now save Crud as Plugin/Crud instead of Plugin/CakephpCrud
  • [fix] $request->is('api') now works in Controller::beforeFilter
  • [fix] Skip tests in CrudPanelTest if DebugKit is not loaded

Major release 3.0

15 Aug 21:31
Compare
Choose a tag to compare

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