Skip to content

Commit

Permalink
Update api version to 2.0.0
Browse files Browse the repository at this point in the history
Due to the removal of everything create and edit, I think this is
definitively a major release for the API spec
  • Loading branch information
sebastinez committed Jun 26, 2024
1 parent 9d0f618 commit e5bbbd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/default.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"nodes": {
"fallbackPublicExplorer": "https://app.radicle.xyz/nodes/$host/$rid$path",
"apiVersion": "1.0.0",
"apiVersion": "2.0.0",
"defaultHttpdPort": 443,
"defaultLocalHttpdPort": 8080,
"defaultHttpdHostname": "seed.radicle.garden",
Expand Down
2 changes: 1 addition & 1 deletion radicle-httpd/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use crate::Options;

pub const RADICLE_VERSION: &str = env!("RADICLE_VERSION");
// This version has to be updated on every breaking change to the radicle-httpd API.
pub const API_VERSION: &str = "1.0.0";
pub const API_VERSION: &str = "2.0.0";

#[derive(Clone)]
pub struct Context {
Expand Down

0 comments on commit e5bbbd8

Please sign in to comment.