bump version for 0.3.0.1 (#1353)

* bump version for 0.3.0.1

* fix mock versioning

* update welcome message

* remove old release note

Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
This commit is contained in:
Aiden McClelland
2022-03-29 12:40:41 -06:00
committed by GitHub
parent e53bf81cbc
commit fdf473016b
10 changed files with 62 additions and 27 deletions

2
backend/Cargo.lock generated
View File

@@ -825,7 +825,7 @@ dependencies = [
[[package]] [[package]]
name = "embassy-os" name = "embassy-os"
version = "0.3.0" version = "0.3.0-rev.1"
dependencies = [ dependencies = [
"aes", "aes",
"async-trait", "async-trait",

View File

@@ -14,7 +14,7 @@ keywords = [
name = "embassy-os" name = "embassy-os"
readme = "README.md" readme = "README.md"
repository = "https://github.com/Start9Labs/embassy-os" repository = "https://github.com/Start9Labs/embassy-os"
version = "0.3.0" version = "0.3.0-rev.1"
[lib] [lib]
name = "embassy" name = "embassy"

View File

@@ -9,13 +9,15 @@ use rpc_toolkit::command;
use crate::{Error, ResultExt}; use crate::{Error, ResultExt};
mod v0_3_0; mod v0_3_0;
mod v0_3_0_1;
pub type Current = v0_3_0::Version; pub type Current = v0_3_0_1::Version;
#[derive(serde::Serialize, serde::Deserialize)] #[derive(serde::Serialize, serde::Deserialize)]
#[serde(untagged)] #[serde(untagged)]
enum Version { enum Version {
V0_3_0(Wrapper<v0_3_0::Version>), V0_3_0(Wrapper<v0_3_0::Version>),
V0_3_0_1(Wrapper<v0_3_0_1::Version>),
Other(emver::Version), Other(emver::Version),
} }
@@ -111,6 +113,7 @@ pub async fn init<Db: DbHandle>(db: &mut Db) -> Result<(), Error> {
let version: Version = db.get(&ptr).await?; let version: Version = db.get(&ptr).await?;
match version { match version {
Version::V0_3_0(v) => v.0.migrate_to(&Current::new(), db).await?, Version::V0_3_0(v) => v.0.migrate_to(&Current::new(), db).await?,
Version::V0_3_0_1(v) => v.0.migrate_to(&Current::new(), db).await?,
Version::Other(_) => { Version::Other(_) => {
return Err(Error::new( return Err(Error::new(
eyre!("Cannot downgrade"), eyre!("Cannot downgrade"),

View File

@@ -5,7 +5,7 @@ use super::*;
const V0_3_0: emver::Version = emver::Version::new(0, 3, 0, 0); const V0_3_0: emver::Version = emver::Version::new(0, 3, 0, 0);
lazy_static! { lazy_static! {
static ref V0_3_0_COMPAT: VersionRange = VersionRange::Conj( pub static ref V0_3_0_COMPAT: VersionRange = VersionRange::Conj(
Box::new(VersionRange::Anchor( Box::new(VersionRange::Anchor(
emver::GTE, emver::GTE,
emver::Version::new(0, 3, 0, 0), emver::Version::new(0, 3, 0, 0),

View File

@@ -0,0 +1,26 @@
use emver::VersionRange;
use super::*;
const V0_3_0_1: emver::Version = emver::Version::new(0, 3, 0, 1);
pub struct Version;
#[async_trait]
impl VersionT for Version {
type Previous = v0_3_0::Version;
fn new() -> Self {
Version
}
fn semver(&self) -> emver::Version {
V0_3_0_1
}
fn compat(&self) -> &'static VersionRange {
&*v0_3_0::V0_3_0_COMPAT
}
async fn up<Db: DbHandle>(&self, _db: &mut Db) -> Result<(), Error> {
Ok(())
}
async fn down<Db: DbHandle>(&self, _db: &mut Db) -> Result<(), Error> {
Ok(())
}
}

View File

@@ -1,12 +1,12 @@
{ {
"name": "embassy-os", "name": "embassy-os",
"version": "0.3.0", "version": "0.3.0.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "embassy-os", "name": "embassy-os",
"version": "0.3.0", "version": "0.3.0.1",
"dependencies": { "dependencies": {
"@angular/animations": "^13.2.0", "@angular/animations": "^13.2.0",
"@angular/common": "^13.2.0", "@angular/common": "^13.2.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "embassy-os", "name": "embassy-os",
"version": "0.3.0", "version": "0.3.0.1",
"author": "Start9 Labs, Inc", "author": "Start9 Labs, Inc",
"homepage": "https://start9.com/", "homepage": "https://start9.com/",
"scripts": { "scripts": {

View File

@@ -10,7 +10,10 @@
</ion-header> </ion-header>
<ion-content class="ion-padding"> <ion-content class="ion-padding">
<h1>A whole new Embassy!</h1> <p class="note-padding">Minor bugfixes and performance improvements.</p>
<h5>Previous releases:</h5>
<h6>0.3.0 Release Notes</h6>
<p></p>
<p> <p>
Check out the full Check out the full
<a <a
@@ -20,41 +23,40 @@
>Release Notes</a >Release Notes</a
>. >.
</p> </p>
<h2>Highlights</h2> <h6>Highlights</h6>
<ul class="spaced-list"> <ul class="spaced-list">
<li> <li>
<b>SSD Support</b> - Embassy now requires an external SSD, offering more SSD Support - Embassy now requires an external SSD, offering more storage,
storage, better reliability, and a faster experience. better reliability, and a faster experience.
</li> </li>
<li><b>Websockets</b> - Provides a smooth, "real-time" feel.</li> <li>Websockets - Provides a smooth, "real-time" feel.</li>
<li> <li>
<b>Full Embassy Backups</b> - Create encrypted backups of your Embassy and Full Embassy Backups - Create encrypted backups of your Embassy and all
all its services with a single button. its services with a single button.
</li> </li>
<li> <li>
<b>LAN Shared Folders (for backups)</b> - Easily perform "over-the-air" LAN Shared Folders (for backups) - Easily perform "over-the-air" backups
backups on your desktop/laptop or a drive plugged into your on your desktop/laptop or a drive plugged into your desktop/laptop.
desktop/laptop.
</li> </li>
<li> <li>
<b>Revamped User Interface</b> - The user interface has been rewritten and Revamped User Interface - The user interface has been rewritten and
redesigned to be more performant, understandable, and beautiful. redesigned to be more performant, understandable, and beautiful.
</li> </li>
<li> <li>
<b>Session Management</b> - View your Embassy's active sessions and log Session Management - View your Embassy's active sessions and log out
out remotely. remotely.
</li> </li>
<li> <li>
<b>Alt Marketplaces</b> - Optionally connect to and browse alternative Alt Marketplaces - Optionally connect to and browse alternative service
service marketplaces. marketplaces.
</li> </li>
<li> <li>
<b>Progress Reporting</b> - View live progress of services Progress Reporting - View live progress of services installs/updates and
installs/updates and EmbassyOS updates. EmbassyOS updates.
</li> </li>
<li> <li>
<b>Health Checks</b> - View the health of your services at a glance, along Health Checks - View the health of your services at a glance, along with
with helpful messages if something is wrong. helpful messages if something is wrong.
</li> </li>
</ul> </ul>

View File

@@ -14,4 +14,8 @@
li { li {
padding-bottom: 12px; padding-bottom: 12px;
} }
}
.note-padding {
padding-bottom: 12px;
} }

View File

@@ -20,7 +20,7 @@ export const mockPatchData: DataModel = {
}, },
'server-info': { 'server-info': {
id: 'embassy-abcdefgh', id: 'embassy-abcdefgh',
version: '0.3.0', version: '0.3.0.1',
'last-backup': null, 'last-backup': null,
'lan-address': 'https://embassy-abcdefgh.local', 'lan-address': 'https://embassy-abcdefgh.local',
'tor-address': 'http://myveryownspecialtoraddress.onion', 'tor-address': 'http://myveryownspecialtoraddress.onion',