Skip to content

Commit 2f7a6a5

Browse files
committed
Adds changelog for v4.2.0.
1 parent ce702cb commit 2f7a6a5

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

docs/changes.rst

+31
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,37 @@ This page lists recent changes in the `wfdb` package (since version 4.0.0) that
55

66
.. _development repository: https://github.com/MIT-LCP/wfdb-python
77

8+
Version 4.2.0 (Jan 2025)
9+
-----------------------------
10+
11+
**Add support for Numpy 2.0**
12+
Fixes were added to address [changes to type promotion](https://numpy.org/devdocs/numpy_2_0_migration_guide.html#changes-to-numpy-data-type-promotion) that led to overflow errors (e.g. https://github.com/MIT-LCP/wfdb-python/issues/493).
13+
14+
**Fix UnboundLocalError in GQRS algorithm**
15+
Fixes the GQRS algorithm to address an `UnboundLocalError`.
16+
17+
**Support write directory in `csv_to_wfdb`**
18+
`write_dir` can now be specified when calling `csv_to_wfdb`.
19+
20+
**Use uv for for package management**
21+
Moves package management from poetry to uv.
22+
23+
**Fix misordered arguments in `util.lines_to_file`**
24+
Fixes misordered arguments in `util.lines_to_file`.
25+
26+
**Allow signals to be written with unique samples per frame**
27+
Adds capability to write signal with unique samps_per_frame to `wfdb.io.wrsamp`.
28+
29+
**Allow expanded physical signal in `calc_adc_params`**
30+
Updates `calc_adc_params` to allow an expanded physical signal to be passed. Previously only a non-expanded signal was allowed.
31+
32+
**Allow selection of channels when converting to EDF**
33+
Fixes the `wfdb-to_edf()` function to support an optional channels argument.
34+
35+
**Miscellaneous style and typing fixes**
36+
Various fixes were made to code style and handling of data types.
37+
38+
839
Version 4.1.2 (June 2023)
940
-----------------------------
1041

0 commit comments

Comments
 (0)