Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 01:04

Major changes in this release

  • The working copy can now be a PostgreSQL / PostGIS database (previously only GPKG working copies were supported). The commands init, clone and create-workingcopy now all accept working copy paths in the form postgresql://[HOST]/DBNAME/SCHEMA #267
    • Read the documentation at docs/POSTGIS_WC.md
  • Newly created Sno repositories no longer have git internals visible in the main folder - they are hidden away in a '.sno' folder. #147
  • Patches that create or delete datasets are now supported in Datasets V2 #239

Minor features / fixes:

  • apply and import no longer create empty commits unless you specify --allow-empty #243, #245
  • apply can now apply patches to branches other than HEAD #294
  • apply, commit and merge commands now optimise repositories after committing, to avoid poor repo performance. #250
  • commit now checks that the diff to be committed matches the schema, and rejects diffs that do not - this is possible in working copy formats that have relatively lax type enforcement, ie GPKG #300
  • Added GPKG support for Sno types that GPKG doesn't support - they are approximated as strings. #304
  • schema.json no longer stores attributes that are null - a missing attribute has the same meaning as that attribute being present and null. #304
  • data ls now accepts an optional ref argument
  • meta get now accepts a --ref=REF option
  • clone now accepts a --branch option to clone a specific branch.
  • switch BRANCH now switches to a newly created local branch that tracks BRANCH, if BRANCH is a remote branch and not a local branch #259
  • gc command added (delegates to git gc)
  • Bugfix - don't drop the user-supplied authority from the supplied CRS and generate a new unrelated one. #278
  • Bugfix - generated CRS numbers are now within the user range: 200000 to 209199 #296