Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
9bdb0d1
Filter down main to v2 (#2066)
glbrntt Sep 20, 2024
cf29048
Make examples standalone packages (#2067)
glbrntt Sep 24, 2024
c8d5500
Add an underscore between generated service name and component (#2072)
glbrntt Sep 25, 2024
4e21120
Update examples (#2073)
glbrntt Sep 25, 2024
1fd34e7
Restructure in-process transport (#2071)
clintonpi Sep 25, 2024
cfa6743
Update tutorials and docs (#2070)
glbrntt Sep 30, 2024
1e92fc8
Improve naming of request/response types (#2076)
glbrntt Oct 1, 2024
432c955
Update example (#2077)
glbrntt Oct 1, 2024
82b3a75
Update examples (#2078)
glbrntt Oct 1, 2024
5287f05
Add deployment targets to the package manifest (#2082)
glbrntt Oct 4, 2024
74d0848
Add a design doc (#2079)
glbrntt Oct 5, 2024
d5e0d70
Add a merge method to Metadata (#2084)
gjcairo Oct 7, 2024
22d1b57
Remove unbounded variable from formatting script (#2091)
gjcairo Oct 9, 2024
ce25e2c
Flatten `RPCError` causes if they're also `RPCError`s with the same c…
gjcairo Oct 9, 2024
945cbf6
Add an RPC cancellation handler (#2090)
glbrntt Oct 9, 2024
7393a28
Fix decoding of durations in MethodConfig (#2093)
glbrntt Oct 11, 2024
574eea6
Fix route guide tutorial (#2094)
gjcairo Oct 15, 2024
54227cb
Update README to include related repos (#2100)
gjcairo Oct 31, 2024
07e38e9
Migrate CI to use swiftlang / SwiftNIO common GitHub Actions. (#2105)
rnro Nov 7, 2024
61cc2d1
Avoid using vendored lock in BroadcastAsyncSequence (#2108)
glbrntt Nov 8, 2024
55e39fa
Remove '@_exported import GRPCCore' (#2109)
glbrntt Nov 8, 2024
f97f76c
Add more build settings to test targets (#2106)
glbrntt Nov 8, 2024
f963523
Fix some docs formatting (#2112)
gjcairo Nov 13, 2024
c3f09df
Allow adding `ServerInterceptor`s to specific services and methods (#…
gjcairo Nov 13, 2024
02fa77f
Make structured Swift representation types Sendable (#2115)
glbrntt Nov 13, 2024
6bcdbb2
Don't render just spaces in a line (#2114)
glbrntt Nov 14, 2024
c41e0a7
Simplify naming of code gen types (#2116)
glbrntt Nov 14, 2024
e160fd0
Allow adding `ClientInterceptor`s to specific services and methods (#…
gjcairo Nov 15, 2024
dd22b39
Allow metadata to be mutated on server response types (#2120)
glbrntt Nov 15, 2024
c960d06
Add structured swift represntation for the generated metadata (#2117)
glbrntt Nov 18, 2024
3cbc033
Add structured swift represntation for the generated server (#2122)
glbrntt Nov 20, 2024
5260579
Simplify typealias translator (#2126)
glbrntt Nov 20, 2024
8d0bf6f
Add compatibility doc (#2123)
glbrntt Nov 20, 2024
3b0fe70
Add 'with-' methods for client and server (#2121)
glbrntt Nov 21, 2024
ef48ef8
Use ServiceDescriptor within MethodDescriptor (#2127)
glbrntt Nov 22, 2024
67efe3c
Add structured swift represntation for the generated client (#2125)
glbrntt Nov 22, 2024
2cdc570
Use new structured swift representations (#2128)
glbrntt Nov 25, 2024
8bc2a25
Simplify client/server translator tests (#2129)
glbrntt Nov 26, 2024
d70fbad
Simplify generated code (#2131)
glbrntt Nov 26, 2024
12a7366
Use nested protocols (#2132)
glbrntt Nov 27, 2024
311486e
Add documentation to generated code (#2133)
glbrntt Nov 27, 2024
e2629bc
Add a 'simple' service protocol (#2134)
glbrntt Nov 28, 2024
0fc4956
Add remote peer info to the server context (#2136)
glbrntt Dec 3, 2024
962d634
Update parameter labels for GRPCClient (#2137)
glbrntt Dec 4, 2024
1f2e78b
Remove guarded declarations case in generated code (#2138)
gjcairo Dec 4, 2024
b281cf1
Update examples and tutorials (#2139)
glbrntt Dec 4, 2024
e390c85
Update generated code (#2141)
glbrntt Dec 5, 2024
7ed6f7d
Enable MemberImportVisibility check on all targets (#2142)
rnro Dec 11, 2024
13150bd
Add RPCErrorConvertible (#2143)
glbrntt Dec 12, 2024
e431ed6
Add detailed error example and error article (#2145)
glbrntt Dec 17, 2024
ec8db6a
Remove unused Foundation imports (#2146)
glbrntt Dec 17, 2024
dee1f1a
Update release.yml (#2148)
FranzBusch Dec 18, 2024
5be11cd
Add reflection server example (#2149)
glbrntt Dec 20, 2024
0696e0a
Bump versions (#2150)
glbrntt Dec 20, 2024
5e92f64
Make empty generated source files descriptive (#2151)
rnro Jan 6, 2025
560c6c7
Use a nil Descriptor list for empty proto files (#2152)
rnro Jan 7, 2025
76073a2
Extend structured swift to support generic structs (#2154)
glbrntt Jan 13, 2025
1fb1626
Add more properties to `ClientContext` and have the `ClientTransport`…
gjcairo Jan 16, 2025
4214504
Add remote and local peers to `ServerContext` (#2161)
gjcairo Jan 17, 2025
a92a58b
Group DocC docs in the index page (#2160)
glbrntt Jan 17, 2025
eafb334
Rename 'GRPCClient.run()' (#2156)
glbrntt Jan 17, 2025
eb7ed6f
Deduplicate interceptor pipeline operation (#2157)
glbrntt Jan 17, 2025
93d0536
Make transport generic over its bag-of-bytes type (#2155)
glbrntt Jan 17, 2025
b143369
Update examples (#2163)
glbrntt Jan 17, 2025
3e75bbb
Update example dependencies to point to the new beta tag (#2164)
gjcairo Jan 17, 2025
ebcac53
Update tutorials for beta 3 (#2165)
glbrntt Jan 17, 2025
a1dbd15
Use JSON (de)serializers instead of custom ones for tests (#2162)
gjcairo Jan 17, 2025
e4da2bb
Remove deprecated API (#2166)
gjcairo Jan 17, 2025
32d17fb
Fix a few docs (#2168)
glbrntt Jan 21, 2025
0db5cc0
Update thresholds for nightly-6.1 (#2172)
glbrntt Jan 22, 2025
067938b
Allow a Status to be created from an HTTP status code (#2170)
glbrntt Jan 22, 2025
12b2ee2
Update examples CI to use swift-test-matrix (#2174)
glbrntt Jan 22, 2025
9639fe9
Use the protoc build plugin in examples (#2171)
glbrntt Jan 22, 2025
e4f69cf
Simplify code gen lib interface (#2169)
glbrntt Jan 23, 2025
fa33525
Document what constitutes public API (#2175)
glbrntt Jan 23, 2025
f7261ad
Fix typos/punctuation (#2177)
glbrntt Jan 24, 2025
4c6357d
Update tutorials to use the build plugin (#2178)
glbrntt Jan 24, 2025
bfe033f
Update Example READMEs (#2179)
glbrntt Jan 24, 2025
5f21fc9
Document use of the build plugin (#2176)
rnro Jan 24, 2025
6197e77
Move the Generating-stubs article to grpc-swift-protobuf (#2180)
glbrntt Jan 24, 2025
968f4dc
Update dependencies for rc (#2181)
glbrntt Jan 24, 2025
f1a8497
Fix grpc-swift-protobuf version in hello-world example (#2186)
gjcairo Jan 29, 2025
0e94c29
CI use 6.1 nightlies (#2187)
rnro Jan 30, 2025
f20f916
Add `echo-metadata` example (#2182)
gjcairo Jan 31, 2025
2ed95d8
Update dependency requirements and docs (#2188)
glbrntt Jan 31, 2025
2b17298
Add a computed property to get the `bodyParts` from a `StreamingClien…
gjcairo Jan 31, 2025
f163392
Add a dev-tool subpackage (#2167)
glbrntt Jan 31, 2025
eea6b49
Fix Metadata's description for prettier printing (#2185)
gjcairo Jan 31, 2025
c51d91b
Don't build examples twice (#2189)
glbrntt Jan 31, 2025
e31dd43
Add note about minimum deployment versions for Apple platforms (#2190)
glbrntt Feb 4, 2025
362efe5
Ensure imports have explicit access levels (#2192)
glbrntt Feb 10, 2025
85f0fc7
Add an example using swift-service-lifecycle (#2195)
glbrntt Feb 17, 2025
d412128
Fix greeting in service-lifecycle example (#2197)
glbrntt Feb 17, 2025
f9fbd68
Add code gen config for the module name (#2201)
glbrntt Feb 28, 2025
87384f1
Add a migration guide (#2199)
glbrntt Mar 3, 2025
384a8db
Rename nightly_6_1 params to nightly_next (#2203)
rnro Mar 3, 2025
433c0d1
Fix build issues with static Linux SDK (#2206)
gjcairo Mar 14, 2025
634ab22
Add static SDK CI workflow (#2205)
rnro Mar 17, 2025
1470451
Fix Android build (#2207)
marcprux Mar 17, 2025
c4d6281
Convert errors thrown from interceptors (#2209)
glbrntt Mar 18, 2025
edb1ec6
Improve error message when client is run when shutdown (#2215)
glbrntt Mar 27, 2025
e0ba0ed
Add Swift 6.1 CI (#2221)
glbrntt Apr 14, 2025
c295efd
Set tolerance to zero when using `Task.sleep` (#2225)
gjcairo Apr 25, 2025
d8185e7
Fix a few warnings (#2229)
glbrntt May 1, 2025
0d850d6
Add a new field, transportSpecific to ServerContext (#2228)
jtdavey May 2, 2025
b18eb73
Generate availability annotations (#2232)
glbrntt May 8, 2025
90d9094
Add explicit availability annotations (#2234)
glbrntt May 13, 2025
369172a
Normalise CI flags (#2240)
glbrntt May 15, 2025
36e1ad1
Allow padding to be omitted from binary metadata values (#2243)
glbrntt May 27, 2025
adc18c3
Add deprecation warnings (#2248)
glbrntt Jun 3, 2025
ad2a3f8
Enable Swift 6.2 jobs in CI
rnro Sep 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
changelog:
categories:
- title: SemVer Major
labels:
- ⚠️ semver/major
- title: SemVer Minor
labels:
- 🆕 semver/minor
- title: SemVer Patch
labels:
- 🔨 semver/patch
- title: Other Changes
labels:
- semver/none
159 changes: 0 additions & 159 deletions .github/workflows/ci.yaml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Main

on:
push:
branches: [main]
schedule:
- cron: "0 8,20 * * *"

jobs:
unit-tests:
name: Unit tests
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
with:
linux_5_9_enabled: false
linux_5_10_enabled: false
linux_6_0_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -warnings-as-errors -Xswiftc -require-explicit-availability"
linux_6_1_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -warnings-as-errors -Xswiftc -require-explicit-availability"
linux_6_2_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -warnings-as-errors -Xswiftc -require-explicit-availability"
linux_nightly_next_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-availability"
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-availability"

benchmarks:
name: Benchmarks
uses: apple/swift-nio/.github/workflows/benchmarks.yml@main
with:
benchmark_package_path: "IntegrationTests/Benchmarks"
linux_5_9_enabled: false
linux_5_10_enabled: false

static-sdk:
name: Static SDK
uses: apple/swift-nio/.github/workflows/static_sdk.yml@main
74 changes: 74 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: PR

on:
pull_request:
branches: [main]
types: [opened, reopened, synchronize]

jobs:
soundness:
name: Soundness
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
with:
license_header_check_project_name: "gRPC"

grpc-soundness:
name: Soundness
uses: ./.github/workflows/soundness.yml

unit-tests:
name: Unit tests
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
with:
linux_5_9_enabled: false
linux_5_10_enabled: false
linux_6_0_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-availability"
linux_6_1_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-availability"
linux_6_2_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-availability"
linux_nightly_next_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-availability"
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-availability"

construct-examples-matrix:
name: Construct Examples matrix
runs-on: ubuntu-latest
outputs:
examples-matrix: '${{ steps.generate-matrix.outputs.examples-matrix }}'
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- id: generate-matrix
run: echo "examples-matrix=$(curl -s https://raw.githubusercontent.com/apple/swift-nio/main/scripts/generate_matrix.sh | bash)" >> "$GITHUB_OUTPUT"
env:
MATRIX_LINUX_5_9_ENABLED: false
MATRIX_LINUX_5_10_ENABLED: false
MATRIX_LINUX_COMMAND: "./dev/build-examples.sh"
MATRIX_LINUX_SETUP_COMMAND: "apt update && apt install -y protobuf-compiler"

examples-matrix:
name: Examples
needs: construct-examples-matrix
uses: apple/swift-nio/.github/workflows/swift_test_matrix.yml@main
with:
name: "Examples"
matrix_string: '${{ needs.construct-examples-matrix.outputs.examples-matrix }}'

benchmarks:
name: Benchmarks
uses: apple/swift-nio/.github/workflows/benchmarks.yml@main
with:
benchmark_package_path: "IntegrationTests/Benchmarks"
linux_5_9_enabled: false
linux_5_10_enabled: false

cxx-interop:
name: Cxx interop
uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main
with:
linux_5_9_enabled: false
linux_5_10_enabled: false

static-sdk:
name: Static SDK
uses: apple/swift-nio/.github/workflows/static_sdk.yml@main
18 changes: 18 additions & 0 deletions .github/workflows/pull_request_label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: PR

on:
pull_request:
types: [labeled, unlabeled, opened, reopened, synchronize]

jobs:
semver-label-check:
name: Semantic version label check
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Check for Semantic Version label
uses: apple/swift-nio/.github/actions/pull_request_semver_label_checker@main
42 changes: 0 additions & 42 deletions .github/workflows/release.yml

This file was deleted.

51 changes: 51 additions & 0 deletions .github/workflows/soundness.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Soundness

on:
workflow_call:

jobs:
swift-license-check:
name: Swift license headers check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Mark the workspace as safe
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
- name: Run license check
run: |
./dev/license-check.sh

check-generated-code:
name: Check generated code
runs-on: ubuntu-latest
container:
image: swift:latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Mark the workspace as safe
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
- name: Install protoc
run: apt update && apt install -y protobuf-compiler
- name: Run soundness checks
run: |
./dev/check-generated-code.sh

check-imports:
name: Check imports have access level
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Mark the workspace as safe
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
- name: Check import access level
run: |
./dev/check-imports.sh
Loading