Skip to content

Releases: colopl/laravel-spanner

v8.1.0

21 May 01:43
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.0.0...v8.1.0

v7.4.1

21 May 01:41
Compare
Choose a tag to compare

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

13 May 07:47
Compare
Choose a tag to compare

What's Changed

Full Changelog: v7.3.0...v7.4.0

v7.3.0

17 Apr 08:36
Compare
Choose a tag to compare

What's Changed

  • feat: Transaction and request tagging support (#206)

Full Changelog: v7.2.0...v7.3.0

v8.0.0 (Laravel 11)

11 Apr 00:54
4caec32
Compare
Choose a tag to compare

What's Changed

Full Changelog: v7.2.0...v8.0.0

v7.2.0

27 Mar 03:02
23daae1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v7.1.0...v7.2.0

v7.1.0

11 Mar 01:38
a4870d9
Compare
Choose a tag to compare

What's Changed

Changed

Fixed

  • Connection::escapeString now properly escapes backslashes by @taka-oyama (#197)

Chores

Full Changelog: v7.0.0...v7.1.0

v7.0.0

21 Feb 06:35
Compare
Choose a tag to compare

Added

  • json mediumText longText char support for Schema\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 type STRING(36) with DEFAULT (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 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)
  • [Breaking] Connection::runDdl() and Connection::runDdls() has been removed. Use Connection::runDdlBatch() instead. (#178)
  • [Breaking] Trait ManagesStaleReads has been removed (which contained cursorWithTimestampBound() and selectWithTimestampBound(). Use selectWithOptions() instead). (#178)
  • [Breaking] Blueprint::interleave() and IndexDefinition::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

  • Schema\Grammar::compileAdd() Schema\Grammar::compileChange() now create separate statements (#159)
  • Connection::runDdlBatch() with empty statement now return an empty array instead of throwing an error (#169)

v6.1.2

23 Jan 08:30
Compare
Choose a tag to compare

Fixed

  • fixed an error when rolling back a transaction that did not execute begin (#166)

v6.1.1

11 Dec 04:52
ab974df
Compare
Choose a tag to compare

Fixed

Bug where auth and session pool writing to the same file may cause race condition (#152)