This is an automated email from the ASF dual-hosted git repository.
xyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-node.git
The following commit(s) were added to refs/heads/master by this push:
new 968a971 Bump cpp client version to v4.0.0 (#443)
968a971 is described below
commit 968a9714310ddb478a451d5de7bb43454353972c
Author: Yunze Xu <[email protected]>
AuthorDate: Mon Dec 15 13:16:20 2025 +0800
Bump cpp client version to v4.0.0 (#443)
---
.github/workflows/ci-build-release-napi.yml | 2 +-
.github/workflows/ci-pr-validation.yml | 2 +-
binding.gyp | 6 +++---
pulsar-client-cpp.txt | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/ci-build-release-napi.yml
b/.github/workflows/ci-build-release-napi.yml
index d9012c5..f91d253 100644
--- a/.github/workflows/ci-build-release-napi.yml
+++ b/.github/workflows/ci-build-release-napi.yml
@@ -45,7 +45,7 @@ jobs:
- "3.10"
include:
- arch: x64
- os: macos-13
+ os: macos-15-intel
- arch: arm64
# macos-14 is used for arm64
os: macos-14
diff --git a/.github/workflows/ci-pr-validation.yml
b/.github/workflows/ci-pr-validation.yml
index aaf0547..14b2fc5 100644
--- a/.github/workflows/ci-pr-validation.yml
+++ b/.github/workflows/ci-pr-validation.yml
@@ -87,7 +87,7 @@ jobs:
- "3.10"
include:
- arch: x64
- os: macos-13
+ os: macos-15-intel
- arch: arm64
# macos-14 is used for arm64
os: macos-14
diff --git a/binding.gyp b/binding.gyp
index 929f307..e5116af 100644
--- a/binding.gyp
+++ b/binding.gyp
@@ -21,9 +21,9 @@
"targets": [
{
"target_name": "pulsar",
- "cflags_cc": ["-std=gnu++11", "-fvisibility=hidden"],
+ "cflags_cc": ["-std=gnu++17", "-fvisibility=hidden"],
"cflags!": ["-fno-exceptions"],
- "cflags_cc!": ["-fno-exceptions", "-std=gnu++14", "-std=gnu++17"],
+ "cflags_cc!": ["-fno-exceptions"],
"include_dirs": [
"<!@(node -p \"require('node-addon-api').include\")",
],
@@ -49,7 +49,7 @@
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
'GCC_ENABLE_CPP_RTTI': 'YES',
'MACOSX_DEPLOYMENT_TARGET': '11.0',
- 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++11',
+ 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++17',
'OTHER_CFLAGS': [
"-fPIC",
]
diff --git a/pulsar-client-cpp.txt b/pulsar-client-cpp.txt
index 304f2aa..48f8d0e 100644
--- a/pulsar-client-cpp.txt
+++ b/pulsar-client-cpp.txt
@@ -1,2 +1,2 @@
-CPP_CLIENT_BASE_URL=https://archive.apache.org/dist/pulsar/pulsar-client-cpp-3.8.0
-CPP_CLIENT_VERSION=3.8.0
+CPP_CLIENT_BASE_URL=https://archive.apache.org/dist/pulsar/pulsar-client-cpp-4.0.0
+CPP_CLIENT_VERSION=4.0.0