Skip to content

Commit 993769e

Browse files
committed
Release 3.0.0
1 parent 21513a9 commit 993769e

File tree

7 files changed

+49
-30
lines changed

7 files changed

+49
-30
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
55

66
---
77

8+
## [3.0.0](https://github.com/FortAwesome/angular-fontawesome/releases/tag/3.0.0) (2025-08-03)
9+
10+
The release should be backwards compatible with 2.x, but since we bump the major dependency on `@fortawesome/fontawesome-svg-core` to 7.0.0, it is a major release. Please open an issue if you find any incompatibilities.
11+
12+
### Added
13+
14+
* Support for Font Awesome 7.
15+
16+
### Changed
17+
18+
* Reverted the change from 2.0.0 making the `icon` property in `fa-icon` and `fa-duotone-icon` components required at compile-time.
19+
* Update documentation to use self-closing tags for `fa-icon` and `fa-duotone-icon` components.
20+
821
## [2.0.1](https://github.com/FortAwesome/angular-fontawesome/releases/tag/2.0.1) (2025-06-02)
922

1023
### Fixed

DEVELOPER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Command | Purpose
4444
1. Bump version in `package.json`
4545
1. Update versions in `projects/schematics/src/ng-add/versions.ts` to align with the published release.
4646
1. Add contributors to `README.md`
47-
1. Update Compatibility table in `README.md`
47+
1. Update Compatibility table in `README.md` and `docs/guide/compatibility.md`
4848
1. Update the `CHANGELOG.md`
4949
1. Update the `UPGRADING.md` if necessary
5050
1. `yarn build && yarn build:schematics`

README.md

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -40,25 +40,13 @@ $ npm install @fortawesome/angular-fontawesome@<version>
4040

4141
### Compatibility table
4242

43-
| @fortawesome/angular-fontawesome | Angular | Font Awesome | ng-add |
44-
|----------------------------------|------------|-------------------|---------------|
45-
| 0.1.x | 5.x | 5.x | not supported |
46-
| 0.2.x | 6.x | 5.x | not supported |
47-
| 0.3.x | 6.x && 7.x | 5.x | not supported |
48-
| 0.4.x, 0.5.x | 8.x | 5.x | not supported |
49-
| 0.6.x | 9.x | 5.x | supported |
50-
| 0.7.x | 10.x | 5.x | supported |
51-
| 0.8.x | 11.x | 5.x | supported |
52-
| 0.9.x | 12.x | 5.x | supported |
53-
| 0.10.x | 13.x | 5.x && 6.x | supported |
54-
| 0.11.x | 14.x | 5.x && 6.x | supported |
55-
| 0.12.x | 15.x | 5.x && 6.x | supported |
56-
| 0.13.x | 16.x | 5.x && 6.x | supported |
57-
| 0.14.x | 17.x | 5.x && 6.x | supported |
58-
| 0.15.x | 18.x | 5.x && 6.x | supported |
59-
| 1.x | 19.x | 5.x && 6.x | supported |
60-
| 2.x | 20.x | 5.x && 6.x | supported |
61-
| 2.1.x | 20.x | 5.x && 6.x && 7.x | supported |
43+
| @fortawesome/angular-fontawesome | Angular | Font Awesome |
44+
|----------------------------------|------------|-------------------|
45+
| 3.x | 20.x | 5.x && 6.x && 7.x |
46+
| 2.x | 20.x | 5.x && 6.x |
47+
| 1.x | 19.x | 5.x && 6.x |
48+
49+
See [the compatibility page](./docs/guide/compatibility.md) for older versions.
6250

6351
## Usage
6452

