Skip to content

Commit 73a5839

Browse files
committed
4.0.3
1 parent b991173 commit 73a5839

File tree

2 files changed

+42
-9
lines changed

2 files changed

+42
-9
lines changed

package.xml

+41-8
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
<email>[email protected]</email>
1111
<active>yes</active>
1212
</lead>
13-
<date>2019-12-15</date>
13+
<date>2020-02-07</date>
1414
<time>12:00:00</time>
1515
<version>
16-
<release>4.0.2</release>
16+
<release>4.0.3</release>
1717
<api>4.0.0</api>
1818
</version>
1919
<stability>
@@ -30,17 +30,20 @@
3030
Starting from 4.0, programs MUST call flush() before shutting down, otherwise
3131
some messages and callbacks may be lost.
3232

33+
## Improvements
34+
- Add partition check for offsetStore (#331, @nick-zh)
35+
- Naming consistency for setting in tests (#339, @romainneutron)
36+
3337
## Bugfixes
38+
- Fix headers containing null bytes (#338, @arnaud-lb, @dirx @nick-zh)
39+
- Fix topic deconstruct for high level consumer (#333, @nick-zh)
3440

35-
* Fix partition 0 exposed as NULL in Message (#327 reverts #321, @arnaud-lb @nick-zh)
36-
* Fix memory leak in consume() when messages have headers (#323, @nick-zh)
41+
## Documentation
42+
- Fix doc example (#340, @Steveb-p)
43+
- Remove outdated and duplicate examples (#341, @nick-zh)
3744
</notes>
3845
<contents>
3946
<dir name="/">
40-
<dir name="examples">
41-
<file role="doc" name="consumer.php"/>
42-
<file role="doc" name="producer.php"/>
43-
</dir>
4447
<file role="doc" name="CREDITS"/>
4548
<file role="doc" name="LICENSE"/>
4649
<file role="doc" name="README.md"/>
@@ -80,6 +83,7 @@
8083
<file role="test" name="allow_null_payload_and_key.phpt"/>
8184
<file role="test" name="allow_null_payload.phpt"/>
8285
<file role="test" name="bug115.phpt"/>
86+
<file role="test" name="bug330.phpt"/>
8387
<file role="test" name="bug74.phpt"/>
8488
<file role="test" name="bug88.phpt"/>
8589
<file role="test" name="bugConfSetArgument.phpt"/>
@@ -88,11 +92,13 @@
8892
<file role="test" name="conf.phpt"/>
8993
<file role="test" name="conf_setDefaultTopicConf.phpt"/>
9094
<file role="test" name="constants.phpt"/>
95+
<file role="test" name="integration-tests-check.php"/>
9196
<file role="test" name="message_headers.phpt"/>
9297
<file role="test" name="produce_consume.phpt"/>
9398
<file role="test" name="produce_consume_queue.phpt"/>
9499
<file role="test" name="rd_kafka_get_err_descs.phpt"/>
95100
<file role="test" name="test0.phpt"/>
101+
<file role="test" name="test_env.php.sample"/>
96102
<file role="test" name="topic_conf.phpt"/>
97103
<file role="test" name="topic_partition.phpt"/>
98104
</dir>
@@ -112,6 +118,33 @@
112118
<providesextension>rdkafka</providesextension>
113119
<extsrcrelease/>
114120
<changelog>
121+
<release>
122+
<date>2019-12-15</date>
123+
<time>12:00:00</time>
124+
<version>
125+
<release>4.0.2</release>
126+
<api>4.0.0</api>
127+
</version>
128+
<stability>
129+
<release>stable</release>
130+
<api>stable</api>
131+
</stability>
132+
<license uri="http://opensource.org/licenses/mit-license.php">MIT License</license>
133+
<notes>
134+
BREAKING CHANGE: Since version 4.0, the client no longer polls for network
135+
events at shutdown (during object destructor). This behaviour didn't give
136+
enough control to the user in case of server issue, and could cause the script
137+
to hang while terminating.
138+
139+
Starting from 4.0, programs MUST call flush() before shutting down, otherwise
140+
some messages and callbacks may be lost.
141+
142+
## Bugfixes
143+
144+
* Fix partition 0 exposed as NULL in Message (#327 reverts #321, @arnaud-lb @nick-zh)
145+
* Fix memory leak in consume() when messages have headers (#323, @nick-zh)
146+
</notes>
147+
</release>
115148
<release>
116149
<date>2019-12-08</date>
117150
<time>12:00:00</time>

php_rdkafka.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ PHP_METHOD(RdKafka, __construct);
4949
extern zend_module_entry rdkafka_module_entry;
5050
#define phpext_rdkafka_ptr &rdkafka_module_entry
5151

52-
#define PHP_RDKAFKA_VERSION "4.0.3-dev"
52+
#define PHP_RDKAFKA_VERSION "4.0.3"
5353

5454
extern zend_object_handlers kafka_default_object_handlers;
5555
extern zend_class_entry * ce_kafka_exception;

0 commit comments

Comments
 (0)