Releases: GoogleCloudPlatform/cloud-spanner-emulator
v1.5.28
v1.5.27
v1.5.26
Bug Fixes
- ALTER DATABASE ddl version_retention_period option not supported: https://github\.com/GoogleCloudPlatform/cloud\-spanner\-emulator/issues/27
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
2024-10-30
New Features
-
Added support for
pg_am
,pg_attrdef
,pg_class
,pg_index
,pg_namespace
,pg_sequence
, andpg_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
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
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
v1.5.20
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
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.