Skip to content

Commit 623d8d9

Browse files
committed
Bump minor version.
1 parent cd46c47 commit 623d8d9

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-9
lines changed

lib/protocol/url/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
module Protocol
88
# @namespace
99
module URL
10-
VERSION = "0.3.0"
10+
VERSION = "0.4.0"
1111
end
1212
end

readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,18 @@ This project is best served by a collaborative and respectful environment. Treat
3434

3535
Please 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.

releases.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
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

0 commit comments

Comments
 (0)