Skip to content

Commit

Permalink
release/6.0.5 (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-lb authored Nov 4, 2024
1 parent 8f0f577 commit 2df0c74
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 15 deletions.
45 changes: 32 additions & 13 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>2024-10-24</date>
<time>14:56:47</time>
<date>2024-11-04</date>
<time>11:24:15</time>
<version>
<release>6.0.4</release>
<release>6.0.5</release>
<api>6.0.0</api>
</version>
<stability>
Expand All @@ -22,16 +22,10 @@
</stability>
<license uri="http://opensource.org/licenses/mit-license.php">MIT License</license>
<notes>
## 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)
</notes>
<contents>
<dir name="/">
Expand Down Expand Up @@ -178,6 +172,31 @@
<configureoption name="with-rdkafka" default="autodetect" prompt="librdkafka installation path?"/>
</extsrcrelease>
<changelog>
<release>
<date>2024-10-24</date>
<time>14:56:47</time>
<version>
<release>6.0.4</release>
<api>6.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>
## 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)
</notes>
</release>
<release>
<date>2022-07-02</date>
<time>12:26:56</time>
Expand Down
2 changes: 1 addition & 1 deletion php_rdkafka.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 "6.0.5"

extern zend_object_handlers kafka_default_object_handlers;
extern zend_class_entry * ce_kafka_exception;
Expand Down
3 changes: 2 additions & 1 deletion tools/new-package-release.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2df0c74

Please sign in to comment.