Repository navigation
Releases
v0.16.0
Diffs from Db2, SQL Server and SAP ASE to PostgreSQL are faster than in 0.14.0, and two correctness gaps are closed. No checksum value changed.
Added
- Each release attaches
SHA256SUMS, an SPDX SBOM (sbom.spdx.json) and a signed build-provenance attestation. See "Verifying a release" in the README. - Each pull request builds the wheel, installs it with its database extras in a clean virtual environment, and runs a diff with it. The release runs the same check on the files it publishes.
Fixed
- SQL Server
numericcolumns are typed asDecimal, likedecimal. They wereUnknownColType, so a diff into SQL Server with anumericcolumn raisedTypeError, anumerickey raisedNotImplementedError, and a lower scale on the other side showed false differences. The "no compatibility handling" warning for these columns is gone. This isn't a speed change. - Db2 and PostgreSQL leaves tell
'a|b','c'from'a','b|c'. Leaf row hashes length-prefix text columns that can hold|, so a moved separator is reported when its segment is compared by leaf. When the hash input of a Db2 row would pass 32,672 bytes (SQL0137N), the leaf downloads every row. Each leaf query costs 4-7% more, within the measured noise. - The CLI failed at import on a clean install of 0.15.0 (
PydanticUserError: regex is removed). pip installed pydantic 2, and the dbt and Datafold modules use the pydantic 1 API. The dependency is nowpydantic>=1.10.12,<2. The Python API wasn't affected. --bisection-factorand--bisection-thresholdcrashed hashdiff withTypeError: '>=' not supported between instances of 'int' and 'str', because the CLI passed them as text. Both are now integers. This came from upstream data-diff.
Performance
Full diff_tables() calls to PostgreSQL on the matched rig (4 pinned vCPUs and 4 GB per database, N_THREADS=4), 0.14.0 (7f4ad77) against c1724ba, median of 5 alternating runs from dev/perf/ab.py, median noise 6%. 26 of 27 combinations of fact_2x, fact_13x and oltp_order_line with identical, updated and deleted rows are faster, by 30.5% to 72.8% beyond twice their noise. Db2 fact_2x identical had 27% noise, so it isn't a result. The README has the table. Most of this is 0.15.0's work, measured now against 0.14.0 with the same rig; F1 and F2 add no measured gain.
Compatibility
- Checksums: no checksum value changed. Only a false difference at a lower
numericscale goes away. - Types: SQL Server
numeric(p,s)isDecimal(precision=s)instead ofUnknownColType. - Tested with PostgreSQL 18.6, SQL Server 2025 CU9, Db2 12.1.5.0, SAP ASE 16.1 SP00 PL02 and MySQL 8.4.13, on Python 3.9, 3.10 and 3.11.
- Upgrade note: code that caught
TypeErrororNotImplementedErrorfromnumericcolumns in SQL Server no longer sees them. - Known limit: the moved
|is still missed in checksums and inRowHashDiffer, which keep their row hash, so a segment abovebisection_thresholdwhose only difference is a moved|isn't flagged.
v0.15.0
What's Changed
- Keep gh login and Claude sessions in WSL, and add /hello and /shutting-down by @bill-ramos-rmoswi in #7
- Add a retrospective, workflow skills, low-cost agents and a phased one-shot prompt by @bill-ramos-rmoswi in #8
- Note the fewer-casts experiment in technical-explanation.md by @bill-ramos-rmoswi in #9
- Fewer-casts post-mortem, /orchestrate, progress visibility and a matched benchmark rig by @bill-ramos-rmoswi in #10
- Fix rig.py apply on SQL Server and ASE, and its Db2 and noise checks by @bill-ramos-rmoswi in #11
- Faster Db2, SQL Server and ASE to PostgreSQL diffs: thread pool, bounded SQL Server hash, leaf row hashes by @bill-ramos-rmoswi in #12
- chore: release 0.15.0 by @bill-ramos-rmoswi in #13
Full Changelog: v0.14.0...v0.15.0
v0.14.0
What's Changed
- Compare large values by digest, and add the rowhash algorithm by @bill-ramos-rmoswi in #5
- Use archive.ubuntu.com when the runners' Azure mirror doesn't resolve by @bill-ramos-rmoswi in #6
Full Changelog: v0.13.0...v0.14.0
v0.13.0
What's Changed
- Add SAP Sybase ASE as a source and target (0.13.0) by @bill-ramos-rmoswi in #3
Full Changelog: v0.12.0...v0.13.0
v0.12.0
What's Changed
- Add Db2 12.1 support, devcontainer, and fork CI/CD by @bill-ramos-rmoswi in #1
New Contributors
- @bill-ramos-rmoswi made their first contribution in #1
Full Changelog: https://github.com/bill-ramos-rmoswi/data-diff/commits/v0.12.0