preparing v0.7.0

This commit is contained in:
Scott Lamb 2021-10-26 18:54:26 -07:00
parent caa0878004
commit ddda01e4fa
7 changed files with 21 additions and 8 deletions

View File

@ -6,6 +6,10 @@ changes, see Git history.
Each release is tagged in Git and on the Docker repository Each release is tagged in Git and on the Docker repository
[`scottlamb/moonfire-nvr`](https://hub.docker.com/r/scottlamb/moonfire-nvr). [`scottlamb/moonfire-nvr`](https://hub.docker.com/r/scottlamb/moonfire-nvr).
## `v0.7.0` (in progress)
* [schema version 7](guide/schema.md#version-7)
## `v0.6.7` (2021-10-20) ## `v0.6.7` (2021-10-20)
* trim whitespace when detecting time zone by reading `/etc/timezone`. * trim whitespace when detecting time zone by reading `/etc/timezone`.

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 need a proxy server, as described [here](guide/secure.md)), and only a
console-based (rather than web-based) configuration UI. console-based (rather than web-based) configuration UI.
Moonfire NVR is currently at version 0.6.7. Until version 1.0, there will be no Moonfire NVR is currently at version 0.7.0. Until version 1.0, there will be no
compatibility guarantees: configuration and storage formats may change from compatibility guarantees: configuration and storage formats may change from
version to version. There is an [upgrade procedure](guide/schema.md) but it is version to version. There is an [upgrade procedure](guide/schema.md) but it is
not for the faint of heart. not for the faint of heart.

View File

@ -66,7 +66,7 @@ $ sudo chmod a+rx /usr/local/bin/nvr
# Set your timezone here. # Set your timezone here.
tz="America/Los_Angeles" tz="America/Los_Angeles"
# or eg "scottlamb/moonfire-nvr:v0.6.7" to specify a particular version. # or eg "scottlamb/moonfire-nvr:v0.7.0" to specify a particular version.
image_name="scottlamb/moonfire-nvr:latest" image_name="scottlamb/moonfire-nvr:latest"
container_name="moonfire-nvr" container_name="moonfire-nvr"
common_docker_run_args=( common_docker_run_args=(

View File

@ -7,6 +7,7 @@
* [Version 1 to version 2 to version 3](#version-1-to-version-2-to-version-3) * [Version 1 to version 2 to version 3](#version-1-to-version-2-to-version-3)
* [Version 3 to version 4 to version 5](#version-3-to-version-4-to-version-5) * [Version 3 to version 4 to version 5](#version-3-to-version-4-to-version-5)
* [Version 6](#version-6) * [Version 6](#version-6)
* [Version 7](#version-7)
This document has notes about the Moonfire NVR storage schema. As described in This document has notes about the Moonfire NVR storage schema. As described in
[README.md](../README.md), this consists of two kinds of state: [README.md](../README.md), this consists of two kinds of state:
@ -162,7 +163,7 @@ Then use `sqlite3` to manually edit the database. The default
path is `/var/lib/moonfire-nvr/db/db`; if you've specified a different path is `/var/lib/moonfire-nvr/db/db`; if you've specified a different
`--db_dir`, use that directory with a suffix of `/db`. `--db_dir`, use that directory with a suffix of `/db`.
``` ```console
$ sudo -u moonfire-nvr sqlite3 /var/lib/moonfire-nvr/db/db $ sudo -u moonfire-nvr sqlite3 /var/lib/moonfire-nvr/db/db
sqlite3> sqlite3>
``` ```
@ -272,8 +273,16 @@ Version 6 adds over version 5:
before it on that stream. This is useful for MediaSourceExtension-based before it on that stream. This is useful for MediaSourceExtension-based
web browser UIs when setting timestamps of video segments in the web browser UIs when setting timestamps of video segments in the
SourceBuffer. SourceBuffer.
* decoupled "wall time" and "media time" of recoridngs, as a step toward * decoupled "wall time" and "media time" of recordings, as a step toward
implementing audio support without giving up clock frequency adjustment. See implementing audio support without giving up clock frequency adjustment. See
[this comment](https://github.com/scottlamb/moonfire-nvr/issues/34#issuecomment-651548468). [this comment](https://github.com/scottlamb/moonfire-nvr/issues/34#issuecomment-651548468).
On upgrading to this version, sessions will be revoked. On upgrading to this version, sessions will be revoked.
### Version 7
This version affects only the SQLite database.
Version 7 extends many database tables with a flexible JSON configuration
object. This will allow minor configuration expansions without a full
schema upgrade.

4
server/Cargo.lock generated
View File

@ -1212,7 +1212,7 @@ dependencies = [
[[package]] [[package]]
name = "moonfire-db" name = "moonfire-db"
version = "0.6.7" version = "0.7.0"
dependencies = [ dependencies = [
"base64", "base64",
"blake3", "blake3",
@ -1265,7 +1265,7 @@ dependencies = [
[[package]] [[package]]
name = "moonfire-nvr" name = "moonfire-nvr"
version = "0.6.7" version = "0.7.0"
dependencies = [ dependencies = [
"base64", "base64",
"blake3", "blake3",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "moonfire-nvr" name = "moonfire-nvr"
version = "0.6.7" version = "0.7.0"
authors = ["Scott Lamb <slamb@slamb.org>"] authors = ["Scott Lamb <slamb@slamb.org>"]
edition = "2018" edition = "2018"
license-file = "../LICENSE.txt" license-file = "../LICENSE.txt"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "moonfire-db" name = "moonfire-db"
version = "0.6.7" version = "0.7.0"
authors = ["Scott Lamb <slamb@slamb.org>"] authors = ["Scott Lamb <slamb@slamb.org>"]
readme = "../README.md" readme = "../README.md"
edition = "2018" edition = "2018"