connectrpc/connect-es (@connectrpc/protoc-gen-connect-es)
### [`v1.4.0`](https://togithub.com/connectrpc/connect-es/releases/tag/v1.4.0)
[Compare Source](https://togithub.com/connectrpc/connect-es/compare/v1.3.0...v1.4.0)
#### What's Changed
This release includes support for server-side interceptors! Here's a quick example:
```ts
import * as http from "http";
import routes from "./connect";
import { connectNodeAdapter } from "@connectrpc/connect-node";
import type { Interceptor } from "@connectrpc/connect";
const logger: Interceptor = (next) => async (req) => {
console.log(`recevied message on ${req.url}`);
return await next(req);
};
http
.createServer(
connectNodeAdapter({
routes,
interceptors: [logger],
}),
)
.listen(8080);
```
For more on them please see the [docs](https://connectrpc.com/docs/node/interceptors).
##### Other Changes
- Add service and method in grpc-web unary response by [@minimal1](https://togithub.com/minimal1) in [https://github.com/connectrpc/connect-es/pull/984](https://togithub.com/connectrpc/connect-es/pull/984)
- Document the `ts_nocheck` plugin option by [@timostamm](https://togithub.com/timostamm) in [https://github.com/connectrpc/connect-es/pull/1012](https://togithub.com/connectrpc/connect-es/pull/1012)
- Remove node export condition by [@smaye81](https://togithub.com/smaye81) in [https://github.com/connectrpc/connect-es/pull/1017](https://togithub.com/connectrpc/connect-es/pull/1017)
- Avoid instanceof Message by [@timostamm](https://togithub.com/timostamm) in [https://github.com/connectrpc/connect-es/pull/1023](https://togithub.com/connectrpc/connect-es/pull/1023)
#### New Contributors
- [@minimal1](https://togithub.com/minimal1) made their first contribution in [https://github.com/connectrpc/connect-es/pull/984](https://togithub.com/connectrpc/connect-es/pull/984)
**Full Changelog**: https://github.com/connectrpc/connect-es/compare/v1.3.0...v1.4.0
Configuration
📅 Schedule: Branch creation - "before 4pm on friday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.3.0
->1.4.0
Release Notes
connectrpc/connect-es (@connectrpc/protoc-gen-connect-es)
### [`v1.4.0`](https://togithub.com/connectrpc/connect-es/releases/tag/v1.4.0) [Compare Source](https://togithub.com/connectrpc/connect-es/compare/v1.3.0...v1.4.0) #### What's Changed This release includes support for server-side interceptors! Here's a quick example: ```ts import * as http from "http"; import routes from "./connect"; import { connectNodeAdapter } from "@connectrpc/connect-node"; import type { Interceptor } from "@connectrpc/connect"; const logger: Interceptor = (next) => async (req) => { console.log(`recevied message on ${req.url}`); return await next(req); }; http .createServer( connectNodeAdapter({ routes, interceptors: [logger], }), ) .listen(8080); ``` For more on them please see the [docs](https://connectrpc.com/docs/node/interceptors). ##### Other Changes - Add service and method in grpc-web unary response by [@minimal1](https://togithub.com/minimal1) in [https://github.com/connectrpc/connect-es/pull/984](https://togithub.com/connectrpc/connect-es/pull/984) - Document the `ts_nocheck` plugin option by [@timostamm](https://togithub.com/timostamm) in [https://github.com/connectrpc/connect-es/pull/1012](https://togithub.com/connectrpc/connect-es/pull/1012) - Remove node export condition by [@smaye81](https://togithub.com/smaye81) in [https://github.com/connectrpc/connect-es/pull/1017](https://togithub.com/connectrpc/connect-es/pull/1017) - Avoid instanceof Message by [@timostamm](https://togithub.com/timostamm) in [https://github.com/connectrpc/connect-es/pull/1023](https://togithub.com/connectrpc/connect-es/pull/1023) #### New Contributors - [@minimal1](https://togithub.com/minimal1) made their first contribution in [https://github.com/connectrpc/connect-es/pull/984](https://togithub.com/connectrpc/connect-es/pull/984) **Full Changelog**: https://github.com/connectrpc/connect-es/compare/v1.3.0...v1.4.0Configuration
📅 Schedule: Branch creation - "before 4pm on friday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.