Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ members = [
]

[workspace.package]
version = "0.11.1"
version = "0.12.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/copper-browser/copper-cloud"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ curl -fsSL https://raw.githubusercontent.com/copper-browser/copper-cloud/main/in
or from a release tarball:

```sh
tar xzf copper-cloud-0.11.1-linux-x86_64.tar.gz && sudo ./install.sh
tar xzf copper-cloud-0.12.0-linux-x86_64.tar.gz && sudo ./install.sh
```

The installer sets up Postgres (unless you pass `DATABASE_URL`), a `copper-cloud` system user,
Expand Down Expand Up @@ -147,7 +147,7 @@ All commands take `--config PATH` (default `/etc/copper-cloud/copper-cloud.toml`
- [Operations](docs/operations.md) — doctor, logs, metrics, backups, upgrades
- [Onboarding a team](docs/onboarding.md) — single sign-on first, link codes, people, keeping links valid
- [Single sign-on + agent integrations](docs/sso.md) — Google / OIDC setup, `/start`, agent pairing
- [v0.11.1 release notes](docs/v0.11.1.md) · [v0.11.0](docs/v0.11.0.md) · [v0.10.0](docs/v0.10.0.md) · [v0.9.0](docs/v0.9.0.md) · [v0.8.1](docs/v0.8.1.md) · [v0.8.0](docs/v0.8.0.md) · [v0.7.0](docs/v0.7.0.md) · [v0.6.0](docs/v0.6.0.md) · [v0.5.0](docs/v0.5.0.md) · [v0.4.0](docs/v0.4.0.md) · [v0.3.0](docs/v0.3.0.md)
- [v0.12.0 release notes](docs/v0.12.0.md) · [v0.11.1](docs/v0.11.1.md) · [v0.11.0](docs/v0.11.0.md) · [v0.10.0](docs/v0.10.0.md) · [v0.9.0](docs/v0.9.0.md) · [v0.8.1](docs/v0.8.1.md) · [v0.8.0](docs/v0.8.0.md) · [v0.7.0](docs/v0.7.0.md) · [v0.6.0](docs/v0.6.0.md) · [v0.5.0](docs/v0.5.0.md) · [v0.4.0](docs/v0.4.0.md) · [v0.3.0](docs/v0.3.0.md)

## Development

Expand Down
4 changes: 2 additions & 2 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ curl -fsSL https://raw.githubusercontent.com/copper-browser/copper-cloud/main/in
From a release tarball (files at the archive root):

```sh
tar xzf copper-cloud-0.11.1-linux-aarch64.tar.gz
tar xzf copper-cloud-0.12.0-linux-aarch64.tar.gz
sudo ./install.sh
```

Expand Down Expand Up @@ -67,7 +67,7 @@ data stay.
| `COPPER_CLOUD_MASTER_KEY` | generated | base64url of exactly 32 bytes |
| `COPPER_CLOUD_BINARY` | — | local binary or release tarball |
| `COPPER_CLOUD_BINARY_URL` | — | URL of a binary or release tarball |
| `COPPER_CLOUD_VERSION` | `latest` | GitHub release to fetch (e.g. `0.11.1`) |
| `COPPER_CLOUD_VERSION` | `latest` | GitHub release to fetch (e.g. `0.12.0`) |
| `GITHUB_TOKEN` | — | for a private GitHub repository |

`sudo -E` (or `sudo VAR=… sh install.sh`) is needed to pass variables through sudo.
Expand Down
18 changes: 18 additions & 0 deletions docs/v0.12.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# copper-cloud v0.12.0

Sync documents can be put back. One new migration (`0015_sync_doc_revisions`); an upgrade from
0.11.x is a binary swap (`sudo ./install.sh` from the tarball) and the server migrates on start.

- **Revisions of every sync document** ([api.md](api.md)). Before a `spaces`, `settings`,
`bookmarks` or `tabs:<device>` document is overwritten, the version it replaces is kept
(still encrypted) with the device that wrote it and its build. The last 20 per document are
kept. `GET /v1/sync/docs/{domain}/revisions` lists them, `GET …/revisions/{version}` returns
one, and `POST …/revisions/{version}/restore` writes it back as a new version, so every
device pulls it. `/v1/info` lists `doc_revisions`.
- **`X-Copper-Build`.** Coppers may send their build with a write; it is stored beside the
document and its revisions. Optional: older Coppers sync as before.
- **`copper-cloud admin docs revisions|restore --user --domain [--version]`** for the operator.

Why: a device whose state had drifted overwrote a user's folders on every Mac, and there was no
earlier version to go back to (Copper 1.0.20261029.95, copper-linux 0.5.1 and copper-windows
0.2.1 stop the overwrite itself).
Loading