Releases: colopl/laravel-spanner
Releases · colopl/laravel-spanner
v8.1.0
What's Changed
- feat: Transaction and request tagging support by @taka-oyama in #206
- feat: add support for INSERT OR IGNORE by @taka-oyama in #207
- feat: allow request timeout at query level by @taka-oyama in #208
- fix: authCache needs namespace for each connection by @taka-oyama in #210
Full Changelog: v8.0.0...v8.1.0
v7.4.1
What's Changed
- fix: authCache needs namespace for each connection by @taka-oyama in #210
Full Changelog: v7.4.0...v7.4.1
v7.4.0
What's Changed
- feat: add support for INSERT OR IGNORE by @taka-oyama in #207
- feat: allow request timeout at query level by @taka-oyama in #208
Full Changelog: v7.3.0...v7.4.0
v7.3.0
v8.0.0 (Laravel 11)
v7.2.0
What's Changed
- feature: INSERT OR UPDATE (upsert) support by @taka-oyama in #203
Full Changelog: v7.1.0...v7.2.0
v7.1.0
What's Changed
Changed
Schema\Builder::dropAllTables
returns immediately if no tables exist by @matthewjumpsoffbuildings (#193)- Performance enhancements for
DB::pretend
statements, no longer incurring the overhead of creating transactions by @matthewjumpsoffbuildings (#191) - Set the
$defaultMorphKeyType
inSchema\Builder
touuid
by @matthewjumpsoffbuildings (#192) - README now has a Recommened Setup section.
Fixed
Connection::escapeString
now properly escapes backslashes by @taka-oyama (#197)
Chores
partitionedDml
can be tested in emulator now by @taka-oyama (#187)
Full Changelog: v7.0.0...v7.1.0
v7.0.0
Added
json
mediumText
longText
char
support forSchema\Builder
(#155) (#158)Schema\Grammar::compileDropForeign
to allow dropping foreign key constraints (#163)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
spanner_emulator.disable_query_null_filtered_index_check
to be set (#180) - Allow default max transaction attempts to be changed (#179)
- Table prefixing support (#172)
- Support for
GENERATE_UUID()
in migrations (#174) - Support
Schema\Blueprint::increments()
by using a column of typeSTRING(36)
withDEFAULT (GENERATE_UUID())
(#175) - Support for
CREATE SEQUENCE
in migrations (#181)
Changed
- [Breaking] Timestamps no longer respect the date format specified in Grammar (#168)
Query\Builder::lock()
no longer throw an error and will be ignored instead (#156)Schema\Builder::getIndexListing()
Schema\Grammar::compileIndexListing()
converted togetIndexes()
andcompileIndexes()
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)
- [Breaking]
Connection::runDdl()
andConnection::runDdls()
has been removed. UseConnection::runDdlBatch()
instead. (#178) - [Breaking] Trait
ManagesStaleReads
has been removed (which containedcursorWithTimestampBound()
andselectWithTimestampBound()
. UseselectWithOptions()
instead). (#178) - [Breaking]
Blueprint::interleave()
andIndexDefinition::interleave()
now throw an error instead of a deprecation. (#178) - [Breaking]
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) (#179) - [Breaking] All upper case functions and casting
DATE
TIMESTAMP
CURRENT_TIMESTAMP()
has been changed to lower case for consistency. (#182)
Fixed