File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments