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: 1 addition & 1 deletion .github/.release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{".":"0.1.2"}
{".":"0.2.0"}
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Changelog

## [0.2.0](https://github.com/jimeh/connectrpc-ruby/compare/v0.1.2...v0.2.0) (2026-11-16)


### ⚠ BREAKING CHANGES

* TransportRequest#cancellation and StreamRequest#cancellation are now a read-only view instead of ConnectRPC::CallCancellation. The typed SPI (_Cancellation) is unchanged, but custom transports that called commit! or close on request.cancellation must stop; core completes the call.

### Features

* add Rails interceptor hook and document interceptor host coverage ([#95](https://github.com/jimeh/connectrpc-ruby/issues/95)) ([d41f5fb](https://github.com/jimeh/connectrpc-ruby/commit/d41f5fb0edbe67121c5531b8a8dfff614291e287))
* add typed streaming client and server interceptors ([#94](https://github.com/jimeh/connectrpc-ruby/issues/94)) ([31d5fa9](https://github.com/jimeh/connectrpc-ruby/commit/31d5fa957818b231c1a304931ee8343c68a99c79)), closes [#32](https://github.com/jimeh/connectrpc-ruby/issues/32)
* add typed unary client and server interceptors ([#89](https://github.com/jimeh/connectrpc-ruby/issues/89)) ([ca03d6e](https://github.com/jimeh/connectrpc-ruby/commit/ca03d6ecbc6c47903449860e1e83bab2b461ab8b))
* **async:** add HTTP/2 keepalive, ping enforcement and connection age limits ([#76](https://github.com/jimeh/connectrpc-ruby/issues/76)) ([1756faa](https://github.com/jimeh/connectrpc-ruby/commit/1756faa84f367cdbc2aba64e2a314094bae08eb6))
* **async:** fail require when upstream Async contracts change ([#88](https://github.com/jimeh/connectrpc-ruby/issues/88)) ([83b817e](https://github.com/jimeh/connectrpc-ruby/commit/83b817ee451b64746d23d9604a764ce304c39438))


### Bug Fixes

* preserve lifecycle request metadata and caller baggage ([#81](https://github.com/jimeh/connectrpc-ruby/issues/81)) ([54d55fb](https://github.com/jimeh/connectrpc-ruby/commit/54d55fb10f40766b063dbe5cb0ebefc98dccaa7c))
* **rails:** drop the rescued cause from normalized controller errors ([#87](https://github.com/jimeh/connectrpc-ruby/issues/87)) ([66a03a3](https://github.com/jimeh/connectrpc-ruby/commit/66a03a38722fb0ad883bad3d7972220f9c9df4eb))
* resolve audit generator, tooling and packaging findings L13-L16 ([#79](https://github.com/jimeh/connectrpc-ruby/issues/79)) ([915af39](https://github.com/jimeh/connectrpc-ruby/commit/915af39ea54cdc9788676ab351d903f8512446cb))
* resolve audit normalization and transport SPI findings L1-L3, L5 and L6 ([#84](https://github.com/jimeh/connectrpc-ruby/issues/84)) ([712aace](https://github.com/jimeh/connectrpc-ruby/commit/712aace9557bce5c8d1f3a32dbcc8d9c3182bec4))

## [0.1.2](https://github.com/jimeh/connectrpc-ruby/compare/v0.1.1...v0.1.2) (2026-11-16)


Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ verifies with protoc 36.2.
Rack server to your Gemfile, then run `bundle install`:

```ruby
gem "connectrpc", "~> 0.1.0"
gem "connectrpc-rack", "~> 0.1.0"
gem "connectrpc", "~> 0.2.0"
gem "connectrpc-rack", "~> 0.2.0"
gem "google-protobuf", ">= 4.36.2", "< 5"
gem "rackup"
gem "webrick"
Expand Down
2 changes: 1 addition & 1 deletion docs/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ an optional downstream app and routes `PATH_INFO`; unrelated service paths
fall through, while unknown methods within registered services fail explicitly.
Neither core nor handlers need Rack envs. The optional `connectrpc-rack` package
owns `connectrpc/rack` exclusively and loads core through `require "connectrpc"`.
Applications add `gem "connectrpc-rack", "~> 0.1.0"` while keeping the require
Applications add `gem "connectrpc-rack", "~> 0.2.0"` while keeping the require
and `ConnectRPC::Rack` API unchanged. Core has no middleware file or runtime
dependencies; requiring middleware without its package raises an ordinary
`LoadError`. Google loads only through `connectrpc/bindings/google_protobuf`;
Expand Down
2 changes: 1 addition & 1 deletion docs/unary.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ compatible core and Rack dependencies. Add it to your Gemfile and keep
`require "connectrpc/rack"`:

```ruby
gem "connectrpc-rack", "~> 0.1.0"
gem "connectrpc-rack", "~> 0.2.0"
```

Core installed alone has no middleware file, so requiring `connectrpc/rack`
Expand Down
2 changes: 1 addition & 1 deletion gems/connectrpc-async/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ and adoption gates.
## Installation

```ruby
gem "connectrpc-async", "~> 0.1.0"
gem "connectrpc-async", "~> 0.2.0"
```

## Quick start
Expand Down
2 changes: 1 addition & 1 deletion gems/connectrpc-async/lib/connectrpc/async/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module ConnectRPC
module Async
VERSION = "0.1.2" # x-release-please-version
VERSION = "0.2.0" # x-release-please-version
end
end
2 changes: 1 addition & 1 deletion gems/connectrpc-falcon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ and adoption gates.
## Installation

```ruby
gem "connectrpc-falcon", "~> 0.1.0"
gem "connectrpc-falcon", "~> 0.2.0"
gem "google-protobuf", ">= 4.36.2", "< 5"
```

Expand Down
2 changes: 1 addition & 1 deletion gems/connectrpc-falcon/lib/connectrpc/falcon/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module ConnectRPC
module Falcon
VERSION = "0.1.2" # x-release-please-version
VERSION = "0.2.0" # x-release-please-version
end
end
4 changes: 2 additions & 2 deletions gems/connectrpc-health/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ and adoption gates.
## Installation

```ruby
gem "connectrpc-health", "~> 0.1.0"
gem "connectrpc-health", "~> 0.2.0"
```

The runtime dependencies are `connectrpc ~> 0.1.0` and
The runtime dependencies are `connectrpc ~> 0.2.0` and
`google-protobuf >= 4.36.2, < 5`. Core and the hosting packages do not depend
on this package.

Expand Down
2 changes: 1 addition & 1 deletion gems/connectrpc-health/lib/connectrpc/health/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module ConnectRPC
module Health
VERSION = "0.1.2" # x-release-please-version
VERSION = "0.2.0" # x-release-please-version
end
end
4 changes: 2 additions & 2 deletions gems/connectrpc-on-rails/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ Add `connectrpc-on-rails` and your chosen protobuf binding dependency to your
application Gemfile:

```ruby
gem "connectrpc-on-rails", "~> 0.1.0"
gem "connectrpc-on-rails", "~> 0.2.0"
gem "google-protobuf", ">= 4.36.2", "< 5"
```

Runtime dependencies are `connectrpc ~> 0.1.0`, `connectrpc-rack ~> 0.1.0`, and
Runtime dependencies are `connectrpc ~> 0.2.0`, `connectrpc-rack ~> 0.2.0`, and
`actionpack >= 8.0.5.1, < 8.2`. The Rack package supplies the
`rack >= 3.2.7, < 4` requirement. The application chooses its controller base,
binding, authentication, and security policy.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module ConnectRPC
module OnRails
VERSION = "0.1.2" # x-release-please-version
VERSION = "0.2.0" # x-release-please-version
end
end
4 changes: 2 additions & 2 deletions gems/connectrpc-otel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ and adoption gates.
## Installation

```ruby
gem "connectrpc-otel", "~> 0.1.0"
gem "connectrpc-otel", "~> 0.2.0"
```

The only runtime dependencies are `connectrpc ~> 0.1.0` and
The only runtime dependencies are `connectrpc ~> 0.2.0` and
`opentelemetry-api >= 1.11.1, < 2`. Core and the HTTP/framework packages do not
depend on OpenTelemetry. Install and configure the OpenTelemetry SDK and
exporters yourself.
Expand Down
2 changes: 1 addition & 1 deletion gems/connectrpc-otel/lib/connectrpc/otel/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module ConnectRPC
module OTel
VERSION = "0.1.2" # x-release-please-version
VERSION = "0.2.0" # x-release-please-version
end
end
4 changes: 2 additions & 2 deletions gems/connectrpc-prometheus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ and adoption gates.
## Installation

```ruby
gem "connectrpc-prometheus", "~> 0.1.0"
gem "connectrpc-prometheus", "~> 0.2.0"
```

The only runtime dependencies are `connectrpc ~> 0.1.0` and
The only runtime dependencies are `connectrpc ~> 0.2.0` and
`prometheus-client >= 5.0, < 6`. The shared, backend-neutral layer lives in core
as the optional `require "connectrpc/metrics"`. Core and the HTTP/framework
packages do not depend on Prometheus.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module ConnectRPC
module Prometheus
VERSION = "0.1.2" # x-release-please-version
VERSION = "0.2.0" # x-release-please-version
end
end
4 changes: 2 additions & 2 deletions gems/connectrpc-rack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ and adoption gates.

## Installation

Requires Ruby >= 3.4, `connectrpc ~> 0.1.0` and `rack >= 3.2.7, < 4`. Add the
Requires Ruby >= 3.4, `connectrpc ~> 0.2.0` and `rack >= 3.2.7, < 4`. Add the
gem to your Gemfile; it installs compatible core and Rack dependencies:

```ruby
gem "connectrpc-rack", "~> 0.1.0"
gem "connectrpc-rack", "~> 0.2.0"
```

Core installed alone has no runtime dependencies, loads no Rack, and has no
Expand Down
2 changes: 1 addition & 1 deletion gems/connectrpc-rack/lib/connectrpc/rack/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module ConnectRPC
class Rack
VERSION = "0.1.2" # x-release-please-version
VERSION = "0.2.0" # x-release-please-version
end
end
4 changes: 2 additions & 2 deletions gems/connectrpc-sentry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ and adoption gates.
## Installation

```ruby
gem "connectrpc-sentry", "~> 0.1.0"
gem "connectrpc-sentry", "~> 0.2.0"
```

The only runtime dependencies are `connectrpc ~> 0.1.0` and
The only runtime dependencies are `connectrpc ~> 0.2.0` and
`sentry-ruby >= 6.7.0, < 8`. Core and the HTTP/framework packages do not depend
on Sentry. `sentry-rails` is optional; Rails RPCs work through the active-span
rule below.
Expand Down
2 changes: 1 addition & 1 deletion gems/connectrpc-sentry/lib/connectrpc/sentry/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module ConnectRPC
module Sentry
VERSION = "0.1.2" # x-release-please-version
VERSION = "0.2.0" # x-release-please-version
end
end
4 changes: 2 additions & 2 deletions gems/connectrpc-testing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ Add the gem to your development or test group:

```ruby
group :development, :test do
gem "connectrpc-testing", "~> 0.1.0"
gem "connectrpc-testing", "~> 0.2.0"
end
```

The runtime dependency is only `connectrpc ~> 0.1.0`; Google protobuf and a
The runtime dependency is only `connectrpc ~> 0.2.0`; Google protobuf and a
test framework are application choices.

## Usage
Expand Down
2 changes: 1 addition & 1 deletion gems/connectrpc-testing/lib/connectrpc/testing/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module ConnectRPC
module Testing
VERSION = "0.1.2" # x-release-please-version
VERSION = "0.2.0" # x-release-please-version
end
end
4 changes: 2 additions & 2 deletions gems/connectrpc-yabeda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ and adoption gates.
## Installation

```ruby
gem "connectrpc-yabeda", "~> 0.1.0"
gem "connectrpc-yabeda", "~> 0.2.0"
gem "yabeda-prometheus" # or another Yabeda adapter
```

The only runtime dependencies are `connectrpc ~> 0.1.0` and
The only runtime dependencies are `connectrpc ~> 0.2.0` and
`yabeda >= 0.16, < 1`. This package does not depend on `prometheus-client` or
any adapter; the application chooses and configures its adapters. Core and the
HTTP/framework packages do not depend on Yabeda.
Expand Down
2 changes: 1 addition & 1 deletion gems/connectrpc-yabeda/lib/connectrpc/yabeda/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module ConnectRPC
module Yabeda
VERSION = "0.1.2" # x-release-please-version
VERSION = "0.2.0" # x-release-please-version
end
end
2 changes: 1 addition & 1 deletion lib/connectrpc/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module ConnectRPC
VERSION = "0.1.2"
VERSION = "0.2.0"
end