Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ To update dependencies such as `SwiftProtobuf` in this repository:
[`Connect-Swift-Mocks.podspec`](../Connect-Swift-Mocks.podspec) files.
4. Open the [Swift package example app](../Examples/ElizaSwiftPackageApp) to ensure its `Package.resolved` file gets updated.
5. Run `pod update` in the [CocoaPods example app's directory](../Examples/ElizaCocoaPodsApp).
6. Update remote plugin entries (such as `buf.build/apple/swift`) in all `buf.gen.yaml` files to be in sync with their respective runtime libraries.
7. Run `make generate` to apply any generated diffs from the newly updated plugins.

## Releasing

Expand Down
2 changes: 1 addition & 1 deletion Connect-Swift-Mocks.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Pod::Spec.new do |spec|
spec.tvos.deployment_target = '13.0'

spec.dependency 'Connect-Swift', "#{spec.version.to_s}"
spec.dependency 'SwiftProtobuf', '~> 1.22.0'
spec.dependency 'SwiftProtobuf', '~> 1.23.0'

spec.source_files = 'Libraries/ConnectMocks/**/*.swift'

Expand Down
2 changes: 1 addition & 1 deletion Connect-Swift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Pod::Spec.new do |spec|
spec.osx.deployment_target = '10.15'
spec.tvos.deployment_target = '13.0'

spec.dependency 'SwiftProtobuf', '~> 1.22.0'
spec.dependency 'SwiftProtobuf', '~> 1.23.0'

spec.source_files = 'Libraries/Connect/**/*.swift'

Expand Down
8 changes: 4 additions & 4 deletions Examples/ElizaCocoaPodsApp/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PODS:
- Connect-Swift (0.6.0):
- SwiftProtobuf (~> 1.22.0)
- SwiftProtobuf (1.22.0)
- SwiftProtobuf (~> 1.23.0)
- SwiftProtobuf (1.23.0)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume that this indentation is autogenerated and correct...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep


DEPENDENCIES:
- Connect-Swift (from `../..`)
Expand All @@ -15,8 +15,8 @@ EXTERNAL SOURCES:
:path: "../.."

SPEC CHECKSUMS:
Connect-Swift: ba76bc64b2153cacce4f7985a21d4d81473dac90
SwiftProtobuf: 40bd808372cb8706108f22d28f8ab4a6b9bc6989
Connect-Swift: ca072ef1a95341460bcc08074fc5d46ecc055fb9
SwiftProtobuf: b70d65f419fbfe61a2d58003456ca5da58e337d6

PODFILE CHECKSUM: b598f373a6ab5add976b09c2ac79029bf2200d48

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Examples/buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: v1
plugins:
- plugin: buf.build/apple/swift
- plugin: buf.build/apple/swift:v1.23.0
opt: Visibility=Internal
out: ./ElizaSharedSources/GeneratedSources
- name: connect-swift
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Connect/buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: v1
plugins:
- plugin: buf.build/apple/swift
- plugin: buf.build/apple/swift:v1.23.0
opt: Visibility=Internal
out: ./Implementation/Generated
4 changes: 2 additions & 2 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ let package = Package(
),
.package(
url: "https://github.com/apple/swift-protobuf.git",
from: "1.22.0"
from: "1.23.0"
),
],
targets: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ enum Grpc_Testing_PayloadType: SwiftProtobuf.Enum {

extension Grpc_Testing_PayloadType: CaseIterable {
// The compiler won't synthesize support with the UNRECOGNIZED case.
static var allCases: [Grpc_Testing_PayloadType] = [
static let allCases: [Grpc_Testing_PayloadType] = [
.compressable,
]
}
Expand Down Expand Up @@ -124,7 +124,7 @@ enum Grpc_Testing_GrpclbRouteType: SwiftProtobuf.Enum {

extension Grpc_Testing_GrpclbRouteType: CaseIterable {
// The compiler won't synthesize support with the UNRECOGNIZED case.
static var allCases: [Grpc_Testing_GrpclbRouteType] = [
static let allCases: [Grpc_Testing_GrpclbRouteType] = [
.unknown,
.fallback,
.backend,
Expand Down Expand Up @@ -654,7 +654,7 @@ struct Grpc_Testing_ClientConfigureRequest {

extension Grpc_Testing_ClientConfigureRequest.RpcType: CaseIterable {
// The compiler won't synthesize support with the UNRECOGNIZED case.
static var allCases: [Grpc_Testing_ClientConfigureRequest.RpcType] = [
static let allCases: [Grpc_Testing_ClientConfigureRequest.RpcType] = [
.emptyCall,
.unaryCall,
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ enum Server_V1_Protocol: SwiftProtobuf.Enum {

extension Server_V1_Protocol: CaseIterable {
// The compiler won't synthesize support with the UNRECOGNIZED case.
static var allCases: [Server_V1_Protocol] = [
static let allCases: [Server_V1_Protocol] = [
.unspecified,
.grpc,
.grpcWeb,
Expand Down
2 changes: 1 addition & 1 deletion Tests/ConnectLibraryTests/buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: v1
plugins:
- plugin: buf.build/apple/swift
- plugin: buf.build/apple/swift:v1.23.0
opt: Visibility=Internal
out: ./Generated
- name: connect-swift
Expand Down