aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
blob: 730151f8aae1f54cba9bce556b9c651cbaa4516c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
# Changelog

Notable changes, newest first; fixes and internal work that change nothing anyone relies
on are left out. A release is tagged `v<version>`, and its version says how to upgrade to
it from the release before ([`docs/operations.md`](docs/operations.md),
[Upgrading](docs/operations.md#upgrading)).

## Unreleased

* Placeholders nest: `${cmd:secrets ${env:HOSTNAME} show x}`, and in a name, a path, a
  command and each argument of an importer. What a placeholder gives is never run: an
  argument stays one argument, and a shell command gets it as a positional parameter.
  In a command or an argument that held `${env:`, `${file:` or `${cmd:` for the shell
  or the program itself, write `$${` ([`docs/configuration.md`](docs/configuration.md),
  [Importing values](docs/configuration.md#importing-values);
  [`crates/config/src/import.rs`](crates/config/src/import.rs)).

* A party's next write, key set or node list has its last in its history where the store
  holds more heads than an event names: `continuum-party` asks for the heads for its party
  (`GET /events?party=NAME`). On the earliest heads alone, of two of one party the lower
  ID counted, not the later ([`src/federation/store/memory.rs`](src/federation/store/memory.rs),
  [`src/api/events.rs`](src/api/events.rs)).

* `continuum-party vote` asks its node before it signs a `true` whether nodes take it
  (`POST /events/back`, which carries nothing signed), and casts and records nothing where
  they don't: such a vote, recorded, bound the party though no node held it
  ([`docs/guides/federation/proposing-and-voting.md`](docs/guides/federation/proposing-and-voting.md);
  [`src/api/events.rs`](src/api/events.rs)).

* `--store-nay-beside` is gone: a node votes `false` by no rule. A party it follows could
  count on that `false`, and voting twice have its followers pass two checkpoints, in a
  federation of any size. A node given the option says so and stops: remove it. Where two
  checkpoints stay proposed, their parties end one by hand
  ([`docs/guides/federation/checkpoints.md`](docs/guides/federation/checkpoints.md),
  [Two proposed at once](docs/guides/federation/checkpoints.md#two-proposed-at-once)).

* A node merges heads from before the version naming the revision with merge events: a
  new event builds on a head holding the current version too. On the earliest heads
  alone, its merge event was written under the version before and refused, so the
  backlog a revision was passed for stayed, and with it no checkpoint was proposed
  ([`docs/store.md`](docs/store.md); [`src/federation/store/memory.rs`](src/federation/store/memory.rs)).

* A party's second `true` builds on just the nays that end its first: one of each party,
  of as many parties as it takes. It built on every vote held, so one party signing its
  `false` again and again, or 64 parties voting, left a freed party unable to vote
  ([`src/federation/client.rs`](src/federation/client.rs)).

* A node voting by itself proposes a checkpoint a random wait after one is due, and none
  beside another node's that it would back: proposing at once, each at the heads it held
  then, nodes made as many proposals, each party's one `true` on its own
  ([`docs/guides/federation/voting-by-itself.md`](docs/guides/federation/voting-by-itself.md);
  [`src/federation/held.rs`](src/federation/held.rs)).

* A node casts, and records, no `true` that its own store refuses: freed by nays cast
  beside a checkpoint's heads, its vote on that checkpoint was refused by every node,
  yet recorded, so the party was bound by a vote no node held, and the node proposed no
  checkpoint of its own meanwhile ([`src/federation/vote.rs`](src/federation/vote.rs)).

* A new proposal holds back checkpoints for its while whoever proposes it again: a party
  with an older proposal proposing it again, byte for byte, ended that at once
  ([`src/federation/vote.rs`](src/federation/vote.rs)).

* A node voting by itself takes what it held when it started as held for a while before
  any proposal: its clock began at its start, so after a restart it backed a checkpoint
  already proposed whatever its heads left out, once `--store-back-after` had passed
  ([`docs/federation.md`](docs/federation.md),
  [Votes a node casts by itself](docs/federation.md#votes-a-node-casts-by-itself);
  [`src/federation/held.rs`](src/federation/held.rs)).

* A node backs no checkpoint at heads no version may name (one in another's history,
  say), and tells clients so (`none` in `GET /events/counts`): votes on such a proposal
  are taken, no version event on them is, and its backers stayed bound for good
  ([`src/federation/vote.rs`](src/federation/vote.rs),
  [`src/federation/fold.rs`](src/federation/fold.rs)).

* A node backs no checkpoint whose move refuses what it held for a while: an event
  building on the heads and on something beside them was taken for above them, and a
  followed key could so have every write since a point it prepared refused
  ([`src/federation/store/memory.rs`](src/federation/store/memory.rs)).

* A checkpoint that passed is written even where a `true` on it was built beside its
  heads: the version event goes on votes above them alone; before, with such a vote among
  the first that pass it, no node wrote the version, and its backers stayed bound
  ([`src/federation/fold.rs`](src/federation/fold.rs)).

* Over libp2p, a node connected to a peer only through a relay dials it directly as soon
  as it knows where, even while hole punching dials it elsewhere, rather than after that
  dial failed ([`src/transport/libp2p/relays.rs`](src/transport/libp2p/relays.rs)).

* Over libp2p, messages sent to a node at once all come in: of their streams, all but
  one were dropped unread, and a joining node's first proof of who it is, two of them,
  went unanswered for 10 seconds ([`src/transport/libp2p/mod.rs`](src/transport/libp2p/mod.rs);
  [`Cargo.toml`](Cargo.toml), libp2p-stream from a fork until a release has the fix).

* Before 1.0.0, versions read as Cargo reads them: of `0.Y.Z`, a release every node
  upgrades to together raises `Y`, any other raises `Z`; `scripts/release` refuses a flag
  day that doesn't ([`docs/operations.md`](docs/operations.md),
  [Upgrading](docs/operations.md#upgrading); [`scripts/release`](scripts/release)).

* A node joining through a seed that is joining itself no longer waits for ever: a seed
  names the swarm's root once it has it, shaking hands again with each peer it named
  none to, and a joiner shaking hands again with a seed of any build once it says it is
  ready ([`docs/access.md`](docs/access.md); [`src/swarm/roots.rs`](src/swarm/roots.rs)).

* The feature `most` builds every transport, the dashboard and the federation at once,
  as development does throughout ([`docs/development.md`](docs/development.md);
  [`Cargo.toml`](Cargo.toml)).

* A node that stopped cleanly writes on as the writer of before (`--keep-actor`, on by
  default; `keep-actor = false` in a configuration file turns it off), holding its
  writes until it synced once with a ready neighbour, or 10 seconds passed, so that a
  neighbour holding a copy's later changes of that writer hands them over first; a node
  without a document file has nothing to keep, and no longer an error for it
  ([`docs/lifecycle.md`](docs/lifecycle.md); [`src/state/mod.rs`](src/state/mod.rs),
  [`src/lib.rs`](src/lib.rs)).

* Over Mycelium, a node waits in its daemon for what comes in only while it asks nothing
  else of it, as the daemon holds back every other request while one waits: an idle node
  sends at once, and two idle nodes reach each other. The daemon's API errors name their
  causes ([`docs/transports.md`](docs/transports.md),
  [Mycelium](docs/transports.md#mycelium);
  [`src/transport/mycelium/mod.rs`](src/transport/mycelium/mod.rs)).

* `continuum-party found --name NAME` founds a federation by its name, at revision 2
  (without it, at the base revision without a name, or at a later one `--revision` names,
  with a random name where it gives one);
  `propose name NAME` names it anew, moving to revision 2 where it isn't yet; `status`
  says the name beside the store's ID
  ([`docs/guides/federation/getting-started.md`](docs/guides/federation/getting-started.md),
  [`docs/guides/federation/common-changes.md`](docs/guides/federation/common-changes.md),
  [Naming the federation anew](docs/guides/federation/common-changes.md#naming-the-federation-anew);
  [`src/federation/party.rs`](src/federation/party.rs)).

* Revision 2 of federation 1, `federation-name`: a version may give the federation a
  name, which a later one changes; the first version's, in the root, parts the federation
  from a rehearsal of the same parties, keys, nodes and rules named otherwise
  ([`docs/federation.md`](docs/federation.md),
  [Changing the federation](docs/federation.md#changing-the-federation);
  [`src/federation/revision.rs`](src/federation/revision.rs),
  [`src/federation/version.rs`](src/federation/version.rs)).

* `continuum-party` names a node by the name it gave itself wherever it shows one: in
  what a proposal does, the nodes not known to know a revision, and the node `status`
  asks ([`docs/guides/federation/watching.md`](docs/guides/federation/watching.md);
  [`src/federation/client.rs`](src/federation/client.rs)).

* `continuum-party write -r` writes the value as a string, as it is, not JSON
  ([`docs/guides/federation/writing-and-reading.md`](docs/guides/federation/writing-and-reading.md),
  [Writing](docs/guides/federation/writing-and-reading.md#writing);
  [`src/federation/party.rs`](src/federation/party.rs)).

* `continuum-party status` says everything about the federation at the node but the
  values: every party's keys and nodes, when each was heard from and what it runs, every
  proposal with its votes, who hasn't voted, and what it does, and the party's own key,
  record and what to sign again; in colour on a terminal, and with `--json` as one JSON
  object of a versioned format
  ([`docs/guides/federation/watching.md`](docs/guides/federation/watching.md);
  [`src/federation/party/status.rs`](src/federation/party/status.rs)).

* Before a vote, `continuum-party` holds the record against the party's votes the node
  shows, refusing where another record voted, and says what may keep votes away: the
  party's nodes, or a third of the parties, not heard from lately (`heard` in
  `GET /events/counts`); it waits a few seconds and asks again before it casts
  (`--wait`). `restore` takes the party's votes from the node into a record, best effort
  ([`docs/guides/federation/proposing-and-voting.md`](docs/guides/federation/proposing-and-voting.md),
  [Voting](docs/guides/federation/proposing-and-voting.md#voting);
  [`src/federation/party.rs`](src/federation/party.rs)).

* `continuum-party read PATH` reads what counts as JSON: a place's value, or what lies
  under a path as one object, within places' values too; `-r` a string as it is
  ([`docs/guides/federation/writing-and-reading.md`](docs/guides/federation/writing-and-reading.md),
  [Reading](docs/guides/federation/writing-and-reading.md#reading);
  [`src/federation/party.rs`](src/federation/party.rs)).

* `continuum-party status` says the party's keys and nodes a line each, its nodes by the
  names they gave themselves, which `GET /events/counts` shows (`names`)
  ([`docs/guides/federation/watching.md`](docs/guides/federation/watching.md);
  [`src/federation/party.rs`](src/federation/party.rs), [`src/api/events.rs`](src/api/events.rs)).

* `continuum-party --party NAME` names the party it reads as where no record does: one who
  only reads needs no record ([`docs/configuration.md`](docs/configuration.md),
  [The party's client](docs/configuration.md#the-partys-client)).

* `continuum-party` logs in as its party by its key where `--node` names no user and no
  `--token` is given ([`docs/configuration.md`](docs/configuration.md),
  [The party's client](docs/configuration.md#the-partys-client);
  [`src/federation/party.rs`](src/federation/party.rs)).

* A party's keys log in to every federated node without a password, as the party
  (`POST /auth/login/party`): a session that reads and puts events and checks forks, and
  does nothing else ([`docs/guides/federation/running-a-node.md`](docs/guides/federation/running-a-node.md),
  [Its API](docs/guides/federation/running-a-node.md#its-api);
  [`src/api/login.rs`](src/api/login.rs), [`src/api/access.rs`](src/api/access.rs)).

* A federated node's users named in `--store-readers` read the federation there and do
  nothing else; its other users are its operators, as all were
  ([`docs/guides/federation/running-a-node.md`](docs/guides/federation/running-a-node.md),
  [Its API](docs/guides/federation/running-a-node.md#its-api);
  [`src/api/access.rs`](src/api/access.rs)).

* Bash completion for `continuum-party`, with the proposals, parties, places and
  federations it finds
  ([`share/bash-completion/completions/continuum-party`](share/bash-completion/completions/continuum-party);
  [`docs/configuration.md`](docs/configuration.md),
  [The party's client](docs/configuration.md#the-partys-client)).

* `continuum-party found` writes a federation's first version from its parties' keys,
  node lists and rules
  ([`docs/guides/federation/getting-started.md`](docs/guides/federation/getting-started.md);
  [`src/federation/party.rs`](src/federation/party.rs)).

* `continuum node-id FILE` prints the node ID of a node key, `--create` making it, without
  starting a node ([`docs/lifecycle.md`](docs/lifecycle.md); [`src/config/mod.rs`](src/config/mod.rs)).

* `continuum-party status` says at a glance where the party and its node stand: the
  store and its version, the party's keys and nodes, a stop, the proposals, refused
  versions, and what to sign again; `values [PATH]` shows what counts, with who writes
  there ([`docs/guides/federation/watching.md`](docs/guides/federation/watching.md),
  [`docs/guides/federation/writing-and-reading.md`](docs/guides/federation/writing-and-reading.md);
  [`src/federation/party.rs`](src/federation/party.rs)).

* `continuum-party fork` takes the changes `propose` does, or a proposal's version
  (`fork proposal PROPOSAL`), forking at the heads the node shows unless others are named
  (`--at`); `--founder PARTY=NODE,…` names a founder's node list anew in the fork
  ([`docs/guides/federation/forking-and-following.md`](docs/guides/federation/forking-and-following.md);
  [`src/federation/party.rs`](src/federation/party.rs)).

* `continuum-party propose` takes the changes made most by what they are for: `admit`,
  `remove`, `give`, `take`, `keys`, `nodes`, `checkpoint` and `revision` write the next
  version so and propose it. Every proposal says first what it does, and asks on a
  terminal; `--print` writes the version instead
  ([`docs/guides/federation/common-changes.md`](docs/guides/federation/common-changes.md);
  [`src/federation/party.rs`](src/federation/party.rs)).

* `scripts/wire-check` runs a swarm of the last release's nodes and this tree's on one
  host, and checks they talk where their wire versions meet, and say so where they
  don't; `scripts/release` runs it ([`docs/development.md`](docs/development.md),
  [Releasing](docs/development.md#releasing); [`scripts/wire-check`](scripts/wire-check)).

* A node speaks several wire versions side by side and writes each peer the newest both
  speak, as the peer's SPEAKS says; SPEAKS goes ahead of each WHO and ME now, and WHO
  and ME read alike in every version. So a release adding a wire version and keeping
  the older rolls out node by node ([`docs/operations.md`](docs/operations.md),
  [Upgrading](docs/operations.md#upgrading);
  [`src/transport/wire.rs`](src/transport/wire.rs),
  [`src/transport/identity.rs`](src/transport/identity.rs)).

* `scripts/release` makes a release: it checks the tree, says from the last release's
  wire versions, Automerge and revisions whether it rolls out node by node, and commits
  and tags it, pushing nothing ([`docs/development.md`](docs/development.md),
  [Releasing](docs/development.md#releasing); [`scripts/release`](scripts/release)).

* Automerge is pinned to exactly the version `Cargo.toml` names, so no rebuild changes
  what nodes must agree on unnoticed ([`docs/operations.md`](docs/operations.md),
  [Upgrading](docs/operations.md#upgrading); [`Cargo.toml`](Cargo.toml)).

* `continuum-party show` says what a proposal does, in words, before a vote: who voted
  what, the parties let in or taken out, keys by fingerprint, rules added and dropped, a
  checkpoint and what moving there refuses, a revision, who writes where after it.
  `proposals` says each so, and `vote` says it, then asks on a terminal before it casts
  ([`docs/guides/federation/proposing-and-voting.md`](docs/guides/federation/proposing-and-voting.md),
  [Following a vote](docs/guides/federation/proposing-and-voting.md#following-a-vote);
  [`src/federation/party.rs`](src/federation/party.rs)).

* `GET /events/counts` shows, of a proposed checkpoint, what moving there refuses of what
  the parties signed (`beside`), as the docs said a node shows
  ([`docs/guides/federation/checkpoints.md`](docs/guides/federation/checkpoints.md),
  [Backing one](docs/guides/federation/checkpoints.md#backing-one);
  [`src/federation/store/memory.rs`](src/federation/store/memory.rs)).

* `continuum-party` keeps a directory per federation, `~/.config/continuum/federations/
  NAME/`, with its options (`party.toml`), record and key: `--federation` chooses one,
  the only one is used unasked, and `init --federation NAME` begins one
  ([`docs/configuration.md`](docs/configuration.md),
  [The party's client](docs/configuration.md#the-partys-client);
  [`src/federation/party.rs`](src/federation/party.rs)).

* `continuum-party` takes a proposal's hash, or a head's ID, by a prefix of four digits or
  more that names it alone, and marks the shortest such prefix in bold on a terminal
  ([`docs/guides/federation/proposing-and-voting.md`](docs/guides/federation/proposing-and-voting.md),
  [Voting](docs/guides/federation/proposing-and-voting.md#voting);
  [`src/federation/client.rs`](src/federation/client.rs)).

* A node meeting a peer on another wire version names both versions in its warning, and
  which node to upgrade ([`docs/operations.md`](docs/operations.md),
  [Upgrading](docs/operations.md#upgrading); [`src/transport/wire.rs`](src/transport/wire.rs)).

## 0.0.1 (2026-11-19)

The first release to keep this log; a flag day from anything before it. What it holds:

* A replicated Automerge document, read and written as JSON by path over an HTTP API
  ([`docs/api.md`](docs/api.md), [`docs/openapi.yaml`](docs/openapi.yaml)), synced
  over Mycelium, libp2p or Tor, one or several at once
  ([`docs/transports.md`](docs/transports.md)).
* Remakes, compacting the history by a majority of the members
  ([`docs/remakes.md`](docs/remakes.md)).
* Users, tokens, logins by key, and access by path ([`docs/access.md`](docs/access.md)).
* The dashboard ([`docs/dashboard.md`](docs/dashboard.md)).
* Behind the `federation` feature, a swarm kept by parties that don't trust each other,
  deciding by two thirds ([`docs/federation.md`](docs/federation.md), the guides in
  [`docs/guides/federation/`](docs/guides/federation/README.md),
  [`src/federation/`](src/federation/)), and the party's client, `continuum-party`. Its
  federation 1 knows revision 1, merge events; `scripts/federation-check` checks a tree
  against the release tagged `federation-<F>.<R>`
  ([`docs/federation-tests.md`](docs/federation-tests.md)).
* `continuum --version` says the wire versions, the federation's revisions and the
  Automerge version a build has, and nodes tell their peers theirs (`knows` in
  `GET /peers` and `GET /events/counts`).