npm install '@rocicorp/[email protected]'
(as compared to [email protected]
)
WriteTransaction.environment
to WriteTransaction.location
to avoid naming conflict with environment variables. The old environment
getter remains, but is deprecated.Reflect.clientID
is now string
not Promise<string>
. If you copied code for cursors from Replidraw, you can likely simplify it. See example.reflect tail
and reflect login
.Reflect.clientID
synchronous is technically a breaking change, as the returned value no longer has a then
method. If you were using await r.clientID
, this won’t affect you as await "foo"
is legal. However you can simplify your code by removing await
from your usage of clientID
.