From c40fc598fd70404d0d094c0929d337ca005bf90a Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Tue, 23 Jul 2024 15:09:40 +0100 Subject: [PATCH 1/3] fix: update protobuf version to 25.2 fixes #63 / #33 works OOB with MacOS aarch64. 26.x/27.x fail on MacOS aarch64 for integrations with via pact_ffi for - php - swift - dotnet - lua --- pact-plugin.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pact-plugin.json b/pact-plugin.json index 742fcbb..abf198e 100644 --- a/pact-plugin.json +++ b/pact-plugin.json @@ -6,7 +6,7 @@ "executableType": "exec", "entryPoint": "pact-protobuf-plugin", "pluginConfig": { - "protocVersion": "21.12", + "protocVersion": "25.2", "downloadUrl": "https://github.com/protocolbuffers/protobuf/releases/download", "hostToBindTo": "127.0.0.1" } From d405c7d01bf5caf960c45ab41026d872d984bf94 Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Tue, 23 Jul 2024 15:11:20 +0100 Subject: [PATCH 2/3] chore(cross): update protobuf version to 25.2 --- Cross.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Cross.toml b/Cross.toml index 5874bc7..dc2499d 100644 --- a/Cross.toml +++ b/Cross.toml @@ -1,12 +1,12 @@ [target.x86_64-unknown-linux-musl] pre-build=[ "apt-get update && apt-get install --assume-yes wget unzip", - "wget https://github.com/protocolbuffers/protobuf/releases/download/v21.5/protoc-21.5-linux-x86_64.zip", - "unzip protoc-21.5-linux-x86_64.zip -d /usr/local/" + "wget https://github.com/protocolbuffers/protobuf/releases/download/v25.2/protoc-25.2-linux-x86_64.zip", + "unzip protoc-25.2-linux-x86_64.zip -d /usr/local/" ] [target.aarch64-unknown-linux-musl] pre-build=[ "dpkg --add-architecture arm64 && apt-get update && apt-get install --assume-yes wget unzip", - "wget https://github.com/protocolbuffers/protobuf/releases/download/v21.5/protoc-21.5-linux-x86_64.zip", - "unzip protoc-21.5-linux-x86_64.zip -d /usr/local/" -] \ No newline at end of file + "wget https://github.com/protocolbuffers/protobuf/releases/download/v21.5/protoc-25.2-linux-x86_64.zip", + "unzip protoc-25.2-linux-x86_64.zip -d /usr/local/" +] From e533deea4c403736f1774827eee3befda4b434db Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Tue, 23 Jul 2024 15:33:59 +0100 Subject: [PATCH 3/3] chore(cross): update protobuf version to 25.2 --- Cross.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cross.toml b/Cross.toml index dc2499d..62aa8b9 100644 --- a/Cross.toml +++ b/Cross.toml @@ -7,6 +7,6 @@ pre-build=[ [target.aarch64-unknown-linux-musl] pre-build=[ "dpkg --add-architecture arm64 && apt-get update && apt-get install --assume-yes wget unzip", - "wget https://github.com/protocolbuffers/protobuf/releases/download/v21.5/protoc-25.2-linux-x86_64.zip", + "wget https://github.com/protocolbuffers/protobuf/releases/download/v25.2/protoc-25.2-linux-x86_64.zip", "unzip protoc-25.2-linux-x86_64.zip -d /usr/local/" ]