v0.2.0
⚠️ Breaking Change Notice
This release includes a breaking change introduced by me:
In mockafka, both message keys and values are now required to be binary (bytes).
This aligns with how real Kafka behaves and ensures stricter type safety. Existing tests or usage that rely on string or non-binary inputs may break and need to be updated accordingly.
What's Changed
- fix typo in consumer filename by @BrianMowrey in #166
- Bump codecov/codecov-action from 3 to 5 by @dependabot in #180
- Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.12.2 by @dependabot in #179
- Bump mkdocs-material from 9.5.29 to 9.5.44 by @dependabot in #178
- Bump mypy from 1.11.1 to 1.13.0 by @dependabot in #174
- Bump confluent-kafka from 2.5.0 to 2.6.0 by @dependabot in #169
- Bump zipp from 3.20.0 to 3.20.2 by @dependabot in #161
- Bump jinja2 from 3.1.4 to 3.1.6 by @dependabot in #191
- Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.4 by @dependabot in #189
- Bump mkdocstrings from 0.25.2 to 0.26.1 by @dependabot in #194
- Bump typing-extensions from 4.12.2 to 4.13.2 by @dependabot in #193
- Test on Python 3.13 too by @PeterJCLaw in #201
- Add async context manager support for producers & consumers by @PeterJCLaw in #199
- Bump virtualenv from 20.26.3 to 20.26.6 by @dependabot in #186
- Drop dev dependency on pre-commit which seems unused by @PeterJCLaw in #202
- Bump mkdocs-material from 9.5.29 to 9.6.14 by @dependabot in #198
- Bump mypy from 1.13.0 to 1.14.1 by @dependabot in #192
- Bump confluent-kafka from 2.6.0 to 2.10.0 by @dependabot in #197
- Message headers are lists of key-value pairs, not mappings by @PeterJCLaw in #200
- Bump idna from 3.6 to 3.7 by @dependabot in #71
- Bump mkdocs from 1.5.3 to 1.6.1 by @dependabot in #188
- Consistently treat message key & value as bytes by @PeterJCLaw in #204
- Match AIOKafkaProducer.send returning a future by @PeterJCLaw in #210
- Drop dev dependency on tox which seems unused by @PeterJCLaw in #211
- 🐛 fix pytest fixture issues by @alm0ra in #203
- Bump requests from 2.32.2 to 2.32.4 by @dependabot in #213
- Add some more linters by @PeterJCLaw in #212
- Bump mkdocs-material from 9.5.29 to 9.6.14 by @dependabot in #206
- Bump mkdocs from 1.6.0 to 1.6.1 by @dependabot in #205
Full Changelog: v0.1.63...v0.2.0