mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
version bump (#1423)
* version bump * set `Current` * update welcome message and adjust styling 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]]
|
[[package]]
|
||||||
name = "embassy-os"
|
name = "embassy-os"
|
||||||
version = "0.3.0-rev.2"
|
version = "0.3.0-rev.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes",
|
"aes",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
|||||||
@@ -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-rev.2"
|
version = "0.3.0-rev.3"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "embassy"
|
name = "embassy"
|
||||||
|
|||||||
@@ -11,8 +11,9 @@ use crate::{Error, ResultExt};
|
|||||||
mod v0_3_0;
|
mod v0_3_0;
|
||||||
mod v0_3_0_1;
|
mod v0_3_0_1;
|
||||||
mod v0_3_0_2;
|
mod v0_3_0_2;
|
||||||
|
mod v0_3_0_3;
|
||||||
|
|
||||||
pub type Current = v0_3_0_2::Version;
|
pub type Current = v0_3_0_3::Version;
|
||||||
|
|
||||||
#[derive(serde::Serialize, serde::Deserialize)]
|
#[derive(serde::Serialize, serde::Deserialize)]
|
||||||
#[serde(untagged)]
|
#[serde(untagged)]
|
||||||
@@ -20,6 +21,7 @@ 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>),
|
V0_3_0_1(Wrapper<v0_3_0_1::Version>),
|
||||||
V0_3_0_2(Wrapper<v0_3_0_2::Version>),
|
V0_3_0_2(Wrapper<v0_3_0_2::Version>),
|
||||||
|
V0_3_0_3(Wrapper<v0_3_0_3::Version>),
|
||||||
Other(emver::Version),
|
Other(emver::Version),
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -122,6 +124,7 @@ pub async fn init<Db: DbHandle>(db: &mut Db) -> Result<(), Error> {
|
|||||||
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::V0_3_0_1(v) => v.0.migrate_to(&Current::new(), db).await?,
|
||||||
Version::V0_3_0_2(v) => v.0.migrate_to(&Current::new(), db).await?,
|
Version::V0_3_0_2(v) => v.0.migrate_to(&Current::new(), db).await?,
|
||||||
|
Version::V0_3_0_3(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"),
|
||||||
|
|||||||
@@ -1,13 +1,6 @@
|
|||||||
use std::path::Path;
|
|
||||||
|
|
||||||
use emver::VersionRange;
|
use emver::VersionRange;
|
||||||
use tokio::process::Command;
|
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::disk::quirks::{fetch_quirks, save_quirks, update_quirks};
|
|
||||||
use crate::disk::BOOT_RW_PATH;
|
|
||||||
use crate::update::query_mounted_label;
|
|
||||||
use crate::util::Invoke;
|
|
||||||
|
|
||||||
const V0_3_0_2: emver::Version = emver::Version::new(0, 3, 0, 2);
|
const V0_3_0_2: emver::Version = emver::Version::new(0, 3, 0, 2);
|
||||||
|
|
||||||
|
|||||||
26
backend/src/version/v0_3_0_3.rs
Normal file
26
backend/src/version/v0_3_0_3.rs
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
use emver::VersionRange;
|
||||||
|
|
||||||
|
use super::*;
|
||||||
|
|
||||||
|
const V0_3_0_3: emver::Version = emver::Version::new(0, 3, 0, 3);
|
||||||
|
|
||||||
|
pub struct Version;
|
||||||
|
#[async_trait]
|
||||||
|
impl VersionT for Version {
|
||||||
|
type Previous = v0_3_0_2::Version;
|
||||||
|
fn new() -> Self {
|
||||||
|
Version
|
||||||
|
}
|
||||||
|
fn semver(&self) -> emver::Version {
|
||||||
|
V0_3_0_3
|
||||||
|
}
|
||||||
|
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(())
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "embassy-os",
|
"name": "embassy-os",
|
||||||
"version": "0.3.0.2",
|
"version": "0.3.0.3",
|
||||||
"author": "Start9 Labs, Inc",
|
"author": "Start9 Labs, Inc",
|
||||||
"homepage": "https://start9.com/",
|
"homepage": "https://start9.com/",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<ion-header>
|
<ion-header>
|
||||||
<ion-toolbar>
|
<ion-toolbar>
|
||||||
<ion-title>{{ version }} Release Notes</ion-title>
|
<ion-title>Release Notes</ion-title>
|
||||||
<ion-buttons slot="end">
|
<ion-buttons slot="end">
|
||||||
<ion-button (click)="dismiss()">
|
<ion-button (click)="dismiss()">
|
||||||
<ion-icon slot="icon-only" name="close"></ion-icon>
|
<ion-icon slot="icon-only" name="close"></ion-icon>
|
||||||
@@ -10,13 +10,14 @@
|
|||||||
</ion-header>
|
</ion-header>
|
||||||
|
|
||||||
<ion-content class="ion-padding">
|
<ion-content class="ion-padding">
|
||||||
<p class="note-padding">Minor compatibility fix.</p>
|
<h4>This release:</h4>
|
||||||
<h5>Previous releases:</h5>
|
<p class="section-subheader">{{ version }}</p>
|
||||||
<h6>0.3.0.1 Release Notes</h6>
|
<p class="note-padding">Bugfixes and minor performance updates.</p>
|
||||||
<p>Minor bugfixes and performance improvements.</p>
|
<h4>Previous releases:</h4>
|
||||||
<p></p>
|
<p class="section-subheader">0.3.0.2</p>
|
||||||
<h6>0.3.0 Release Notes</h6>
|
<p class="note-padding">Minor bugfixes and performance improvements.</p>
|
||||||
<p></p>
|
<p></p>
|
||||||
|
<p class="section-subheader">0.3.0</p>
|
||||||
<p>
|
<p>
|
||||||
Check out the full
|
Check out the full
|
||||||
<a
|
<a
|
||||||
|
|||||||
@@ -18,4 +18,12 @@
|
|||||||
|
|
||||||
.note-padding {
|
.note-padding {
|
||||||
padding-bottom: 12px;
|
padding-bottom: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.section-subheader {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
font-style: italic;
|
||||||
}
|
}
|
||||||
@@ -20,7 +20,7 @@ export const mockPatchData: DataModel = {
|
|||||||
},
|
},
|
||||||
'server-info': {
|
'server-info': {
|
||||||
id: 'embassy-abcdefgh',
|
id: 'embassy-abcdefgh',
|
||||||
version: '0.3.0.1',
|
version: '0.3.0.3',
|
||||||
'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',
|
||||||
|
|||||||
2
system-images/compat/Cargo.lock
generated
2
system-images/compat/Cargo.lock
generated
@@ -865,7 +865,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "embassy-os"
|
name = "embassy-os"
|
||||||
version = "0.3.0"
|
version = "0.3.0-rev.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes",
|
"aes",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
|||||||
Reference in New Issue
Block a user