Releases: aio-libs/aiodns
Releases · aio-libs/aiodns
v4.0.4
- Raise
DNSError(ARES_ENODATA)fromquery()when the answer section has no records of the requested qtype, restoring the pycares 4.x NODATA contract and avoidingAttributeErrorfor CNAME/SOA/PTR callers (#254). - Add the missing
build-backendentry topyproject.tomlso PEP 517 builds from the sdist work without falling back to the deprecated legacy setuptools backend (#252).
v4.0.3
v4.0.2
v4.0.1
- Fix
Future exception was never retrievedwhen pycares raisesAresErrorsynchronously, e.g. for malformed hostnames (#245, fixes #231) - Modernized package setup using
pyproject.tomlinstead ofsetup.py(#244) - Updated dependencies
- Bumped mypy from 1.19.1 to 2.1.0 (#236, #239, #241, #242)
- Bumped pytest from 9.0.2 to 9.0.3 (#237)
- Bumped pytest-cov from 7.0.0 to 7.1.0 (#232)
- Bumped dependabot/fetch-metadata from 2.4.0 to 3.1.0 (#227, #234, #240)
- Bumped actions/download-artifact from 7.0.0 to 8.0.1 (#228, #235)
- Bumped actions/upload-artifact from 6 to 7 (#229)
- Bumped codecov/codecov-action from 5 to 6 (#233)
v4.0.0
What's Changed
- Breaking change: Requires pycares >= 5.0.0
- Added new
query_dns()method returning native pycares 5.xDNSResulttypes - Deprecated
query()method - still works with backward-compatible result types - Deprecated
gethostbyname()method - usegetaddrinfo()instead - Added compatibility layer for pycares 4.x result types to ease migration
- Updated dependencies
- Bumped pycares from 4.11.0 to 5.0.1 (#220)
- Bumped pytest from 8.4.2 to 9.0.2 (#224)
- Bumped pytest-asyncio from 1.2.0 to 1.3.0 (#223)
- Bumped mypy from 1.19.0 to 1.19.1 (#219)
- Bumped winloop from 0.3.1 to 0.4.0 (#210)
- Bumped actions/upload-artifact from 5 to 6 (#222)
- Bumped actions/download-artifact from 6.0.0 to 7.0.0 (#221)
Full Changelog: v3.6.1...v4.0.0
v3.6.1
What's Changed
- Bump winloop from 0.3.1 to 0.4.0 by @dependabot[bot] in #210
- build: prevent incompatible pycares versions by @truenicoco in #215
- Release 3.6.1 by @saghul in #216
New Contributors
- @truenicoco made their first contribution in #215
Full Changelog: v3.6.0...v3.6.1
v3.6.0
What's Changed
- Fix resolver garbage collection during pending queries (#211)
- Prevents resolver from being garbage collected while queries are in progress
- Socket callback optimizations (#172)
- Improved performance for socket state handling
- Fixed RTD links (#176)
- Added Python 3.14 to the CI (#212)
- Updated dependencies
- Bumped pycares from 4.9.0 to 4.11.0 (#186, #194)
- Bumped pytest-asyncio from 1.0.0 to 1.2.0 (#181, #196)
- Bumped pytest-cov from 6.2.1 to 7.0.0 (#193)
- Bumped pytest from 8.4.0 to 8.4.2 (#171, #190)
- Bumped mypy from 1.16.0 to 1.19.0 (#170, #179, #185, #195, #197, #207)
- Bumped uvloop from 0.21.0 to 0.22.1 (#202)
- Bumped winloop from 0.1.8 to 0.3.1 (#182, #183, #184, #187, #200, #201, #203)
- Bumped actions/setup-python from 5 to 6 (#199)
- Bumped actions/checkout from 4 to 6 (#188, #208)
- Bumped actions/upload-artifact from 4 to 5 (#204)
- Bumped actions/download-artifact from 4.3.0 to 6.0.0 (#205)
Full Changelog: v3.5.0...v3.6.0
v3.5.0
What's Changed
- Added explicit close method (#166)
- Allows proper cleanup of resources on demand
- Fixed return type signature for CNAME and SOA records (#162)
- Corrected type annotations for better type checking
- Improved Windows event loop documentation (#163)
- Provided more accurate information on supported event loops on Windows
- Added pre-commit configuration with ruff (#152)
- Improved code quality and consistency
- Reformatted code and normalized end-of-line characters (#155)
- Updated dependencies
New Contributors
Full Changelog: v3.4.0...v3.5.0
v3.4.0
What's Changed
- Added fallback to
sock_state_cbifevent_threadcreation fails (#151)- Improved reliability on systems with exhausted inotify watches
- Implemented transparent fallback mechanism to ensure DNS resolution continues to work
- Implemented strict typing (#138)
- Added comprehensive type annotations
- Improved mypy configuration
- Added py.typed marker file
- Updated dependencies
- Bumped pycares from 4.7.0 to 4.8.0 (#149)
- Added support for Python 3.13 (#153)
- Updated CI configuration to test with Python 3.13
Full Changelog: v3.3.0...v3.4.0
v3.3.0
What's Changed
- Update CI by @Dreamsorcerer in #130
- Drop Python 3.8 by @Dreamsorcerer in #129
- Run tests on push by @Dreamsorcerer in #139
- Fix test coverage by @Dreamsorcerer in #140
- Use c-ares event thread when available by @bdraco in #145
- Fix release workflow for breaking changes in upload/download artifact by @bdraco in #148
New Contributors
- @dependabot made their first contribution in #123
- @Dreamsorcerer made their first contribution in #130
Full Changelog: v3.2.0...v3.3.0