Skip to content

Releases: GoogleCloudPlatform/cloud-spanner-emulator

v1.5.28

13 Dec 11:05
7ad3d59
Compare
Choose a tag to compare

New Feature

  • Enable identity columns, sequence clauses, and `default_sequence_kind` in Emulator.

v1.5.27

13 Dec 08:54
d3e265a
Compare
Choose a tag to compare

Significant Changes

  • Allow PRIMARY KEY to be inlined in a single column on CREATE TABLE.

v1.5.26

13 Dec 08:53
0084b2c
Compare
Choose a tag to compare

Bug Fixes

New Feature

  • schema support for NOT ENFORCED option on foreign keys

  • Add CHANGE_STREAM_PARTITION_TOKEN_ALIVE_SECONDS env variable to enable overriding the default partition token alive time(20-40 seconds) on Emulator.

  • Implement informational foreign key's data validation

Significant Changes

Block order for the token_list_key when parsing CREATE SEARCH INDEX ddl.

v1.5.25

31 Oct 22:48
7f22a69
Compare
Choose a tag to compare

2024-10-30

New Features

  • Added support for pg_am, pg_attrdef, pg_class, pg_index, pg_namespace, pg_sequence, and pg_sequences pg_catalog tables.

  • Add parsing support for enforcement option in foreign key DDL.

  • Upgrade ZetaSQL dependency to 2024.06.1.

  • Added support for named schemas.

Significant Changes

  • Release the full-text search feature on the Cloud Spanner Emulator.

v1.5.24

20 Sep 09:59
c756a43
Compare
Choose a tag to compare

New Features

  • PostgreSQL support for WHERE IS NOT NULL for indexes.
  • Add an --override_max_databases_per_instance flag to override the maximum number of databases per instance in the emulator.
  • fix an issue when using IF NOT EXISTS on sequences. Executing CREATE SEQUENCE IF NOT EXISTS would always reset the counter of the sequence, even if it already existed.
  • Add MAX_DATABASES_PER_INSTANCE environment variable to enable overriding the maximum number of databases per instance in the emulator when starting it from Docker.

v1.5.23

23 Aug 05:00
c25ad94
Compare
Choose a tag to compare

Bug Fixes

  • Fixed issue reported in #179.

  • Improve support for concurrent transactions in the emulator. This is done by randomly aborting the current transaction if a new transaction is requested. The probability of aborting the current transaction is controlled by a flag. This prevents the emulator from getting into an invalid state if the thread that holds the current transaction lock crashes. Fixes #137.

  • Fixed issue where adding a NOT NULL column as a stored column in an index fails.

New Feature

  • Add support for default sequence kind in CREATE SEQUENCE.

  • Support WHERE IS NOT NULL for indexes.

v1.5.22

25 Jul 06:32
d7f0559
Compare
Choose a tag to compare

New Feature

  • Enable returning in Emulator.

v1.5.20

24 Jul 12:26
b11a579
Compare
Choose a tag to compare

Bug Fixes

  • Allow untyped DATE and TIMESTAMP parameters.
  • When running a DML statement with a THEN RETURN clause, the returned columns would not be included in the metadata.
  • DML statements with a THEN RETURN clause did not return the modified row count when it was used with the ExecuteStreamingSql API.

New Feature

  • Support exclude_insert, exclude_update and exclude_delete for change stream.

Dependencies

  • Update Go toolchain to 1.21.11

v1.5.19

24 Jul 08:29
661769a
Compare
Choose a tag to compare

Bug Fixes

  • Fix query failures with proto parameters
  • Fix commit timestamp bug with generated columns

New Feature

  • Update metadata file from pg_catalog.columns table.
  • Add support for jsonb_array_elements
  • Support NEW_ROW_AND_OLD_VALUES value capture type for change stream.
  • Support vector_length for ARRAY column.
  • Enable float32 functions
  • Enable float32 in PostgreSQL dialect queries
  • Support FLOAT32 type in emulator
  • Add CALL statement support for system procedures to googleSQL
  • Add more PG catalog tables as empty tables. Tables with contents will be updated in later changes.
  • Support exclude_ttl_deletes for change stream.

Significant Changes

  • Add OID assignment for PG dialect databases.

v1.5.18

24 Jul 08:25
661769a
Compare
Choose a tag to compare

Bug Fixes

  • Fix system table handling in recent commit timestamp updates

New Feature

  • Enables ML TVFs in emulator.