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 026bf73
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/changelogs/v4.7.7.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ Release Date: Unreleased
16
16
17
17
## Bugs Fixed
18
18
19
+
-**API:** Fixed a bug where `ResponseTrait::paginate()` computed a floating-point offset when `page` was far beyond the last page, which `BaseBuilder::limit()` rejected with a `TypeError` and turned into an HTTP 500 response. Out-of-range pages now use the total record count as the offset, so the query still runs and returns an empty data set. Also fixed a `DivisionByZeroError` when `$perPage` was `0`.
19
20
-**CORS:** Fixed a bug where `Cors::hasResponseHeaders()` matched header substrings via `str_contains()`, causing false positives when existing exposed headers shared a prefix with configured exposed headers.
20
21
-**Database:** Fixed a bug where `Postgre`, `OCI8`, and `SQLSRV``Forge::_dropKeyAsConstraint()` interpolated table, constraint, and schema names without escaping.
21
22
-**Database:** Fixed a bug where `SQLSRV\Builder::_upsertBatch()` concatenated `$table` unescaped into `Object_ID()`, causing syntax errors for table names with quotes or special characters.
0 commit comments