Skip to main content

API_VERSION

Constant API_VERSION 

Source
pub const API_VERSION: u32 = _ /* 5u32 */;
Expand description

The version of the app server’s API: the framework’s methods below and their types.

It is this crate’s major version, parsed at compile time, so the two cannot drift: a breaking change to a method, a parameter or a result here is a major release of this crate, and that release is the new API version. The handshake compares this number, not the framework’s version, so a framework release that leaves this crate alone does not demand a service restart.

2: workspace.list, workspace.forget.

3: search results carry snippet in place of chunks (#184).

4: one workspace per server (#215): no ws parameter, workspace.select and workspace.current in place of workspace.list and workspace.forget.