surrealdb / surrealist

Surrealist is the ultimate way to visually manage your SurrealDB database
https://surrealist.app/
MIT License
1.06k stars 81 forks source link

What version of surrealist does SurrealDB use? #188

Closed AlbertMarashi closed 5 months ago

AlbertMarashi commented 5 months ago

Sorry I wasn't sure how else to ask, but my Surrealist is running Surreal 1.0.2.

Is it compatible with other versions? I know I can update the executable path, but can you explain a bit more about this?

AlbertMarashi commented 5 months ago

I updated my executable path to 1.3.1 version and seems to be working fine, but out of curiosity, why is surrealist not using the latest database version by default?

macjuul commented 5 months ago

Surrealist embeds the SurrealDB rust crate for various tasks including connecting to the database and extracting information. This is entirely separate from the executable path in settings, as this is used by the database serving functionality which starts a SurrealDB server locally to connect to.

The version used internally is fixed and currently needs to be bumped each time, however the executable path could still point to different versions. I still recommended where possible to use the version of Surrealist for the version of SurrealDB it is intended for as described at the bottom of the release notes on GitHub for maximum compatibility