Skip to content

Releases: openaq/openaq-python

v1.0.0rc4

29 May 17:24
23b05cc

Choose a tag to compare

v1.0.0rc4 Pre-release
Pre-release

Fixed

  • Upper case HTTP methods for Cloudfront

Added

  • Transport updates
  • Additional tests

v1.0.0rc3

28 May 15:39
a9c8aae

Choose a tag to compare

v1.0.0rc3 Pre-release
Pre-release

[1.0.0rc2] - 2026-05-28

Removed

-httpx dependency, refactored to only use python core libs

  • AsyncOpenAQ, library is now synchronous only

Updated

  • OpenAQ rate rate limiter checker to use server headers alone for tracking
  • Architectural refactors based on sync-only structure

v1.0.0rc2

25 Feb 00:27
3072476

Choose a tag to compare

v1.0.0rc2 Pre-release
Pre-release

[1.0.0rc2] - 2026-02-24

Updated

  • HTTPX client configuration settings for timeout
  • HTTPX client configuration settings for limits

Fixed

  • Fixed creation of headers on client classes to remove mutable default argument.
  • Fixed creation of transport on client classes to remove mutable default argument.
  • automatic rate limiting for AsyncOpenAQ, no longer relies solely on HTTP
    headers, a more reliable method for async usage.

v1.0.0rc1

13 Feb 20:15
4a94b18

Choose a tag to compare

v1.0.0rc1 Pre-release
Pre-release

[1.0.0rc1] - 2026-02-13

Breaking changes

Added

  • auto_wait parameter for OpenAQ and AsyncOpenAQ to provide automatic waiting
    based on rate limit headers
  • New validation function to ensure iso and countries_id are not used
    together
  • New validation function to ensure datetime_from is always less than
    datetime_to
  • New validation function to ensure date_to is always less than
    date_to
  • New validation function to ensure date_to/date_from and
    datetime_from/datetime_to are correctly paired with correct data resource.
  • New validation function to ensure valid combinations of data and rollup

Fixed

  • Correctly pass date_to and date_from for days and years measurement
    resources.
  • Added missing arguments for locations.list() functions: manufacturers_id,
    instruments_id and the owners_id

Updated

  • data argument no longer defaults to measurements in measurements.list()
    function, it is now a required argument.
  • datetime_from no longer defaults in the library.

v0.7.0

14 Jan 01:03
f8a1a06

Choose a tag to compare

[0.7.0] - 2026-01-13

Fixed

  • Properly cast datetime values to Datetime in response classes Thanks @PPetar1
  • Fix ManufactuersResponse dataclass results field Thanks @PPetar1

Updated

  • dataclass creation performance optimizations with slots
  • ResponseBase creation performance optimization

v0.6.0

26 Nov 20:00
2bcac87

Choose a tag to compare

[0.6.0] - 2025-11-26

Added

  • Query parameter validation
  • Additional test coverage
  • mypy typing coverage
  • py.typed file

v0.5.0

31 Oct 20:31
ba1106e

Choose a tag to compare

[0.5.0] - 2025-10-31

Updated

  • Drop support for Python 3.9
  • Added support for Python 3.14

Added

  • Additional checks to prevent out of range identifiers.
  • TimeoutError HTTP error exception.

v0.4.0

31 Mar 22:00
6ddc672

Choose a tag to compare

[0.4.0] - 2025-03-31

Updated

  • Client rate limiting functionality
  • Drop support for Python 3.8
  • Type annotations removing old Dict and List in favor of dict and list

Added

  • Mypy type checking
  • ServiceUnavailableError HTTP error exception.
  • BadGatewayError HTTP error exception.
  • Separated RateLimitError and HTTPRateLimitError into separated exception.

v0.3.0

01 Oct 19:03
099d678

Choose a tag to compare

Changelog

  • Refactor of response models
  • rate limit header support
  • v3 measurements changes
  • v3 latest endpoints

v0.2.1

15 Feb 23:57

Choose a tag to compare

0.2.1

Changelog

  • Resolves issue that breaks OpenAQ.locations() method and AsyncOpenAQ.locations() from upstream API change. Checks for and ignore fields not included in response model.