V1.5.0a2
Pre-release
Pre-release
·
11 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
This alpha release focuses on internal maintenance: it hardens the Coverage Autofix workflow against false-positive failure issues, expands unit test coverage for PurpleAirMatterConverter and EpaAqiCalculator, corrects numerous docstrings and parameter-type documentation across the core library, and updates several CI/workflow and dependency versions.
Compared to: v1.5.0a1
Install / Upgrade
pip install purpleair_api==1.5.0a2Or browse this release on PyPI: (pypi.org/redacted)
Bug Fixes
- Stops Coverage Autofix from opening failure issues on infrastructure-driven incomplete runs, and adds a unit test for a zero-width AQI breakpoint guard (#351)
Tests
- Adds tests covering previously untested branches in
PurpleAirMatterConverter, including_nullable_float, the "Beyond Hazardous" AQI category, and sensor-name fallback paths (#289) - Adds tests for the Unhealthy-for-Sensitive-Groups and Hazardous PM2.5 breakpoints in
EpaAqiCalculator.pm25_to_aqi, raising coverage from ~83% to 100% (#292)
Documentation
- Fixes constructor parameter names in
PurpleAirAPIandPurpleAirLocalAPIusage examples that previously causedTypeError, and adds missing:return:directives to severalPurpleAirReadAPImethods (#291) - Fixes README/HOWTOAI typos, replaces deprecated Markdown syntax with RST, corrects the
post_create_member()example, and removes stray Markdown headings from docstrings (#294) - Replaces the deprecated
python3 setup.py installinstruction withpip install .and adds missing__init__docstrings toPurpleAirReadAPIandPurpleAirWriteAPI(#300) - Fixes module-level docstrings in
PurpleAirAPIHelpers,PurpleAirWriteAPI, andPurpleAirLocalAPI, and adds a missing__init__docstring toPurpleAirAPIError(#325) - Corrects
nwlng/nwlat/selng/selatparameter types frominttofloatinPurpleAirReadAPIand clarifies thepm25_to_aqireturn type inPurpleAirMatterConverter(#330) - Fixes README wording and corrects inaccurate docstrings in
PurpleAirAPIHelpersandPurpleAirMatterConverter, including a claim thatpressure_psi_to_kparounds its result when it does not (#350)
Dependencies
- Bumps
carlkidcrypto/os-specific-runnerfrom 2.3.0 to 2.3.1 (#296) - Bumps
actions/checkoutfrom 6.0.2 to 7.0.0, then to 7.0.1 (#295, #338) - Bumps
codecov/codecov-actionfrom 6.0.1 to 7.0.0 (#287) - Bumps
coveragefrom 7.14.1 through 7.15.2 across multiple updates (#297, #313, #331, #332) - Bumps
github/gh-aw-actions/setupfrom 0.77.5 to 0.81.4 (#302) - Bumps
actions/setup-pythonfrom 6.2.0 to 6.3.0, then to 7.0.0 (#299, #337) - Bumps
pypa/gh-action-pypi-publishfrom 1.14.0 to 1.14.2 (#346) - Adds an
open-pull-requests-limitto the Dependabot configuration for GitHub Actions and pip (#322)
CI / Workflows
- Updates the agentic workflow model configuration and recompiles workflow lock files (#284)
- Adds the
copilot-requestspermission to all agentic workflows and recompiles them (#321) - Upgrades agentic workflows to a new model and bumps the version to 1.5.0a2 (#352)
Full Changelog: v1.5.0a1...v1.5.0a2
Generated by Auto Update Release Notes · sonnet50 · 49.2 AIC · ⌖ 8.24 AIC · ⊞ 9.5K