Releases#
Brief notes describing each release and what’s new.
Project milestones describe future plans.
0.3.1#
Released 2026-05-08.
Documentation#
Document
register_geometry_filein thead_hocguide. 51Refresh
ad_hocgeometry mode tables forad_hoc_diffractometerv0.10.0. 51Update
ad_hoc_diffractometerdocumentation URLs tobcda-aps.github.io. 53
Fixes#
Populate version-switcher dropdown from existing gh-pages version directories. 54
Maintenance#
Consolidate content on README and home pages. 54
0.3.0#
Released 2026-04-27.
Fixes#
Expose mode extras (
psi,alpha_i,beta_out,h2/k2/l2,n_hat) forad_hocgeometries. 44Report
ad_hocanddiffcalcsolver versions from the backend library. 44Translate
kappa_alpha_degkeyword to the underlyingalpha_degargument when constructing kappa geometries. 46
Maintenance#
CI: add Python 3.14-dev to the test matrix (allowed to fail). 48
Enforce 100% line and branch coverage in CI (
fail_under = 100inpyproject.toml). 46Require
ad_hoc_diffractometer >= 0.8.0(true virtual bisecting in kappa modes). 44
0.2.2#
Released 2026-04-26.
Enhancements#
Docs: add writable(s) and extra(s) columns to geometry mode tables; link each geometry to its backend library documentation. 42
Fixes#
CI: serialize
gh-pagesdeploys to prevent race condition betweenmainand tag pushes. 42
Maintenance#
CI: add concurrency limits to all workflows (
docs.yml,ci.yml,pypi.yml). 42
0.2.1#
Released 2026-04-26.
Enhancements#
Add all
ad_hocsolver geometries (10 geometries, modes, and axes) togeometries.rst; addad_hocsolver to the “Available solvers” table inusage.rst. 40Add per-solver how-to guides (
guide_diffcalc.rst,guide_ad_hoc.rst) following the Diataxis framework. 40Change
diffcalcdefault mode from4S+2D mu_chi_phi_fixedto4S+2D bisect_eta_fixed nu_fixed(vertical bisector). 40
Maintenance#
Bump
ad_hoc_diffractometerminimum from>=0.5.0to>=0.6.0; update docstring cross-reference (geometry.pyrenamed todiffractometer.py); updategeometries.rstfor new psic and kappa6c mode names.
0.2.0#
Released 2026-04-20.
New Features#
Add
AdHocSolverwrapping thead_hoc_diffractometerlibrary. 1
Fixes#
_summary_dictreports correct writable axes per mode. 37
0.1.9#
Released 2026-04-17.
Enhancements#
Add HOWTO: benchmark a solver geometry; include downloadable configuration files for each supported geometry. 35
Guard
_apply_mode_constraints()to skip rebuilding diffcalc objects when the mode is unchanged, reducingforward()overhead by ~9%. 33
Maintenance#
Refactor
scripts/stamp_release.py: read VERSION from RST comment block title (SEMVERauto-bumps patch; PEP 440 explicit versions accepted); add--dry-runand--versionoptions; always insertSEMVERas next block title. Usepackaging.version.Versionfor version comparison.Add
packagingto dev dependencies inpyproject.toml.
0.1.8#
Released 2026-04-17.
Maintenance#
Pin
hklpy2>=0.6.0in dependencies;hklpy2.miscwas removed in that release. 31
0.1.7#
Released 2026-04-17.
Fixes#
Fix
ModuleNotFoundError: No module named 'hklpy2.misc'; update imports tohklpy2.exceptionsandhklpy2.utilsfor compatibility with hklpy2 ≥ 0.6.0. 31Fix
forward()raisingAttributeError: no attribute 'set_reals'; addset_reals()andUBsetter, change default mode to4S+2D mu_chi_phi_fixed. 29Fix
calc_UB()raisingSolverError: Lattice must be set; overridesamplesetter to push lattice into diffcalc. 25Fix
wh()raisingSolverError: UB matrix has not been setbefore reflections are added. 24
Maintenance#
Document mode naming convention, bisector mode analysis, and extensibility limits in
geometries.rst. 29
0.1.6#
Released 2026-04-13.
Fixes#
Fix
extra_axis_namesandextras: always[]/{}(no non-motor extra parameters in this geometry). Addaxes_wproperty so hklpy2 can identify axes computed byforward()and enable the presets feature for constant axes. 17Fix usage documentation: use
hklpy2.creator()as the standard entry point; describe all solvers generically. 18
Maintenance#
Add root redirect page to GitHub Pages.
Add usage guide for hklpy2-solvers with hklpy2.
0.1.5#
Released 2026-04-13.
New Features#
Add Sphinx documentation framework with versioned GitHub Pages deployment. 15
0.1.4#
Released 2026-04-12.
Fixes#
Fix PyPI publish workflow trigger. 13
Maintenance#
Bump
actions/checkoutfrom 4 to 6.Bump
actions/download-artifactfrom 4 to 8.Bump
actions/setup-pythonfrom 5 to 6.Bump
actions/upload-artifactfrom 4 to 7.
0.1.3#
Released 2026-04-12.
Fixes#
Fix CI workflow: pytest path and coverage source. 11
0.1.2#
Released 2026-04-12.
Maintenance#
Add solvers table and badges to README.
Apply ruff formatting to
diffcalc_solver.py.
0.1.1#
Released 2026-04-12.
Maintenance#
Add CI workflow (pytest on Python 3.10–3.13, ruff lint/format).
Add PyPI trusted publishing workflow.
Add dependabot for GitHub Actions and pip dependencies.
0.1.0#
Released 2026-04-12.
New Features#
Add
diffcalcsolver adapter wrapping diffcalc-core (You 1999, 4S+2D six-circle geometry). 2