npm install '@rocicorp/[email protected]'
(vs [email protected]
)
-/p/${clientID}/
are auto-deleted by the server when the Reflect client with id clientID
is closed.
@rocicorp/rails0.10.0
adds new helpers for using this presence state.apps list
subcommand to enumerate your apps.delete
was moved to apps delete
.init
went away, we were no longer documenting it or using it anywhere.reflect.config.json
is now optional. The keys it contained can now be specified with flags to the CLI. This is useful for CI/CD where creating a file is burdensome, and also useful for open source samples where the app ID is not a fixed part of the app. We will likely remove reflect.config.json
in a future release, so please try Reflect without this file and let us know how it goes!reflect dev
now automatically restarts on certain crashes. We are still trying to get the underlying upstream bug fixed, but this should improve usability for now. This works by watching for certain strings in stdout, so if you see crashes we aren’t catching please let us know on Discord or at [email protected].EventTarget
dependency. This improves compatibility with React Native.roomID
option. Previously a Reflect client could be constructed with an invalid roomID
but its attempts to connect to the server would fail with a RoomClosed
error. Now the Reflect client constructor will throw an informative error if it is called with an invalid roomID
option. A roomID
is invalid if it does not match /^[A-Za-z0-9_/-]+$/
.