Introducing Surrealist 1.10, our latest major release filled with exciting new features and enhancements to existing ones. This update includes highly requested additions, extended support for SurrealDB 1.0, improved web app compatibility, and much more!
Improved Web App
The Web App has received a major update and now contains support for the Designer View, Authentication View, and the new Live Query View. Due to the use of WebAssembly, most functionality in Surrealist now works identically in both the desktop app and the web app.
Keep in mind certain features such as launching the database executable from Surrealist are not possible to support in the web app, hence the desktop app will continue to be the most feature rich version.
New Live Query View
New in this release is the Live Query view, a useful sandbox where you can build and test live queries. You can define one or more queries per session, and will be persisted across restarts. Press queries to start and stop them, and view their combined incoming messages in the inbox panel on the right. Messages can be expanded to view their contents.
Note: live query functionality is not currently available to Surrealist in the conventional way, hence a workaround is implemented. Live queries will open a secondary connection alongside the main connection, however this may not work in all environments. I hope to be able to resolve this as soon as full support for live queries is available.
Query View Tabs
The Query View now supports creating multiple tabs per session. Press the + button to open a new tab, after which you can switch between them seamlessly. Variables you have defined will apply to any tab.
Improved Database Exporter
The schema exporter previously found in the Designer View has been replaced with a significantly more powerful database exporter, always accessible from the toolbar. The new exporter allows you to customize your export contents, supports additional schema elements, and includes support for exporting table records.
Overhauled SurrealQL Highlighting
The SurrealQL editors now support a more advanced syntax highlighting powered by the official SurrealQL grammar. Besides being more accurate, this new method supports highlighting of additional elements such as record ids and JavaScript functions, with working JavaScript highlighting!
New "Combined" Query Result Mode
The Query View results panel supports a new "Combined" mode which will concatenate all results into a single editor, separated by comments. This is useful in situations where you want to view all results in a single glance, copy multiple results in one go, or taking screenshots.
Additionally, the UI for switching result modes has been altered slightly to make it easier to switch between them.
Full changelog
- Improved feature parity between the desktop and web app
- Designer view is now available in the web app
- Authentication view is now available in the web app
- Connections are now handled the same way
- Added new Live Query view
- Can be used to listen to one or more live queries
- Combines all incoming live query messages into a single feed
- Live query messages can be expanded to view their contents
- Added support for Query View tabs (#70)
- Query tabs are stored per session
- Tabs are saved and persisted
- Designer View improvements
- Field names and types are now truncated when they are too long
- Limit tables to displaying 7 fields, with a button to view more
- Overhaul exporting functionality
- Now supports exporting table records
- Select which elements to export in the new exporter dialog
- Add support for analyzers, scopes, params, and functions
- Overhaul syntax highlighting
- Highlighting is now based on the official SurrealQL grammar
- JavaScript is now correctly highlighted
- Modified color scheme
- Added a new "Combined" query result mode
- Combines the results of multiple queries into a single list
- Useful for when you want to copy or view all results without switching tabs
- The config file is now stored in a new location
- Linux:
$XDG_CONFIG_HOME
or$HOME/.config/surrealist.json
- macOS:
$HOME/Library/Application Support/surrealist.json
- Windows:
%AppData%\surrealist.json
- Linux:
- Added a convenience button to load a query from disk
- Surrealist now warns you when you connect to an outdated version of SurrealDB
- The web app now more reliably connects to localhost endpoints
- Replaced the window pinning toolbar button with a settings entry and hotkey (F11)
- Expand all designer view sections by default
- Fixed web app always starting in light theme for a split second
- Fixed query error highlighting not working since beta 12
- Fixed certain errors not displaying in the result panel
Compatible with SurrealDB 1.0
Show Your Support for Surrealist! ⭐
Sustaining and evolving Surrealist with each new release demands significant effort. If you find this tool valuable, kindly consider making a donation to aid ongoing development. Your generosity is greatly appreciated!