Skip to content

Commit

Permalink
Prepare for next release
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Jun 13, 2024
1 parent 340c099 commit 0a69d6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main/src/infrastructure/proto/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ pub use initial_playtime_events::*;
/// It's important to get this right in order to get good error messages from customers. Knowing
/// that they just have an incompatible version mix (e.g. due to manual installing) makes it
/// trivial to respond to bug reports.
pub const HOST_API_VERSION: &str = "4.0.0";
pub const HOST_API_VERSION: &str = "5.0.0";
5 changes: 4 additions & 1 deletion main/src/infrastructure/ui/app/app_library.rs
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,10 @@ fn to_status(err: anyhow::Error) -> Status {

/// The minimum version of the app API that the host (Helgobox) requires to properly
/// communicates with it. Keep this up-to-date!
pub const MIN_APP_API_VERSION: Version = Version::new(4, 0, 0);
///
/// This doesn't necessarily need to match the `HOST_API_VERSION`, it's too different things.
/// In practice, it might be equal or similar because host (plug-in) and app are developed tightly together.
pub const MIN_APP_API_VERSION: Version = Version::new(5, 0, 0);

#[cfg(not(feature = "playtime"))]
fn playtime_not_available() -> Result<(), Status> {
Expand Down

0 comments on commit 0a69d6b

Please sign in to comment.