Skip to content

Commit 2a4b3c2

Browse files
thomasballingerConvex, Inc.
authored andcommitted
update changelog (#36944)
GitOrigin-RevId: 450a6bc7a49643fed65f224320eed9685394834d
1 parent d138512 commit 2a4b3c2

File tree

1 file changed

+31
-6
lines changed

1 file changed

+31
-6
lines changed

CHANGELOG.md

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,41 @@
11
# Changelog
22

3-
## Unreleased
3+
## 1.24.0
44

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
96
18 introduced
107
[Automatic batching](https://react.dev/blog/2022/03/29/react-v18#new-feature-automatic-batching)
118

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+
1221
- 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.
1439

1540
## 1.23.0
1641

0 commit comments

Comments
 (0)