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 ec9311b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(#10615): re-read live env vars on every config build
Cache only the names of env vars found with live getenv() calls, per
leaf, and re-read their values on each build, so removed or changed
values are not reused. Leaves first seen on a later instance are now
probed too. On Windows, probe the underscore forms live as well, so
they keep matching case-insensitively.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: user_guide_src/source/changelogs/v4.8.0.rst
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,8 +64,7 @@ Behavior Changes
64
64
- **Config:** ``CodeIgniter\Config\BaseService`` is now ``abstract``. It is intended to be extended (as ``Config\Services`` does) and accessed statically; code that instantiated it directly with ``new BaseService()`` will now throw an ``Error``.
65
65
- **Config:** ``BaseConfig`` now scans the environment once instead of checking every property against it, which makes building config classes
66
66
several times faster without config caching and in Worker Mode. As a result, a bare ``putenv()`` call made after the first config class was built
67
-
may not be seen until ``BaseConfig::reset()`` runs, and on Windows, underscore-form environment variables that exist only in the OS environment
68
-
now match case-sensitively. See :ref:`upgrade-480-config-env-lookups`.
67
+
may not be seen until ``BaseConfig::reset()`` runs. See :ref:`upgrade-480-config-env-lookups`.
69
68
- **Database:** The Postgre driver's ``$db->error()['code']`` previously always returned ``''``. It now returns the 5-character SQLSTATE string for query and transaction failures (e.g., ``'42P01'``), or ``'08006'`` for connection-level failures. Code that relied on ``$db->error()['code'] === ''`` will need updating.
70
69
- **Debug:** ``CodeIgniter\Debug\Toolbar\Collectors\BaseCollector`` is now ``abstract``. Custom toolbar collectors must extend it; code that instantiated it directly with ``new BaseCollector()`` will now throw an ``Error``.
71
70
- **Filters:** HTTP method matching for method-based filters is now case-sensitive. The keys in ``Config\Filters::$methods`` must exactly match the request method
0 commit comments