Skip to content

Commit 92a9b04

Browse files
committed
4.0.4
1 parent 50906cc commit 92a9b04

File tree

2 files changed

+42
-11
lines changed

2 files changed

+42
-11
lines changed

package.xml

+41-10
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>2020-02-07</date>
13+
<date>2020-10-08</date>
1414
<time>12:00:00</time>
1515
<version>
16-
<release>4.0.3</release>
16+
<release>4.0.4</release>
1717
<api>4.0.0</api>
1818
</version>
1919
<stability>
@@ -30,17 +30,14 @@
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-
3733
## Bugfixes
38-
- Fix headers containing null bytes (#338, @arnaud-lb, @dirx @nick-zh)
39-
- Fix topic deconstruct for high level consumer (#333, @nick-zh)
34+
- Fix crash during shurtdown (#367, @nick-zh, @sofire)
35+
36+
## Enhancements
37+
- Improved CI (@Steveb-p, @arnaud-lb)
4038

4139
## Documentation
42-
- Fix doc example (#340, @Steveb-p)
43-
- Remove outdated and duplicate examples (#341, @nick-zh)
40+
- Improved doc (@nick-zh, @Steveb-p)
4441
</notes>
4542
<contents>
4643
<dir name="/">
@@ -118,6 +115,40 @@
118115
<providesextension>rdkafka</providesextension>
119116
<extsrcrelease/>
120117
<changelog>
118+
<release>
119+
<date>2020-02-07</date>
120+
<time>12:00:00</time>
121+
<version>
122+
<release>4.0.3</release>
123+
<api>4.0.0</api>
124+
</version>
125+
<stability>
126+
<release>stable</release>
127+
<api>stable</api>
128+
</stability>
129+
<license uri="http://opensource.org/licenses/mit-license.php">MIT License</license>
130+
<notes>
131+
BREAKING CHANGE: Since version 4.0, the client no longer polls for network
132+
events at shutdown (during object destructor). This behaviour didn't give
133+
enough control to the user in case of server issue, and could cause the script
134+
to hang while terminating.
135+
136+
Starting from 4.0, programs MUST call flush() before shutting down, otherwise
137+
some messages and callbacks may be lost.
138+
139+
## Improvements
140+
- Add partition check for offsetStore (#331, @nick-zh)
141+
- Naming consistency for setting in tests (#339, @romainneutron)
142+
143+
## Bugfixes
144+
- Fix headers containing null bytes (#338, @arnaud-lb, @dirx @nick-zh)
145+
- Fix topic deconstruct for high level consumer (#333, @nick-zh)
146+
147+
## Documentation
148+
- Fix doc example (#340, @Steveb-p)
149+
- Remove outdated and duplicate examples (#341, @nick-zh)
150+
</notes>
151+
</release>
121152
<release>
122153
<date>2019-12-15</date>
123154
<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.4-dev"
52+
#define PHP_RDKAFKA_VERSION "4.0.4"
5353

5454
extern zend_object_handlers kafka_default_object_handlers;
5555
extern zend_class_entry * ce_kafka_exception;

0 commit comments

Comments
 (0)