Skip to content

Commit 40acbcc

Browse files
committed
Updated README.
1 parent 5e2b09c commit 40acbcc

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Package@swift-6.2.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import PackageDescription
3434

3535
let plugins: [Target.PluginUsage] = [
3636

37-
]
37+
]
3838

3939
#endif
4040

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<p align="center">
1111
<a href="https://github.com/apple/swift-package-manager"><img src="https://img.shields.io/badge/SPM-compatible-4BC51D.svg?style=flat" alt="SPM Compatible"></a>
1212
<img src="https://img.shields.io/badge/Swift-5.10-orange.svg" alt="Swift 5.10">
13-
<img src="https://img.shields.io/badge/Swift-6.0-orange.svg" alt="Swift 6.0">
13+
<img src="https://img.shields.io/badge/Swift-6.2-orange.svg" alt="Swift 6.2">
1414
<a href="https://bsky.app/profile/will-lumley.bsky.social">
1515
<img src="https://img.shields.io/badge/Bluesky-0285FF?logo=bluesky&logoColor=fff&label=will-lumley" alt="Bluesky">
1616
</a>
@@ -108,6 +108,7 @@ For sites that utilise a web application manifest (manifest.json), FaviconFinder
108108

109109
4. **Meta-Refresh Redirects (Optional)** <br />
110110
Some websites may use meta-refresh redirects instead of server-side HTTP redirects. If enabled in the configuration, FaviconFinder will inspect the HTML for these meta-refresh redirects and follow them to retrieve the favicon from the redirected URL.
111+
It's worthwhile to note that FaviconFinder will prevent itself from falling into a recursive loop if a redirect directs to a site that then redirects to the original site.
111112

112113
5. **Favicon Size Sorting** <br />
113114
FaviconFinder extracts size metadata from the HTML or web application manifest to sort favicons by their dimensions (e.g., 120x120, 32x32). This allows you to easily determine the largest or smallest favicon without downloading every image, saving bandwidth and improving performance.
@@ -329,9 +330,9 @@ Alternatively, if you're using this for a Linux project, you can open the exampl
329330

330331
## Requirements
331332

332-
FaviconFinder is now written with Swift 6.0. This means we get to use `Swift Testing` over `XCTest`, but more importantly means FaviconFinder is now data-race safe and adheres to strict concurrency.
333+
FaviconFinder is now written with Swift 6. This means we get to use `Swift Testing` over `XCTest`, but more importantly means FaviconFinder is now data-race safe and adheres to strict concurrency.
333334

334-
Swift 6.0 is supported from version `5.1.0` and up. If you need FaviconFinder in Swift 5.9 and below, please use version `5.0.4`.
335+
Swift 6 is supported from version `5.1.0` and up. If you need FaviconFinder in Swift 5.9 and below, please use version `5.0.4`.
335336

336337
FaviconFinder now supports await/async concurrency, as seen in the examples below. Due to this, the most up to date version of FaviconFinder requires iOS 15.0 and macOS 12.0.
337338
If you need to support older versions of iOS or macOS, version `3.3.0` of FaviconFinder uses closures to call back the success/failure instead of await/async concurrency.
@@ -346,7 +347,7 @@ To install it, simply add the dependency to your Package.Swift file:
346347
```swift
347348
...
348349
dependencies: [
349-
.package(url: "https://github.com/will-lumley/FaviconFinder.git", from: "5.1.4"),
350+
.package(url: "https://github.com/will-lumley/FaviconFinder.git", from: "5.1.5"),
350351
],
351352
targets: [
352353
.target( name: "YourTarget", dependencies: ["FaviconFinder"]),

0 commit comments

Comments
 (0)