From 59689dd5afe134a6dd93d153b7240e1a6c12b8c5 Mon Sep 17 00:00:00 2001 From: Taka Oyama Date: Thu, 8 Feb 2024 16:03:51 +0900 Subject: [PATCH] feat: Allow default max transaction attempts to be changed --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f4db5d4..82af09a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,11 +6,13 @@ Added - `Schema\Builder::dropAllTables` works properly, dropping foreign keys, indexes, then tables in order of interleaving (#161) - Support for inserting and selecting array of DateTime/Numeric objects (#168) - Allow pretending for DDL statements (#170) +- Allow default max transaction attempts to be changed (#) Changed - `Query\Builder::lock()` no longer throw an error and will be ignored instead (#156) - `Schema\Builder::getIndexListing()` `Schema\Grammar::compileIndexListing()` converted to `getIndexes()` and `compileIndexes()` to align with standard Laravel methods (#161) - Missing primary key will no longer be checked and will be checked on the server side instead (#177) +- `Connection::transaction()`'s `$attempts` argument's default value was changed from 10 to -1 (which is a magic number for default value which is 11) (#) Fixed - `Schema\Grammar::compileAdd()` `Schema\Grammar::compileChange()` `Schema\Grammar::compileChange()` now create separate statements (#159)