Skip to content

Releases: FortAwesome/angular-fontawesome

0.10.0

03 Nov 21:36
Compare
Choose a tag to compare

Added

  • Support for Angular 13.
  • Guides on more advanced use cases.

Changed

  • Approaches documentation has been improved.

Removed

  • 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

13 May 15:36
Compare
Choose a tag to compare

Added

  • Support for Angular 12.

Removed

  • Angular 11.x is no longer supported. If you are using this version, please, stick with version 0.8.2.

0.8.2

03 Feb 15:52
Compare
Choose a tag to compare

Fixed

  • Crash when running ng add in Angular CLI 11.1 project. (#291)

0.8.1

11 Dec 17:15
Compare
Choose a tag to compare

Fixed

  • 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

12 Nov 20:12
Compare
Choose a tag to compare

Fixed

  • Fixed ng add crash if tslint is not installed.

Added

  • Support for Angular 11.
  • Documentation on how to use angular-fontawesome with Storybook.

Removed

  • Angular 10.x is no longer supported. If you are using this version, please, stick with version 0.7.0.

0.7.0

08 Jul 08:41
Compare
Choose a tag to compare

Fixed

  • Make it possible to use fa-duotone-icon with custom duotone icons.

Added

  • Support for Angular 10.

Removed

  • Angular 9.x is no longer supported. If you are using this version, please, stick with version 0.6.1.

0.6.1

27 Mar 23:25
Compare
Choose a tag to compare

Fixed

  • Fixed crash when running ng add schematic on a project using Angular 9.1 and TypeScript 3.7.

0.6.0

08 Feb 12:40
Compare
Choose a tag to compare

Make sure to check upgrade instructions.

Added

Removed

  • 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

11 Nov 09:58
Compare
Choose a tag to compare
0.6.0-alpha.0 Pre-release
Pre-release

Make sure to check upgrade instructions.

Added

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

Changed

  • FaConfig.globalLibrary default value has been changed to false. 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).

Removed

  • FaIconComponent.iconProp was removed. Use FaIconComponent.icon instead.
  • FaIconComponent.listItem was removed. Use FaIconComponent.fixedWidth + custom CSS to render icons as list markers.
  • FaIconService was removed. Use FaConfig instead.

0.5.0

11 Aug 23:12
Compare
Choose a tag to compare

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 and FaDuotoneIconComponent programmatically.

  • Added FaIconLibrary class to replace deprecated global icon library from @fortawesome/fontawesome-svg-core package.

  • Added a11yRole input for fa-icon and fa-duotone-icon components to support customizing role attribute of the rendered SVG icon.

  • Added FaConfig class to globally configure angular-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 type Icon - rendered icon object and is now changed into component input to specify icon definition with type IconProp.

Deprecated

  • FaIconComponent.iconProp is deprecated. Use FaIconComponent.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. Use FaIconComponent.fixedWidth + custom CSS to render icons as list markers.
  • FaIconService is deprecated in favour of FaConfig.

Fixed

  • Fixed title-tooltip not being displayed in IE 11 in some cases.