Releases: Lattyware/elm-fontawesome-generator
Releases · Lattyware/elm-fontawesome-generator
7.2.0: FontAwesome 6.7.0
7.1.2: Explicitly specify FontAwesome 6.5.2.
- Changed:
- Explicitly specify FontAwesome 6.5.2.
- Another attempt at fixing example build again.
7.1.1: Try to fix example build.
- Changed:
- Hopefully fixed example build, shouldn't actually change the library.
7.1.0: Tighten core dependency.
- Changed:
- Breaking Tighten required version of core to try and fix issues.
- Modernise build process.
7.0.0: FontAwesome 6.5.1
- Changed:
- Upgraded FontAwesome version.
6.0.0: FontAwesome 6.x
-
Changed:
- Breaking Requires Node 18.
- Targets FontAwesome 6.x.
- Breaking Generated API changes:
FontAwesome.Icon
has moved toFontAwesome
.Icon
has becomeIconDef
andPresentation
has becomeIcon
.- Icons are now exposed as presentations primarily. Definitions can be found one level deeper, as they are rarely needed.
- Old convinience methods for working with definitions are gone.
Icon
(formerlyPresentation
) no longer has amsg
type. This meansstyled
can no longer accept attributes that can produce messages, these can be added withviewWithAttributes
instead, where needed.- All transforms now apply to the current state of the icon, e.g: flipping twice now gives you the original state.
Svg.view
has replacedSvg.viewIcon
with support for a much wider range of the functionality ofIcon.view
.- Matching the API of FontAwesome,
Styles.pulse
has been renamed toStyles.spinPulse
. Icon.masked
now use the id of the background element rather than the mask, swapping which element needs an id. If now also takes a wholeIcon
(formerlyPresentation
), allowing the background element being masked to have other operations performed on it.
-
Known Issues:
- FontAwesome has continued to use custom properties to control style aspects. As Elm's support for these is broken, these are not exposed. We recommend using the Transforms API instead for now, where possible.
One work-around is to use style attributes directly:
Html.attribute "style" "--fa-bounce-start-scale-x: 1;"
Because this breaks when combined, we don't provide functions for this.
- FontAwesome has continued to use custom properties to control style aspects. As Elm's support for these is broken, these are not exposed. We recommend using the Transforms API instead for now, where possible.
-
Added:
- Manual subsetting support.
You can now manually pick a subset of icons to build. This is useful if you are, for example, dynamically accessing icons in a way that would break tree-shaking.
- Manual subsetting support.
-
Removed:
- Breaking Support for FontAwesome Pro has been removed.
FontAwesome do not provide a license for open source development to develop and test against, so this feature can no longer be supported.
- Breaking Support for FontAwesome Pro has been removed.
4.0.0: FontAwesome 5.11.1
- Updated to FontAwesome 5.11.1
- Resolved Lattyware/elm-fontawesome#6: Added support for rendering icons to path nodes for use in existing SVG nodes.
- Added a fix for a change in how elm-format handles expansion of
(..)
exports to ensure the code generates as expected. - Updated dependencies.
FontAwesome 5.10.1
Also fixes #2.