0.7.2
Build and Publish / release (push) Successful in 8s
CI / lint (push) Successful in 21s
CI / test (3.12) (push) Successful in 26s
CI / test (3.11) (push) Successful in 29s
CI / test (3.13) (push) Successful in 28s

Automatically generated by python-semantic-release
This commit is contained in:
semantic-release
2026-09-07 22:22:27 +00:00
parent c095cb484e
commit d8d89f4ad8
2 changed files with 23 additions and 1 deletions
+22
View File
@@ -1,6 +1,28 @@
# CHANGELOG
## v0.7.2 (2026-09-07)
### Bug Fixes
- Transmission is a fraction of full beam everywhere
([`c095cb4`](https://gitea.psi.ch/mx/AareCommon/commit/c095cb484e4312d97a1a72a5e06afa0687e3f74d))
DataCollectionParameters.transmission was the outlier: int percent 0-100 while BeamlineStatus /
SimpleScanParameters / FluorescenceSpectrum already used a 0-1 fraction. Per the DAQ/DB consensus
it is now a strict Annotated[float, Field(ge=0.0, le=1.0)] fraction (1.0 = full beam);
percent-scale values in (1.0, 100.0] fail validation by design instead of being silently
reinterpreted. RotationScanRequest / RasterGridRequest gain the same constraint (production data
is already fraction on those paths).
Human-facing surfaces (user spreadsheets, AareDB public API) stay percent; their converters live in
AareDB at the boundary.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HiGzkkuiZXei894cnJfgSg
## v0.7.1 (2026-09-03)
### Bug Fixes
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "aarecommon"
version = "0.7.1"
version = "0.7.2"
description = "Common components (models, calculations) for Aare packages"
readme = "README.md"
requires-python = ">=3.11"