Skip to content

CakePHP Bake 2.8.0

Compare
Choose a tag to compare
@othercorey othercorey released this 24 Sep 04:03
· 56 commits to 2.x since this release
fc7440b

Changes

  • Support for keeping app-specific functions, properties and constants in model file with the new --update option for bake model
    • All generated code will still be overwritten
  • Support for customizing file headers with the new Bake.file_header element
  • Detecting and generating HasOne associations
  • Customizing template renderer View options using the new Bake.renderer event or BakeCommand::createTemplateRenderer()
  • Don't enforce FKs presence on create to allow e.g. hasMany association save calls to run through
  • Skip prompting the user to overwrite a file if it hasn't changed
  • Adding $force property to CommonOptionsTrait set by the --force option
  • Make bake template file extension configurable
  • Update plugin class generation