diff --git a/composer.json b/composer.json
new file mode 100644
index 00000000..0deee7c2
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,19 @@
+{
+ "name": "rdkafka/rdkafka",
+ "type": "php-ext",
+ "license": "MIT",
+ "description": "A PHP extension for Kafka",
+ "require": {
+ "php": ">= 8.1.0"
+ },
+ "php-ext": {
+ "extension-name": "rdkafka",
+ "configure-options": [
+ {
+ "name": "with-rdkafka",
+ "description": "Use system librdkafka",
+ "needs-value": true
+ }
+ ]
+ }
+}
diff --git a/package.xml b/package.xml
index 546d59be..5000bc89 100644
--- a/package.xml
+++ b/package.xml
@@ -10,10 +10,10 @@
arnaud.lb@gmail.com
yes
- 2024-10-24
-
+ 2024-11-04
+
- 6.0.4
+ 6.0.5
6.0.0
@@ -22,16 +22,10 @@
MIT License
- ## Improvements
- - Added OAUTHBEARER support. New methods: RdKafka\Conf::setOauthbearerTokenRefreshCb(), RdKafka::oauthbearerSetToken(), RdKafka::oauthbearerSetTokenFailure() (#546, #547, @cb-freddysart, @scorgn)
- - Added incremental rebalance support. New methods: RdKafka\KafkaConsumer::incrementalAssign(), RdKafka\KafkaConsumer::incrementalUnassign() (#541, @ikeberlein)
- - Added RdKafka::getControllerId() (#554, @qkdreyer)
-
- ## Bugfixes
- - Add private constructor on Metadata classes (#531, @arnaud-lb)
-
- ## Other Changes
- - Improve KafkaErrorException message (#555, @arnaud-lb)
+ ## Bug fixes
+ - Fix php 7.0 build (#563, @arnaud-lb)
+ - Fix x32 build (#565, @arnaud-lb)
+ - Fix segmentation fault in setOauthbearerTokenRefreshCb when sasl.oauthbearer.config is unset (#568, @scorgn)
@@ -163,6 +157,31 @@
+
+ 2024-10-24
+
+
+ 6.0.4
+ 6.0.0
+
+
+ stable
+ stable
+
+ MIT License
+
+ ## Improvements
+ - Added OAUTHBEARER support. New methods: RdKafka\Conf::setOauthbearerTokenRefreshCb(), RdKafka::oauthbearerSetToken(), RdKafka::oauthbearerSetTokenFailure() (#546, #547, @cb-freddysart, @scorgn)
+ - Added incremental rebalance support. New methods: RdKafka\KafkaConsumer::incrementalAssign(), RdKafka\KafkaConsumer::incrementalUnassign() (#541, @ikeberlein)
+ - Added RdKafka::getControllerId() (#554, @qkdreyer)
+
+ ## Bugfixes
+ - Add private constructor on Metadata classes (#531, @arnaud-lb)
+
+ ## Other Changes
+ - Improve KafkaErrorException message (#555, @arnaud-lb)
+
+
2022-07-02
diff --git a/php_rdkafka.h b/php_rdkafka.h
index 58cc8731..b04d2556 100644
--- a/php_rdkafka.h
+++ b/php_rdkafka.h
@@ -43,7 +43,7 @@ PHP_METHOD(RdKafka, __construct);
extern zend_module_entry rdkafka_module_entry;
#define phpext_rdkafka_ptr &rdkafka_module_entry
-#define PHP_RDKAFKA_VERSION "6.0.4"
+#define PHP_RDKAFKA_VERSION "7.0.0-dev"
extern zend_object_handlers kafka_default_object_handlers;
extern zend_class_entry * ce_kafka_exception;
diff --git a/tools/new-package-release.php b/tools/new-package-release.php
index 7d4a082d..286dcff9 100755
--- a/tools/new-package-release.php
+++ b/tools/new-package-release.php
@@ -31,8 +31,9 @@ function printUsage(): void
function generateReleaseNotes(string $newVersion): string
{
$cmd = sprintf(
- 'gh api repos/arnaud-lb/php-rdkafka/releases/generate-notes -f tag_name=%s',
+ 'gh api repos/arnaud-lb/php-rdkafka/releases/generate-notes -f tag_name=%s -f target_commitish=%s',
escapeshellcmd($newVersion),
+ escapeshellcmd(exec("git rev-parse HEAD")),
);
$result = exec($cmd);