Skip to content

Commit 7099c21

Browse files
committed
Release v0.13.0
1 parent 60b62bf commit 7099c21

File tree

3 files changed

+25
-10
lines changed

3 files changed

+25
-10
lines changed

CHANGELOG.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,26 @@ Please note that compatibility for 0.x releases (software or repositories) isn't
44

55
_When adding new entries to the changelog, please include issue/PR numbers wherever possible._
66

7-
## 0.12.4 (UNRELEASED)
7+
## 0.13.0
8+
9+
### Major fix: Corruption of Postgres NUMERIC values
10+
11+
⚠️ This release fixes a bug causing corruption of NUMERIC fields when read from Postgres databases. [#863](https://github.com/koordinates/kart/issues/863)
12+
13+
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.
14+
15+
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.
16+
17+
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.
18+
19+
However, a value of 100.0 in a field declared as NUMERIC(10, 1) would not have been affected.
20+
21+
Other data types (integer, floating-point etc) are not affected, and repos sourced from other SQL databases (Geopackage, MSSQL, MySQL) were not affected.
22+
23+
### Other changes
824

925
- Allow kart to import non-spatial tables from PostgreSQL databases which don't have postGIS extension installed. [#728](https://github.com/koordinates/kart/issues/728)
10-
- PostgreSQL working copy no longer requires PostGIS for aspatial datasets. [#729] (https://github.com/koordinates/kart/issues/729)
26+
- PostgreSQL working copy no longer requires PostGIS for aspatial datasets. [#729](https://github.com/koordinates/kart/issues/729)
1127
- 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](https://github.com/koordinates/kart/pull/833)
1228
- Fixes pthread_key leaks in a long running Kart process due to repeated loading and unloading of mod_spatialite. [#838](https://github.com/koordinates/kart/pull/838)
1329
- Fixes a bug where features are written to the working copy without their CRS identifier during `kart resolve`. [#840](https://github.com/koordinates/kart/issues/840)
@@ -19,7 +35,6 @@ _When adding new entries to the changelog, please include issue/PR numbers where
1935
- Fixes a bug where git-lfs (and potentially other subprocesses) wasn't working reliably with helper mode, affects macOS and Linux. [#853](https://github.com/koordinates/kart/issues/853)
2036
- `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](https://github.com/koordinates/kart/issues/249)
2137
- Fixes a bug where datasets with no CRS couldn't be checked out into a Geopackage working copy. [#855](https://github.com/koordinates/kart/issues/855)
22-
- Fixes a bad data-loss bug where whole-number numerics read from a Postgres database were losing trailing zeroes (eg 100 was read as 1). [#863](https://github.com/koordinates/kart/issues/863)
2338
- Upgrade libgit2 to v1.6.4, pygit2 to v1.12.1 (plus Kart-specific changes). [#868](https://github.com/koordinates/kart/pull/868)
2439

2540
## 0.12.3

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@
77

88
## Installing
99

10-
### Upgrading to v0.12.3
10+
### Upgrading to v0.13.0
1111

12-
See the [v0.12.3 release notes](https://github.com/koordinates/kart/releases/tag/v0.12.3) for changes, upgrading, and compatibility notes.
12+
See the [v0.13.0 release notes](https://github.com/koordinates/kart/releases/tag/v0.13.0) for changes, upgrading, and compatibility notes.
1313

1414
### Windows
1515

16-
Download the .msi installer from the [release page](https://github.com/koordinates/kart/releases/tag/v0.12.3).
16+
Download the .msi installer from the [release page](https://github.com/koordinates/kart/releases/tag/v0.13.0).
1717

1818
> 💡 If Windows Defender SmartScreen says "it prevented an unrecognized app from starting" after downloading, you'll need to click "Run anyway".
1919
2020
### macOS
2121

22-
Download the .pkg installer from the [release page](https://github.com/koordinates/kart/releases/tag/v0.12.3);
22+
Download the .pkg installer from the [release page](https://github.com/koordinates/kart/releases/tag/v0.13.0);
2323

2424
Or use [Homebrew](https://brew.sh) to install: `brew install koordinates/kart/kart`
2525

2626
### Linux
2727

28-
For Debian/Ubuntu-based distributions, download the .deb package from the [release page](https://github.com/koordinates/kart/releases/tag/v0.12.3) and install via `dpkg -i kart_*.deb`.
28+
For Debian/Ubuntu-based distributions, download the .deb package from the [release page](https://github.com/koordinates/kart/releases/tag/v0.13.0) and install via `dpkg -i kart_*.deb`.
2929

30-
For RPM-based distributions, download the .rpm package from the [release page](https://github.com/koordinates/kart/releases/tag/v0.12.3) and install via `rpm -i kart-*.rpm`.
30+
For RPM-based distributions, download the .rpm package from the [release page](https://github.com/koordinates/kart/releases/tag/v0.13.0) and install via `rpm -i kart-*.rpm`.
3131

3232
### Source
3333

kart/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.13.0rc3
1+
0.13.0

0 commit comments

Comments
 (0)