All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
1.0.0 - 2024-11-20
There are no major changes in this release. The version bump is to signal that the library is stable now and no major breaking changes are expected in the future.
- Support for Angular 19.
- All available icon packages to the
ng-add
schematic. - Possibility to specify custom
rotate
value forfa-icon
andfa-duotone-icon
components.
- Angular 18.x is no longer supported. If you are using this version, please, stick with version 0.15.0.
0.15.0 - 2024-05-23
Make sure to check upgrade instructions.
- Support for Angular 18.
- Documentation on how to use NPM Kit packages.
- Documentation on how to correctly use fa-stack in standalone components.
- Documentation on how to use custom icons.
- FAQ page with considerations on whether to use this library.
- Configuration option for the
FontAwesomeTestingModule
to not throw errors when adding icons. - Documentation on how to add global styles to the page.
- Documentation for the
rotate
input. - Global styles are now correctly added to the page in SSR context.
icon
input type is now more permissive.@fortawesome/fontawesome-svg-core
became a regular dependency.
- Angular 17.x is no longer supported. If you are using this version, please, stick with version 0.14.1.
- Deprecated inputs
spin
andpulse
. Useanimation
input instead. - Deprecated inputs
styles
andclasses
.
0.14.1 - 2023-12-23
- Removed import from
@fortawesome/fontawesome-common-types
, which was an undeclared dependency.
0.14.0 - 2023-11-08
- Support for Angular 17.
- Possibility to use all components as standalone.
- Examples to use standalone components instead of modules.
- Angular 16.x is no longer supported. If you are using this version, please, stick with version 0.13.0.
0.13.0 - 2023-05-04
- Support for Angular 16.
- Angular 15.x is no longer supported. If you are using this version, please, stick with version 0.12.1.
0.12.1 - 2023-01-09
- Support for all animations from Font Awesome 6. See Animating icons.
0.12.0 - 2022-11-18
Make sure to check upgrade instructions.
- Support for Angular 15.
- Documentation and option in
ng-add
schematic to use new Sharp Solid icons style.
- Documentation on how to create
fa-icon
programmatically updated to not use deprecatedComponentFactoryResolver
.
classes
andstyles
inputs on all components are deprecated for removal as confusing and generally not useful. See upgrade instructions for the suggested migration path.
- Angular 14.x is no longer supported. If you are using this version, please, stick with version 0.11.1.
0.11.1 - 2022-06-16
- Added a missing peer dependency on
@angular/core
.
0.11.0 - 2022-06-03
- Support for Angular 14.
- Angular 13.x is no longer supported. If you are using this version, please, stick with version 0.10.2.
0.10.2 - 2022-03-20
position
input forfa-layers-counter
component.@fortawesome/fontawesome-svg-core@^6.1.0
as a valid peer dependency.- Possible to pick v5 or v6 to the ng-add schematic.
0.10.1 - 2021-11-13
- Official support for Font Awesome 6 Beta.
- Support for icon aliases introduced in Font Awesome 6 Beta.
0.10.0 - 2021-11-03
Make sure to check upgrade instructions.
- Support for Angular 13.
- Guides on more advanced use cases.
- Approaches documentation has been improved.
- Deprecated support for the global icon library.
- Angular 12.x is no longer supported. If you are using this version, please, stick with version 0.9.0.
0.9.0 - 2021-05-13
- Support for Angular 12.
- Angular 11.x is no longer supported. If you are using this version, please, stick with version 0.8.2.
0.8.2 - 2021-02-03
- Crash when running
ng add
in Angular CLI 11.1 project. (#291)
0.8.1 - 2020-12-11
- Support fa-layers with content wrapped into ng-container. (#283)
- Warn about missing stackItemSize on fa-icon inside fa-stack instead of silently dropping elements. (#177)
0.8.0 - 2020-11-12
- Fixed ng add crash if tslint is not installed.
- Support for Angular 11.
- Documentation on how to use angular-fontawesome with Storybook.
- Angular 10.x is no longer supported. If you are using this version, please, stick with version 0.7.0.
0.7.0 - 2020-07-08
- Make it possible to use
fa-duotone-icon
with custom duotone icons.
- Support for Angular 10.
- Angular 9.x is no longer supported. If you are using this version, please, stick with version 0.6.1.
0.6.1 - 2020-03-28
- Fixed crash when running
ng add
schematic on a project using Angular 9.1 and TypeScript 3.7.
0.6.0 - 2020-02-08
Make sure to check upgrade instructions.
FaConfig.fixedWidth
property to provide a default value forFaIcon.fixedWidth
andFaLayers.fixedWidth
properties.- Documentation of a convenient approach to test components using icon library.
- Angular 8.x is no longer supported. If you are using this version, please, stick with version 0.5.0.
0.6.0-alpha.0 - 2019-11-11
Make sure to check upgrade instructions.
- Support for Angular 9 and Ivy.
FontAwesomeTestingModule
to simplify testing components using icon library.FaConfig.fallbackIcon
which allows to specify a fallback icon to use whenFaIconComponent.icon
is not set or specified icon definition is missing from the icon library.ng-add
schematic to simplify initial library setup.- Documentation on how to test components using Font Awesome icons.
LICENSE
file into the published package.
FaConfig.globalLibrary
default value has been changed tofalse
.fa-icon
/fa-duotone-icon
won't look for icon definitions in the global icon library by default. See upgrade instructions for the previous release for more details about this change.- Warning when
FaIconComponent.icon
is not set or specified icon definition is missing in the icon library was changed into a hard error to make it more clear and visible (in particular in the unit tests).
FaIconComponent.iconProp
was removed. UseFaIconComponent.icon
instead.FaIconComponent.listItem
was removed. UseFaIconComponent.fixedWidth
+ custom CSS to render icons as list markers.FaIconService
was removed. UseFaConfig
instead.
0.5.0 - 2019-08-12
Make sure to check upgrade instructions.
-
Added
fa-stack
component to stack two icons together:<fa-stack> <fa-icon [icon]="faCircle" stackItemSize="2x"></fa-icon> <fa-icon [icon]="faFlag" [inverse]="true" stackItemSize="1x"></fa-icon> </fa-stack>
-
Added
fa-duotone-icon
component to work with duotone icons:<fa-duotone-icon [icon]="['fad', 'coffee']" primaryColor="red" secondaryColor="blue"></fa-duotone-icon>
-
Added an official method to update
FaIconComponent
andFaDuotoneIconComponent
programmatically. -
Added
FaIconLibray
class to replace deprecated global icon library from@fortawesome/fontawesome-svg-core
package. -
Added
a11yRole
input forfa-icon
andfa-duotone-icon
components to support customizingrole
attribute of the rendered SVG icon. -
Added
FaConfig
class to globally configureangular-fontawesome
. -
Added a table in README.md to document compatibility with major Angular versions.
-
Added instructions on how to install library with NPM.
- Restructured documentation to make it easier to navigate and extend.
- Changed semantics of the
FaIconComponent.icon
property. It used to have typeIcon
- rendered icon object and is now changed into component input to specify icon definition with typeIconProp
.
FaIconComponent.iconProp
is deprecated. UseFaIconComponent.icon
instead.- Warning when
FaIconComponent.icon
is not set or specified icon definition is missing in the icon library is deprecated. It will throw a hard error in the next version. FaIconComponent.listItem
is deprecated. UseFaIconComponent.fixedWidth
+ custom CSS to render icons as list markers.FaIconService
is deprecated in favour ofFaConfig
.
- Fixed title-tooltip not being displayed in IE 11 in some cases.
0.4.0 - 2019-03-28
- Angular 8.x is added as a valid peer dependency.
- Minor documentation updates and fixes.
- LICENSE.md file to the repository.
- Angular 6.x and Angular 7.x are no longer supported. If you are using these versions, please, stick with version 0.3.0.
0.3.0 - 2018-10-24
- Angular 7+ is added as a valid peer dependency.
0.2.1 - 2018-10-08
- Made it possible to set custom classes on
fa-layers
component.
0.2.0 - 2018-09-07
-
Added
size
andfixedWidth
properties forfa-layers
component. These can be used instead of settingfa-fw
andfa-4x
classes manually.Before:
<span class="fa-fw fa-4x"><fa-layers>...</fa-layers></span>
After:
<fa-layers [fixedWidth]="true" size="4x">...</fa-layers>
-
Added possibility to customize default icon prefix.
- Support for Angular 5 was removed. Now
angular-fontawesome
requires Angular 6+.
- Added missing peer dependencies for
tsickle
andtslib
packages.
0.1.1 - 2018-06-26
- Use angular-cli for building the demo app.
- Cleaned up some old configurations from previous use of angular-librarian which had been breaking
the build when using
0.1.0
.
0.1.0 - 2018-06-20
- Initial stable, production-ready release of angular-fontawesome