File tree Expand file tree Collapse file tree 3 files changed +21
-9
lines changed Expand file tree Collapse file tree 3 files changed +21
-9
lines changed Original file line number Diff line number Diff line change 77module Protocol
88 # @namespace
99 module URL
10- VERSION = "0.3 .0"
10+ VERSION = "0.4 .0"
1111 end
1212end
Original file line number Diff line number Diff line change @@ -34,6 +34,18 @@ This project is best served by a collaborative and respectful environment. Treat
3434
3535Please see the [ project releases] ( https://github.com/socketry/protocol-urlreleases/index ) for all releases.
3636
37+ ### v0.4.0
38+
39+ - Add comparison methods to ` Protocol::URL::Relative ` (and by inheritance to ` Protocol::URL::Absolute ` ):
40+ - ` #== ` for structural equality comparison (compares path, query, fragment components).
41+ - ` #=== ` for string equality comparison (enables case statement matching).
42+ - ` #<=> ` for ordering and sorting.
43+ - ` #hash ` for hash key support.
44+ - ` #equal? ` for component-based equality checking.
45+ - Add JSON serialization support to ` Protocol::URL::Relative ` :
46+ - ` #as_json ` returns the string representation.
47+ - ` #to_json ` returns a JSON-encoded string.
48+
3749### v0.3.0
3850
3951 - Add ` relative(target, from) ` for computing relative paths between URLs.
Original file line number Diff line number Diff line change 11# Releases
22
3- ## Unreleased
3+ ## v0.4.0
44
55 - Add comparison methods to ` Protocol::URL::Relative ` (and by inheritance to ` Protocol::URL::Absolute ` ):
6- - ` #== ` for structural equality comparison (compares path, query, fragment components).
7- - ` #=== ` for string equality comparison (enables case statement matching).
8- - ` #<=> ` for ordering and sorting.
9- - ` #hash ` for hash key support.
10- - ` #equal? ` for component-based equality checking.
6+ - ` #== ` for structural equality comparison (compares path, query, fragment components).
7+ - ` #=== ` for string equality comparison (enables case statement matching).
8+ - ` #<=> ` for ordering and sorting.
9+ - ` #hash ` for hash key support.
10+ - ` #equal? ` for component-based equality checking.
1111 - Add JSON serialization support to ` Protocol::URL::Relative ` :
12- - ` #as_json ` returns the string representation.
13- - ` #to_json ` returns a JSON-encoded string.
12+ - ` #as_json ` returns the string representation.
13+ - ` #to_json ` returns a JSON-encoded string.
1414
1515## v0.3.0
1616
You can’t perform that action at this time.
0 commit comments