Skip to content

Tags: grpc/grpc-swift

Tags

1.24.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add a merge method to Metadata (#2084)

## Motivation
We want to be able to flatten `RPCError`s, and to do so we need to be
able to merge the `Metadata` contained in each.

## Modifications
This PR adds a helper function to merge one `Metadata` instance into
another.

## Result
Unblocks #2083 and also provides
a potentially useful API for users.

**- Note:** Because of the way `Metadata` has been implemented, we can
have multiple _identical_ key-value pairs. This isn't ideal, as it's
particularly feasible that we'll end up with multiple repeated identical
pairs when merging two `Metadata`s. I think we should reconsider the
backing data structure (using a set for example) or add a check before
inserting to avoid this.

2.0.0-alpha.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update example (#2077)

Motivation:

Some names changed in #2076 and
now our examples don't compile.

Modifications:

- Update examples

Result:

Examples compile

1.23.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adopt swift-testing for MethodConfig tests (#2055)

Motivation:

swift-testing has a number of advantages over XCTest (parameterisation,
organisation, failure messages etc.), we should start using it instead
of XCTest.

Modifications:

- Convert the MethodConfig coding tests
- Fixed a couple of bugs found by additional testing

Results:

Fewer bugs, better tests

1.23.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version number to 1.23.0 (#1863)

Motivation:

We plan on tagging a release soon.

Modifications:

- Bump the version to 1.23.0

Result:

The version in the default user-agent string will match the released
version.

1.22.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update Version.swift (#1846)

1.21.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version number to 1.21.1 (#1798)

Motivation:

We plan on tagging a release soon.

Modifications:

- Bump the version to 1.21.1

Result:

The version in the default user-agent string will match the released
version.

1.21.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Bump version number to 1.21.0 (#1741)

Motivation:

We plan on tagging a release soon.

Modifications:

- Bump the version to 1.21.0

Result:

The version in the default user-agent string will match the released
version.

1.20.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Additional keepalive diagnostics (#1692)

Motivation:

It's useful to know the state of keepalive when debugging connection
issues. gRPC doesn't emit any logs around this at the moment which makes
debugging difficult.

Modifications:

Add additional logs to the idle handler when:
- the idle timeout task is scheduled, cancelled, and fires
- the keepalive timer is scheduled
- the scheduled close timer is fired
- the connection is closed
- GOAWAY frames are sent (already logs on receive)
- PING frames are sent and received

Result:

Better visibility into connection lifecycle

1.19.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Bump version number to 1.19.1 (#1642)

Motivation:

We plan on tagging a release soon.

Modifications:

- Bump the version to 1.19.1

Result:

The version in the default user-agent string will match the released
version.

1.19.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Bump version number to 1.19.0 (#1637)

Motivation:

We plan on tagging a release soon.

Modifications:

- Bump the version to 1.19.0

Result:

The version in the default user-agent string will match the released
version.