Skip to content

Commit ebc9923

Browse files
authored
Merge pull request #341 from networktocode/release-2.2.2
Release v2.2.2
2 parents fe6b710 + 544cc57 commit ebc9923

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

diffsync/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ def __new__(cls, **kwargs): # type: ignore[no-untyped-def]
488488
for key, value in kwargs.items():
489489
try:
490490
meta_kwargs[key] = deepcopy(value)
491-
except (TypeError, AttributeError):
491+
except Exception: # pylint: disable=broad-exception-caught
492492
# Some objects (e.g. Kafka Consumer, DB connections) cannot be deep copied
493493
meta_kwargs[key] = value
494494
instance = super().__new__(cls)

docs/admin/release_notes/version_2.2.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,9 @@ Remove Python 3.9 support as it's EOL.
1818

1919
- [#321](https://github.com/networktocode/diffsync/issues/321) - Fixed CI release workflow.
2020
- Rebaked from the cookie `main`.
21+
22+
## [v2.2.2 (2026-03-11)](https://github.com/networktocode/diffsync/releases/tag/v2.2.2)
23+
24+
### Fixed
25+
26+
- [#339](https://github.com/networktocode/diffsync/issues/339) - Fixed bug with deepcopy in dunder new.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "diffsync"
3-
version = "2.2.1"
3+
version = "2.2.2"
44
description = "Library to easily sync/diff/update 2 different data sources"
55
authors = ["Network to Code, LLC <info@networktocode.com>"]
66
license = "Apache-2.0"

0 commit comments

Comments
 (0)