Releases: cakephp/bake
Releases · cakephp/bake
Bake 2.6.0
New Features
- Requires CakePHP 4.3.0+
- Update plugin creation for 4.3 by @markstory in #757
- Add
CommandHelper
bake command by @mentisy in #763 - Full french doc update by @zachee54 in #764
- Add stub for console() to bake templates by @rkaiser0324 in #769
- Add support for phpunit 9 by @othercorey in #772
- Add support for multiple field unique constraints by @othercorey in #780
- Add allowMultipleNulls to unique rules for nullable fields by @othercorey in #784
Fixes
- Fix cakephp 4.3 deprecations by @othercorey in #767
- Add php 8.1 to matrix by @othercorey in #768
- Convert query to resultset before setting view var. by @ADmad in #760
- Make field generation in fixtures optional by @markstory in #765
- Fix setting array display field by @othercorey in #766
- Disable and clear connection metadata cache before baking model by @othercorey in #771
- Exclude hidden fields from index and view template generation by @othercorey in #773
- Validate column names before baking model or fixture by @othercorey in #774
- Add decimal data type to record import test by @othercorey in #777
- Use VarExporter to generate fixture records string by @othercorey in #776
- Don't create unused temp directory by @othercorey in #778
- Simplify generating array display field by @othercorey in #781
- Set fields key for all rules that expect an array by @othercorey in #782
New Contributors
- @zachee54 made their first contribution in #764
- @rkaiser0324 made their first contribution in #769
Full Changelog: 2.5.2...2.6.0
Bake 2.5.2
- Improve doc blocks in generated code for tests.
- Improve doc blocks in generated code for templates.
Bake 2.5.1
Changes
Update use of deprecated method. #752
Bake 2.5.0
Changes
- Add new helper method for exporting vars. #751.
If you are have extended bake's commands in your app/plugin and are modifying the array(s) which were consumed byBakeHelper::stringifyList()
in the templates then you might have to update your code as per changes in the linked PR.
Bake 2.4.1
Fixes
- Fix package version constraint being HTML encoded in baked composer.json for plugins. #748
Bake 2.4.0
Fixes
- Added the
--theme
and--force
options tobake plugin
. - Improved warning generation in
bake model
. - Improved Japanese documentation.
- Improved documentation on plugin override templates.
Removals
- Removed commands to generate shells/tasks. These class types have been long deprecated in CakePHP.
Bake 2.3.0
Added
- Bake now prefers commands located in the
Command\Bake
. If your plugin or application has this namespace and directory only commands from that directory will be detected as bake commands.
Fixes
- Improved documentation and recommend using the
Command\Bake
namespace.
Bake 2.2.1
Fixes
- Updated TwigView requirement.
- Moved CI to GitHub Actions.
- Fixed missing TimestampTimezone field type support.
Bake 2.2.0
Added
- The
--prefix
opt was added tobake all
. - Custom datatype classes now generate fixtures using the
string
type.
Fixes
- Used assertSame where possible in the test suite.
- Fixed event name for view templates with / in them.
- Improve documentation.
Bake 2.1.2
Fixes
- Simplified autoload path.
- Removed usage of TableRegistry from bake internals.
- Updated documentation.
- Fixed commands not removing
.gitkeep
files. - Fixed application template overrides having bake in the path name twice.
Breaking Changes
- The path for template overrides in applications changed to /templates/plugins/Bake. This an undocumented side-effect from the previous release. Paths for overrides in theme plugins remain the same.