Skip to content

Releases: nystudio107/generator-craftplugin

Version 1.3.0

20 May 06:12
Compare
Choose a tag to compare

Added

  • Added a .craftplugin file 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

Version 1.2.37

27 Apr 15:34
Compare
Choose a tag to compare

Changed

  • Refresh the Yii schema caches after adding tables in the Install.php migration

Version 1.2.36

19 Apr 13:29
Compare
Choose a tag to compare

Changed

  • Renamed someField -> someAttribute to fix Twig errors on the plugin Settings page

Version 1.2.35

19 Apr 13:23
Compare
Choose a tag to compare

Changed

  • Fixed the Install.php migration to sync with Craft beta changes of Connection -> DbConfig

Version 1.2.34

12 Apr 17:08
Compare
Choose a tag to compare

Added

  • Updated composer.json to add more common editor settings, /vendor, etc.

Version 1.2.33

12 Apr 17:04
Compare
Choose a tag to compare

Added

  • Added asset-packagist to composer.json for Scrutinizer & manual plugin install

Version 1.2.32

27 Mar 22:02
Compare
Choose a tag to compare

Added

  • Added an example of accessing a plugin's settings from a service

Version 1.2.31

27 Mar 22:01
Compare
Choose a tag to compare

Changed

  • Fixed the docblock for the install migration
  • Better log statement formatting

Version 1.2.30

24 Mar 22:13
Compare
Choose a tag to compare

Changed

  • Changed the install migration to use $this->driver = Craft::$app->getConfig()->getDb()->driver;
  • Brought the config.php file in line with the changes in Craft 3 beta 8

Version 1.2.29

24 Mar 20:45
Compare
Choose a tag to compare

Changed

  • The install migration is now coded more defensively, to add & drop tables only if they don't exist already
  • Changed hasSettings -> hasCpSettings in the composer.json