Skip to content

Commit ab48650

Browse files
committed
Changelog
1 parent 5cf503b commit ab48650

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# v0.2.4
2+
3+
* Improved `Furi.update` behavior for `path:` overrides:
4+
5+
* Supports **relative path resolution** (`..` and subpaths)
6+
* Leading slashes in `path` now **replace** the original path
7+
* `nil` path removes the path portion entirely, leaving only the host
8+
9+
**Examples:**
10+
11+
```ruby
12+
Furi.update("https://www.google.com/maps", path: "place/1.23,3.28")
13+
# => "https://www.google.com/maps/place/1.23,3.28"
14+
15+
Furi.update("https://www.google.com/maps", path: "/account")
16+
# => "https://www.google.com/account"
17+
18+
Furi.update("https://www.google.com/maps", path: "..")
19+
# => "https://www.google.com/"
20+
21+
Furi.update("https://www.google.com/maps", path: nil)
22+
# => "https://www.google.com"
23+
```
24+
125
# v0.2.3
226

327
* Ruby 3.0 support #2

0 commit comments

Comments
 (0)