mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
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:
2
backend/Cargo.lock
generated
2
backend/Cargo.lock
generated
@@ -825,7 +825,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "embassy-os"
|
||||
version = "0.3.0"
|
||||
version = "0.3.0-rev.1"
|
||||
dependencies = [
|
||||
"aes",
|
||||
"async-trait",
|
||||
|
||||
@@ -14,7 +14,7 @@ keywords = [
|
||||
name = "embassy-os"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/Start9Labs/embassy-os"
|
||||
version = "0.3.0"
|
||||
version = "0.3.0-rev.1"
|
||||
|
||||
[lib]
|
||||
name = "embassy"
|
||||
|
||||
@@ -9,13 +9,15 @@ use rpc_toolkit::command;
|
||||
use crate::{Error, ResultExt};
|
||||
|
||||
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)]
|
||||
#[serde(untagged)]
|
||||
enum Version {
|
||||
V0_3_0(Wrapper<v0_3_0::Version>),
|
||||
V0_3_0_1(Wrapper<v0_3_0_1::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?;
|
||||
match version {
|
||||
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(_) => {
|
||||
return Err(Error::new(
|
||||
eyre!("Cannot downgrade"),
|
||||
|
||||
@@ -5,7 +5,7 @@ use super::*;
|
||||
|
||||
const V0_3_0: emver::Version = emver::Version::new(0, 3, 0, 0);
|
||||
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(
|
||||
emver::GTE,
|
||||
emver::Version::new(0, 3, 0, 0),
|
||||
|
||||
26
backend/src/version/v0_3_0_1.rs
Normal file
26
backend/src/version/v0_3_0_1.rs
Normal 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(())
|
||||
}
|
||||
}
|
||||
4
frontend/package-lock.json
generated
4
frontend/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "embassy-os",
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.0.1",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "embassy-os",
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.0.1",
|
||||
"dependencies": {
|
||||
"@angular/animations": "^13.2.0",
|
||||
"@angular/common": "^13.2.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "embassy-os",
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.0.1",
|
||||
"author": "Start9 Labs, Inc",
|
||||
"homepage": "https://start9.com/",
|
||||
"scripts": {
|
||||
|
||||
@@ -10,7 +10,10 @@
|
||||
</ion-header>
|
||||
|
||||
<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>
|
||||
Check out the full
|
||||
<a
|
||||
@@ -20,41 +23,40 @@
|
||||
>Release Notes</a
|
||||
>.
|
||||
</p>
|
||||
<h2>Highlights</h2>
|
||||
<h6>Highlights</h6>
|
||||
<ul class="spaced-list">
|
||||
<li>
|
||||
<b>SSD Support</b> - Embassy now requires an external SSD, offering more
|
||||
storage, better reliability, and a faster experience.
|
||||
SSD Support - Embassy now requires an external SSD, offering more storage,
|
||||
better reliability, and a faster experience.
|
||||
</li>
|
||||
<li><b>Websockets</b> - Provides a smooth, "real-time" feel.</li>
|
||||
<li>Websockets - Provides a smooth, "real-time" feel.</li>
|
||||
<li>
|
||||
<b>Full Embassy Backups</b> - Create encrypted backups of your Embassy and
|
||||
all its services with a single button.
|
||||
Full Embassy Backups - Create encrypted backups of your Embassy and all
|
||||
its services with a single button.
|
||||
</li>
|
||||
<li>
|
||||
<b>LAN Shared Folders (for backups)</b> - Easily perform "over-the-air"
|
||||
backups on your desktop/laptop or a drive plugged into your
|
||||
desktop/laptop.
|
||||
LAN Shared Folders (for backups) - Easily perform "over-the-air" backups
|
||||
on your desktop/laptop or a drive plugged into your desktop/laptop.
|
||||
</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.
|
||||
</li>
|
||||
<li>
|
||||
<b>Session Management</b> - View your Embassy's active sessions and log
|
||||
out remotely.
|
||||
Session Management - View your Embassy's active sessions and log out
|
||||
remotely.
|
||||
</li>
|
||||
<li>
|
||||
<b>Alt Marketplaces</b> - Optionally connect to and browse alternative
|
||||
service marketplaces.
|
||||
Alt Marketplaces - Optionally connect to and browse alternative service
|
||||
marketplaces.
|
||||
</li>
|
||||
<li>
|
||||
<b>Progress Reporting</b> - View live progress of services
|
||||
installs/updates and EmbassyOS updates.
|
||||
Progress Reporting - View live progress of services installs/updates and
|
||||
EmbassyOS updates.
|
||||
</li>
|
||||
<li>
|
||||
<b>Health Checks</b> - View the health of your services at a glance, along
|
||||
with helpful messages if something is wrong.
|
||||
Health Checks - View the health of your services at a glance, along with
|
||||
helpful messages if something is wrong.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -15,3 +15,7 @@
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.note-padding {
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
@@ -20,7 +20,7 @@ export const mockPatchData: DataModel = {
|
||||
},
|
||||
'server-info': {
|
||||
id: 'embassy-abcdefgh',
|
||||
version: '0.3.0',
|
||||
version: '0.3.0.1',
|
||||
'last-backup': null,
|
||||
'lan-address': 'https://embassy-abcdefgh.local',
|
||||
'tor-address': 'http://myveryownspecialtoraddress.onion',
|
||||
|
||||
Reference in New Issue
Block a user