aerni / statamic-font-awesome

A Statamic addon to easily add Font Awesome icons
https://statamic.com/addons/aerni/font-awesome
MIT License
3 stars 3 forks source link

Version 2.0 #17

Closed aerni closed 1 year ago

aerni commented 1 year ago

This PR updates the implementation of the Font Awesome API to support the new sharp icon family. It also adds support for Statamic 4 and includes a bunch of improvements along with a minor breaking change.

What's new

What's improved

What's fixed

What's breaking

The keys of the icon styles have changed. If you've limited the icon styles in the fieldtype's config, you have to update the keys to the new format:

styles:
-  - brands
-  - light
-  - regular
-  - solid
-  - thin
-  - duotone
-  - uploaded
+  - classic-brands
+  - classic-light
+  - classic-regular
+  - classic-solid
+  - classic-thin
+  - duotone-solid
+  - custom