You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8270db4
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/changelogs/v4.8.0.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,8 +65,8 @@ Release Date: Unreleased
65
65
66
66
-**CLI:** The `Console::run()` method now accepts an optional `array $tokens` parameter. This allows you to pass an array of command tokens directly to the console runner, which is useful for testing or programmatically running commands. If not provided, it will default to using the global `$argv`.
67
67
68
-
-**CodeIgniter:** The deprecated parameters in methods have been removed:
69
-
-`CodeIgniter\CodeIgniter::handleRequest()` no longer accepts the deprecated `$cacheConfig` and `$returnResponse` parameters.
68
+
-**CodeIgniter:** The deprecated parameters in methods have been removed:
69
+
-`CodeIgniter\CodeIgniter::handleRequest()` no longer accepts the deprecated `$cacheConfig` and `$returnResponse` parameters.
70
70
- `$cacheConfig` is no longer used and is now hard deprecated. A deprecation notice will be triggered if this is passed to the method.
71
71
- `$returnResponse` has been removed, since it was already deprecated and unused.
72
72
- The updated method signature is now `handleRequest(?RouteCollectionInterface $routes, ?Cache $cacheConfig = null)`.
@@ -75,7 +75,7 @@ Release Date: Unreleased
75
75
76
76
-**Config:**`CodeIgniter\Config\Services::request()` no longer accepts any parameter.
77
77
78
-
-**Database:** The following methods have had their signatures updated to remove deprecated parameters:
78
+
-**Database:** The following methods have had their signatures updated to remove deprecated parameters:
79
79
-`CodeIgniter\Database\Forge::_createTable()` no longer accepts the deprecated `$ifNotExists` parameter. The method signature is now `_createTable(string $table, array $attributes)`.
80
80
81
81
-**HTTP:**`CodeIgniter\HTTP\OutgoingRequest::__construct()` now requires the `$uri` parameter, which was previously `?URI $uri = null`. Passing `null` only worked when a `Host` header was supplied in the same call, since the constructor otherwise dereferences the URI to set that header. Consequently `OutgoingRequest::getUri()` now returns `URI` instead of `URI|null`, matching `OutgoingRequestInterface`. See [Upgrading from 4.7.x to 4.8.0](../installation/upgrade_480.md) for the migration.
@@ -86,41 +86,41 @@ Release Date: Unreleased
86
86
87
87
### Property Scope Changes
88
88
89
-
-**HTTP:** The following properties have changed their scope (visibility):
89
+
-**HTTP:** The following properties have changed their scope (visibility):
90
90
-`CodeIgniter\HTTP\RequestTrait::$ipAddress` is now private (previously protected).
91
91
92
92
### Method Scope Changes
93
93
94
94
-**CLI:**`CodeIgniter\CLI\Commands::getCommandAlternatives()` is now public (previously protected).
95
95
96
-
-**HTTP:** The following methods have changed their scope (visibility):
96
+
-**HTTP:** The following methods have changed their scope (visibility):
97
97
-`CodeIgniter\HTTP\URI::setUri()` is now private (previously public).
98
98
-`CodeIgniter\HTTP\URI::refreshPath()` is now protected (previously public).
99
99
-`CodeIgniter\HTTP\SiteURI::refreshPath()` is now protected (previously public).
100
100
101
101
### Removed Deprecated Items
102
102
103
-
-**Autoloader:** Removed the following deprecated methods:
103
+
-**Autoloader:** Removed the following deprecated methods:
-`CLI.commandAlias` and `CLI.helpAliases` (command alias rendering in `list` and `help`)
357
357
-`CLI.altCommandNone`, `CLI.altCommandRun`, and `CLI.altCommandSelect` (correcting a mistyped command)
358
358
-`CLI.generator.invalidCommandType` (`make:command` rejecting an invalid `--type`)
359
359
-`CLI.generator.invalidReturnType` (`make:model` rejecting an invalid `--return`)
360
360
-`Commands.invalidCommandAlias`, `Commands.commandAliasSameAsName`, `Commands.duplicateCommandAlias`, `Commands.aliasClashesWithCommandName`, and `Commands.aliasClashesWithAlias` (command alias validation)
361
361
362
-
- Removed deprecated language keys tied to removed exception constructors:
362
+
- Removed deprecated language keys tied to removed exception constructors:
Copy file name to clipboardExpand all lines: docs/installation/upgrade_480.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,39 +161,39 @@ The following files received significant changes (including deprecations or visu
161
161
162
162
#### Config
163
163
164
-
-**app/Config/Filters.php**
164
+
-**app/Config/Filters.php**
165
165
- Added a new filter named `requestid` that adds a unique request ID to each request in the application's context.
166
166
167
-
-**app/Config/Generators.php**
167
+
-**app/Config/Generators.php**
168
168
-`Config\Generators::$views` added entries for `make:request`, `make:test`, and `make:transformer`, and dropped the stale `session:migration` entry.
169
169
170
-
-**app/Config/Logger.php**
170
+
-**app/Config/Logger.php**
171
171
-`Config\Logger::$handlers` added a new key `stopChainOnFailure` to the `FileHandler` and `ErrorlogHandler` settings.
172
172
173
-
-**app/Config/Mimes.php**
173
+
-**app/Config/Mimes.php**
174
174
-`Config\Mimes::$mimes` added a new key `md` for Markdown files.
175
175
176
-
-**app/Config/Routing.php**
176
+
-**app/Config/Routing.php**
177
177
-`Config\Routing::$placeholderSamples` was added to provide sample values for custom route placeholders so the `spark routes` command can resolve their filters.
178
178
179
-
-**app/Config/Security.php**
179
+
-**app/Config/Security.php**
180
180
-`Config\Security::$csrfFetchMetadata` and `Config\Security::$csrfFetchMetadataRejectSameSite` were added for Fetch Metadata based CSRF protection.
181
181
182
182
#### Error Views
183
183
184
-
-**app/Views/errors/cli/error_exception.php**
184
+
-**app/Views/errors/cli/error_exception.php**
185
185
- Shows the backtrace also when the command runs with `-v`.
186
186
187
-
-**app/Views/errors/html/debug.css**
187
+
-**app/Views/errors/html/debug.css**
188
188
- Added styles for the **Copy Details** button.
189
189
190
-
-**app/Views/errors/html/debug.js**
190
+
-**app/Views/errors/html/debug.js**
191
191
- Added clipboard handling for the **Copy Details** button.
192
192
193
-
-**app/Views/errors/html/error_exception.php**
193
+
-**app/Views/errors/html/error_exception.php**
194
194
- Added a **Copy Details** button to detailed HTML exception pages.
195
195
196
-
-**app/Views/errors/html/error_report.php**
196
+
-**app/Views/errors/html/error_report.php**
197
197
- Added a Markdown error report partial used by the **Copy Details** button.
0 commit comments