Skip to content

v0.7.1

Choose a tag to compare

@alxmrs alxmrs released this 17 Nov 05:05
447791a

xarray-sql 0.7.1 fixes prepared queries that could return stale rows.

Fixes

  • A prepared query no longer returns stale rows after a table it reads only in a subquery (IN (SELECT ...), EXISTS (...) or a scalar subquery) is registered again, or after a view it reads is replaced or dropped. A call now raises, asking you to prepare the query again, as it already did for a table it reads directly (#319, #320).
  • CREATE OR REPLACE VIEW and DROP VIEW now count as changes to a view, as CREATE OR REPLACE TABLE and DROP TABLE already count for a table (#320).

Maintenance

  • The development lockfiles have been updated past open security advisories, two of them critical (certifi, anyio). xarray-sql's own requirements are unchanged (#317, #318).