Skip to content

Commit aa3dfea

Browse files
Add release notes.
1 parent f0953af commit aa3dfea

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ Please see the [project documentation](https://socketry.github.io/protocol-grpc/
2828

2929
Please see the [project releases](https://socketry.github.io/protocol-grpc/releases/index) for all releases.
3030

31+
### v0.5.0
32+
33+
- Server-side errors now automatically include backtraces in response headers when an error object is provided. Backtraces are transmitted as arrays via Split headers and can be extracted by clients.
34+
- Consolidated `add_status_trailer!`, `add_status_header!`, `build_status_headers`, `prepare_trailers!`, and `build_trailers_only_response` into a single `add_status!` method. Whether status becomes headers or trailers is now controlled by the protocol layer.
35+
- Renamed `trailers_only_error` to `make_response` and inlined response creation logic. The method now accepts an `error:` parameter for automatic backtrace extraction.
36+
3137
### v0.4.0
3238

3339
- Add `RPC#name`.

releases.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Releases
22

3+
## v0.5.0
4+
5+
- Server-side errors now automatically include backtraces in response headers when an error object is provided. Backtraces are transmitted as arrays via Split headers and can be extracted by clients.
6+
- Consolidated `add_status_trailer!`, `add_status_header!`, `build_status_headers`, `prepare_trailers!`, and `build_trailers_only_response` into a single `add_status!` method. Whether status becomes headers or trailers is now controlled by the protocol layer.
7+
- Renamed `trailers_only_error` to `make_response` and inlined response creation logic. The method now accepts an `error:` parameter for automatic backtrace extraction.
8+
39
## v0.4.0
410

511
- Add `RPC#name`.

0 commit comments

Comments
 (0)