Version 3.0.2

October 20, 2024

Fixed

  • Fix Font Awesome Brands style.

Version 3.0.1

September 7, 2024

Added

  • 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.

Changed

  • 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.

Fixed

  • Fix an error with Feed Me integration.

Version 3.0.0

May 18, 2024

Changed

  • Now requires PHP 8.2.0+.
  • Now requires Craft 5.0.0+.

Version 2.0.19

September 7, 2024

Changed

  • 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.

Version 2.0.18

May 18, 2024

Added

  • Add the ability to restrict Font Awesome kits by style.

Changed

  • Update English translations.

Version 2.0.17

March 4, 2024

Fixed

  • Fix order of operations when uninstalling the plugin.

Version 2.0.16

December 8, 2023

Added

  • Add logging for Font Awesome kits.

Fixed

  • Fix a PHP 8.2 warning.

Version 2.0.15

October 25, 2023

Fixed

  • Fix an error when using Icon Picker with Redactor.

Version 2.0.14

September 25, 2023

Changed

  • Hidden folders are now excluded from searches to find svg icons. (thanks @sfsmfc).

Version 2.0.13

March 21, 2023

Added

  • Add warning to field settings when no icon sets are available.

Changed

  • Only admins are now allowed to access plugin settings.

Fixed

  • 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.

Version 2.0.12

December 24, 2022

Fixed

  • Fix SVG folder icon sets being mis-ordered when scrolling the icon picker dropdown.

Version 2.0.11

December 16, 2022

Fixed

  • Add back support for subfolders for SVG icon sets.
  • Fix an error being thrown when the path to an SVG cannot be determined.

Version 2.0.10

December 14, 2022

Fixed

  • 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.

Version 2.0.9

December 14, 2022

Fixed

  • Fix when migrating field content, not to wipe old values if invalid.
  • Fix SVG icons not rendering correctly in some instances.

Version 2.0.8

December 1, 2022

Fixed

  • 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.

Version 2.0.7

December 1, 2022

Fixed

  • Fix an error when installing Icon Picker as a fresh plugin.

Version 2.0.6

November 30, 2022

Fixed

  • Fix some icon sets not migrating from previous plugin versions correctly.

Version 2.0.5

November 25, 2022

Fixed

  • Fix an error when migrating Matrix-based icons.

Version 2.0.4

November 25, 2022

Fixed

  • Fix a potential migration error where icon models haven't been migrated properly.

Version 2.0.3

November 24, 2022

Fixed

  • Fix a migration error when migration icon sets for already-applied project config.

Version 2.0.2

November 24, 2022

Fixed

  • Fix an error with incorrect Formie references included.

Version 2.0.1

November 24, 2022

Fixed

  • Fix some migration issues from 1.x.

Version 2.0.0

November 23, 2022

Added

  • 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.

Changed

  • 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

  • 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.

Version 1.1.13

June 8, 2022

Added

  • Add icon-picker-svg and icon-picker-sprite classes to Redactor-chosen icons.
  • Add support for multiple URLs for remote icon sets.

Fixed

  • 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.

Version 1.1.12

November 1, 2021

Fixed

  • Fix JS Redactor plugin not installing correctly in some instances.

Version 1.1.11

September 7, 2021

Fixed

  • Fix Icons Path plugin setting not working correctly when using aliases.

Version 1.1.10

December 7, 2020

Changed

  • Update Font Awesome remote source to 5.15.1.

Fixed

  • Ensure icons load in Super Table and other nesting fields.

Version 1.1.9

August 11, 2020

Added

  • Allow iconSetsPath settings to use environment variables or aliases.
  • Allow iconSetsUrl settings to use environment variables or aliases.

Version 1.1.8

June 10, 2020

Added

  • Added iconPickerField.length and iconPickerField.getLength().
  • Added iconPickerField.isEmpty and iconPickerField.getIsEmpty().

Version 1.1.7

June 9, 2020

Fixed

  • Fix error when only a single sprite existed in a sprite sheet.

Version 1.1.6

June 8, 2020

Fixed

  • Improve performance of remote icon sets. (thanks @bertoost).

Version 1.1.5

June 6, 2020

Added

  • Add enableCache setting.

Fixed

  • Fix entry.iconField direct output showing URL, even when an icon isn’t picked.

Version 1.1.4

April 16, 2020

Fixed

  • Fix logging error Call to undefined method setFileLogging().

Version 1.1.3

April 15, 2020

Changed

  • File logging now checks if the overall Craft app uses file logging.
  • Log files now only include GET and POST additional variables.

Version 1.1.2

February 11, 2020

Fixed

  • Fix windows path issues.
  • Fix another potential error for field settings and icon sets.

Version 1.1.1

January 12, 2020

Fixed

  • Fix error with remote sets set to “All”.
  • Fix error when installing for the first time.

Version 1.1.0

January 12, 2020

Added

  • 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.

Changed

  • 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

Fixed

  • Fix craft.iconPicker.spritesheet not always returning content.

Version 1.0.10

September 4, 2019

Fixed

  • Fix numerous errors when fetching remote icon sets via URL.
  • Change Font Awesome icon source to use file-system fetching, rather than via HTTP.

Version 1.0.9

September 3, 2019

Fixed

  • Fix icons not propagating to other sites.

Version 1.0.8

August 17, 2019

Added

  • Add getPath() function to icon model.
  • Add supported translation methods for field.

Changed

  • Changing to Local file read from External URL.

Fixed

  • 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.

Version 1.0.7

April 27, 2019

Fixed

  • 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.

Version 1.0.6

April 24, 2019

Added

  • Add maxIconsShown to control how many icons should be shown in the selection pane.

Changed

  • Update default iconSetsPath to be relative to the web folder - CRAFT_BASE_PATH . '/web/icons/'.

Fixed

  • Fix compatibility with some sprite definitions.
  • Fix handling when no sub-folders in icon path, only single icons.

Version 1.0.5

April 7, 2019

Added

  • Add model.hasIcon().

Fixed

  • Fix normalise-url function causing issues in some cases.

Version 1.0.4

March 17, 2019

Added

  • Add settings override notices for plugin settings screen.

Fixed

  • Fix SSL errors with spritesheets and icon sources when devMode is on.

Version 1.0.3

March 7, 2019

Fixed

  • Fix overflow issue for some fields.

Version 1.0.2

March 6, 2019

Fixed

  • Fix JS error causing issues across the control panel.

Version 1.0.1

March 5, 2019
  • Initial (full) release.

Version 1.0.0

January 28, 2019
  • Initial (beta) release.