You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+18-3Lines changed: 18 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,26 @@ Please note that compatibility for 0.x releases (software or repositories) isn't
4
4
5
5
_When adding new entries to the changelog, please include issue/PR numbers wherever possible._
6
6
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
8
24
9
25
- 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)
11
27
- 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)
12
28
- 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)
13
29
- 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
19
35
- 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)
20
36
-`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)
21
37
- 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)
23
38
- Upgrade libgit2 to v1.6.4, pygit2 to v1.12.1 (plus Kart-specific changes). [#868](https://github.com/koordinates/kart/pull/868)
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,27 +7,27 @@
7
7
8
8
## Installing
9
9
10
-
### Upgrading to v0.12.3
10
+
### Upgrading to v0.13.0
11
11
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.
13
13
14
14
### Windows
15
15
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).
17
17
18
18
> 💡 If Windows Defender SmartScreen says "it prevented an unrecognized app from starting" after downloading, you'll need to click "Run anyway".
19
19
20
20
### macOS
21
21
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);
23
23
24
24
Or use [Homebrew](https://brew.sh) to install: `brew install koordinates/kart/kart`
25
25
26
26
### Linux
27
27
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`.
29
29
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`.
0 commit comments