mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
version bump (#2232)
* version bump * welcome notes * 0341 release notes --------- Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
This commit is contained in:
2
backend/Cargo.lock
generated
2
backend/Cargo.lock
generated
@@ -1354,7 +1354,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "embassy-os"
|
name = "embassy-os"
|
||||||
version = "0.3.4"
|
version = "0.3.4-rev.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes",
|
"aes",
|
||||||
"async-compression",
|
"async-compression",
|
||||||
|
|||||||
@@ -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.4"
|
version = "0.3.4-rev.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "embassy"
|
name = "embassy"
|
||||||
|
|||||||
@@ -20,8 +20,9 @@ mod v0_3_2;
|
|||||||
mod v0_3_2_1;
|
mod v0_3_2_1;
|
||||||
mod v0_3_3;
|
mod v0_3_3;
|
||||||
mod v0_3_4;
|
mod v0_3_4;
|
||||||
|
mod v0_3_4_1;
|
||||||
|
|
||||||
pub type Current = v0_3_4::Version;
|
pub type Current = v0_3_4_1::Version;
|
||||||
|
|
||||||
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone)]
|
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone)]
|
||||||
#[serde(untagged)]
|
#[serde(untagged)]
|
||||||
@@ -37,6 +38,7 @@ enum Version {
|
|||||||
V0_3_2_1(Wrapper<v0_3_2_1::Version>),
|
V0_3_2_1(Wrapper<v0_3_2_1::Version>),
|
||||||
V0_3_3(Wrapper<v0_3_3::Version>),
|
V0_3_3(Wrapper<v0_3_3::Version>),
|
||||||
V0_3_4(Wrapper<v0_3_4::Version>),
|
V0_3_4(Wrapper<v0_3_4::Version>),
|
||||||
|
V0_3_4_1(Wrapper<v0_3_4_1::Version>),
|
||||||
Other(emver::Version),
|
Other(emver::Version),
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -63,6 +65,7 @@ impl Version {
|
|||||||
Version::V0_3_2_1(Wrapper(x)) => x.semver(),
|
Version::V0_3_2_1(Wrapper(x)) => x.semver(),
|
||||||
Version::V0_3_3(Wrapper(x)) => x.semver(),
|
Version::V0_3_3(Wrapper(x)) => x.semver(),
|
||||||
Version::V0_3_4(Wrapper(x)) => x.semver(),
|
Version::V0_3_4(Wrapper(x)) => x.semver(),
|
||||||
|
Version::V0_3_4_1(Wrapper(x)) => x.semver(),
|
||||||
Version::Other(x) => x.clone(),
|
Version::Other(x) => x.clone(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -244,6 +247,10 @@ pub async fn init<Db: DbHandle>(
|
|||||||
v.0.migrate_to(&Current::new(), db, secrets, receipts)
|
v.0.migrate_to(&Current::new(), db, secrets, receipts)
|
||||||
.await?
|
.await?
|
||||||
}
|
}
|
||||||
|
Version::V0_3_4_1(v) => {
|
||||||
|
v.0.migrate_to(&Current::new(), db, secrets, receipts)
|
||||||
|
.await?
|
||||||
|
}
|
||||||
Version::Other(_) => {
|
Version::Other(_) => {
|
||||||
return Err(Error::new(
|
return Err(Error::new(
|
||||||
eyre!("Cannot downgrade"),
|
eyre!("Cannot downgrade"),
|
||||||
@@ -287,6 +294,7 @@ mod tests {
|
|||||||
Just(Version::V0_3_2_1(Wrapper(v0_3_2_1::Version::new()))),
|
Just(Version::V0_3_2_1(Wrapper(v0_3_2_1::Version::new()))),
|
||||||
Just(Version::V0_3_3(Wrapper(v0_3_3::Version::new()))),
|
Just(Version::V0_3_3(Wrapper(v0_3_3::Version::new()))),
|
||||||
Just(Version::V0_3_4(Wrapper(v0_3_4::Version::new()))),
|
Just(Version::V0_3_4(Wrapper(v0_3_4::Version::new()))),
|
||||||
|
Just(Version::V0_3_4(Wrapper(v0_3_4_1::Version::new()))),
|
||||||
em_version().prop_map(Version::Other),
|
em_version().prop_map(Version::Other),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
30
backend/src/version/v0_3_4_1.rs
Normal file
30
backend/src/version/v0_3_4_1.rs
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
use async_trait::async_trait;
|
||||||
|
use emver::VersionRange;
|
||||||
|
|
||||||
|
use super::v0_3_0::V0_3_0_COMPAT;
|
||||||
|
use super::*;
|
||||||
|
|
||||||
|
const V0_3_4_1: emver::Version = emver::Version::new(0, 3, 4, 1);
|
||||||
|
|
||||||
|
#[derive(Clone, Debug)]
|
||||||
|
pub struct Version;
|
||||||
|
|
||||||
|
#[async_trait]
|
||||||
|
impl VersionT for Version {
|
||||||
|
type Previous = v0_3_3::Version;
|
||||||
|
fn new() -> Self {
|
||||||
|
Version
|
||||||
|
}
|
||||||
|
fn semver(&self) -> emver::Version {
|
||||||
|
V0_3_4_1
|
||||||
|
}
|
||||||
|
fn compat(&self) -> &'static VersionRange {
|
||||||
|
&*V0_3_0_COMPAT
|
||||||
|
}
|
||||||
|
async fn up<Db: DbHandle>(&self, _db: &mut Db, _secrets: &PgPool) -> Result<(), Error> {
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
|
async fn down<Db: DbHandle>(&self, _db: &mut Db, _secrets: &PgPool) -> Result<(), Error> {
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "embassy-os",
|
"name": "embassy-os",
|
||||||
"version": "0.3.4",
|
"version": "0.3.4.1",
|
||||||
"author": "Start9 Labs, Inc",
|
"author": "Start9 Labs, Inc",
|
||||||
"homepage": "https://start9.com/",
|
"homepage": "https://start9.com/",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": null,
|
"name": null,
|
||||||
"ack-welcome": "0.3.4",
|
"ack-welcome": "0.3.4.1",
|
||||||
"marketplace": {
|
"marketplace": {
|
||||||
"selected-url": "https://registry.start9.com/",
|
"selected-url": "https://registry.start9.com/",
|
||||||
"known-hosts": {
|
"known-hosts": {
|
||||||
|
|||||||
@@ -10,7 +10,27 @@
|
|||||||
</ion-header>
|
</ion-header>
|
||||||
|
|
||||||
<ion-content class="ion-padding">
|
<ion-content class="ion-padding">
|
||||||
<h2>This release</h2>
|
<h2>This Release</h2>
|
||||||
|
|
||||||
|
<h4>0.3.4.1</h4>
|
||||||
|
<p class="note-padding">
|
||||||
|
View the complete
|
||||||
|
<a
|
||||||
|
href="https://github.com/Start9Labs/embassy-os/releases/tag/v0.3.4.1"
|
||||||
|
target="_blank"
|
||||||
|
noreferrer
|
||||||
|
>
|
||||||
|
release notes
|
||||||
|
</a>
|
||||||
|
for more details.
|
||||||
|
</p>
|
||||||
|
<h6>Highlights</h6>
|
||||||
|
<ul class="spaced-list">
|
||||||
|
<li>0.3.4 bug fixes</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2>Previous Releases</h2>
|
||||||
|
|
||||||
<h4>0.3.4</h4>
|
<h4>0.3.4</h4>
|
||||||
<p class="note-padding">
|
<p class="note-padding">
|
||||||
View the complete
|
View the complete
|
||||||
|
|||||||
2
system-images/compat/Cargo.lock
generated
2
system-images/compat/Cargo.lock
generated
@@ -1171,7 +1171,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "embassy-os"
|
name = "embassy-os"
|
||||||
version = "0.3.4"
|
version = "0.3.4-rev.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes",
|
"aes",
|
||||||
"async-compression",
|
"async-compression",
|
||||||
|
|||||||
Reference in New Issue
Block a user