Skip to content

Releases: networktocode/diffsync

Version 1.4.2

28 Feb 15:52
00891f5
Compare
Choose a tag to compare

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.

Version v1.4.1

26 Jan 20:27
d061cca
Compare
Choose a tag to compare

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

  • #95 Fix dependencies for (pydantic and structlog) & remove extra docs from pyproject

Version v1.4.0

25 Jan 14:49
c3bc0f5
Compare
Choose a tag to compare

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

Added

  • #53 - Add a new example based on pynautobot and Nautobot REST API
  • #59 - Add proper documentation published in Read the doc
  • #68 - Cleanup Readme, add link to new documentation site
  • #70 - Add add_or_update() method to DiffSync class that requires a DiffSyncModel to be passed in and will attempt to add or update an existing object
  • #72 - Add core engine section in docs and rename example directories
  • #75 - Add support for Structlog v21 in addition to v20.
  • #80 - Add support for an existing Diff object to be passed to sync_to() & sync_from() to prevent another diff from being calculated.
  • #81 - Add a new example based on PeeringDB
  • #83 - Add support for Python 3.10
  • #87 - Add new model flags : SKIP_UNMATCHED_BOTH, SKIP_UNMATCHED_SRC & SKIP_UNMATCHED_DST to match the behavior of the global flags

Changed

  • #62 - Update CI Token
  • #69 - Replace Travis CI with Github Actions to run unit tests
  • #82 - Update lock file with latest versions.
  • #90 - Convert list of actions (create, update, delete) to proper Enum

Fixed

Version 1.3.0

30 Apr 18:53
Compare
Choose a tag to compare

Added

  • #48 - added optional callback argument to diff_from/diff_to/sync_from/sync_to for use with progress reporting.

Version 1.2.0

09 Dec 13:59
Compare
Choose a tag to compare

Added

  • #45 - minimum Python version lowered from 3.7 to 3.6, also now tested against Python 3.9.

Version 1.1.0

01 Dec 16:07
Compare
Choose a tag to compare

Added

  • #37 - added sync_complete callback, triggered on sync_from completion with changes.
  • #41 - added summary API for Diff and DiffElement objects.
  • #44 - added set_status() and get_status() APIs so that DiffSyncModel implementations can provide details for create/update/delete logging

Changed

  • Now requires Pydantic 1.7.2 or later
  • #34 - in diff dicts, changed keys src/dst/_src/_dst to - and +
  • #43 - DiffSync.get_by_uids() now raises ObjectNotFound if any of the provided uids cannot be located; DiffSync.get() raises ObjectNotFound or ValueError on failure, instead of returning None.

Fixed

  • #44 - On CRUD failure, do not generate an extraneous "success" log message in addition to the "failed" message

Version v1.0.0

26 Oct 14:35
a71617f
Compare
Choose a tag to compare

initial public release