Icon Picker 3.x is on version 2.0.19
, released on Sept 07, 2024
Released Sept 07, 2024
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.
Released May 18, 2024
Add the ability to restrict Font Awesome kits by style.
Update English translations.
Released Mar 04, 2024
Fix order of operations when uninstalling the plugin.
Released Dec 08, 2023
Add logging for Font Awesome kits.
Fix a PHP 8.2 warning.
Released Oct 25, 2023
Fix an error when using Icon Picker with Redactor.
Released Sept 25, 2023
Hidden folders are now excluded from searches to find svg icons. (thanks @sfsmfc).
Released Mar 21, 2023
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.
Released Dec 24, 2022
Fix SVG folder icon sets being mis-ordered when scrolling the icon picker dropdown.
Released Dec 16, 2022
Add back support for subfolders for SVG icon sets.
Fix an error being thrown when the path to an SVG cannot be determined.
Released Dec 14, 2022
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.
Released Dec 14, 2022
Fix when migrating field content, not to wipe old values if invalid.
Fix SVG icons not rendering correctly in some instances.
Released Dec 01, 2022
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.
Released Dec 01, 2022
Fix an error when installing Icon Picker as a fresh plugin.
Released Nov 30, 2022
Fix some icon sets not migrating from previous plugin versions correctly.
Released Nov 25, 2022
Fix an error when migrating Matrix-based icons.
Released Nov 25, 2022
Fix a potential migration error where icon models haven't been migrated properly.
Released Nov 24, 2022
Fix a migration error when migration icon sets for already-applied project config.
Released Nov 24, 2022
Fix an error with incorrect Formie references included.
Released Nov 24, 2022
Fix some migration issues from 1.x.
Released Nov 23, 2022
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 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
and IconSet
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
to icon-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
. Use Icon::value
instead.
Removed Icon::sprite
. Use Icon::value
instead.
Removed Icon::css
. Use Icon::value
instead.
Removed Icon::glyphId
. Use Icon::getGlyph()
instead.
Removed Icon::glyphName
. Use Icon::getGlyphName()
instead.
Removed Icon::getIconName()
. Use Icon::label
instead.
Removed Icon::width
and Icon::height
.
Released June 08, 2022
Add icon-picker-svg
and icon-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.
Released Nov 01, 2021
Fix JS Redactor plugin not installing correctly in some instances.
Released Sept 07, 2021
Fix Icons Path plugin setting not working correctly when using aliases.
Released Dec 07, 2020
Update Font Awesome remote source to 5.15.1.
Ensure icons load in Super Table and other nesting fields.
Released Aug 11, 2020
Allow iconSetsPath
settings to use environment variables or aliases.
Allow iconSetsUrl
settings to use environment variables or aliases.
Released June 10, 2020
Added iconPickerField.length
and iconPickerField.getLength()
.
Added iconPickerField.isEmpty
and iconPickerField.getIsEmpty()
.
Released June 09, 2020
Fix error when only a single sprite existed in a sprite sheet.
Released June 08, 2020
Improve performance of remote icon sets. (thanks @bertoost).
Released June 06, 2020
Add enableCache
setting.
Fix entry.iconField
direct output showing URL, even when an icon isn’t picked.
Released Apr 16, 2020
Fix logging error Call to undefined method setFileLogging()
.
Released Apr 15, 2020
File logging now checks if the overall Craft app uses file logging.
Log files now only include GET
and POST
additional variables.
Released Feb 11, 2020
Fix windows path issues.
Fix another potential error for field settings and icon sets.
Released Jan 12, 2020
Fix error with remote sets set to “All”.
Fix error when installing for the first time.
Released Jan 12, 2020
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.
Released Sept 04, 2019
Fix numerous errors when fetching remote icon sets via URL.
Change Font Awesome icon source to use file-system fetching, rather than via HTTP.
Released Sept 03, 2019
Fix icons not propagating to other sites.
Released Aug 17, 2019
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.
Released Apr 27, 2019
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.
Released Apr 24, 2019
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.
Released Apr 07, 2019
Add model.hasIcon()
.
Fix normalise-url function causing issues in some cases.
Released Mar 17, 2019
Add settings override notices for plugin settings screen.
Fix SSL errors with spritesheets and icon sources when devMode is on.
Released Mar 07, 2019
Fix overflow issue for some fields.
Released Mar 06, 2019
Fix JS error causing issues across the control panel.