- Added support for the Codeception testing framework, thanks to a PR from Giel
- Updated to use the new Twig Extension class namespace to avoid deprecation errors
- Make sure that
api_version_3_0 plugins& modules have the default asset bundle with the properly lowercase namespace
- Include the following in the 'extra' section:
developer,developerUrl, &documentationUrl - Move
hasCpSettingsandhasCpSectionto plugin class
- Use
fs.writeFileSync()for Node 10+ compatibility - Update
_cpsection.twigto use the{% actionButton %}block instead ofextraPageHeaderHtml - Fix module generated controller routes
- Docs link to Craft 3 docs
- Fixed iconpath for widgets and utilities for Modules
- Remove deprecated
composer/installersfrom thecomposer.json - Fixed docblock comments for
serializeValuefor Fields
- Improved the module's
_Service.phptemplate - Removed
schemaVersionfrom thecomposer.json'sextraarray - Added the public property
$schemaVersionin the plugin's primary class
- Fixed an issue with the translation and AssetBundle aliases
- Fixed module namespacing for controllers & aliases
- Fixed an issue with empty names for various module components
- Added support for modules via
module_api_version_3_0
- Fixed the Craft 3 API
Tasksto generate proper Craft 3 QueueJobs - Added Code Comment documentation to Craft 3 API
Tasks
- Handle a default name for Fields in the Craft 3 API, in case they are left blank
- Fixed a typo in
someFunction
- Removed
repositoriesfromcomposer.json
- Added Craft app API inspections for PhpStorm in the templates
- Updated the
craftcms/cmsversion to^3.0.0-RC1in thecomposer.jsontemplate
- Update how twig extensions are registered
- Fixed an issue with code comments being turned off is not respected from the command line
- The code comments setting is now stored from session to session
- Fixed an issue with undefined indexes for the Craft 3.x APIs
- Fixed the generated CP assets for the Craft 3.x APIs
- Fixed the Yii asset bundle aliases, which should be the directory name, not the kebab-handle
- Craft 3 beta 23 compatibility
config.phpfiles should be kebab-case, too
- More kebab-case fixes
- Initial Craft 3 beta 20 compatibility
- Switched over to
yarn
- For beta 20, extra.handle in composer.json should be "foo-bar" instead of "fooBar"
- src/translations/en/foobar.php now renamed to foo-bar.php
- Craft::t() calls now pass 'foo-bar' as the first argument instead of 'foobar'
- the |t filters in the generated template(s) are now |t('foo-bar') (these were incorrectly not passing any category currently, meaning that they will default to the site category)
- defineTemplateComponent() is now replaced with a listener for the defineComponents event on craft\web\twig\variables\CraftVariable
- Installation instructions in the readme should only cover Composer installs (Beta 20 dropped support for manual plugin installs)
- Changed the date format to YYYY-MM-DD for
CHANGLOG.md
- Added a
.craftpluginfile that defines the settings of the plugin - Added the ability to add components on ad-hoc via
yo craftplugin --controllerName="Something" - Added a video to the documentation showing how all of this works
- Added more documentation on using
yo craftplugin
- Refresh the Yii schema caches after adding tables in the
Install.phpmigration
- Renamed
someField->someAttributeto fix Twig errors on the plugin Settings page
- Fixed the
Install.phpmigration to sync with Craft beta changes ofConnection->DbConfig
- Updated
composer.jsonto add more common editor settings,/vendor, etc.
- Added
asset-packagisttocomposer.jsonfor Scrutinizer & manual plugin install
- Added an example of accessing a plugin's settings from a service
- Fixed the docblock for the
installmigration - Better log statement formatting
- Changed the
installmigration to use$this->driver = Craft::$app->getConfig()->getDb()->driver; - Brought the
config.phpfile in line with the changes in Craft 3 beta 8
- The
installmigration is now coded more defensively, to add & drop tables only if they don't exist already - Changed
hasSettings->hasCpSettingsin thecomposer.json
- Changed the
XXXX plugin loadedlog message so that we're no longer concatenating a translated string with a non-translated string
- Removed pointless
DIRECTORY_SEPARATORinrenderTemplate()calls
- Fixed EJS syntax errors in the
Install.phpmigration
- Added
dateCreated,dateUpdated, anduidto theInstall.phpmigration - Added a
foreignKeyexample in theInstall.phpmigration
- Changed the translation category
toLowerCase()for compliance with Craft3.0.0-beta-7
- Added a
$in front of the@propertyvariables - Fixed errant output when
codeCommentswas on
- Added code inspection typehinting for the
$pluginstatic variable in the plugin's main class - Added code inspection typehinting for services via
@propertyon plugin's main class
- Fixed an issue with it not including
yii\base\Eventby default
- Require
craftcms/cmsincomposer.jsonagain - Translations are a lowercase version of the pluginHandle
- Refactored the
_Record.phptemplate to be in line with the current Craft 3 beta
- Modern-style
[]forconfig.php
- Check for whether our plugin is being installed in
EVENT_AFTER_INSTALL_PLUGINevent handlers
- Added a
.gitignorefile for the Craft 3.x API
- Ensure that PHP reserved words are not used for the plugin name; appened "Plugin" if so
- Ensure that PHP reserved words are not used for a component name; append the component type if so
- Added
getContentColumnType(),normalizeValue(), &serializeValue()toFields.php - Added merging of parent rules for
Fields.php
- Fixed missing
use craft\events\PluginEvent;in_Plugin.php
- Removed deprecated methods for events like
onAfterInstall - Added an example of using
Plugins::events
- Switched the translation back to use the
pluginCamelHandledoh
- Fixed the composer URL in the README.md to be kebab-case
- Switched the translation back to use the
pluginDirName
- Composer package names and github-related names are now in kebab-case
- Removed the
[]around the version number inCHANGELOG.md - Fixed the incorrect
.pngsuffix for the plugin asset bundle icon
- Removed
extra.pluginDocumentationUrlfromcomposer.json
- Added
support.docstocomposer.json - Added
support.issuestocomposer.json
pluginName,pluginAuthorName,pluginDescriptionandcopyrightNoticeare now all output unescaped
extra.nameis now the actual plugin name in thecomposer.json- Removed
extra.versionin thecomposer.jsonsince it's already specified inversion - Removed
extra.descriptionin thecomposer.jsonsince it's already specified indescription - Removed
extra.developerin thecomposer.jsonsince it's already specified inauthors[] - Removed
extra.developerUrlin thecomposer.jsonsince it's already specified inauthors[]
- Fixed the incorrectly hard-code version in the
composer.json
- Fixed an issue with the generated Element template that would throw a PHP error
- Ensured that the calls to getPublishedUrl() correspond to the published assets directory
- Removed deprecated view.registerCssResource() and view.registerJsResource() calls
- Added proper namespacing for the Field JavaScript
- Changed the default class name from the reserved word
Defaultto the plugin handle if no name is provided
- Updated the console controllers and web controllers to return something more useful
- Fixed the generated route URIs to kebab-case the plugin handle
- Fixed the action URIs in the comments for controllers to kebab-case the plugin handle
- plugin -> craft-plugin in
composer.json
- Removed errant tabs from the
composer.jsonfile
- Craft 3 beta support
- Added config.php
- Fixed the logo in README.md
- Handle a case where a plugin has no services
- Added CP Sections
- Added an example of how to access resources from AssetBundles
- Refactored the
assetbundlesmultiple times
- AssetBundle all the things
- Use yii\base\Event as appropriate
- Switch to a better CHANGELOG format
- General cleanup
- [Added] Added Elements
- [Added] Added pluginChangelogUrl
- [Added] Added Fields
- [Improved] New-style arrays for the translations
- [Improved] Moved icon.svg & icon-mask.svg to /src
- [Improved] Moved commands to console/controllers
- [Improved] Moved component templates to templates/_components/
- [Fixed] Fixed broken translations
- [Added] Added Tasks component for the 3.0.x API
- [Improved] Cleaned up the translations
- [Added] Added Utilities component
- [Added] Added the ability to generate multiple ConsoleCommands
- [Improved] Code comments now are more complete, and if disabled, @inheritdoc is used
- [Removed] Removed releases.json from the 3.0.x API
- [Improved] Implemented CHANGELOG.md
- [Improved] Cleaned up the plugin code
- [Added] Added section comments
- [Added] Added widgets
- [Improved] Cleaned up the css/js/template naming
- [Improved] Use DIRECTORY_SEPARATOR everywhere instead of /'s
- [Improved] Added an example Site and CP route for each controller
- [Improved] Added Console Commands to the 3.0.x API
- [Improved] PSR-2 linted code for the 3.0.x API
- [Improved] Various code-cleanup and fixes
- [Improved] We now call
parent::init()in our overriden init() method in the 2.5.x API
- [Fixed] Fixed an issue that would cause the generator to fail if you had empty Controller or Services names
- [Fixed] Fixed a regression error that would cause Craft CMS API 2.5.x plugins to fail
- [Added] Added CHANGELOG.md to move the changelog to
- [Improved] Updated README.md
- [Added] Added CHANGELOG.md
- [Improved] Updated README.md
- [Improved] More Craft 3 API improvements / additions
- [Improved] Updated README.md
- [Added] Initial Craft 3 support
- [Updated] Updated README.md
- [Fixed] Fixed an issue the FieldType namespacing JS code
- [Updated] Updated README.md
- [Fixed] Fixed an issue with Composer support to the generated plugins
- [Updated] Updated README.md
- [Added] Added Composer support to the generated plugins
- [Updated] Updated README.md
- [Fixed] Fixed a bug where empty service names would generate errors
- [Updated] Updated README.md
- [Fixed] Fix service comment naming error
- [Updated] Updated README.md
- Code Comments fixes
- [Updated] Updated README.md
- Code Comments fixes
- [Updated] Updated README.md
- Code Comments fixes
- [Updated] Updated README.md
- We now
return $value;in the FieldType'sprepValue()andprepValueFromPost()template - [Updated] Updated README.md
- Fixed an issue with the FieldType Javascript
- [Updated] Updated README.md
- Added a "Code Comments" checkbox, so that you can disable the verbose comments in the generated code scaffolding
- [Updated] Updated README.md
- Fixed widget settings issues
- [Updated] Updated README.md
- Fixed widget naming issues
- [Updated] Updated README.md
- We now lowercase the plugin name and handles before Camel-izing them, if the string contains any whitespace
- [Updated] Updated README.md
- Fixes/enhancements to the
_Widget.phptemplate - [Updated] Updated README.md
- Numbers are now allowed in the plugin name and sub-handle names, so
News2Bufferfor example is okay now - [Updated] Updated README.md
- Added some useful comments to the
Plugin.phpthanks toch.ris - [Updated] Updated README.md
- Added the ability to create
ConsoleCommands - [Updated] Updated README.md
- Made the
requiresdependencies an array, to allow for multiple dependencies - Added an a new
Settingscomponent that determines if the plugin has AdminCP settings, and includes the appropriate templates/resources only if so - Added the ability for BOILERPLATE_FILES to have dependencies just like templates
- [Updated] Updated README.md
- Craft Commerce "Purchasables" now adds an ElementType, Model, and Record
- Fixed an error in the naming of the plugin's Settings.twig template
- [Updated] Updated README.md
- Added a Craft Commerce Purchasable ElementType template
- [Updated] Updated README.md
- We now create per-FieldType and per-Widget CSS/JS/Twig templates, named appropriately
- Cleaned up the Widget.php template
- We now create Body and Settings Twig template for Widgets
- Made the naming of certain templates more consistent
- [Updated] Updated README.md
- In preparation for Craft 3.0, added support for multiple API targets for the plugin scaffolding
- Moved all of the configuration out of the Javascript and into a directory of
.jsonfiles, one file per API target - [Updated] Updated README.md
- Fixes
- [Updated] Updated README.md
- Added the ability to enter as many *Name's as you need, for multiple template files. Just separate them with a ,
- Sanitized all of the templates to remove trailing white space, and converted all tabs to 4 spaces
- [Updated] Updated README.md
- Template fixes
- [Updated] Updated README.md
- Added Tasks to the templates
- [Updated] Updated README.md
- Added Widgets to the templates
- Added additional Record and Model templates if you select ElementTypes
- Minor generated code cleanup
- [Updated] Updated README.md
- Added support for named Services and Controllers
- Cleaned up the naming scheme for all plugin components; null values will be properly handled for all of the *Name's
- [Updated] Updated README.md
- You can now access the generator via the web at pluginfactory.io
- Added support for command line arguments being passed to the generator
- [Updated] Updated README.md
- Added sub-questions for
ElementTypes,FieldTypes,Models, andRecordsso that you can specify the name for each - [Updated] Updated README.md
- Added the
storeproperty to some questions that should retain the default answers the user gives - Added a selectable list of components that you want included in your plugin, so you can tailor it to exactly what you want included
- Added
field.html,field.css, andfield.jstemplates for FieldTypes - [Updated] Updated README.me
- Initial release
Brought to you by nystudio107