Networktocode Diffsync Versions Save

A utility library for comparing and synchronizing different datasets.

v2.0.0

3 months ago

v2.0.0 - 2023-02-01

This is a major release because of two breaking API changes, there are no new features in this release (although one could consider the enabling of Pydantic 2.0 usage a feature).

Changed

  • #242/#262 - Renames diffsync.DiffSync to diffsync.Adapter
  • #240 - Migration to Pydantic 2

v1.10.0

6 months ago

v1.10.0 - 2023-11-16

Fixed

  • #249 - Fixes natural deletion order flag
  • #247 - Fixes underspecified typing_extensions dependency

Changed

  • #247 - Deprecates Python 3.7

v1.9.0

7 months ago

Added

  • #220 - Implement DiffSyncModelFlags.NATURAL_DELETION_ORDER.

Changed

  • #219 - Type hinting overhaul

v1.8.0

1 year ago

Added

  • #182 - Added get_or_add_model_instance() and update_or_add_model_instance() APIs.
  • #189 - Added note in README.md about running invoke tests.
  • #190 - Added note in README.md about running invoke build.

Changed

  • #77/#188 - sync_from() and sync_to() now return the Diff that was applied.
  • #211 - Loosened packaging and structlog library dependency constraints for broader compatibility.

v1.7.0

1 year ago

Changed

  • #176 - Remove pytest-redislite in favor of pytest-redis.
  • #174 - Update Dockerfile to install build-essential

Added

  • #174 - Add methods to load data from dictionary and enable tree traversal
  • #174 - Add a get_or_none method to the DiffSync class
  • #168 - Add 'skip' counter to diff.summary()
  • #169/#170 - Add documentation about model processing order
  • #121/#140 - Add and configure renovate
  • #140 - Add renovate configuration validation to the CI

Fixed

  • #149 Limit redundant CI concurrency

v1.6.0

1 year ago

v1.6.0 - 2022-07-09

Changed

  • #120 - Dropped support for Python 3.6, new minimum is Python 3.7

v1.5.1

1 year ago

v1.5.1 - 2022-06-30

Added

  • #111 - Added example 6, regarding IP prefixes.

Changed

  • #107 - Updated example 5 to use the Redis backend store.

Fixed

  • #115 - Fixed ReadTheDocs rendering pipeline
  • #118 - Fixed a regression in DiffSync.get(modelname, identifiers) introduced in 1.5.0

v1.5.0

1 year ago

v1.5.0 - 2022-06-07

Added

  • #106 - Add a new, optional, backend store based in Redis

v1.4.3

2 years ago

Fixed

  • #101 - Revert changed introduced in #90 that affected DiffElement.action

NOTE: this change is a breaking change against DiffSync 1.4.0 through 1.4.2, but was necessary to restore backward compatibility with DiffSync 1.3.x and earlier. Apologies for any inconvenience this causes.

Changed

  • #103 Update development dependencies

v1.4.2

2 years ago

WARNING - #90 inadvertently introduced a breaking API change in DiffSync 1.4.0 through 1.4.2 (#101); this change was reverted in #102 for DiffSync 1.4.3 and later. We recommend not using this release, and moving to 1.4.3 instead.

Fixed

  • #100 - Added explicit dependency on packaging.