Skip to content

Commit 01bb721

Browse files
authored
Merge pull request #111 from DCC-Lab/release/1.3.3
Prepare 1.3.3 release notes
2 parents 20a9d4c + 3f0e26a commit 01bb721

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,27 @@ API changes can land even when the minor version is unchanged.
66

77
## [Unreleased]
88

9+
## [1.3.3] - 2026-07-08
10+
11+
### Changed
12+
- Heavy third-party modules are now imported lazily, at their point of use,
13+
instead of at module load. `import hardwarelibrary` no longer pulls in
14+
`matplotlib` or `numpy` (import time drops from ~336 ms to ~59 ms); they load
15+
only when a plot is drawn or a spectrum is acquired. Affected: the
16+
spectrometers package (`SpectraViewer` deferred into `display()`/`displayAny()`,
17+
`numpy` into the methods that use it; `base.py` uses
18+
`from __future__ import annotations` for its `-> np.array` hint),
19+
`OscilloscopeDevice.displayWaveforms`, and the cameras module (`cv2`). Public
20+
APIs are unchanged. Two behavioral notes: importing `hardwarelibrary.cameras`
21+
no longer prints a warning when OpenCV is absent — a missing `cv2` now raises
22+
`ModuleNotFoundError` when a camera operation is invoked; and the unused
23+
matplotlib import block in `oceaninsight.py` was removed.
24+
25+
### Removed
26+
- Dead `from pyftdi.ftdi import Ftdi` imports in `SutterDevice` and `EchoDevice`
27+
(both were unused and flagged `# FIXME: should not be here`). FTDI access still
28+
goes through `SerialPort`, which owns the `pyftdi` dependency.
29+
930
## [1.3.2] - 2026-07-07
1031

1132
### Added

0 commit comments

Comments
 (0)