Skip to content

Releases: colopl/laravel-spanner

v4.4.0

24 Jan 01:18
f14e67a
Compare
Choose a tag to compare

Added

  • feature: add spanner:cooldown command (#54)
  • feature: add --refresh option for spanner:warmup command (#57)
  • feature: support Schema\Builder::getAllTables() (#65)
  • feature: add --sort and --order option to spanner:sessions command (#67)

Fixed

  • fix: session clear was not working correctly on CLI sessions (#66)
  • chore: schema tests should always run since speed is no longer an issue (#64)

v4.3.0

04 Jan 07:46
Compare
Choose a tag to compare

Added

  • Support for default values in table columns.
  • Command spanner:sessions which will list the sessions on the server side.
  • Command spanner:warmup which warms up sessions upto minimum number set in config.
  • TransactionCommitting support has been added (NOTE: this is triggered only once at root on nested transactions).
  • Replace and drop row deletion policy methods for Schema Builder.
  • Action classes for interleave and index for IDE auto-completion.
  • Blueprint::interleaveInParent() was added and Blueprint::interleave() has been deprecated.
  • IndexDefinition::interleaveIn() was added and IndexDefinition::interleave() has been deprecated.

Fixed

  • Array Column's type now gets parsed in Schema/Grammar instead of at blueprint.

Chore

  • Unnecessary folder depth has been flattened.

v4.2.0

23 Aug 02:49
Compare
Choose a tag to compare

v4.2.0

Added

  • Colopl\Spanner\Query\Builder::truncate() is now implemented. (use to throw an error) (a171e90)

Fixed

  • Colopl\Spanner\Schema\Grammar::getDateFormat() now returns 'Y-m-d\TH:i:s.uP' instead of the default which does work correctly in Cloud Spanner. (43bffe6)
  • Colopl\Spanner\Schema\Grammar::wrapValue() has been extracted as trait, so it can be shared with Colopl\Spanner\Query\Grammar. (2f43479, ca8faa1)
  • Colopl\Spanner\Concerns\ManagesTransactions::handleBeginTransactionException() now matches return type of parent. (7c9b5c3)

v4.1.1

20 Jun 10:04
Compare
Choose a tag to compare
  • fix: Builder::partitionedDelete() had 1 argument defined which is never used. Thanks @oprudkyi!

v3.10.2

20 Jun 10:03
Compare
Choose a tag to compare
  • fix: Builder::partitionedDelete() had 1 argument defined which is never used.

v4.1.0

24 May 04:55
Compare
Choose a tag to compare
  • Added auto retry mechanism for session not found errors. (#39), thanks @oprudkyi.

v3.10.1

30 May 07:25
Compare
Choose a tag to compare
  • fix broken compatibility for version lower than 8.

v3.10.0

24 May 05:02
Compare
Choose a tag to compare
  • Fix some PhpStan errors.
  • Added auto retry mechanism for session not found errors. (#39), thanks @oprudkyi.

v4.0.0

15 Feb 07:56
Compare
Choose a tag to compare
  • updated composer.json to only support laravel 9
  • [breaking] feat: Query::insertGetId throws error now instead of returning the last value

v3.9.3

14 Jan 05:56
Compare
Choose a tag to compare
  • upgrade orchestra/testbench to v6 so laravel 8 can be installed in dev environments