Releases: arnaud-lb/php-rdkafka
5.0.0
Enhancements
- PHP 8 support (@nick-zh, @arnaud-lb)
- Suport passing an opaque value in produce(), producev() (@arnaud-lb)
Breaking changes
- Dropped PHP 5 support
4.1.2
BREAKING CHANGE: Since version 4.0, the client no longer polls for network
events at shutdown (during object destructor). This behaviour didn't give
enough control to the user in case of server issue, and could cause the script
to hang while terminating.
Starting from 4.0, programs MUST call flush() before shutting down, otherwise
some messages and callbacks may be lost.
Enhancements
4.1.1
BREAKING CHANGE: Since version 4.0, the client no longer polls for network
events at shutdown (during object destructor). This behaviour didn't give
enough control to the user in case of server issue, and could cause the script
to hang while terminating.
Starting from 4.0, programs MUST call flush() before shutting down, otherwise
some messages and callbacks may be lost.
Bugfixes
4.1.0
BREAKING CHANGE: Since version 4.0, the client no longer polls for network
events at shutdown (during object destructor). This behaviour didn't give
enough control to the user in case of server issue, and could cause the script
to hang while terminating.
Starting from 4.0, programs MUST call flush() before shutting down, otherwise
some messages and callbacks may be lost.
Features
4.0.4
BREAKING CHANGE: Since version 4.0, the client no longer polls for network
events at shutdown (during object destructor). This behaviour didn't give
enough control to the user in case of server issue, and could cause the script
to hang while terminating.
Starting from 4.0, programs MUST call flush() before shutting down, otherwise
some messages and callbacks may be lost.
Bugfixes
Enhancements
- Improved CI (@Steveb-p, @arnaud-lb)
Documentation
4.0.3
BREAKING CHANGE: Since version 4.0, the client no longer polls for network
events at shutdown (during object destructor). This behaviour didn't give
enough control to the user in case of server issue, and could cause the script
to hang while terminating.
Starting from 4.0, programs MUST call flush() before shutting down, otherwise
some messages and callbacks may be lost.
Improvements
- Add partition check for offsetStore (#331, @nick-zh)
- Naming consistency for setting in tests (#339, @romainneutron)
Bugfixes
- Fix headers containing null bytes (#338, @arnaud-lb, @dirx @nick-zh)
- Fix topic deconstruct for high level consumer (#333, @nick-zh)
Documentation
4.0.2
BREAKING CHANGE: Since version 4.0, the client no longer polls for network
events at shutdown (during object destructor). This behaviour didn't give
enough control to the user in case of server issue, and could cause the script
to hang while terminating.
Starting from 4.0, programs MUST call flush() before shutting down, otherwise
some messages and callbacks may be lost.
Enhancements
- internal improvements: warnings and types (#322, @remicollet)
Bugfixes
4.0.1
WARNING BREAKS CONSUMERS: #324 , stick to php-rdkafka:4.0.0
for now
BREAKING CHANGE: Since version 4.0, the client no longer polls for network
events at shutdown (during object destructor). This behaviour didn't give
enough control to the user in case of server issue, and could cause the script
to hang while terminating.
Starting from 4.0, programs MUST call flush() before shutting down, otherwise
some messages and callbacks may be lost.
Features
Enhancements
- Run integration tests in CI (#223, @Steveb-p)
- Improved README (#295 #297 #298, #307 @Steveb-p @sndsgd @nick-zh)
- Fix windows test cases (#296, @cmb69)
- Add testsuite in pecl archive (#291, @remicollet)
- Add editor config (#308, @Steveb-p)
Bugfixes
3.1.3
4.0.0
BREAKING CHANGE: Since version 4.0, the client longer polls for network events
at shutdown (during object destructor). This behaviour didn't give enought
control to the user in case of server issue, and could cause the script to
hang while terminating.
Starting from this version, programs MUST now call flush() before shutting
down, otherwise some messages and callbacks may be lost.
Features
- Added RdKafka\Kafka::offsetsForTimes(), RdKafka\KafkaConsumer::offsetsForTimes() (#238, #270, @nick-zh)
- Added RdKafka\KafkaConsumer::getOffsetPositions() (#244, @nick-zh)
- Added RdKafka\Kafka::purge() (#255, @nick-zh)
- Added RdKafka\Kafka::flush() (#264, @nick-zh)
- Added RdKafka\ConsumerTopic::consumeBatch() (#256, @nick-zh)
- Added RdKafka\Conf::setLogCb() (#253, @nick-zh)
- Added RdKafka\KafkaConsumer::queryWatermarkOffsets() (#271, @nick-zh)
- Added RdKafka\KafkaConsumer::close() (#144, @TiMESPLiNTER)
Enhancements
- Support block on full producer queue (RD_KAFKA_MSG_F_BLOCK) (#245, @nick-zh)
- Add additional partitioners (#267, @nick-zh)
- Fix phpinfo output (#172, @TiMESPLiNTER)
- Don't poll in destruct anymore (#264, #278, @nick-zh)
Bugfixes
General
- Dropping support for librdkafka below 0.11 (#247, @arnaud-lb)
- Update build matrix PHP 7.3 + nightly, librdkafka 1.x + master (#249, @arnaud-lb)
- Deprecating deprecated librdkafka functions (#266, #254, #251, @nick-zh)