Skip to content

Releases: MerginMaps/db-sync

2.1.1

04 Sep 10:46
Compare
Choose a tag to compare
  • Fix failure to start when notifications were not enabled
  • Fix Docker container

2.1.0

01 Sep 15:21
Compare
Choose a tag to compare
  • Optionally send notification emails on sync failure (#56)

2.0.1

17 Jul 11:53
Compare
Choose a tag to compare
  • Do not stop sync after a temporary network/server issue (#124)
  • Clean up temporary files in the .mergin folder (#52)

2.0

01 Jun 13:59
Compare
Choose a tag to compare
2.0

This is a major release with many improvements aiming towards better robustness and ease of use.

We are starting to provide a Windows executable (#99) that can be used from terminal,
so that Windows users do not need to worry about Docker or manual compilation anymore!

  • Minor changes in the YAML configuration file (#98):

    • New required entry: init_from specifies whether the initialization is done from a database (db)
      or from a GeoPackage in a Mergin Maps project (gpkg). Previously this was specified on the command
      line when running the tool.
    • Removed entries: geodiff_exe (now using geodiff from PATH) and working_dir (now using TEMP/dbsync)
  • Much easier way to restart synchronization (when the data schema has changed, or when initialization failed) - simply
    add --force-init command line option to let db-sync do the cleanup (#16)

  • Configuration file can be specified on command line instead of the default config.yaml (#97)

  • Logging improvements

    • Make it possible to log to a file (--log-file <filename>) and configure verbosity (--log-verbosity WARNING)
    • Write output to standard error stream instead of standard output (#91)
    • Avoid printing database passwords in the outputs (#108)
  • Robustness fixes and improvements

    • Check that PostGIS extension is available on init (#113)
    • Clean up database if initialization fails (#90, #95)
    • Quote schema names correctly, e.g. when using upper case characters (#54)
    • Use project ID to check that the project is the same (#76)
    • Handle push errors to avoid broken sync (#60)
    • Warn if the working dir exists but it is empty on init (#75)
    • Provide better error messages
  • Infrastructure improvements:

    • Documentation improvements
    • Set up continuous integration to run tests (#8)
    • Fix versions of py-client and geodiff (#92)
    • Unified code formatting

1.1.2

18 Oct 09:39
Compare
Choose a tag to compare
  • Fixed increasing memory consumption (#78)

1.1.1

10 Aug 13:54
Compare
Choose a tag to compare
  • Fixed an error in "skip tables" functionality (#73)

1.1.0

08 Aug 14:22
c21bcd3
Compare
Choose a tag to compare

New features:

  • Support for skipping table(s) within a schema, so users do not need to sync the whole schema (#62)
  • Support for running multiple projects (connections) within one docker command (#66)
  • Fixed support for UUID, decimal, numeric, char(N) and character(N) data types

Changes:

  • Configuration has been changed - please see README.md for examples how to run it

1.0.7

17 Jun 07:51
Compare
Choose a tag to compare
  • Updated public server URL (#63)
  • Updated to mergin-client 0.7.3

1.0.6

14 Oct 08:12
Compare
Choose a tag to compare
  • Updated to geodiff 1.0.4 and mergin-client 0.6.5 (#50)

1.0.5

09 Jun 15:15
Compare
Choose a tag to compare
  • Switched to geodiff 1.0 and mergin-client 0.6 (#49)
  • Robustness improvement: mark base schema as invalid if init fails (#46)