Skip to content

Commit 2ec7f64

Browse files
committed
changelog update
1 parent 221fc70 commit 2ec7f64

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file.
33

44
## [Unreleased]
55

6+
## [2.1.0](https://github.com/michalsn/codeigniter-htmx/compare/v2.0.0...v2.1.0) - 2024-11-06
7+
8+
### Enhancements
9+
10+
- Add an option to disable previous URL storage for HTMX requests.
11+
- Improve `RedirectResponse::hxLocation()` to also work with full URL, which will be auto-transformed to PATH.
12+
613
## [2.0.0](https://github.com/michalsn/codeigniter-htmx/compare/v1.6.0...v2.0.0) - 2024-10-17
714

815
### Fixes

src/HTTP/RedirectResponse.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ public function hxLocation(
2121
?array $values = null,
2222
?array $headers = null
2323
): RedirectResponse {
24-
// single_service
2524
if (str_starts_with($path, 'http://') || str_starts_with($path, 'https://')) {
2625
$path = (string) service('uri', $path, false)->withScheme('')->setHost('');
2726
}

0 commit comments

Comments
 (0)