|
1 | 1 | # Changelog
|
2 | 2 |
|
3 |
| -## Unreleased |
| 3 | +## 1.24.0 |
4 | 4 |
|
5 |
| -- The `npx convex login --login-flow paste` flag can be used to explicitly opt |
6 |
| - into the manual token paste login method. |
7 |
| - |
8 |
| -- Drop support for React 17 and remove use of `unstable_batchedUpdates` as react |
| 5 | +- Drop support for React 17 and remove use of `unstable_batchedUpdates` as React |
9 | 6 | 18 introduced
|
10 | 7 | [Automatic batching](https://react.dev/blog/2022/03/29/react-v18#new-feature-automatic-batching)
|
11 | 8 |
|
| 9 | + If you use React 17 and choose to override the change in supported peer |
| 10 | + dependencies (please don't), you may notice query updates are no longer |
| 11 | + batched: it's possible for one Convex query update to occur on a different |
| 12 | + React render than another causing single frames of discrepancies in UI or |
| 13 | + worse, errors if you have code that relies on the client-side consistency like |
| 14 | + client-side joins. |
| 15 | + |
| 16 | + You may also notice nothing. Without batched updates some queries may be a few |
| 17 | + milliseconds ahead of other queries, which is still much less than the |
| 18 | + differences in other data fetching solutions, e.g. React Query or SWR, in |
| 19 | + non-batched mode. |
| 20 | + |
12 | 21 | - Remove dependency on `react-dom`, making it possible to use on "React Native
|
13 |
| - only" projects. |
| 22 | + only" projects without overriding any dependency resolution. |
| 23 | + |
| 24 | +- New optimistic update helpers for paginated queries: three helpers |
| 25 | + `insertAtTop`, `insertAtBottomIfLoaded`, and `insertAtPosition`. |
| 26 | + |
| 27 | +- The `npx convex login --login-flow paste` flag can be used to explicitly opt |
| 28 | + into the manual token paste login method. |
| 29 | + |
| 30 | +- Fix MCP servers for self-hosted deployments: previously MCP CLI commands were |
| 31 | + attempting to contact a cloud deployment (which didn't exist) in self-hosted |
| 32 | + setups. |
| 33 | + |
| 34 | +- New `compareValues` function exported from `convex/values` which matches |
| 35 | + Convex values semantics as implemented in backends. This function should match |
| 36 | + the Rust implementation in backend (and it property-tested in pursuit of |
| 37 | + this!) but in the event of discrepancies the Rust implementation should be |
| 38 | + considered authoritative. |
14 | 39 |
|
15 | 40 | ## 1.23.0
|
16 | 41 |
|
|
0 commit comments