Skip to content

Prepare wfdb 6.0.0 release - #925

Merged
tompollard merged 1 commit into
mainfrom
release/wfdb-6.0.0
Dec 4, 2026
Merged

tompollard merged 1 commit into
mainfrom
release/wfdb-6.0.0

Conversation

@tompollard

Copy link
Copy Markdown
Member

Summary

Prepare wfdb 6.0.0 from merged #923 and #924. This bumps the package version, collects both changelog fragments, and puts the read_record return-type change at the top of the release notes. The migration guide from #924 remains the reference for changing 5.x calls.

The demo notebook now runs against the 6.0 API: it uses read_record(..., layout=...), accesses RecordData.signals and metadata, and uses read_segments for uncombined segments. Its plot_wfdb examples convert to a legacy Record because that plotting function still expects one.

Breaking changes

  • read_record now returns RecordData; use rdrecord for mutable Record or MultiRecord objects.
  • read_signals and the public SignalRead aliases are removed. Use read_record and RecordData.
  • Use read_segments for uncombined segments. read_record always combines them.
  • Header decoding and comment parsing preserve text that earlier releases could drop or alter (Preserve Unicode and comment text in WFDB headers #923). See the release notes for the UTF-8 and Latin-1 behavior.

The legacy API remains available in 6.0. This PR does not tag or publish the release.

Checks

  • Offline tests: 2,371 passed, 4 skipped, 23 network tests deselected.
  • Ruff check and format check passed.
  • Sphinx documentation built with warnings as errors.
  • Every offline code cell in demo.ipynb ran successfully with the 6.0 API.
  • uv build produced wfdb-6.0.0.tar.gz and wfdb-6.0.0-py3-none-any.whl; the wheel metadata reports version 6.0.0.

After this PR is merged and CI passes, publish a v6.0.0 GitHub release from the merge commit. The publish workflow will then build from that tag and upload to PyPI.

@tompollard
tompollard merged commit 8a15d1f into main Dec 4, 2026
19 checks passed
@tompollard
tompollard deleted the release/wfdb-6.0.0 branch December 4, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant