@@ -101,6 +101,15 @@ still works exactly the same way. What 2.0.0 adds on top of that:
101101 family is now preserved. Closes `issue #95
102102 <https://github.com/timlnx/bitmath/issues/95> `_.
103103
104+ **Windows device capacity **
105+ :func: `bitmath.query_device_capacity ` now works on Windows via
106+ ``DeviceIoControl ``. Open the device as
107+ ``open(r'\\.\PhysicalDrive0', 'rb') `` (administrator privileges
108+ required). Unsupported platforms raise :exc: `NotImplementedError `.
109+ The new :data: `bitmath.SUPPORTED_PLATFORMS ` constant lists all
110+ platforms where the function is available. Closes `issue #52
111+ <https://github.com/timlnx/bitmath/issues/52> `_.
112+
104113**Flexible string parsing **
105114 :func: `bitmath.parse_string ` with ``strict=False `` accepts
106115 ambiguous input such as ``"1g" `` or ``"1GB" `` and resolves it to
@@ -124,8 +133,8 @@ projects are actually maintained in 2026:
124133 ``pyproject.toml ``.
125134
126135**GitHub Actions **
127- CI now runs against Python 3.11, 3.12, and 3.13 on both Ubuntu and
128- macOS , with actions pinned to current versions (``checkout@v4 ``,
136+ CI now runs against Python 3.9 through 3.13 on Ubuntu, macOS, and
137+ Windows , with actions pinned to current versions (``checkout@v6 ``,
129138 ``setup-python@v5 ``). Tests run on every pull request, not just
130139 pushes.
131140
@@ -151,7 +160,7 @@ bitmath started as a small passion project of mine. A utility for
151160thinking about and clearly expressing file sizes, and that's still
152161exactly what it is. This 2.0.0 release doesn't change what the library
153162does. What I've done is change the very foundation that it's built
154- on. The test suite sits at 288 tests and 100 % coverage. The
163+ on. The test suite sits at 294 tests and 99 % coverage. The
155164documentation has been comprehensively reviewed and updated. The
156165packaging is clean enough to pass ``twine check `` on the first attempt
157166(well, the second).
0 commit comments