v3.6.0 (released 2024-07-08):
- Added support for
symfony/dom-crawler
v7.0. (#79)
v3.5.0 (released 2024-06-14):
- Added a new
verify_tls
config option to disable TLS certificate verification. (#78)
v3.4.1 (released 2024-04-30):
- Fixed a bug that prevented fetching icons from a URL if the HTML contained a
link
tag without ahref
attribute.(#77)
v3.4.0 (released 2024-03-19):
- Added support for
nesbot/carbon 3.0
. (#76)
v3.3.0 (released 2024-03-12):
- Added support for Laravel 11. (#75)
v3.2.0 (released 2024-01-29):
- Added a
largestByFileSize
method to theFaviconCollection
. #73
v3.1.0 (released 2023-11-07):
- Added
user_agent
config field to configure HTTPUser-Agent
request header. (#70) - Run CI tests using PHP 8.3 (#69)
v3.0.0 (released 2023-09-04):
- Added
connect_timeout
andtimeout
config fields. (#67) - Use
symfony/dom-crawler
in theHttpDriver
to parse the HTML. (#56) - Updated all files to use strict types for improved type safety. (#62)
- Throw package-specific exceptions instead of vendor exceptions. (#67)
- Fixed a bug that prevented an exception from being thrown when using
fetchAll
if no favicons were found when using thethrow
method. (#56) - Fixed a bug that prevented the
fetchAll
method from trying to guess the default icon if no favicons were found. (#56) - Fixed a bug that stripped the port from the base URL. Thanks for the fix, @mhoffmann777! (#50)
- Dropped support for PHP 8.0. (#59)
- Dropped support for Laravel 8. (#59)
- Dropped support for PHPUnit 8.* and Larastan 1.*. (#59)
v2.0.0 (released 2023-03-23):
- Added driver for the Favicon Grabber API. (#24)
- Added
fetchAll
implementation to theHttpDriver
for fetching all the icons for a URL. (#29, #31) - Added
fetchAll
method to theAshAllenDesign\FaviconFetcher\Contracts\Fetcher
interface. (#29) - Added support to get a favicons size and type. (#29, #31)
- Changed visibility of the
buildCacheKey
method in theBuildsCacheKey
trait fromprotected
topublic
. (#31) - Changed the values that are used when caching a favicon. (#31)
- Removed the
makeFromCache
method from theFavicon
class. (#31)
v1.3.0 (released 2023-01-12):
- Added support for Laravel 10. ((#22))
v1.2.1 (released 2022-11-08):
- Fixed bug that prevented a favicon URL from being detected using the
HttpDriver
if the favicon URL was using single quotes (instead of double quotes). (#20)
v1.2.0 (released 2022-10-17):
- Added support for PHP 8.2. (#21)
v1.1.3 (released 2022-09-03):
- Removed an incorrect mime type from the file extension detection. (#19)
v1.1.2 (released 2022-07-23):
- Fixed bug that was using the incorrect file extension when storing favicons retrieved using the "google-shared-stuff", "unavatar", and "favicon-kit" drivers. (#17)
v1.1.1 (released 2022-05-10):
- Fixed bug that was returning the incorrect favicon URL in the
HttpDriver
if multiple<link>
elements existed on the same line in the webpage's HTML. (#13)
v1.1.0 (released 2022-04-27):
v1.0.0 (released 2022-04-26):
- Initial release.