Skip to content

Commit 4d5cb87

Browse files
author
semantic-release
committed
chore: release 0.5.3
1 parent d4e2016 commit 4d5cb87

2 files changed

Lines changed: 41 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,44 @@
11
# CHANGELOG
22

33

4+
## v0.5.3 (2026-06-13)
5+
6+
### Bug Fixes
7+
8+
- Don't take a screenshot at import time
9+
([#23](https://github.com/OpenAdaptAI/openadapt-capture/pull/23),
10+
[`d4e2016`](https://github.com/OpenAdaptAI/openadapt-capture/commit/d4e2016680b053d257b9b1934d07ac76589ee970))
11+
12+
recorder.py computed monitor dimensions via utils.take_screenshot() at module scope, so `import
13+
openadapt_capture` crashed in any headless environment whose display reported a zero-size region.
14+
This took down `openadapt version` and `openadapt doctor` (found via the new CLI smoke tests in
15+
OpenAdaptAI/OpenAdapt). Move the computation into the video-setup function that is its only
16+
consumer.
17+
18+
Adds tests/test_headless_import.py: a deterministic AST guard that no package module calls a display
19+
API (take_screenshot/get_monitor_dims/ grab) at import scope. A subprocess import test is
20+
unreliable (only reproduces on a genuinely headless display); this fails regardless of
21+
environment.
22+
23+
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
24+
25+
### Testing
26+
27+
- Add import-integrity guards and release-failure alerting
28+
([#22](https://github.com/OpenAdaptAI/openadapt-capture/pull/22),
29+
[`cd7ed78`](https://github.com/OpenAdaptAI/openadapt-capture/commit/cd7ed786b3cb3b5512769787cde3ab4f62ca78c5))
30+
31+
Ecosystem rollout of the OpenAdaptAI/OpenAdapt#999 guards (see openadapt-ml#64, OpenAdapt#1002,
32+
openadapt-evals#262):
33+
34+
- tests/test_import_integrity.py: AST-based phantom-import and phantom-kwarg detection, including
35+
imports inside function bodies (40 modules scanned; this package is clean - zero findings) -
36+
release.yml: file/append a GitHub issue when the release workflow fails, so PyPI cannot silently
37+
go stale
38+
39+
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
40+
41+
442
## v0.5.2 (2026-03-17)
543

644
### Bug Fixes

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "openadapt-capture"
3-
version = "0.5.2"
3+
version = "0.5.3"
44
description = "GUI interaction capture - platform-agnostic event streams with time-aligned media"
55
readme = "README.md"
66
requires-python = ">=3.10"
@@ -87,6 +87,7 @@ capture = "openadapt_capture.cli:main"
8787
Homepage = "https://github.com/OpenAdaptAI/openadapt-capture"
8888
Repository = "https://github.com/OpenAdaptAI/openadapt-capture"
8989

90+
9091
[build-system]
9192
requires = ["hatchling"]
9293
build-backend = "hatchling.build"
@@ -122,6 +123,7 @@ allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "refactor
122123
minor_tags = ["feat"]
123124
patch_tags = ["fix", "perf"]
124125

126+
125127
[dependency-groups]
126128
dev = [
127129
"matplotlib>=3.10.8",

0 commit comments

Comments
 (0)