Skip to content

Commit 11ee7b5

Browse files
committed
Merge remote-tracking branch 'origin/main' into claude/project-thread-3lahxp
2 parents d19ebd0 + 56fa31b commit 11ee7b5

64 files changed

Lines changed: 3663 additions & 266 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@object-ui/console': patch
3+
---
4+
5+
fix(console): full-height edge drawers have square corners
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
- The console stylesheet gave every dialog surface a 1.25rem corner radius, which also rounded the left and right drawers (the notification center, the side form drawer and every other full-height Sheet). Those drawers sit against the top, side and bottom of the window, so the rounding showed as a notch at their inner corners. The rule now skips full-height edge sheets; they render with square corners. The record drawer, a floating card, now shows its own corner radius instead of the global one. Centred dialogs and bottom sheets keep the rounded corners. Drawer width, animation and content are unchanged.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
---
4+
5+
perf(console): a full-page record open asks its page list and object scope beside the permission read, and the app bar's package list after the page
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
Opening a record page by its URL (a reload, a pasted link) waited one more round trip than it needed to, and shared the link with the largest response an app page reads:
11+
12+
- The console root's prefetch (`useAppObjectScopePrefetch`) now starts a record route's page list (`/meta/page`) and, under the same rule `AppContent` follows, the app package's object list, as soon as the app list names the app. Before, both left only once `AppContent` mounted, which is after `/auth/me/permissions` answers.
13+
- `fetchSessionPackages` (the read behind the app bar's and the sidebar's Studio entries) waits until the page's own requests have stayed quiet for 750 ms (at most 8 s) before it reads `GET /api/v1/packages`, so that response no longer downloads beside the record. The entries it gates stay absent until it answers, as they already did while it was on the wire. Studio's own package reads are unchanged.
14+
- New `whenQuiet(quietMs, maxMs)` in the settle signal; it resolves at once where no data layer counts requests.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
'@object-ui/plugin-form': patch
3+
'@object-ui/components': patch
4+
---
5+
6+
fix(plugin-form): a grouped record dialog's section bar is a jump bar, not tabs: it is hidden when the sections fit, and a click marks the section it jumped to
7+
8+
Clause-②: no
9+
Metadata-protocol: none
10+
11+
A create or edit dialog for an object with field groups and no authored form layout draws every group stacked, with a row of group names above them. That row is a jump bar: a click scrolls the form to the group. It was drawn as underlined tabs, so users expected a click to switch the content, and when every group fit the dialog a click had nothing to scroll and only the highlight moved, which looked like tabs that do not work.
12+
13+
- The bar is drawn as jump links (a `#` glyph and a pill per group), not as underlined tabs.
14+
- The bar is hidden while every group fits the dialog body, and comes back when the content outgrows it (a group unfolding, a field appearing, a smaller window). The dialog header keeps its separator when the bar is hidden.
15+
- A click marks the heading of the group it jumped to for a moment, so a jump to a group already in view still shows where it went.
16+
17+
The same rules apply to the full-page form's section bar. An authored `tabbed` layout keeps its tab strip, which switches the content as before; collapsed groups, the highlight rule and the error counts are unchanged. Nothing to migrate.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
'@object-ui/fields': patch
3+
---
4+
5+
fix(fields): the tags field, the lookup search and the people picker search leave an Enter the input method owns to the input method
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
A user typing Chinese, Japanese or Korean presses Enter (and, in a tags field, the comma) to pick a word from the input method. Those keys also reached the widget: the tags field added the half-typed pinyin as a tag, and the search box of a lookup or of the people picker took the highlighted entry. The arrow keys that move between the input method's candidates also moved the highlighted row.
11+
12+
The three widgets now ignore a key pressed while a composition is open, and the Enter Safari raises just after the composition ends (keyCode 229). The next Enter, or comma, does what it always did: it adds the tag or takes the highlighted entry. This applies in the record form and in the list grid's editors alike.
13+
14+
No metadata key, value or default changes, and nothing is added to the package's exports.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@object-ui/components': patch
3+
'@object-ui/plugin-list': patch
4+
---
5+
6+
fix(ui): a multi-select field's list filter offers 「包含 / 不包含」 instead of operators the server refuses
7+
8+
Clause-②: no
9+
Metadata-protocol: none
10+
11+
Filtering a list by a multi-value field (`multiselect`, `checkboxes`, `tags`, or a `select` / `lookup` / `user` with `multiple: true`) now offers contains, does not contain, is empty and is not empty, and the query runs, where it used to offer equals and is any of, which the server answers with `400 INVALID_FILTER`. A structured-JSON field (`json`, `address`, …) offers is empty / is not empty. A saved filter that already holds a refused operator still loads and shows it, so it can be changed. `FilterBuilder` fields accept `multiple`, and `jsonColumnFilterOperators` / `operatorsForField` are exported from `@object-ui/components`.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
'@objectstack/plugin-auth': patch
3+
'@objectstack/plugin-email': patch
4+
'@objectstack/core': patch
5+
'@objectstack/cli': patch
6+
---
7+
8+
fix(plugin-auth)!: a password reset disables the OAuth applications the account registered and revokes the SCIM credentials it minted
9+
10+
Clause-②: no (narrowing)
11+
Metadata-protocol: none
12+
13+
<!-- adr-0087: not-required (no-migration-prescription) No key of any schema is added, removed, renamed or re-shaped, and no export changes shape. What moves is what a completed password reset ends: rows the account owns are written disabled or revoked by the doors administrators already use, so there is nothing for a migration to rewrite and no tombstone. -->
14+
15+
**BREAKING** for an account that registered an OAuth application or minted a SCIM provisioning credential, and then has its password reset.
16+
17+
- FROM: a completed password reset (the emailed link, the texted code, an administrator's `POST /api/v1/auth/admin/set-user-password` with `revokeSessionsAndKeys` on, and `os user set-password`) ended the account's sessions, API keys, linked sign-in accounts, authorized apps and device sign-ins. The OAuth applications the account registered (`sys_oauth_application.user_id`) stayed enabled, and the SCIM credentials it minted (`sys_scim_connection_credential.user_id`) stayed active. A self-service reset sent the account no notice.
18+
- TO: the same resets also disable every OAuth application the account registered that is not disabled, as a platform administrator's Disable action does (the provider issues it no token, client-credentials tokens included, answers its tokens inactive at introspection, and the MCP endpoint refuses every token it holds), and revoke every SCIM credential the account minted that is still active, as Revoke Credential does, each revoke writing the `sys_audit_log` row Revoke Credential writes (`scim_credential_revoked`) naming the account for a self-service reset and the administrator for a forced one (`os user set-password` names no one and writes none). An application another account registered and a credential another administrator minted are not touched. The account's single sign-on providers and two-factor enrolment are kept.
19+
- A completed self-service reset then mails the account `auth.password_reset_notice` (a new built-in template, in en-US, zh-CN, ja-JP and es-ES): how many API keys, linked sign-in accounts and authorized apps it ended, each application it disabled and each credential it revoked by name, and the single sign-on providers and second factor it kept. It is best-effort: a notice that cannot be sent never fails the reset. The forced resets send no notice and answer their requester instead.
20+
- The administrator's forced reset reports the new counts on `data.revoked` (`ownedApps`, `scimCredentials`) and on its ledger row (`revokedOwnedApps`, `revokedScimCredentials`); `setOperatorPassword` answers `ownedAppsDisabled` and `scimCredentialsRevoked`, and `os user set-password` prints them. A disable or revoke that does not land answers the self-service requester an error, with no notice, and keeps the forced reset's `complete` false, as for the other rows; every other kind is still ended first, so an application that cannot be disabled leaves no API key, linked sign-in account or credential in place.
21+
- A password change disables and revokes nothing. Its reminder, `auth.password_changed_notice`, now also lists the OAuth applications the account registered that are still enabled and the SCIM credentials it minted that are still active and not past their own expiry, and is sent when the account holds only those.
22+
23+
The fix for an owner after a reset: ask a platform administrator to enable an application you still need again, and have a platform administrator mint a new SCIM credential for a connection whose credential was revoked.

‎content/docs/ai/connect-mcp.mdx‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,10 @@ drive this MCP server. Same word, different layer.
718718
client already holds on its next call (`401`), and the client gets no new
719719
ones: a refresh is refused `invalid_client`. Disabling is a pause, not an
720720
end: the grants and refresh tokens stay, so enabling the client again
721-
serves them again. To end a grant, withdraw it.
721+
serves them again. To end a grant, withdraw it. A completed password reset
722+
of the account that registered a client (its owner) disables that client
723+
the same way, and only a platform administrator enables it again
724+
([What a password reset ends](/docs/permissions/authentication#what-a-password-reset-ends-and-what-a-change-keeps)).
722725
- **Action bodies run as trusted app code** once invoked (the `ai.exposed`
723726
gate and `requiredPermissions` are checked at *invoke* time). Treat writing
724727
an action as a code-review-worthy act — that's the real security boundary.

‎content/docs/deployment/cli.mdx‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -890,9 +890,14 @@ What one run does:
890890
and ends every authorized app and approved device sign-in of the account** (a link is a
891891
social, OAuth or single sign-on link; the password itself stays; an app's consents,
892892
refresh tokens and stored access tokens are deleted, so it asks to be authorized again),
893-
as an administrator's forced reset does: the sessions, keys, links and grants the
894-
account held under the old password do not outlive it. It asks for no password change
895-
at the next sign-in.
893+
**disables every OAuth application the account registered and revokes every SCIM
894+
credential it minted** (a platform administrator can enable a disabled application again;
895+
a revoked credential is replaced by minting a new one), as an administrator's forced
896+
reset does: the sessions, keys, links, grants, applications and credentials the account
897+
held under the old password do not outlive it. An application another account registered
898+
and a credential another administrator minted are not touched; the account's single
899+
sign-on providers and two-factor enrolment are kept. It prints how many of each it ended,
900+
and asks for no password change at the next sign-in.
896901
- **It writes the project database only.** A secondary storage the host configures for the
897902
auth service (a cache that can hold reset links and sessions) is out of its reach, for the
898903
reset links and the sessions alike. With one configured, run the command with the server

‎content/docs/deployment/self-hosting.mdx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,9 @@ first; the refusal names that command.
628628
What this release refuses is the seed password and every new session for a
629629
seeded account still on it. Sessions and API keys a seeded account was issued
630630
before the server left development mode are ended by `os user set-password`
631-
(with any sign-in account linked to it and any app authorized to it), so
631+
(with any sign-in account linked to it and any app authorized to it; the
632+
OAuth applications it registered are disabled and the SCIM credentials it
633+
minted are revoked), so
632634
run it on each seeded account before serving the database; ending them at boot
633635
is follow-up #35184.
634636

‎content/docs/kernel/runtime-services/email-service.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services.email.sendTemplate(input: SendTemplateInput): Promise<SendEmailResult>
1717

1818
`services.email.getDefaultFrom?.()` returns the configured sender, the `from` that `send()` uses when the input names none. It is `undefined` when no sender is configured.
1919

20-
`SendTemplateInput` and `RenderTemplateInput` take an optional `callerPackageId`: the package the send is made from. The template name is then resolved from that package: its own template, else the one holder in its declared dependency closure, else `409 RESOURCE_CONFLICT` naming every candidate. A send that names no package reads the environment's own template, else the one package holder, else `409` naming every holder. The nine platform-requested `auth.*` mails resolve environment-wide whatever is passed. A flow's `notify` node passes its flow's package for you.
20+
`SendTemplateInput` and `RenderTemplateInput` take an optional `callerPackageId`: the package the send is made from. The template name is then resolved from that package: its own template, else the one holder in its declared dependency closure, else `409 RESOURCE_CONFLICT` naming every candidate. A send that names no package reads the environment's own template, else the one package holder, else `409` naming every holder. The ten platform-requested `auth.*` mails resolve environment-wide whatever is passed. A flow's `notify` node passes its flow's package for you.
2121

2222
## Over HTTP
2323

0 commit comments

Comments
 (0)