Releases: FortAwesome/angular-fontawesome
0.5.0
Make sure to check upgrade instructions.
Added
-
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
FaIconLibrary
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.
Changed
- 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
.
Deprecated
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
- Fixed title-tooltip not being displayed in IE 11 in some cases.
Release 0.4.0
Added
- Angular 8.x is added as a valid peer dependency.
- Minor documentation updates and fixes.
- LICENSE.md file to the repository.
Removed
- Angular 6.x and Angular 7.x are no longer supported. If you are using these versions, please, stick with version 0.3.0.
Release 0.3.0
Added
- Angular 7+ is added as a valid peer dependency.
Release 0.2.1
Fixed
- Made it possible to set custom classes on
fa-layers
component.
Release 0.2.0
Added
-
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.
Removed
- Support for Angular 5 was removed. Now
angular-fontawesome
requires Angular 6+.
Fixed
- Added missing peer dependencies for
tsickle
andtslib
packages.
Release 0.1.1
-
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.
Release 0.1.0
Added
- Initial stable, production-ready release of angular-fontawesome
Fix library packaging to support production builds
Our previous release failed integration testing in an angular-cli app when running a production build.
See #24 for notes on how packaging has been changed. Production builds are working now.
Release 0.1.0-7
Fixes broken 0.1.0-6 npm release (which has been unpublished). No other code changes.
Release 0.1.0-6
This release brings this component up to feature completeness with the Font Awesome API.
Now supporting:
- Layers
- Text
- Counters
Also, it anticipates the release of Font Awesome 5.1 and the new packaging format for the underlying Font Awesome npms.