All notable changes to this project will be documented in this file.
- Stable release for Craft CMS 5
- Add
phpstan
andecs
code linting - Add
code-analysis.yaml
GitHub action - Add
create-release.yml
for automated releases
- PHPstan code cleanup
- ECS code cleanup
- Added support for Craft CMS 5
- Fixed an issue in which the plugin was instantiating Twig before Craft was fully initialized.
- Refactored how CraftVariable Behaviors are parsed to use PHP Reflection so we can get all methods & properties added via behavior to the CraftVariable. Allows
craft.orders()
to work, for example (#10)
- Added
allow-plugins
tocomposer.json
so CI can work
- Fixed an issue where an exception could be thrown during the bootstrap process in earlier versions of Yii2 due to
$id
not being set
- Added compatibility with Craft CMS
^4.0.0
and Craft CMS^3.0.0
- Added
CODEOWNERS
- Code refactor/reformat
- Check to see if a file exists via
is_file()
before attempting to delete it withunlink()
- Suppress errors when attempting to delete generator files that may or may not exist
- Fixed a regression that would cause Autocomplete to throw an exception on < Craft CMS 3.7.8
- Fixed an issue that prevented Globals from being included in the generated autocomplete class (#8)
- Added the
beforeGenerate
event to the baseGenerator
class (#7).
- Added support for plugins like Craft Commerce that add to the Craft variable via behaviors (#6)
- Clean up AutocompleteVariableGenerator to
get()
the components to load them
- Fixed an error that could be thrown when a plugin was uninstalled that contained references in the Twig context (#5).
- Code cleanup, removed vestigial code
- Changed the Twig Extension Generator to only generate an autocomplete class if one does not already exist.
- Initial release