Releases: cakephp/bake
Releases · cakephp/bake
Bake 2.1.1
Fixes
- Fixed typehints in baked code.
- Use the Bake plugin prefix instead of manipulating the global paths.
- Minor improvements in bake templates.
Bake 2.1.0
We have switched to the official Twig integration plugin - cakephp/twig-view.
Check out the twig-view release notes to see what's new!
Upgrading
-
For users that do not use TwigView directly in their application, you don't need to change anything.
-
For users that have a direct dependency on the previous plugin, wyrihaximus/twig-view, you must remove that package before upgrading to Bake 2.1.0. You cannot require both versions of twig-view and will run into composer errors when upgrading.
-
For users that have custom TwigView configurations, some code and configuration changes are required. Please see the twig-view documentation for configuration and setup details.
Bake 2.0.10
Fixes
- Use
templates/bake
instead ofsrc/Template/Bake
when building theme choices. - Removed unnecessary
cakephp/plugin-installer
dependency.
Bake 2.0.9
Fixes
- Add constructor argument to generated tests for behaviors.
- Fixed links in readme.
Bake 2.0.8
Fixes
- TableScanner now supports regex patterns for ignoring tables. This allows it to ignore phinxlog tables in plugins.
Bake 2.0.7
Fixes
controller
command now usesAppController
base classes in plugins if they exist.- Improved return type hinting of commands and fixed internal strict type lint errors.
Bake 2.0.6
Fixes
- Commands supporting the
--force
flag now honour it. - Generated tests for controllers no longer include a
testInitialization()
method. - Improved doc block typehints for controllers.
- Controllers with
$modelClass = ''
can have tests generated for them.
Bake 2.0.5
Fixes
- Update to not use deprecated File and Folder classes.
- Fix plugin command when there is more than one plugin path.
- Improve fixture generation for
timestampfractional
type. - Improved method annotations in generated table classes.
Bake 2.0.4
Fixes
- Generated plugin classes now include parent calls so that people following older tutorials aren't surprised as often.
Bake 2.0.3
- Updated TwigView dependency to a stable version.