Releases: alm0ra/mockafka-py
Releases · alm0ra/mockafka-py
v0.2.1
What's Changed
- Bump confluent-kafka from 2.10.0 to 2.10.1 by @dependabot[bot] in #216
- Add typing to the easier two async decorators by @PeterJCLaw in #219
- Bump confluent-kafka from 2.10.1 to 2.11.0 by @dependabot[bot] in #220
- Bump mkdocs-material from 9.6.14 to 9.6.15 by @dependabot[bot] in #221
Full Changelog: v0.2.0...v0.2.1
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
v0.1.63
What's Changed
- Bump zipp from 3.19.2 to 3.20.0 by @dependabot in #145
- Bump tox from 4.15.1 to 4.17.1 by @dependabot in #144
- Bump mkdocs-material from 9.5.29 to 9.5.31 by @dependabot in #143
- Bump mypy from 1.11.0 to 1.11.1 by @dependabot in #142
- Bump mkdocstrings from 0.24.1 to 0.25.2 by @dependabot in #138
- Bump mkdocs-material from 9.5.29 to 9.5.32 by @dependabot in #148
- Bump tox from 4.17.1 to 4.18.0 by @dependabot in #147
- Implement dynamic timestamp types in Message class by @massooti in #146
- Remove extra random.shuffle in consumer by @BrianMowrey in #165
- Pytest-* should only be dev dependencies by @juggy in #181
- Add PartitionMetadata to TopicMetadata Response by @HonakerM in #183
New Contributors
- @BrianMowrey made their first contribution in #165
- @juggy made their first contribution in #181
- @HonakerM made their first contribution in #183
Full Changelog: v0.1.62...v0.1.63
v0.1.62
What's Changed
- Fix return types and annotations on FakeAIOKafkaConsumer's topics by @PeterJCLaw in #140
- Have FakeAIOKafkaConsumer.topics better match the real behaviour by @PeterJCLaw in #141
- Bump certifi from 2024.2.2 to 2024.7.4 by @dependabot in #128
- Bump urllib3 from 2.2.1 to 2.2.2 by @dependabot in #129
- Bump jinja2 from 3.1.3 to 3.1.4 by @dependabot in #130
- Bump requests from 2.31.0 to 2.32.2 by @dependabot in #131
- Bump pytest-asyncio from 0.23.7 to 0.23.8 by @dependabot in #135
- Bump mypy from 1.10.1 to 1.11.0 by @dependabot in #134
- Bump mkdocs-material from 9.5.27 to 9.5.29 by @dependabot in #133
- Bump pytest from 8.3.1 to 8.3.2 by @dependabot in #136
Full Changelog: v0.1.61...v0.1.62
v0.1.61
What's Changed
- Bump zipp from 3.17.0 to 3.19.2 by @dependabot in #125
- Bump confluent-kafka from 2.4.0 to 2.5.0 by @dependabot in #124
- Bump mkdocs-material from 9.5.27 to 9.5.29 by @dependabot in #123
- Bump setuptools from 69.1.1 to 70.0.0 by @dependabot in #127
Full Changelog: v0.1.60...v0.1.61
v0.1.60
What's Changed
- Small packaging fixes by @PeterJCLaw in #108
- Bump aiokafka from 0.10.0 to 0.11.0 by @dependabot in #104
- Fix implementation of repeated single-message fetching by @PeterJCLaw in #110
- Make linting config available locally by @PeterJCLaw in #113
- Fix a couple of flaky tests which depended on partition ordering by @PeterJCLaw in #111
- Add type checking via mypy in CI by @PeterJCLaw in #114
- [Snyk] Security upgrade zipp from 3.15.0 to 3.19.1 by @alm0ra in #121
- Flesh out FakeAIOKafkaConsumer by @PeterJCLaw in #112
- Use aiokafka's ConsumerRecord type to match its API by @PeterJCLaw in #115
- Bump mkdocs-material from 9.5.27 to 9.5.28 by @dependabot in #119
- Enforce type validity and publish types in the package by @PeterJCLaw in #116
- Add type hints & raises error when consumer is closed by @alm0ra in #122
New Contributors
- @PeterJCLaw made their first contribution in #108
Full Changelog: v0.1.58...v0.1.60a
v0.1.58
What's Changed
- Bump tox from 4.14.2 to 4.15.1 by @dependabot in #98
- Bump mkdocs-material from 9.5.25 to 9.5.26 by @dependabot in #97
- Bump pytest from 8.2.1 to 8.2.2 by @dependabot in #96
- Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 by @dependabot in #99
- Bump mkdocs-material from 9.5.25 to 9.5.27 by @dependabot in #100
- fix(consumer): make consume return proper number of messages by @skonik in #102
- Bump mkdocs-material from 9.5.25 to 9.5.27 by @dependabot in #101
- Bump mypy from 1.9.0 to 1.10.1 by @dependabot in #103
New Contributors
Full Changelog: v0.1.57...v0.1.58
v0.1.57
v0.1.56
What's Changed
- Fix/aiokafka consume strategy by @alm0ra in #68
- Fix/ error handling in CustomDict class by @massooti in #79
- Feature/add stop in aioproducer by @setmao in #86
- Fix/Add annotations future statement globally (support python 3.8) by @MrkGrgsn in #83
New Contributors
- @massooti made their first contribution in #79
- @setmao made their first contribution in #86
- @MrkGrgsn made their first contribution in #83
Full Changelog: v0.1.55...v0.1.56