Summary of improvements:
- When using the Python API, the returned diff object is now lazy, instead of eager. That means that when iterating over the diff, the diffing threads will idle, and only make requests to the database as necessary to produce the next item.
- Added a context manager for the diff, that terminates the thread when exited. (or users may call close() manually)
- Bugfix: Fixed support for duplicate rows
- Small performance improvements in some cases
Thank you to our new contributors, for helping Reladiff grow and mature.
What's Changed
* Diff is now lazy, not eager. Added a close() method to DiffResultWrapper by erezsh in https://github.com/erezsh/reladiff/pull/38
* Added context manager for diff; Also added docs and tests by erezsh in https://github.com/erezsh/reladiff/pull/39
* Fix idling mechanism for lazy pooling by erezsh in https://github.com/erezsh/reladiff/pull/40
* Bugfix: Fixed support for duplicate rows (Issue 43) by erezsh in https://github.com/erezsh/reladiff/pull/44
* Add option to skip sorting in hashdiff for improved performance by alex-mirkin in https://github.com/erezsh/reladiff/pull/45
* allow to disable duplicate rows support with assume-unique-key by alex-mirkin in https://github.com/erezsh/reladiff/pull/47
* update docs by alex-mirkin in https://github.com/erezsh/reladiff/pull/48
* Upgrade sqeleton to 0.1.7, and update versions by erezsh in https://github.com/erezsh/reladiff/pull/59
* Allow to initialize connection externally (reuse same connection) by vmatt in https://github.com/erezsh/reladiff/pull/62
* Update hashing snippet to use updated_at column to match explanation by tmastny in https://github.com/erezsh/reladiff/pull/65
* Update poetry.lock + github actions by erezsh in https://github.com/erezsh/reladiff/pull/66
* Bump to version 0.6.0 by erezsh in https://github.com/erezsh/reladiff/pull/67
New Contributors
* alex-mirkin made their first contribution in https://github.com/erezsh/reladiff/pull/45
* vmatt made their first contribution in https://github.com/erezsh/reladiff/pull/62
* tmastny made their first contribution in https://github.com/erezsh/reladiff/pull/65
**Full Changelog**: https://github.com/erezsh/reladiff/compare/v0.5.3...v0.6.0