unstale

pypi / connectrpc

connectrpc

What changed in connectrpc 0.9 to 0.13, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.

19 breaking1 security12 new APIs and options2 performance7 behavior and defaults18 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.3.1 on npm

connectrpc 0.1323 changes

Breaking changes 5

  • Expired client timeouts fail with deadline_exceeded.

    0.13.0release notes

  • Malformed messages from the peer are reported as invalid_argument.

    0.13.0release notes

  • Support for the end-of-life Python 3.10 is dropped.

    0.13.0release notes

  • The read_max_bytes limit is enforced on unary error responses as well.

    0.13.0release notes

  • Malformed timeout headers are rejected with invalid_argument.

    0.13.0release notes

Security 1

  • Invalid envelope flags are rejected before messages are decoded.

    0.13.0release notes

New APIs and options 2

  • A method's stream type is exposed on the request context.

    0.13.0release notes

  • The ASGI server supports trio for async services in addition to asyncio; client support is not included yet.

    0.13.0release notes

Behavior and default changes 3

  • The ASGI server adds timeout handling; async services enforce request timeouts instead of only propagating them.

    0.13.0release notes

  • Codec type variables now have defaults.

    0.13.0release notes

  • Single-message requests are sent as a sized body.

    0.13.0release notes

Fixes and other changes 12

  • Unknown Connect stream compression is rejected with unimplemented.

    0.13.0release notes

  • WSGI bounds the request body by CONTENT_LENGTH.

    0.13.0release notes

  • WSGI returns 415 for an unknown GET encoding.

    0.13.0release notes

  • Error bodies are written as UTF-8.

    0.13.0release notes

  • Errors occurring before a gRPC stream starts are sent as gRPC responses.

    0.13.0release notes

  • Parsing gRPC timeouts no longer loses precision.

    0.13.0release notes

  • Metadata interceptors are unwound after cancellation.

    0.13.0release notes

  • Python 3.15 is officially supported.

    0.13.0release notes

  • The proto plugin now handles services without methods.

    0.13.0release notes

  • Stream deadlines no longer cancel the caller between messages.

    0.13.0release notes

  • The wrapped generator is closed when a stream interceptor finishes.

    0.13.0release notes

  • Streams that end mid-message or without an end message are reported.

    0.13.0release notes

connectrpc 0.128 changes

Breaking changes 2

  • The JSON codec now accepts fields unknown to the schema by default; set ignore_unknown_fields=False to preserve the previous behavior.

    0.12.0release notes

  • The default incoming message size limit is now 4MB instead of unlimited; raise it for larger messages or set it to None to disable the limit.

    0.12.0release notes

New APIs and options 2

Performance 1

  • The streaming path avoids quadratic buffer copies.

    0.12.0release notes

Behavior and default changes 2

  • Metadata interceptors execute at the start of the chain, before the request is parsed.

    0.12.0release notes

  • Implemented protocols now use positional-only parameters.

    0.12.0release notes

Fixes and other changes 1

  • The message read limit is checked before compression and applied during decompression.

    0.12.0release notes

connectrpc 0.1111 changes

Breaking changes 8

  • ConnectError details now use a dedicated ErrorDetail class with type_name and message_bytes data and a value method, replacing direct google.protobuf Any values.

    0.11.0release notes

  • Use this compatibility codec when setting a JSON codec with google.protobuf messages.

    0.11.0release notes

  • Generated stubs now target protobuf-py messages by default instead of google.protobuf messages.

    0.11.0release notes

  • The generator is now written in Python; prebuilt binaries and a go run mechanism are no longer provided.

    0.11.0release notes

  • The async tri-state option is replaced by an io enum set to async or sync; it defaults to generating both.

    0.11.0release notes

  • Generated service handlers now emit RequestContext parameterized by their input and output types.

    0.11.0release notes

  • RequestContext attributes are properties rather than getter methods, so access headers as ctx.headers instead of ctx.headers().

    0.11.0release notes

  • ResponseMetadata attributes are properties rather than getter methods, so access headers as meta.headers instead of meta.headers().

    0.11.0release notes

New APIs and options 1

  • Set protobuf=google in plugin settings to generate stubs targeting existing google.protobuf messages through the compatibility shim.

    0.11.0release notes

Performance 1

  • Avoids unnecessary copies and reuses protocol singletons.

    0.11.1release notes

Fixes and other changes 1

  • Fixes relative path calculation for generated code, addressing an interop issue that likely prevented most usage.

    0.11.1release notes

connectrpc 0.106 changes

Breaking changes 1

  • The proto_json bool has been replaced by the codec parameter; binary protobuf remains the default.

    0.10.0release notes

New APIs and options 2

  • Code generation can now produce only async or only sync code.

    0.10.0release notes

  • A codec parameter accepts objects implementing the Codec protocol, allowing custom encoding strategies; use proto_json_codec() to opt into JSON encoding.

    0.10.0release notes

Behavior and default changes 1

  • Non-Connect handler exceptions are surfaced to the user.

    0.10.0release notes

Fixes and other changes 2

  • Content type parameters are ignored when matching content types.

    0.10.1release notes

  • GET request query parameters are reordered to match the spec and improve HTTP cache performance.

    0.10.1release notes

connectrpc 0.911 changes

Breaking changes 3

  • Client configuration now takes compression instances rather than compression-name strings.

    0.9.0release notes

  • The PyPI package is now named connectrpc; update dependency specifications from connect-python to continue receiving updates.

    0.9.0release notes

  • Configure a client to use gRPC with protocol=ProtocolType.GRPC instead of grpc=True.

    0.9.0release notes

New APIs and options 5

  • The Compression protocol is public, allowing developers to implement custom compression methods and configure defaults with custom parameters.

    0.9.0release notes

  • Error details now support debug information.

    0.9.0release notes

  • The release adds support for gRPC-Web.

    0.9.0release notes

  • Metadata interceptors' on_end method now accepts an Error | None argument.

    0.9.0release notes

  • Servers can be configured with supported compression methods instead of having them automatically inspected from application dependencies.

    0.9.0release notes

Behavior and default changes 1

  • Compression defaults now enable only gzip, matching other Connect implementations.

    0.9.0release notes

Fixes and other changes 2