Skip to content

Commit 9ab13b4

Browse files
committed
5.0.0
1 parent 515a17f commit 9ab13b4

File tree

2 files changed

+47
-17
lines changed

2 files changed

+47
-17
lines changed

package.xml

Lines changed: 46 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
<name>rdkafka</name>
44
<channel>pecl.php.net</channel>
55
<summary>Kafka client based on librdkafka</summary>
6-
<description>This extension is a librdkafka binding providing a working client for Kafka</description>
6+
<description>PHP-rdkafka is a stable Kafka client for PHP based on librdkafka</description>
77
<lead>
88
<name>Arnaud Le Blanc</name>
99
<user>lbarnaud</user>
1010
<email>arnaud.lb@gmail.com</email>
1111
<active>yes</active>
1212
</lead>
13-
<date>2020-12-06</date>
13+
<date>2021-01-14</date>
1414
<time>12:00:00</time>
1515
<version>
16-
<release>4.1.0</release>
16+
<release>5.0.0</release>
1717
<api>4.0.0</api>
1818
</version>
1919
<stability>
@@ -22,16 +22,12 @@
2222
</stability>
2323
<license uri="http://opensource.org/licenses/mit-license.php">MIT License</license>
2424
<notes>
25-
BREAKING CHANGE: Since version 4.0, the client no longer polls for network
26-
events at shutdown (during object destructor). This behaviour didn't give
27-
enough control to the user in case of server issue, and could cause the script
28-
to hang while terminating.
25+
## Enhancements
26+
- PHP 8 support (@nick-zh, @arnaud-lb)
27+
- Suport passing an opaque value in produce(), producev() (@arnaud-lb)
2928

30-
Starting from 4.0, programs MUST call flush() before shutting down, otherwise
31-
some messages and callbacks may be lost.
32-
33-
## Features
34-
- Add transactional producer support (#359, @nick-zh)
29+
## Breaking changes
30+
- Dropped PHP 5 support
3531
</notes>
3632
<contents>
3733
<dir name="/">
@@ -80,15 +76,24 @@
8076
<file role="test" name="conf_callbacks_integration.phpt"/>
8177
<file role="test" name="conf_callbacks.phpt"/>
8278
<file role="test" name="conf.phpt"/>
79+
<file role="test" name="conf_setDefaultTopicConf8.phpt"/>
8380
<file role="test" name="conf_setDefaultTopicConf.phpt"/>
8481
<file role="test" name="constants.phpt"/>
85-
<file role="test" name="integration-tests-check.php"/>
82+
<file role="test" name="init_transaction_not_configured.phpt"/>
83+
<file role="test" name="kafka_error_exception.phpt"/>
8684
<file role="test" name="message_headers.phpt"/>
8785
<file role="test" name="produce_consume.phpt"/>
8886
<file role="test" name="produce_consume_queue.phpt"/>
87+
<file role="test" name="produce_consume_transactional.phpt"/>
88+
<file role="test" name="produce_opaque_noconf.phpt"/>
89+
<file role="test" name="produce_opaque_noflush_dr_callback.phpt"/>
90+
<file role="test" name="produce_opaque_noflush.phpt"/>
91+
<file role="test" name="produce_opaque.phpt"/>
92+
<file role="test" name="produce_opaque_purge_dr_callback.phpt"/>
93+
<file role="test" name="produce_opaque_purge.phpt"/>
94+
<file role="test" name="producev_opaque.phpt"/>
8995
<file role="test" name="rd_kafka_get_err_descs.phpt"/>
9096
<file role="test" name="test0.phpt"/>
91-
<file role="test" name="test_env.php.sample"/>
9297
<file role="test" name="topic_conf.phpt"/>
9398
<file role="test" name="topic_partition.phpt"/>
9499
</dir>
@@ -97,8 +102,8 @@
97102
<dependencies>
98103
<required>
99104
<php>
100-
<min>5.6.0</min>
101-
<max>7.99.99</max>
105+
<min>7.0.0</min>
106+
<max>8.99.99</max>
102107
</php>
103108
<pearinstaller>
104109
<min>1.4.8</min>
@@ -108,6 +113,31 @@
108113
<providesextension>rdkafka</providesextension>
109114
<extsrcrelease/>
110115
<changelog>
116+
<release>
117+
<date>2020-12-06</date>
118+
<time>12:00:00</time>
119+
<version>
120+
<release>4.1.0</release>
121+
<api>4.0.0</api>
122+
</version>
123+
<stability>
124+
<release>stable</release>
125+
<api>stable</api>
126+
</stability>
127+
<license uri="http://opensource.org/licenses/mit-license.php">MIT License</license>
128+
<notes>
129+
BREAKING CHANGE: Since version 4.0, the client no longer polls for network
130+
events at shutdown (during object destructor). This behaviour didn't give
131+
enough control to the user in case of server issue, and could cause the script
132+
to hang while terminating.
133+
134+
Starting from 4.0, programs MUST call flush() before shutting down, otherwise
135+
some messages and callbacks may be lost.
136+
137+
## Features
138+
- Add transactional producer support (#359, @nick-zh)
139+
</notes>
140+
</release>
111141
<release>
112142
<version>
113143
<release>4.0.4</release>

php_rdkafka.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ PHP_METHOD(RdKafka, __construct);
4343
extern zend_module_entry rdkafka_module_entry;
4444
#define phpext_rdkafka_ptr &rdkafka_module_entry
4545

46-
#define PHP_RDKAFKA_VERSION "4.1.0"
46+
#define PHP_RDKAFKA_VERSION "5.0.0"
4747

4848
extern zend_object_handlers kafka_default_object_handlers;
4949
extern zend_class_entry * ce_kafka_exception;

0 commit comments

Comments
 (0)