2024-11-10 |
cleanup |
2024-11-10 |
Fix superglobal usage in Connection
Don't directly reference the superglobals when generating log context
for active transaction warnings. Instead use env(). I didn't want to
introduce cross package dependencies that would read from the active
request. |
2024-11-10 |
#17951 restore functionality to disable query logging in runtime |
2024-11-10 |
Fix client side buffering disabling for SqlServer.
Don't set client side buffering flags when preparing PDO statement when it's disabled for the `SelectQuery`.
Fixes #16848 |
2024-11-10 |
Fix phpcs. |
2024-11-10 |
Fix geospatial types not being defined in TypeFactory (#17991)
- Fix geospatial types not being defined in TypeFactory
- Add tests for schema reflection of geospatial types in MySQL.
Fixes #17988 |
2024-11-10 |
Remove redundant !empty |
2024-11-10 |
Update src/Database/Connection.php
Co-authored-by: Mark Scherer |
2024-11-10 |
CsFix |
2024-11-10 |
Add ip and url to active transaction warning |
2024-11-10 |
Remove unneeded assignments and make the code more succinct. |
2024-10-04 |
Fix regression in UNION queries for MySQL < 8.
Refs #17882 |
2024-09-14 |
Merge remote-tracking branch 'origin/5.x' into 5.next |
2024-09-14 |
Add supported for unbuffered ORM resultsets. |
2024-09-14 |
Add support for unbuffered select queries.
Unbufferred results are only available when directly iterating
the SelectQuery instance. Calling SelectQuery::all() with always
returned a buffered result set. |
2024-09-14 |
Make Statement iterable. |
2024-09-14 |
Move all results decoration inside Statement. |
2024-09-14 |
Fix up exception message. |
2024-09-14 |
Throw exception for otherwise silent no-op on setColumnType() (#17621)
Throw exception for otherwise silent no-op on setColumnType() |
2024-09-14 |
Add FunctionsBuilder::jsonValue()
Merge changes from cakephp/cakephp#17171
Squashed commit of the following:
commit 352b47ac01e1b35791d9237b8ad107f54ef17edc
Merge: 7bbf221e25 f6cbbb4526
Author: celsowm
Date: Tue Jan 16 19:07:22 2024 -0300
Merge branch '5.next' into json-value-cake5
commit 7bbf221e25b410b5fa150e926ea44d839c929c22
Author: Mark Story
Date: Mon Jan 8 16:20:54 2024 -0500
Add cast
commit 068ba6ea74c7997a3fb1b1a02e5811199cd67951
Author: Mark Story
Date: Thu Jan 4 16:02:09 2024 -0500
refine timeout and gclifetime code
Instead of special casing 0 with a hardcoded default, we can leave the
gc_maxlifetime alone and only define it when a timeout has been set.
commit 511ca1a20a31594b4adfa8ea37e4642d26417234
Author: Mark Story
Date: Wed Jan 3 16:25:39 2024 -0500
Increase session gc lifetime
When sessions have serverside timeouts disabled we should set a longer
session.gc_maxlifetime option as using 0 could result in all sessions
being reaped when a GC sweep is done.
Refs #17513
commit 00c8daa8e30c5a9575ef8c2767ef8b0db6454520
Author: mscherer
Date: Mon Jan 8 18:38:53 2024 +0100
Prefer defined vars over undefined checks.
commit 3688f599a0466f0de3609444ab5278cf5f00e457
Author: mscherer
Date: Mon Jan 8 17:54:07 2024 +0100
Revert for case when cell is not part of view.
commit 1df10d5eb561ad805323a2c089364ff165fb17f5
Author: fabian-mcfly <13197057+fabian-mcfly@users.noreply.github.com>
Date: Mon Jan 8 17:49:05 2024 +0100
CS & Annotations
commit b73cfa6447890c6d7ddfaa8c6aff484a0099202c
Author: fabian-mcfly <13197057+fabian-mcfly@users.noreply.github.com>
Date: Mon Dec 11 17:21:59 2023 +0100
CS & Annotations
commit 209253f53f464f540bdb9991cf1c6f06f8130559
Author: fabian-mcfly <13197057+fabian-mcfly@users.noreply.github.com>
Date: Mon Dec 11 09:24:50 2023 +0100
Fixed EAV Strategy mistake & added tests
commit e66dc638a5cd194b64cf879aae181d79568edeb9
Author: fabian-mcfly <13197057+fabian-mcfly@users.noreply.github.com>
Date: Sun Dec 10 21:53:52 2023 +0100
Mark modified fields as clean instead of the entire entity
commit be7509770de4a181d878923f9d15cb746ff4065f
Author: fontesc
Date: Mon Jun 26 12:47:56 2023 -0300
json value on function builder |
2024-09-14 |
Fix up array list<> docblocks. (#17597)
* Fix up array list<> docblocks.
---------
Co-authored-by: ADmad |
2024-09-14 |
Pass query and pdoexception as constructor args to QueryException. |
2024-09-14 |
Fix display of query string on pdo_error template. |
2024-09-14 |
Merge branch '5.x' into 5.next-merge
# Conflicts:
# VERSION.txt
# psalm-baseline.xml |
2024-09-14 |
Psalm suggested fixes. (#17555)
* Psalm suggested fixes.
* Fix CS
---------
Co-authored-by: mscherer |
2024-09-14 |
Merge branch '5.x' into 5.next |
2024-09-14 |
Fix up enum value typo. |
2024-09-14 |
merge 5.x -> 5.next (#17498)
* Use array values of app paths
The previous code breaks in case `App::path()` returns an associative array. This change does not break anything but helps in case those paths have non-numeric keys.
* Use array values of app paths
* Use array values of app paths
* Revert "Use array values of app paths"
This reverts commit f6dc5842dcfa89badb6a70a4b709054ec43793d3.
* Added unit tests
* Fixed wrong code style
* Removed redundant reset of configuration values
* Removed redundant reset of configuration values
* Removed redundant reset of configuration values
* Small fixes
* wrap namespaced core functions in function_exists to make upgrade tool work again
* Imrpove output of cache clear_group command
* Update CacheClearGroupCommand.php
* Clarify a less radical fix.
* Fix usage of deprecated method in ReconnectStrategy
Fixes #17382
* add table schema mapping for sqlite3 UUID_TEXT column type
* Fix engine class loading
Fix up tests.
* Fix up error messages.
* Removed deprecated tag.
The deprecation was reverted and the property is retained in 5.x. Closes #17379
* Update version number to 4.5.1
* Fix message path loading order
* fix phpcs errors
* Document possible types as per 5.x
* Do not set timezone on ChronosDate when marshalling into DateTime field
Resolves #17461
* FIX: exception trap: handle Exception.beforeRender event being stopped or returning no result
* FIX: exception trap: do not stop propagation when testing Exception.beforeRender event
* FIX: exception trap: add test for Exception.beforeRender propagation stoppage
* Add deprecated annotations to Connection.
* Add deprecated annotations to Query.
* Remove deprecationWarning from methods called internally.
* CS fix
* Fix off by one errors in dd()
Fixes #17469
* fix deprecation warning
* Update version number to 4.5.2
* Update paragonie/csp-builder requirement from ^2.3 to ^2.3 || ^3.0
Updates the requirements on [paragonie/csp-builder](https://github.com/paragonie/csp-builder) to permit the latest version.
- [Release notes](https://github.com/paragonie/csp-builder/releases)
- [Commits](https://github.com/paragonie/csp-builder/compare/v2.3.0...v3.0.0)
---
updated-dependencies:
- dependency-name: paragonie/csp-builder
dependency-type: direct:development
...
Signed-off-by: dependabot[bot]
* Allow paragonie/csp-builder 3
* Fix cookie assertions with redirect responses
There are a few ways you could end up with a RedirectResponse containing
cookies. Ideally if an application does this the cookie assertions
should continue working.
* Fix up enum name display for fallback.
* Merge 4.next -> 5.x
* Cleanup after merge
* merge 4.next -> 5.x (#17497)
merge 4.x -> 4.next (#17496)
* Fix rendering of dev error pages in 8.3
- Add PHP8.3 HTML formatting to the list of replacements.
- Update styling to make output visually consistent in 8.3
Fixes #17491
* Remove trailing space
---------
Co-authored-by: Mark Story
---------
Signed-off-by: dependabot[bot]
Co-authored-by: fabian-mcfly
Co-authored-by: Fabian Friedel
Co-authored-by: fabian-mcfly <13197057+fabian-mcfly@users.noreply.github.com>
Co-authored-by: Chris Nizzardini
Co-authored-by: Mark Story
Co-authored-by: mscherer
Co-authored-by: Mark Scherer
Co-authored-by: Jorge González
Co-authored-by: ADmad
Co-authored-by: Jens Mischer
Co-authored-by: ravage84
Co-authored-by: othercorey
Co-authored-by: Marc de Lima Lucio <68746600+marc-dll@users.noreply.github.com>
Co-authored-by: Robert Pustułka
Co-authored-by: ADmad
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
2024-09-13 |
Pin phpstan to 1.12.0 (#17875) |
2024-09-13 |
Remove phpstan as dev dependency from split packages.
Use the phpstan version from the main composer.json for split package checks for consistency. |