File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Changelog
2+
3+ All notable changes to this project will be documented in this file.
4+
5+ The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6+ and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7+
8+ ## [ 3.0.0] - 2026-01-31
9+
10+ ### Breaking Changes
11+
12+ - ** Minimum PHP version is now 8.2.0** (was 8.1.0)
13+ - For PHP 8.1 support, use the v2.x branch
14+
15+ ### Added
16+
17+ - Hierarchical suffix list structure for dramatically improved performance
18+ - Precise recursive type definitions throughout codebase
19+ - Enhanced type safety with strict PHPStan analysis
20+
21+ ### Changed
22+
23+ - ~ 100-200x faster domain validation through hash-based O(1) lookups
24+ - Refactored internal suffix parser with hierarchical maps
25+ - Updated to Pest 3.x and PHPUnit 11.x for modern testing
26+
27+ ### Dependencies
28+
29+ - ` php ` : ^8.1.0 -> ^8.2.0
30+ - ` pestphp/pest ` : ^2.0 -> ^3.0
31+ - ` phpunit/phpunit ` : ^10.5 -> ^11.5
32+
33+ ## [ 2.0.3] - 2024-03-08
34+
35+ ### Changed
36+
37+ - Updated public suffix list
38+
39+ ## [ 2.0.2] - 2024-02-29
40+
41+ ### Fixed
42+
43+ - Domain parsing when TLD substring is contained in the domain name
44+
45+ ## [ 2.0.1] - 2024-01-24
46+
47+ ### Changed
48+
49+ - Updated public suffix list
50+
51+ ## [ 2.0.0] - 2024-01-15
52+
53+ ### Changed
54+
55+ - Major version bump with improved validation logic
56+
57+ ## [ 1.0.3] - 2024-01-15
58+
59+ ### Changed
60+
61+ - Deprecated in favor of v2.x
62+
63+ ## [ 1.0.2] - 2023-07-27
64+
65+ ### Fixed
66+
67+ - Minor bug fixes
68+
69+ ## [ 1.0.1] - 2023-07-27
70+
71+ ### Fixed
72+
73+ - Minor bug fixes
74+
75+ ## [ 1.0.0] - 2023-07-27
76+
77+ ### Added
78+
79+ - Initial stable release
80+ - Domain validation functionality
81+ - Public suffix list support
82+ - Private domain detection
83+
84+ ## [ 0.1.0] - 2023-07-26
85+
86+ ### Added
87+
88+ - Initial development release
Original file line number Diff line number Diff line change 11{
22 "name" : " domainvalidity/php-domain-validator" ,
3+ "version" : " 3.0.0" ,
34 "description" : " Light PHP package to validate domains." ,
45 "type" : " library" ,
56 "license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments