Skip to content

Commit

Permalink
4.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-lb committed Dec 15, 2019
1 parent c5a1e99 commit cd87b4a
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 20 deletions.
65 changes: 46 additions & 19 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2019-12-08</date>
<date>2019-12-15</date>
<time>12:00:00</time>
<version>
<release>4.0.1</release>
<release>4.0.2</release>
<api>4.0.0</api>
</version>
<stability>
Expand All @@ -30,25 +30,10 @@
Starting from 4.0, programs MUST call flush() before shutting down, otherwise
some messages and callbacks may be lost.

## Features

* Added RdKafka\ConsumerTopic::consumeCallback() (#310, @nick-zh)

## 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

* Fix build (#290, @nick-zh)
* Fix segfault during module shutdown (#293, @arnaud-lb @nick-zh)
* Fix RdKafka\Topic visibility in PHP 7.4 (#316, @nick-zh)
* Fix headers memory management in producev (#318 , @nick-zh)
* Fix partition number in error (#321, @nick-zh)
* Fix partition 0 exposed as NULL in Message (#327 reverts #321, @arnaud-lb @nick-zh)
* Fix memory leak in consume() when messages have headers (#323, @nick-zh)
</notes>
<contents>
<dir name="/">
Expand Down Expand Up @@ -127,6 +112,48 @@
<providesextension>rdkafka</providesextension>
<extsrcrelease/>
<changelog>
<release>
<date>2019-12-08</date>
<time>12:00:00</time>
<version>
<release>4.0.1</release>
<api>4.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
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

* Added RdKafka\ConsumerTopic::consumeCallback() (#310, @nick-zh)

## 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

* Fix build (#290, @nick-zh)
* Fix segfault during module shutdown (#293, @arnaud-lb @nick-zh)
* Fix RdKafka\Topic visibility in PHP 7.4 (#316, @nick-zh)
* Fix headers memory management in producev (#318 , @nick-zh)
* Fix partition number in error (#321, @nick-zh)
</notes>
</release>
<release>
<date>2019-10-04</date>
<time>12:00:00</time>
Expand Down
2 changes: 1 addition & 1 deletion php_rdkafka.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ PHP_METHOD(RdKafka, __construct);
extern zend_module_entry rdkafka_module_entry;
#define phpext_rdkafka_ptr &rdkafka_module_entry

#define PHP_RDKAFKA_VERSION "4.0.2-dev"
#define PHP_RDKAFKA_VERSION "4.0.2"

extern zend_object_handlers kafka_default_object_handlers;
extern zend_class_entry * ce_kafka_exception;
Expand Down

0 comments on commit cd87b4a

Please sign in to comment.