Skip to content

v0.13.0

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Jun 02:27
· 343 commits to master since this release

Major fix: Corruption of Postgres NUMERIC values

⚠️ This release fixes a bug causing corruption of NUMERIC fields when read from Postgres databases. #863

If your repositories use the NUMERIC or NUMERIC(a,b) types and were imported/committed from a Postgres source or working copy, you may have lost data.

Specifically, any numeric values with a scale of zero (no digits after the decimal point) were affected. If the only numerics in your repositories were defined with a scale greater than zero, no data corruption should have occured.

For example, a value of 100 in a postgres database with the type NUMERIC(10, 0) or NUMERIC would have been imported as 1 - losing its trailing zeroes.

However, a value of 100.0 in a field declared as NUMERIC(10, 1) would not have been affected.

Other data types (integer, floating-point etc) are not affected, and repos sourced from other SQL databases (Geopackage, MSSQL, MySQL) were not affected.

Other changes

  • Allow kart to import non-spatial tables from PostgreSQL databases which don't have postGIS extension installed. #728
  • PostgreSQL working copy no longer requires PostGIS for aspatial datasets. #729
  • Fixes a bug where the current spatial filter isn't stored in the filesystem working copy, affecting the spatial filtering of point cloud datasets. #833
  • Fixes pthread_key leaks in a long running Kart process due to repeated loading and unloading of mod_spatialite. #838
  • Fixes a bug where features are written to the working copy without their CRS identifier during kart resolve. #840
  • Drop CI testing of amazonlinux:2, replace with amazonlinux:2023. #838
  • Point clouds (or rasters): during import, require the user to choose if they want to make a "cloud-optimized" dataset or a "preserve-format" dataset. #842
  • Point clouds (or rasters): require --no-convert-to-dataset-format to add new tiles to a dataset that can be committed as-is but only if the dataset's format is changed. Note --convert-to-dataset-format works as before. #842
  • Allow kart to check out attached files into the file-based working copy.
  • Fixes a bug where tab-completion wasn't working with helper mode, affects macOS and Linux. #851
  • Fixes a bug where git-lfs (and potentially other subprocesses) wasn't working reliably with helper mode, affects macOS and Linux. #853
  • import now informs the user to use add-dataset instead if they try to import a table that is already inside the working copy. #249
  • Fixes a bug where datasets with no CRS couldn't be checked out into a Geopackage working copy. #855
  • Upgrade libgit2 to v1.6.4, pygit2 to v1.12.1 (plus Kart-specific changes). #868