Skip to content

Commit 6e462b5

Browse files
committed
Release 0.15.0
1 parent 2a3a9e7 commit 6e462b5

File tree

6 files changed

+66
-41
lines changed

6 files changed

+66
-41
lines changed

CHANGELOG.md

+24-2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,35 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
55

66
---
77

8-
## [0.15.0](https://github.com/FortAwesome/angular-fontawesome/releases/tag/0.15.0)
8+
## [0.15.0](https://github.com/FortAwesome/angular-fontawesome/releases/tag/0.15.0) - 2024-05-23
99

1010
Make sure to check [upgrade instructions](https://github.com/FortAwesome/angular-fontawesome/blob/master/UPGRADING.md).
1111

12+
### Added
13+
14+
* Support for Angular 18.
15+
* Documentation on how to use NPM Kit packages.
16+
* Documentation on how to correctly use fa-stack in standalone components.
17+
* Documentation on how to use custom icons.
18+
* FAQ page with considerations on whether to use this library.
19+
* Configuration option for the `FontAwesomeTestingModule` to not throw errors when adding icons.
20+
* Documentation on how to add global styles to the page.
21+
22+
### Fixed
23+
24+
* Documentation for the `rotate` input.
25+
* Global styles are now correctly added to the page in SSR context.
26+
27+
### Changed
28+
29+
* `icon` input type is now more permissive.
30+
* `@fortawesome/fontawesome-svg-core` became a regular dependency.
31+
1232
### Removed
1333

14-
- Deprecated inputs `spin` and `pulse`. Use `animation` input instead.
34+
* Angular 17.x is no longer supported. If you are using this version, please, stick with version 0.14.1.
35+
* Deprecated inputs `spin` and `pulse`. Use `animation` input instead.
36+
* Deprecated inputs `styles` and `classes`.
1537

1638
## [0.14.1](https://github.com/FortAwesome/angular-fontawesome/releases/tag/0.14.1) - 2023-12-23
1739

README.md

+17-15
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,22 @@ $ npm install @fortawesome/angular-fontawesome@<version>
3535

3636
### Compatibility table
3737

38-
|@fortawesome/angular-fontawesome|Angular|Font Awesome|ng-add|
39-
|-|-|-|-|
40-
|0.1.x|5.x|5.x|not supported|
41-
|0.2.x|6.x|5.x|not supported|
42-
|0.3.x|6.x && 7.x|5.x|not supported|
43-
|0.4.x, 0.5.x|8.x|5.x|not supported|
44-
|0.6.x|9.x|5.x|supported|
45-
|0.7.x|10.x|5.x|supported|
46-
|0.8.x|11.x|5.x|supported|
47-
|0.9.x|12.x|5.x|supported|
48-
|0.10.x|13.x|5.x && 6.x|supported|
49-
|0.11.x|14.x|5.x && 6.x|supported|
50-
|0.12.x|15.x|5.x && 6.x|supported|
51-
|0.13.x|16.x|5.x && 6.x|supported|
52-
|0.14.x|17.x|5.x && 6.x|supported|
38+
| @fortawesome/angular-fontawesome | Angular | Font Awesome | ng-add |
39+
|----------------------------------|------------|--------------|---------------|
40+
| 0.1.x | 5.x | 5.x | not supported |
41+
| 0.2.x | 6.x | 5.x | not supported |
42+
| 0.3.x | 6.x && 7.x | 5.x | not supported |
43+
| 0.4.x, 0.5.x | 8.x | 5.x | not supported |
44+
| 0.6.x | 9.x | 5.x | supported |
45+
| 0.7.x | 10.x | 5.x | supported |
46+
| 0.8.x | 11.x | 5.x | supported |
47+
| 0.9.x | 12.x | 5.x | supported |
48+
| 0.10.x | 13.x | 5.x && 6.x | supported |
49+
| 0.11.x | 14.x | 5.x && 6.x | supported |
50+
| 0.12.x | 15.x | 5.x && 6.x | supported |
51+
| 0.13.x | 16.x | 5.x && 6.x | supported |
52+
| 0.14.x | 17.x | 5.x && 6.x | supported |
53+
| 0.15.x | 18.x | 5.x && 6.x | supported |
5354

5455
## Usage
5556

@@ -131,6 +132,7 @@ being awesome contributors to this project. **We'd like to take a moment to reco
131132
[<img src="https://github.com/benjamincharity.png?size=72" alt="benjamincharity" width="72">](https://github.com/benjamincharity)
132133
[<img src="https://github.com/NayeBeckham.png?size=72" alt="NayeBeckham" width="72">](https://github.com/NayeBeckham)
133134
[<img src="https://github.com/Nosfistis.png?size=72" alt="Nosfistis" width="72">](https://github.com/Nosfistis)
135+
[<img src="https://github.com/bleistift-zwei.png?size=72" alt="bleistift-zwei" width="72">](https://github.com/bleistift-zwei)
134136
[<img src="https://github.com/FortAwesome.png?size=72" alt="Font Awesome Team" width="72">](https://github.com/orgs/FortAwesome/people)
135137

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

docs/upgrading/0.14.0-0.15.0.md

+8
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,11 @@ If you import any types from `@fortawesome/fontawesome-svg-core`, you should imp
4545
-import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
4646
+import { IconDefinition } from '@fortawesome/angular-fontawesome';
4747
```
48+
49+
## Icon inputs are now more permissive
50+
51+
Previously, `icon` input had a very restrictive type, which only allowed to specify icon pack and icon name values which exist in the Font Awesome icon packages. Now, the type is more permissive and allows to specify any string while retaining code completion for potentially available Font Awesome icon packs and icon names.
52+
53+
No changes are needed in the code, but consumers should be aware that the `<fa-icon>` component will no longer fail compilation if the icon name is not one of the Font Awesome icons, thus allowing to use [custom icons](../guide/custom-icons.md).
54+
55+
Refer to https://github.com/FortAwesome/angular-fontawesome/pull/436 for more details on the change.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fortawesome/angular-fontawesome",
3-
"version": "0.14.1",
3+
"version": "0.15.0",
44
"description": "Angular Fontawesome, an Angular library",
55
"scripts": {
66
"test": "ng test angular-fontawesome --watch=false --browsers=ChromeCI",
@@ -47,8 +47,8 @@
4747
"@angular/platform-server": "^18.0.0",
4848
"@angular/router": "^18.0.0",
4949
"@angular/ssr": "^18.0.1",
50-
"@fortawesome/free-regular-svg-icons": "^6.4.2",
51-
"@fortawesome/free-solid-svg-icons": "^6.4.2",
50+
"@fortawesome/free-regular-svg-icons": "^6.5.2",
51+
"@fortawesome/free-solid-svg-icons": "^6.5.2",
5252
"@types/express": "^4.17.21",
5353
"@types/jasmine": "~4.3.6",
5454
"@types/node": "~20.12.12",

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
export const angularFontawesomeVersion = '~0.14.0';
2-
export const iconPackVersion = '^6.4.2';
1+
export const angularFontawesomeVersion = '~0.15.0';
2+
export const iconPackVersion = '^6.5.2';
33

44
export const v5 = {
55
iconPackVersion: '^5.15.4',

yarn.lock

+12-19
Original file line numberDiff line numberDiff line change
@@ -2409,8 +2409,8 @@ __metadata:
24092409
"@angular/router": "npm:^18.0.0"
24102410
"@angular/ssr": "npm:^18.0.1"
24112411
"@fortawesome/fontawesome-svg-core": "npm:^6.5.2"
2412-
"@fortawesome/free-regular-svg-icons": "npm:^6.4.2"
2413-
"@fortawesome/free-solid-svg-icons": "npm:^6.4.2"
2412+
"@fortawesome/free-regular-svg-icons": "npm:^6.5.2"
2413+
"@fortawesome/free-solid-svg-icons": "npm:^6.5.2"
24142414
"@types/express": "npm:^4.17.21"
24152415
"@types/jasmine": "npm:~4.3.6"
24162416
"@types/node": "npm:~20.12.12"
@@ -2444,13 +2444,6 @@ __metadata:
24442444
languageName: unknown
24452445
linkType: soft
24462446

2447-
"@fortawesome/fontawesome-common-types@npm:6.4.2":
2448-
version: 6.4.2
2449-
resolution: "@fortawesome/fontawesome-common-types@npm:6.4.2"
2450-
checksum: 121bb1c55f7578d7516a1dfb95b4b5644d3aacd04cbbbddef317b99ec84ddd56aa8f6414abff190e9fc72ea1754f1beef1c5068641c31fbaf8407822a1733f82
2451-
languageName: node
2452-
linkType: hard
2453-
24542447
"@fortawesome/fontawesome-common-types@npm:6.5.2":
24552448
version: 6.5.2
24562449
resolution: "@fortawesome/fontawesome-common-types@npm:6.5.2"
@@ -2467,21 +2460,21 @@ __metadata:
24672460
languageName: node
24682461
linkType: hard
24692462

2470-
"@fortawesome/free-regular-svg-icons@npm:^6.4.2":
2471-
version: 6.4.2
2472-
resolution: "@fortawesome/free-regular-svg-icons@npm:6.4.2"
2463+
"@fortawesome/free-regular-svg-icons@npm:^6.5.2":
2464+
version: 6.5.2
2465+
resolution: "@fortawesome/free-regular-svg-icons@npm:6.5.2"
24732466
dependencies:
2474-
"@fortawesome/fontawesome-common-types": "npm:6.4.2"
2475-
checksum: dc735e3511f2147367451715cb1143df2656e6e69e5f21cb20071b5349a458ab2845dda89b16b9d7dd2bc9e913d9d93ed51ea3702f4fc4d774373f14e7f6768e
2467+
"@fortawesome/fontawesome-common-types": "npm:6.5.2"
2468+
checksum: dff7e3cc4a5433b020b0cf9e5ba95cedec7f64cda38b1183bbac5cead9d0a54b6d70671fbf799a8b5e3befb7f8955a546cf013d62b941fd03cd4516ef18613e7
24762469
languageName: node
24772470
linkType: hard
24782471

2479-
"@fortawesome/free-solid-svg-icons@npm:^6.4.2":
2480-
version: 6.4.2
2481-
resolution: "@fortawesome/free-solid-svg-icons@npm:6.4.2"
2472+
"@fortawesome/free-solid-svg-icons@npm:^6.5.2":
2473+
version: 6.5.2
2474+
resolution: "@fortawesome/free-solid-svg-icons@npm:6.5.2"
24822475
dependencies:
2483-
"@fortawesome/fontawesome-common-types": "npm:6.4.2"
2484-
checksum: 1a46c27be60ecdfaecd82f5e8ef07cbf5843b040f03fbab36da2eafc839df97efb437cc2c7ce5df53c6e71c06bf4ef8b520b62c4c0b153fe8a2a04368f155410
2476+
"@fortawesome/fontawesome-common-types": "npm:6.5.2"
2477+
checksum: af2778b91ba4bf7b61ae0cdf0d39d75b6906a82bfdf8e977881d987b86a32ce157297853b7892aa3b609076b5542ea1e1e78b520d57b6f50677a2a748cf3434c
24852478
languageName: node
24862479
linkType: hard
24872480

0 commit comments

Comments
 (0)