- Add extra error handling for Font Awesome kit icons.
- Fix lack of required field validation.
- Fix Font Awesome Brands style.
- Add the ability to use Icon Picker’s icon in element thumnbails and cards.
- Add
iconSetHandle
to each chosen icon, to keep track of which Icon Set an icon belongs to.
- Automatic icon cache invalidation now only happens when
devMode
is enabled. To invalidate the cache, use the “Caches” utility and/or console commands. - Update English translations.
- Fix an error with Feed Me integration.
- Now requires PHP
8.2.0+
. - Now requires Craft
5.0.0+
.
- Fix lack of required field validation.
- Automatic icon cache invalidation now only happens when
devMode
is enabled. To invalidate the cache, use the “Caches” utility and/or console commands. - Update English translations.
- Add the ability to restrict Font Awesome kits by style.
- Update English translations.
- Fix order of operations when uninstalling the plugin.
- Add logging for Font Awesome kits.
- Fix a PHP 8.2 warning.
- Fix an error when using Icon Picker with Redactor.
- Hidden folders are now excluded from searches to find svg icons. (thanks @sfsmfc).
- Add warning to field settings when no icon sets are available.
- Only admins are now allowed to access plugin settings.
- Fix multiple Redactor fields with Icon Picker enabled not working.
- Fix icon sets cache not working correctly for multiple Font Awesome API keys.
- Fix
Root
default icon set not being created on install. - Fix Icon Picker fields not working correctly in Redactor fields.
- Fix SVG folder icon sets being mis-ordered when scrolling the icon picker dropdown.
- Add back support for subfolders for SVG icon sets.
- Fix an error being thrown when the path to an SVG cannot be determined.
- Fix an issue where Redactor-based Icon Picker fields weren’t being initialized.
- Fix remote icon sets (Font Awesome) not migrating properly.
- Fix not migrating fields in Matrix and Super Table properly.
- Fix when migrating field content, not to wipe old values if invalid.
- Fix SVG icons not rendering correctly in some instances.
- Fix lack of support for migrating remote icon sets.
- Fix a potential error when saving a new icon set.
- Fix an error when switching icon set type.
- Fix an error when installing Icon Picker as a fresh plugin.
- Fix some icon sets not migrating from previous plugin versions correctly.
- Fix an error when migrating Matrix-based icons.
- Fix a potential migration error where icon models haven't been migrated properly.
- Fix a migration error when migration icon sets for already-applied project config.
- Fix an error with incorrect Formie references included.
- Fix some migration issues from 1.x.
- Added the concept of Icon Sets to better organise collections of icons. This allows for greater flexibility, consistency and control for icons.
- Added the ability to register your own Icon Sets (even extend existing ones) for advanced handling of icons.
- Added better handling for rendering lots of icons.
- Added
vue-virtual-scroller
to improve render performance for large icon sets. - Added icon set preloading for more performance benefits.
- Added Font Awesome 5/6 Free and Pro.
- Added Feather Icons.
- Added Ionicons.
- Added CSS.gg.
- Added Material Symbols.
- Add Feed Me support.
- Add plugin settings to configure the size of icons in the dropdown icon-picker.
- Add
metadata.json
file support for icon sets, to provide extra keywords for searching.
- Now requires PHP
^8.0.2
. - Now requires Craft
^4.0.0-beta.1
. - Now requires Icon Picker
1.1.12
in order to update from Craft 3. - Migrate to Vue 3-based field input for more control and better client-side performance.
- Reorganise
Icon
andIconSet
models, and improve server-side performance. - Icon Picker will no longer automatically scan the nominated "Icons Path" for folders, sprites and fonts. Create an Icon Set instead.
- Revamp remote icon sets to be class-based, and treated like regular icon sets.
- Revamp Font Awesome remote set, add 5/6 Free and Pro CDN option, ability to select version/license/type/collections, and Kit option through API.
- Lazy-load non-SVG resources (fonts, spritesheets, scripts) for icon field values to save on-load performance hit.
- Change default path from
icons
toicon-picker
to avoid some server setup conflicts.
- Removed Icon Sources and the concept of Remote Icons Sets. These are all now Icon Sets.
- Removed
maxIconsShown
plugin setting, as no longer required. - Removed
craft.iconPicker.getIcon()
. - Removed
craft.iconPicker.getDimensions()
. - Removed
craft.iconPicker.inline()
. - Removed
Icon::icon
. UseIcon::value
instead. - Removed
Icon::sprite
. UseIcon::value
instead. - Removed
Icon::css
. UseIcon::value
instead. - Removed
Icon::glyphId
. UseIcon::getGlyph()
instead. - Removed
Icon::glyphName
. UseIcon::getGlyphName()
instead. - Removed
Icon::getIconName()
. UseIcon::label
instead. - Removed
Icon::width
andIcon::height
.
- Add
icon-picker-svg
andicon-picker-sprite
classes to Redactor-chosen icons. - Add support for multiple URLs for remote icon sets.
- Fix sprite sheets getting incorrect
id
attributes. - Fix an error when a field contained an icon from a remote icon set that no longer exists.
- Fix JS Redactor plugin not installing correctly in some instances.
- Fix Icons Path plugin setting not working correctly when using aliases.
- Update Font Awesome remote source to 5.15.1.
- Ensure icons load in Super Table and other nesting fields.
- Allow
iconSetsPath
settings to use environment variables or aliases. - Allow
iconSetsUrl
settings to use environment variables or aliases.
- Added
iconPickerField.length
andiconPickerField.getLength()
. - Added
iconPickerField.isEmpty
andiconPickerField.getIsEmpty()
.
- Fix error when only a single sprite existed in a sprite sheet.
- Improve performance of remote icon sets. (thanks @bertoost).
- Add
enableCache
setting.
- Fix
entry.iconField
direct output showing URL, even when an icon isn’t picked.
- Fix logging error
Call to undefined method setFileLogging()
.
- File logging now checks if the overall Craft app uses file logging.
- Log files now only include
GET
andPOST
additional variables.
- Fix windows path issues.
- Fix another potential error for field settings and icon sets.
- Fix error with remote sets set to “All”.
- Fix error when installing for the first time.
- Add GraphQL support for field. Now returns an IconModel.
- Add cache for each icon set. Icons for each set are now cached when the Icon Picker field is saved.
- Add controller action to lazy-load icon set content.
- Add utility to re-generate icon set caches.
- Improve performance for large icon sets.
- Add Redactor support. See docs.
- Add support for Google Material Design Icons, which need some special-handling.
- Major refactor, bringing performance improvements and caching.
- Update the icon selection field to lazy-load icons, rather than loading on page load. This brings significant performance benefits
- Fix
craft.iconPicker.spritesheet
not always returning content.
- Fix numerous errors when fetching remote icon sets via URL.
- Change Font Awesome icon source to use file-system fetching, rather than via HTTP.
- Fix icons not propagating to other sites.
- Add
getPath()
function to icon model. - Add supported translation methods for field.
- Changing to Local file read from External URL.
- Fix error when resolving font awesome json file path.
- Fix error when trying to access remote icons sets.
- Fix error with font-name for icon font files.
- Fix Live Preview not showing icon selection.
- Fix Neo fields clipping icon selection.
- Icon selection pane now attaches itself to the field, instead of the body.
- Add
maxIconsShown
to control how many icons should be shown in the selection pane.
- Update default
iconSetsPath
to be relative to the web folder -CRAFT_BASE_PATH . '/web/icons/'
.
- Fix compatibility with some sprite definitions.
- Fix handling when no sub-folders in icon path, only single icons.
- Add
model.hasIcon()
.
- Fix normalise-url function causing issues in some cases.
- Add settings override notices for plugin settings screen.
- Fix SSL errors with spritesheets and icon sources when devMode is on.
- Fix overflow issue for some fields.
- Fix JS error causing issues across the control panel.
- Initial (full) release.
- Initial (beta) release.