Skip to content

V1.5.0a2

Pre-release
Pre-release

Choose a tag to compare

@carlkidcrypto carlkidcrypto released this 02 Aug 03:52
· 11 commits to main since this release
Immutable release. Only release title and notes can be modified.
2d8ef6f

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.0a2

Or 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 PurpleAirAPI and PurpleAirLocalAPI usage examples that previously caused TypeError, and adds missing :return: directives to several PurpleAirReadAPI methods (#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 install instruction with pip install . and adds missing __init__ docstrings to PurpleAirReadAPI and PurpleAirWriteAPI (#300)
  • Fixes module-level docstrings in PurpleAirAPIHelpers, PurpleAirWriteAPI, and PurpleAirLocalAPI, and adds a missing __init__ docstring to PurpleAirAPIError (#325)
  • Corrects nwlng/nwlat/selng/selat parameter types from int to float in PurpleAirReadAPI and clarifies the pm25_to_aqi return type in PurpleAirMatterConverter (#330)
  • Fixes README wording and corrects inaccurate docstrings in PurpleAirAPIHelpers and PurpleAirMatterConverter, including a claim that pressure_psi_to_kpa rounds its result when it does not (#350)

Dependencies

  • Bumps carlkidcrypto/os-specific-runner from 2.3.0 to 2.3.1 (#296)
  • Bumps actions/checkout from 6.0.2 to 7.0.0, then to 7.0.1 (#295, #338)
  • Bumps codecov/codecov-action from 6.0.1 to 7.0.0 (#287)
  • Bumps coverage from 7.14.1 through 7.15.2 across multiple updates (#297, #313, #331, #332)
  • Bumps github/gh-aw-actions/setup from 0.77.5 to 0.81.4 (#302)
  • Bumps actions/setup-python from 6.2.0 to 6.3.0, then to 7.0.0 (#299, #337)
  • Bumps pypa/gh-action-pypi-publish from 1.14.0 to 1.14.2 (#346)
  • Adds an open-pull-requests-limit to 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-requests permission 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