Releases: openaq/openaq-python
Releases · openaq/openaq-python
v1.0.0rc4
v1.0.0rc3
[1.0.0rc2] - 2026-05-28
Removed
-httpx dependency, refactored to only use python core libs
- AsyncOpenAQ, library is now synchronous only
Updated
OpenAQrate rate limiter checker to use server headers alone for tracking- Architectural refactors based on sync-only structure
v1.0.0rc2
[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
[1.0.0rc1] - 2026-02-13
Breaking changes
Added
auto_waitparameter for OpenAQ and AsyncOpenAQ to provide automatic waiting
based on rate limit headers- New validation function to ensure
isoandcountries_idare not used
together - New validation function to ensure
datetime_fromis always less than
datetime_to - New validation function to ensure
date_tois always less than
date_to - New validation function to ensure
date_to/date_fromand
datetime_from/datetime_toare correctly paired with correct data resource. - New validation function to ensure valid combinations of
dataandrollup
Fixed
- Correctly pass
date_toanddate_fromfordaysandyearsmeasurement
resources. - Added missing arguments for
locations.list()functions:manufacturers_id,
instruments_idand theowners_id
Updated
dataargument no longer defaults tomeasurementsin measurements.list()
function, it is now a required argument.datetime_fromno longer defaults in the library.
v0.7.0
v0.6.0
v0.5.0
v0.4.0
[0.4.0] - 2025-03-31
Updated
- Client rate limiting functionality
- Drop support for Python 3.8
- Type annotations removing old
DictandListin favor ofdictandlist
Added
- Mypy type checking
ServiceUnavailableErrorHTTP error exception.BadGatewayErrorHTTP error exception.- Separated
RateLimitErrorandHTTPRateLimitErrorinto separated exception.