@@ -149,5 +137,7 @@ being awesome contributors to this project. **We'd like to take a moment to reco
149137
[<img src="https://github.com/FortAwesome.png?size=72" alt="Font Awesome Team" width="72">](https://github.com/orgs/FortAwesome/people)
150138
[<img src="https://github.com/pankajparkar.png?size=72" alt="pankajparkar" width="72">](https://github.com/pankajparkar)
151139
[<img src="https://github.com/medbenmakhlouf.png?size=72" alt="medbenmakhlouf" width="72">](https://github.com/medbenmakhlouf)
140+
[<img src="https://github.com/Stoffel-KT.png?size=72" alt="Stoffel-KT" width="72">](https://github.com/Stoffel-KT)
141+
[<img src="https://github.com/Ionaru.png?size=72" alt="Ionaru" width="72">](https://github.com/Ionaru)
152142

153143
If we've missed someone (which is quite likely) submit a Pull Request to us and we'll get it resolved.

docs/guide/compatibility.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Version compatibility
2+
3+
| @fortawesome/angular-fontawesome | Angular | Font Awesome | ng-add |
4+
|----------------------------------|------------|-------------------|---------------|
5+
| 0.1.x | 5.x | 5.x | not supported |
6+
| 0.2.x | 6.x | 5.x | not supported |
7+
| 0.3.x | 6.x && 7.x | 5.x | not supported |
8+
| 0.4.x, 0.5.x | 8.x | 5.x | not supported |
9+
| 0.6.x | 9.x | 5.x | supported |
10+
| 0.7.x | 10.x | 5.x | supported |
11+
| 0.8.x | 11.x | 5.x | supported |
12+
| 0.9.x | 12.x | 5.x | supported |
13+
| 0.10.x | 13.x | 5.x && 6.x | supported |
14+
| 0.11.x | 14.x | 5.x && 6.x | supported |
15+
| 0.12.x | 15.x | 5.x && 6.x | supported |
16+
| 0.13.x | 16.x | 5.x && 6.x | supported |
17+
| 0.14.x | 17.x | 5.x && 6.x | supported |
18+
| 0.15.x | 18.x | 5.x && 6.x | supported |
19+
| 1.x | 19.x | 5.x && 6.x | supported |
20+
| 2.x | 20.x | 5.x && 6.x | supported |
21+
| 3.x | 20.x | 5.x && 6.x && 7.x | supported |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fortawesome/angular-fontawesome",
3-
"version": "2.1.0",
3+
"version": "3.0.0",
44
"description": "Angular Fontawesome, an Angular library",
55
"scripts": {
66
"ng": "ng",

projects/schematics/src/ng-add/index.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Tree } from '@angular-devkit/schematics';
22
import { SchematicTestRunner } from '@angular-devkit/schematics/testing';
33
import * as path from 'path';
44
import { Schema } from './schema';
5-
import { angularFontawesomeVersion, iconPackVersion, v5 } from './versions';
5+
import { angularFontawesomeVersion, iconPackVersionMap } from './versions';
66

77
const collectionPath = path.join(__dirname, '../collection.json');
88

@@ -17,7 +17,7 @@ describe('ng-add', () => {
1717

1818
const dependencies = packageJson.dependencies;
1919

20-
expect(dependencies['@fortawesome/free-solid-svg-icons']).toBe(iconPackVersion);
20+
expect(dependencies['@fortawesome/free-solid-svg-icons']).toBe(iconPackVersionMap['6'].iconPackVersion);
2121
expect(dependencies['@fortawesome/angular-fontawesome']).toBe(angularFontawesomeVersion);
2222
});
2323

@@ -31,7 +31,7 @@ describe('ng-add', () => {
3131

3232
const dependencies = packageJson.dependencies;
3333

34-
expect(dependencies['@fortawesome/free-solid-svg-icons']).toBe(v5.iconPackVersion);
34+
expect(dependencies['@fortawesome/free-solid-svg-icons']).toBe(iconPackVersionMap['5'].iconPackVersion);
3535
expect(dependencies['@fortawesome/angular-fontawesome']).toBe(angularFontawesomeVersion);
3636
});
3737

projects/schematics/src/ng-add/versions.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
export const angularFontawesomeVersion = '^2.1.0';
2-
export const iconPackVersion = '^7.0.0';
3-
4-
export const v5 = {
5-
iconPackVersion: '^5.15.4',
6-
};
1+
export const angularFontawesomeVersion = '^3.0.0';
72

83
export const iconPackVersionMap: Record<string, { iconPackVersion: string }> = {
94
'7': { iconPackVersion: '^7.0.0' },

0 commit comments

Comments
 (0)