prep 0.7.6 release

This commit is contained in:
Scott Lamb 2023-07-08 10:05:32 -07:00
parent baa2ee6118
commit 4ad627b997
8 changed files with 19 additions and 8 deletions

View File

@ -11,7 +11,7 @@ upgrades, e.g. `0.6.x` -> `0.7.x`. The config file format and
[API](ref/api.md) currently have no stability guarantees, so they may change
even on minor releases, e.g. `0.7.5` -> `0.7.6`.
## unreleased
## 0.7.6 (2023-07-08)
* new log formats using `tracing`. This will allow richer context information.
* bump minimum Rust version to 1.70.
@ -42,6 +42,8 @@ even on minor releases, e.g. `0.7.5` -> `0.7.6`.
Javscript UI to see them.
* fix [#282](https://github.com/scottlamb/moonfire-nvr/issues/282):
sessions' last use information wasn't getting persisted.
* improvements to `moonfire-nvr config`,
thanks to [@sky1e](https://github.com/sky1e).
## 0.7.5 (2022-05-09)

View File

@ -35,7 +35,7 @@ There's no support yet for motion detection, no https/TLS support (you'll
need a proxy server, as described [here](guide/secure.md)), and only a
console-based (rather than web-based) configuration UI.
Moonfire NVR is currently at version 0.7.5. Until version 1.0, there will be no
Moonfire NVR is currently at version 0.7.6. Until version 1.0, there will be no
compatibility guarantees: configuration and storage formats may change from
version to version. There is an [upgrade procedure](guide/schema.md) but it is
not for the faint of heart.

View File

@ -85,7 +85,7 @@ ownUidIsPrivileged = true
# Set your timezone here.
tz="America/Los_Angeles"
image_name="scottlamb/moonfire-nvr:v0.7.5"
image_name="scottlamb/moonfire-nvr:v0.7.6"
container_name="moonfire-nvr"
common_docker_run_args=(
--mount=type=bind,source=/var/lib/moonfire-nvr,destination=/var/lib/moonfire-nvr

4
server/Cargo.lock generated
View File

@ -1100,7 +1100,7 @@ dependencies = [
[[package]]
name = "moonfire-db"
version = "0.7.5"
version = "0.7.6"
dependencies = [
"base64",
"blake3",
@ -1138,7 +1138,7 @@ dependencies = [
[[package]]
name = "moonfire-nvr"
version = "0.7.5"
version = "0.7.6"
dependencies = [
"base64",
"blake3",

View File

@ -1,11 +1,12 @@
[package]
name = "moonfire-nvr"
version = "0.7.5"
version = "0.7.6"
authors = ["Scott Lamb <slamb@slamb.org>"]
edition = "2021"
resolver = "2"
license-file = "../LICENSE.txt"
rust-version = "1.70"
publish = false
[features]

View File

@ -5,6 +5,7 @@ authors = ["Scott Lamb <slamb@slamb.org>"]
readme = "../README.md"
edition = "2021"
license-file = "../../LICENSE.txt"
publish = false
[features]
nightly = []

View File

@ -70,7 +70,13 @@ impl RealClocks {
let mut ts = mem::MaybeUninit::uninit();
assert_eq!(0, libc::clock_gettime(clock, ts.as_mut_ptr()));
let ts = ts.assume_init();
Timespec::new(ts.tv_sec, ts.tv_nsec as i32)
Timespec::new(
// On 32-bit arm builds, `tv_sec` is an `i32` and requires conversion.
// On other platforms, the `.into()` is a no-op.
#[allow(clippy::useless_conversion)]
ts.tv_sec.into(),
ts.tv_nsec as i32,
)
}
}
}

View File

@ -1,11 +1,12 @@
[package]
name = "moonfire-db"
version = "0.7.5"
version = "0.7.6"
authors = ["Scott Lamb <slamb@slamb.org>"]
readme = "../README.md"
edition = "2021"
license-file = "../../LICENSE.txt"
rust-version = "1.70"
publish = false
[features]
nightly = []