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
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,40 @@

<!-- Add release notes in changelog.d; assembled by pnpm version:set. -->

## 0.1.0-beta.152

### Fixed

- Consent now offers cloud-copy collections while the owner's computers are offline, and approving one creates a grant served by the collection's hosted copy and, while one is online, by the owner's computers. Applications that require an mdbase cloud collection are offered cloud copies too. Grants on synced collections record the mode they were approved for; changing a collection's mode revokes its grants for the other mode, including in the collection's log. ([#1117](https://github.com/mdbase-dev/mdbase-connect/issues/1117))

- Hosted collections served by the legacy provider no longer re-serialise an
edited seed type when upgrading it: the provider image now pins the
filesystem engine revision that keeps the app's published text for upgraded
settings.

- Bases views of collections served by your computer (local or private, desktop or headless) now load in web apps instead of failing with `view_raw_projection_unavailable`. Thanks to [@Lorite](https://github.com/Lorite) for the report and diagnosis. ([#1130](https://github.com/mdbase-dev/mdbase-connect/issues/1130))

- The daemon's log transport now reconnects at once when its token is renewed every 15 minutes, instead of treating renewal as a failure with a one-second offline backoff and an info line per collection.
- Log transport reconnect lines now name the collection, and a hello proof that the collection runtime did not answer in time is no longer reported as the replica refusing it.
- A refused policy snapshot now logs why and how old it was, and a lease that expired while waiting to be applied is reported apart from a malformed one.

- Read-only (`mdbase:read`) MCP authorization no longer fails with HTTP 500 before consent. Connect now accepts a signed application request that selects a subset of its declared optional file actions (every required action, declared order, same scope), and keeps exactly that signed subset as the ceiling for consent, approval and the provider grant, so an approval cannot add file actions the application did not sign. Periodic application reconciliation no longer retires grants whose approved file actions are a permitted subset of the declaration (#1103).

- The daemon no longer logs "hosted collection not joined yet" every 5 seconds while a captured hosted mirror waits for its collection. It logs once per join attempt, and attempts back off to every 30 minutes.
- `mdbase doctor` now warns about unsent edits from an old hosted mirror whose collection cannot be joined. The warning names the folder and the refusal reason. When the hosted collection is gone (`not_found`), it says the edits are still in the old folder, which mdbase never changes.
- The doctor takeover check now names each taken-over collection that is not registered yet, with its reason. For a folder refused because it contains, or sits inside, a registered collection, it lists the choices: leave it unserved, unregister the other collection, or move a folder, then run `mdbase migrate start`.

- Report a synced collection as `syncing`, not `ready`, in daemon status while it has unfinished sync work, including an inbound or outbound file transfer, so `ready` means the collection is complete on this computer (#1122).

- Setup no longer stops at "Try again" when an app's starter note type has changes that no published version can be combined with. The review now offers "Use this app's version", which replaces that type only when the person chooses it, and only if it is unchanged since they reviewed it. The review says the existing type isn't kept.

- Upgrade an app's starter note types by content rather than exact bytes. A type that another writer re-serialised (sorted keys, expanded flow style or anchors) is recognised as the published version it matches, so it is current or upgrades normally.
- Upgrade starter note types in collections whose setup record has no origin for them, as older installers wrote. Setup merges against the published version nearest the live type and keeps the person's customisations, provided the result still implements what the app needs. This fixes TaskNotes setup stopping at "Setup can't finish" for such collections.

- Upgrading an edited seed type now writes each upgraded top-level setting with the app's published text instead of re-emitting it, so app-managed types keep their published flow lists, quoting and anchors and stay byte-stable for later upgrades.

- `mdbase doctor` no longer reports a permanent `marker_incident` failure for a taken-over folder that you unregistered and then registered again as a different collection. Registering a folder requires that no connector claims it, so the missing takeover claim is explained. The takeover clears the latched incident, and doctor stops failing. A taken-over folder that loses its claim in any other way still fails as before.

## 0.1.0-beta.151

### Added
Expand Down
16 changes: 8 additions & 8 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 @@ -13,7 +13,7 @@ members = [
resolver = "2"

[workspace.package]
version = "0.1.0-beta.151"
version = "0.1.0-beta.152"
edition = "2021"
license = "MIT"
repository = "https://github.com/mdbase-dev/mdbase-connect"
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mdbase/connect-desktop",
"productName": "mdbase connect",
"version": "0.1.0-beta.151",
"version": "0.1.0-beta.152",
"description": "Connect applications to authorized mdbase collections.",
"author": "mdbase",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion apps/portal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdbase/connect-portal",
"version": "0.1.0-beta.151",
"version": "0.1.0-beta.152",
"private": true,
"type": "module",
"scripts": {
Expand Down
6 changes: 0 additions & 6 deletions architecture.d/cloud-copy-consent-1117.json

This file was deleted.

6 changes: 0 additions & 6 deletions architecture.d/mcp-readonly-oauth-1103.json

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/cloud-copy-consent-1117.md

This file was deleted.

6 changes: 0 additions & 6 deletions changelog.d/hosted-seed-upgrade-bytes.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/keyring-projection-1130.md

This file was deleted.

5 changes: 0 additions & 5 deletions changelog.d/log-transport-renewal-and-reasons.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/mcp-readonly-oauth-1103.md

This file was deleted.

5 changes: 0 additions & 5 deletions changelog.d/mirror-join-quiet-and-surfaced.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/ready-while-transferring.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/seed-adopt-app-version.md

This file was deleted.

4 changes: 0 additions & 4 deletions changelog.d/seed-semantic-upgrade.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/seed-upgrade-publisher-bytes.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/takeover-marker-superseded.md

This file was deleted.

4 changes: 2 additions & 2 deletions config/architecture-budgets.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
},
"reviewBudgets": {
"productionFiles": 969,
"relativeImports": 2660,
"relativeImports": 2659,
"workspacePackages": 26,
"rustPublicDeclarations": 3458,
"typeScriptExportDeclarations": 3694,
"typeScriptExportDeclarations": 3697,
"mdbaseCollectionReferences": 17,
"typedCollectionReferences": 1
}
Expand Down
16 changes: 8 additions & 8 deletions deploy/docker/Cargo.lock.hosted-provider

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mdbase-connect",
"version": "0.1.0-beta.151",
"version": "0.1.0-beta.152",
"private": true,
"packageManager": "pnpm@11.15.1",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/app-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdbase-dev/ui",
"version": "0.1.0-beta.151",
"version": "0.1.0-beta.152",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdbase-dev/connect",
"version": "0.1.0-beta.151",
"version": "0.1.0-beta.152",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/devkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdbase-dev/connect-dev",
"version": "0.1.0-beta.151",
"version": "0.1.0-beta.152",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdbase-dev/i18n",
"version": "0.1.0-beta.151",
"version": "0.1.0-beta.152",
"type": "module",
"private": false,
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/management/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdbase/connect-management",
"version": "0.1.0-beta.151",
"version": "0.1.0-beta.152",
"private": true,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/pickle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdbase-dev/pickle",
"version": "0.1.0-beta.151",
"version": "0.1.0-beta.152",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdbase-dev/connect-protocol",
"version": "0.1.0-beta.151",
"version": "0.1.0-beta.152",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/sync/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdbase-dev/connect-sync",
"version": "0.1.0-beta.151",
"version": "0.1.0-beta.152",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/testing/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdbase-dev/connect-testing",
"version": "0.1.0-beta.151",
"version": "0.1.0-beta.152",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdbase/connect-ui",
"version": "0.1.0-beta.151",
"version": "0.1.0-beta.152",
"private": true,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/webhooks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdbase-dev/connect-webhooks",
"version": "0.1.0-beta.151",
"version": "0.1.0-beta.152",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
Loading
Loading