Skip to content

v5.0.0 (Laravel 10)

Compare
Choose a tag to compare
@taka-oyama taka-oyama released this 05 Apr 01:49
· 152 commits to master since this release

Updated composer.json to only support laravel 10

Fixed

Changed

  • Checks that primary key is defined in schema and throws an exception if not defined. (#58)
  • Colopl\Spanner\Session has been renamed to Colopl\Spanner\SessionInfo.
  • Blueprint::stringArray's $length parameter is now optional and defaults to 255.
  • Auth and session pool no longer use the custom FileCacheAdapter and uses Symfony's FilesystemAdapter instead. (#63)
  • Path for auth and session pool files have moved from storage/framework/cache/spanner to storage/framework/spanner/{auth|session}. (#63)
  • Default Session Not Found Error Mode was changed from MAINTAIN_SESSION_POOL to CLEAR_SESSION_POOL (wasn't fully confident at the time, but I think it should be safe to assume it's working now).
  • Schema\Builder::getAllTables() now returns rows with name and type fields instead of list of strings (was implemented incorrectly). (#73)
  • Exception previously thrown in Query/Builder for sharedLock, lockForUpdate, insertGetId was moved to Query/Grammar. (#76)
  • Query/Builder::lock will now throw BadMethodCallException if called. Was ignored in previous versions. (#76)
  • [Breaking Change] Commands are now only avaiable in cli mode (#81)
  • Connections will now be closed after every job has been processed in the queue. (#80)

Refactored

  • Rollback handling has been refactored to better readability. (#79)