Releases: cakephp/bake
Releases · cakephp/bake
Bake 2.7.0
What's Changed
- Fix up templates for generics in docblocks, more precise assoc def. by @dereuromark in #792
- fix multiple test run issue by @GrandFelix in #794
- Fix PHP 8.1 shell helper fatal error by @LordSimal in #799
- fix --quiet option not being quiet by @LordSimal in #800
- Add missing docblock param, add assoc doc. by @dereuromark in #802
- change validateNames logic to prevent special chars in column names by @LordSimal in #806
- omit primary key validation and re-add FK validation rules while baking the model by @LordSimal in #805
- changed method visibility for baked setUp and tearDown tests to protected by @LordSimal in #810
- fix tests not using reference to command code constant via the interface by @LordSimal in #812
- minor cleanup by @LordSimal in #813
- don't use Number helper if baked field is nullable by @LordSimal in #811
- added services method to baked plugin template by @LordSimal in #809
- 2.x search upgrade preparation by @ndm2 in #815
- 2.x - Update source files path. by @ndm2 in #817
- update to PHPStan 1.5 by @LordSimal in #818
- match middlewareQueue name by @saeideng in #819
- github action - fix branch name by @saeideng in #822
New Contributors
- @LordSimal made their first contribution in #799
Full Changelog: 2.6.1...2.7.0
Bake 2.6.1
Changes
- Fixed baking columns that start with an underscore
_
.
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.