diff --git a/README.md b/README.md index 6bc22f3..3c0977d 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,12 @@ | x86_64 | ✅ | ✅ | | arm 64 | ✅ | ✅ | -| Refname | libGRPC version | Core version | Zig `0.16.x` | Zig `0.15.x` | -|:-----------|:-----------------------|-------------:|:------------:|:------------:| -| `1.80.0` | `v1.80.0` "glimmering" | `53.0.0` | ✅ | ✅ | -| `1.78.1+1` | `v1.78.1` "gusty" | `52.0.0` | ✅ | ✅ | -| `1.76.0+2` | `v1.76.0` "genuine" | `51.0.0` | ✅ | ✅ | +| Refname | libGRPC version | Core version | Zig `0.17-dev` | Zig `0.16.x` | Zig `0.15.x` | +|:-----------|:-----------------------|-------------:|:--------------:|:------------:|:------------:| +| `1.81.0` | `v1.81.0` "graphic" | `54.0.0` | ✅ | ✅ | ✅ | +| `1.80.0` | `v1.80.0` "glimmering" | `53.0.0` | ✅ | ✅ | ✅ | +| `1.78.1+1` | `v1.78.1` "gusty" | `52.0.0` | ✅ | ✅ | ✅ | +| `1.76.0+2` | `v1.76.0` "genuine" | `51.0.0` | ✅ | ✅ | ✅ | ## Use diff --git a/UPDATE.md b/UPDATE.md index 1995f0c..d68ff14 100644 --- a/UPDATE.md +++ b/UPDATE.md @@ -9,7 +9,7 @@ Check upstream and copy the pinned versions ```shell zig fetch --save=abseil git+https://github.com/abseil/abseil-cpp#20250512.1 zig fetch --save=re2 git+https://github.com/google/re2#2022-04-01 -zig fetch --save=boringssl git+https://github.com/google/boringssl#c63fadbde60a2224c22189d14c4001bbd2a3a629 +zig fetch --save=boringssl git+https://github.com/google/boringssl#2b44a3701a4788e1ef866ddc7f143060a3d196c9 zig fetch --save=cares git+https://github.com/c-ares/c-ares#v1.34.5 zig fetch --save=gtest git+https://github.com/google/googletest#v1.17.0 zig fetch --save=zlib git+https://github.com/madler/zlib#v1.3.1 diff --git a/build.zig.zon b/build.zig.zon index f1ebef6..1ecd52e 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,6 +1,6 @@ .{ .name = .grpc, - .version = "1.80.0", + .version = "1.81.0", .fingerprint = 0x2b44e58c15cd55d6, .minimum_zig_version = "0.15.0", @@ -14,8 +14,8 @@ .dependencies = .{ .upstream = .{ - .url = "git+https://github.com/grpc/grpc?ref=v1.80.0#f5e2d6e856176c2f6b7691032adfefe21e5f64c1", - .hash = "N-V-__8AANNYpwQkP4eQOlrt_DarfPhC7PhWauwIGOF5Tb2k", + .url = "git+https://github.com/grpc/grpc?ref=v1.81.0#8bdf11e5097abecbe6cffb70866625a0b8044948", + .hash = "N-V-__8AADPKrAQeUNJ4rzMScB22o0_UPGawaRGptzAPhRua", }, .abseil = .{ .url = "git+https://github.com/abseil/abseil-cpp?ref=20250512.1#76bb24329e8bf5f39704eb10d21b9a80befa7c81", diff --git a/generate.py b/generate.py index f284421..f044611 100644 --- a/generate.py +++ b/generate.py @@ -48,7 +48,7 @@ def splitByLanguage(prefix, current): libgrpc = splitByLanguage('libgrpc_src_core', filelists.pop('libgrpc_src_core')) filelists |= libgrpc filelists['libcares_src'] = [f.split('/', 3)[-1] for f in filelists.pop('LIBCARES_SRC')] -filelists['libboringssl_src'] = [f.split('/', 3)[-1] for f in filelists.pop('LIBBORINGSSL_SRC')] +filelists['libboringssl_src'] = [f.split('/', 2)[-1] for f in filelists.pop('LIBBORINGSSL_SRC')] filelists['libz_src'] = [f.split('/', 2)[-1] for f in filelists.pop('LIBZ_SRC')] for name, files in filelists.items(): diff --git a/generated.zig b/generated.zig index 91f9414..f580946 100644 --- a/generated.zig +++ b/generated.zig @@ -3,6 +3,7 @@ pub const public_headers_c = .{ "include/grpc/byte_buffer_reader.h", "include/grpc/census.h", "include/grpc/compression.h", + "include/grpc/context_types.h", "include/grpc/create_channel_from_endpoint.h", "include/grpc/credentials.h", "include/grpc/credentials_cpp.h", @@ -268,9 +269,10 @@ pub const libgrpc_third_party_upb = .{ "upb/text/encode.c", "upb/text/internal/encode.c", "upb/wire/decode.c", + "upb/wire/decode_fast/select.c", "upb/wire/encode.c", "upb/wire/eps_copy_input_stream.c", - "upb/wire/internal/decode_fast.c", + "upb/wire/internal/decoder.c", "upb/wire/reader.c", }; pub const libgrpc_third_party_utf8_range = .{ @@ -449,6 +451,7 @@ pub const libgrpc_src_core_cpp = .{ "filter/auth/client_auth_filter.cc", "filter/auth/server_auth_filter.cc", "filter/blackboard.cc", + "filter/composite/composite_filter.cc", "filter/fused_filters.cc", "handshaker/endpoint_info/endpoint_info_handshaker.cc", "handshaker/handshaker.cc", @@ -727,6 +730,7 @@ pub const libgrpc_src_core_cpp = .{ "telemetry/tcp_tracer.cc", "transport/auth_context.cc", "transport/endpoint_transport_client_channel_factory.cc", + "transport/session_endpoint.cc", "tsi/alts/crypt/aes_gcm.cc", "tsi/alts/crypt/gsec.cc", "tsi/alts/frame_protector/alts_counter.cc", @@ -843,6 +847,7 @@ pub const libgrpc_src_core_cpp = .{ "xds/grpc/xds_endpoint.cc", "xds/grpc/xds_endpoint_parser.cc", "xds/grpc/xds_health_status.cc", + "xds/grpc/xds_http_composite_filter.cc", "xds/grpc/xds_http_fault_filter.cc", "xds/grpc/xds_http_filter.cc", "xds/grpc/xds_http_filter_registry.cc", @@ -941,7 +946,10 @@ pub const libgrpc_src_core_c = .{ "ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c", "ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c", "ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c", + "ext/upb-gen/envoy/extensions/common/matching/v3/extension_matcher.upb_minitable.c", "ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c", + "ext/upb-gen/envoy/extensions/filters/common/matcher/action/v3/skip_action.upb_minitable.c", + "ext/upb-gen/envoy/extensions/filters/http/composite/v3/composite.upb_minitable.c", "ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c", "ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.c", "ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c", @@ -1120,7 +1128,10 @@ pub const libgrpc_src_core_c = .{ "ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c", "ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c", "ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c", + "ext/upbdefs-gen/envoy/extensions/common/matching/v3/extension_matcher.upbdefs.c", "ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c", + "ext/upbdefs-gen/envoy/extensions/filters/common/matcher/action/v3/skip_action.upbdefs.c", + "ext/upbdefs-gen/envoy/extensions/filters/http/composite/v3/composite.upbdefs.c", "ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c", "ext/upbdefs-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upbdefs.c", "ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c", @@ -1351,9 +1362,7 @@ pub const libboringssl_src = .{ "crypto/blake2/blake2.cc", "crypto/bn/bn_asn1.cc", "crypto/bn/convert.cc", - "crypto/bn/div.cc", "crypto/bn/exponentiation.cc", - "crypto/bn/sqrt.cc", "crypto/buf/buf.cc", "crypto/bytestring/asn1_compat.cc", "crypto/bytestring/ber.cc",