---
changelog:
  category: Release
  version: 1.8.2
date: '2025-08-20T03:29:19Z'
seo:
  description: >-
    react-swr: React SWR Integration - by @dinwwwh in
    https://github.com/middleapi/orpc/issues/891 (ff7ad) client: Prevent
    unintended procedure calls when…
title: v1.8.2
type: changelog
---
### React SWR Integration [docs](https://orpc.dinwwwh.com/docs/integrations/react-swr)

```ts
import useSWR from 'swr'

const { data, error, isLoading } = useSWR(
  orpc.planet.find.key({ input: { id: 123 } }),
  orpc.planet.find.fetcher(),
)
```

### &nbsp;&nbsp;&nbsp;🚀 Features

- **react-swr**: React SWR Integration &nbsp;-&nbsp; by @dinwwwh in https://github.com/middleapi/orpc/issues/891 [<samp>(ff7ad)</samp>](https://github.com/middleapi/orpc/commit/ff7ad2e8)

### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes

- **client**: Prevent unintended procedure calls when awaiting client &nbsp;-&nbsp; by @dinwwwh in https://github.com/middleapi/orpc/issues/887 [<samp>(54654)</samp>](https://github.com/middleapi/orpc/commit/546545e4)
- **server**: Apply error validation to event iterator &nbsp;-&nbsp; by @dinwwwh in https://github.com/middleapi/orpc/issues/893 [<samp>(03fed)</samp>](https://github.com/middleapi/orpc/commit/03fed0c6)

##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/middleapi/orpc/compare/v1.8.1...v1.8.2)
