Version 3.3.10
December 17, 2022
Fixed
- Fixed missing field in Install migration
Version 3.3.9
November 24, 2022
Fixed
- Fixed issue setting dev mode in production mode
Version 3.3.8
November 23, 2022
Fixed
- Fixed issue registering Twig before it was initialised
- Fixed issue accessing element query before it was initialized
Version 3.3.7
November 16, 2022
Changed
- Updated documentation urls
Version 3.3.6
November 15, 2022
Fixed
- Fixed an issue with commerce products shortcuts for non-pro versions
- Fixed error with author displayer not rendering the right view mode
Version 3.3.5
October 30, 2022
Fixed
- Fixed utilities url for sites in subfolders
Version 3.3.4
October 12, 2022
Changed
- Changed plugin icons
Version 3.3.3
October 5, 2022
Fixed
- Fixed issue with layouts for disabled 3rd party plugins
Version 3.3.2
September 8, 2022
Fixed
- Fixed error when changing a field's type
- Fixed ajax url for overriden templates utility
- Added missing register form block options
Version 3.3.1
June 22, 2022
Fixed
- Issue when saving users in a console command
Version 3.3.0
June 18, 2022
Added
- Utility page to check which templates are overridden for each theme
- Field displayer that handle files (assets, user photo etc) must implement
FileFieldDisplayerInterface
Fixed
- Removed Themes icon vertical align
Changed
- The twig macro
renderAsset
signature has changed fromrenderAsset(asset, field, options)
torenderAsset(asset, field)
as the file displayer is now coming from the field displayer instead of the options
Version 3.2.4
June 12, 2022
Fixed
- Removed folder validation on settings as it messes with saving rules on a fresh install
Version 3.2.3
June 9, 2022
Fixed
- Fixed issue with blocks elements field creating duplicates
Version 3.2.2
June 2, 2022
Fixed
- Fixed issue when registering asset on homepage (/)
Version 3.2.1
May 29, 2022
Fixed
- Fixed neo fields eager loading issue
- Fixed overflow on block options modal
Version 3.2.0
May 26, 2022
Added
- Neo fields support
Fixed
- Fixed issue where matrix fields would not be ordered correctly
- Asset render file displayer now the default for UserPhoto fields
- Matrix slick field displayer now not the default for Matrix fields
- Fixed npm vulnerabilities
Changed
- Assets fields now have their own links displayer
Version 3.1.9
May 15, 2022
Fixed
- Fixed elements shortcuts twig error
Version 3.1.8
May 14, 2022
Fixed
- Removed GLOB_BRACE which doesn't exist on some OS
- Added missing exception
Version 3.1.7
May 14, 2022
Fixed
- Fixed issue in migration
Version 3.1.6
May 14, 2022
Fixed
- Fixed issue in migration
Version 3.1.5
May 14, 2022
Fixed
- Fixed issue in migration
Version 3.1.4
May 11, 2022
Fixed
- Store not picking up version
Version 3.1.3
April 9, 2022
Fixed
- Fixed an issue with table fields not saving properly
- Fixed an error when deleting a non existing display item
Version 3.1.2
March 28, 2022
Fixed
- Asset bundles not registered on homepage
Version 3.1.1
March 24, 2022
Fixed
- Trying to fix changelog
Version 3.1.0
March 23, 2022
Added
- Integration to commerce
- Fields can now have parents
- Layouts can now have parents
- Allowed 'onLabel' and 'offLabel' on lightswitch Vue component
- Twig tests
is instanceof
andis numeric
- Super Table support
- Typed link support
- Nested multi fields (matrix, super table) support
- Layout types now registered through event
LayoutService::EVENT_REGISTER_TYPES
- Available layouts now registered through event
LayoutService::EVENT_AVAILABLE_LAYOUTS
- Layout for current request can now be resolved through event
LayoutService::EVENT_RESOLVE_REQUEST_LAYOUT
- The themes folder can now be changed in settings
Fixed
- Fixed small modal sizes
- Fixed issue where custom layouts would have displays created for them automatically
- Fixed issues where field layouts would not have their fields populated properly. 10237
- Fixed issues with fields not properly rebuilt
- Fixed issues with missing fields
- Fixed issues when (un)installing other plugins related to themes
- Fixed command
themes/install
Changed
- Installing a theme will fail if this plugin is not installed
- Rendered displayers label
- Matrix fields now use parenting system
- Changed how field components are registered on Vue
- Changed how fields are cloned on Vue
- Changed how layout types are defined
Removed
- Themes installer module
- Matrix service
ThemePlugin::hasDataInstalled()
(replaced byThemes::$plugin->registry->isInstalled($theme)
)- Removed all
LayoutService::{type}_HANDLE
. Types are now defined through the eventLayoutService::EVENT_REGISTER_TYPES
Version 3.0.3
February 24, 2022
Fixed
- proprietary licence in composer.json
Version 3.0.2
February 21, 2022
Fixed
- changed Craft requirement to ^3.7
Version 3.0.1
February 15, 2022
Fixed
- Fixed issue when changing edition in plugin store
Version 3.0.0
February 14, 2022
Read the breaking changes included in 3.0 in the wiki before updating
Added
- Theme list
- Theme plugins can define a preview image
- View port rule
- Scss compiler
- Asset bundle can be registered as regex
- Themes can be set for CP/Console requests
- Pro version
- Layouts (Pro)
- View modes (Pro)
- Regions (Pro)
- Blocks (Pro)
- Field displayers (Pro)
- File displayers (Pro)
Changed
- Rules have their own section in CP
- Requires Craft 3.7
- Requires php >= 7.3
- Requires php intl extension
Deprecated
- Twig variable
themesRegistry
- Twig variable
theme
Version 2.1.6
March 28, 2022
Fixed
- Allow regular expressions to register asset bundles
Version 2.1.5
August 17, 2021
Fixed
- Do not register bundles for cp requests
Version 2.1.4
July 14, 2021
Fixed
- Method typo
Version 2.1.3
July 13, 2021
Fixed
- Do not register bundles for console requests
Version 2.1.2
June 8, 2021
Fixed
- Error in resolving site rules
Version 2.1.1
May 10, 2021
Fixed
- Twig extension error in control panel
Version 2.1.0
May 8, 2021
Changed
- Set default theme for non-web requests
- Throw event at all times to allow theme to be changed
Version 2.0.1
April 27, 2021
Fixed
- Typo in method name
Version 2.0.0
February 16, 2021
If you're updating from 1.x please read the breaking changes included in 2.0 in the docs
Changed
- Themes are now regular plugins
Removed
- Dependency to ryssbowh/craft-theme-installer-plugin
- ThemeInterface::getName()
- ThemeInterface::getHandle()
- ThemeInterface::getTemplatePath()
Added
- ThemeInterface::getTemplatesFolder()
- ThemeInterface::isPartial()
Version 1.0.6
May 1, 2021
Fixed
- Set default theme for non-web requests
Version 1.0.5
April 28, 2021
Fixed
- Bug for console requests
Version 1.0.4
April 28, 2021
Fixed
- Don't set theme for console requests
Version 1.0.3
April 22, 2021
Fixed
- Fixed site templates roots registration made in backend
Version 1.0.2
February 4, 2021
Fixed
- Error when no rules are defined
Version 1.0.1
February 1, 2021
Fixed
- Composer 2 compatibility
Version 1.0.0
January 31, 2021
Added
- Rule system
Changed
- Theme cache in vendor folder
- Dependency to ryssbowh/craft-theme-installer-plugin
- themes service renamed to registry
Version 0.1.0
January 27, 2021
Added
- Initial release