Skip to content

Commit 539906a

Browse files
authored
docs(changelog): mirror the ratified 17.1.0 notes into Recent highlights (#155)
Adds a ### 17.1 entry above ### 17.0 under Recent highlights in content/docs/resources/changelog.mdx. The page names docs.objectstack.ai/docs/releases/v17 as its source of truth, and that page now carries a full 17.1.0 treatment, so the mirror can follow. Every claim traces to a ratified upstream section; nothing was summarised independently from the 69 generated changelogs, which is what the card was held back to avoid. The six-item spine of the ratified releases/index.mdx sentence is covered in full. 99 insertions, 0 deletions: no existing line was modified, so the eleven historical "Since ObjectStack 17.0 ..." sentences — including changelog.mdx:26 on this same file — are untouched by construction. Fixes #142
1 parent f0a830d commit 539906a

1 file changed

Lines changed: 99 additions & 0 deletions

File tree

‎content/docs/resources/changelog.mdx‎

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,105 @@ Subscribe to releases on GitHub to get notified.
5454

5555
## Recent highlights
5656

57+
### 17.1
58+
59+
`@objectstack` **17.1.0** (released 2026-08-20) is the current release of
60+
the v17 line. Where 17.0 made the *authorable surface* loud, 17.1 makes
61+
the runtime's answers loud: a flag that promised to revoke access now
62+
revokes it, a read that failed stops being served as an empty one, a flow
63+
that never dispatched stops being reported as a run that failed, and a
64+
credential that was never meant to be readable stops being served. Full
65+
notes:
66+
[docs.objectstack.ai/docs/releases/v17](https://docs.objectstack.ai/docs/releases/v17).
67+
68+
> **Warning:** 17.1.0 is a minor by version number, not by blast radius.
69+
> Several of its security corrections change who can read or write on an
70+
> existing deployment, with no migration step to notice. Work through the
71+
> 17.1.0 upgrade checklist in the full notes before rolling forward.
72+
73+
What moved:
74+
75+
- **Deactivating a permission set or a position now actually stops
76+
granting access** (security) — both objects ship a Deactivate action
77+
whose dialog promises that access stops, and nothing read the column: a
78+
position seeded `active: false` still granted its permission sets, and
79+
a permission set seeded `active: false` still returned a platform-admin
80+
posture. A sharing rule reached users by a second road that never
81+
passed that seam, so a rule sharing records with a deactivated position
82+
kept sharing them — those shares are revoked on the next reconcile. A
83+
row whose `active` column is absent or NULL is unaffected. On a
84+
deployment that used the switch believing it was inert this is a real
85+
revocation on live data, so audit your deactivated rows first. See
86+
[Permission Sets](/docs/configure/permissions/permission-sets).
87+
- **The shipped admin sets no longer grant export on the `*` wildcard**
88+
(breaking) — `admin_full_access`, `organization_admin` and the derived
89+
`organization_admin_no_bypass` carried `objects['*'].allowExport: true`,
90+
which made the 17.0 export axis undeniable: an application could
91+
declare an object exportable by nobody and the platform exported it
92+
anyway. Export is now granted per object, in an app's own permission
93+
set; there is deliberately no automatic replacement. Read is untouched
94+
— this narrows bulk egress only.
95+
- **Partial field masking** — `FieldSchema` declares `maskingRule`: the
96+
closed preset enum `phone` / `id_card` / `bank_account` / `email` /
97+
`name`, plus a `{ keepHead, keepTail }` escape hatch. A field declaring
98+
a rule is served masked-but-recognizable (`138****5678`) to every
99+
non-system caller, with the field's `requiredPermissions` as the unmask
100+
gate. Masking rides the single runtime channel, so API callers, browser
101+
users and the CSV/XLSX export route all see the same value; a masked
102+
caller cannot filter, sort, group or aggregate on the field. See
103+
[Field-Level Security](/docs/configure/permissions/field-level-security).
104+
- **`sys_audit_log` can answer "who viewed this record"** — the ledger
105+
covered writes only; it gains a `read` action, its writer, and a
106+
`record_views` list view. Record-detail reads only, per-object opt-in
107+
with no global switch, batched off the request path, and **never any
108+
field values** — read auditing runs ahead of field masking, so copying
109+
values in would mint a plaintext copy of exactly what field-level
110+
security withholds. See [Audit Logs](/docs/operate/audit-logs).
111+
- **Read-only approval visibility, per object, default off** — an object
112+
can be named so that a user who can read a business record may also see
113+
that record's approval requests and full action history. Omitted or
114+
empty leaves visibility exactly as it is; on an object you do name it is
115+
not a no-op — a supervisor who holds full read but never appears in the
116+
approval used to get an empty list, and now sees the request row, every
117+
actor and decision, the action's comment text (意见正文), and decision
118+
attachments. The tier is read-only and introduces no new permission
119+
concept: the service reads the record as the caller, so ordinary CRUD
120+
and record access decide. See
121+
[Approvals](/docs/build/automation/approvals).
122+
- **All three flow doors answer one honest status table** — a refused
123+
dispatch stops being reported as a failed run: `404` not found, `409`
124+
`FLOW_DISABLED`, `422` `FLOW_NO_START_NODE`, and `400` `FLOW_FAILED`
125+
for a run that actually ran and was rejected. The automation `trigger`
126+
routes, the actions door, and declared `type: 'flow'` endpoints now
127+
read one shared definition instead of three private copies, and an
128+
`outputMapping` is no longer applied to a failure. Callers should
129+
branch on the HTTP status, not on an inner `success` flag. See
130+
[Flows](/docs/build/automation/flows).
131+
- **`error.code` is a closed vocabulary at every door** — a thrown code
132+
outside the platform's standard set no longer reaches `error.code`; it
133+
rides the new optional `declaredCode` instead, so an application's own
134+
spellings survive without widening the platform vocabulary.
135+
- **A failed read stops reading as an empty one** — a recurring class
136+
closed across the metadata protocol, the roll-up summary index, and the
137+
cascade-delete and registry probes: a read that *failed* used to be
138+
indistinguishable from one that legitimately found nothing, so an
139+
upsert pre-load turned every update into an insert and "what would
140+
break if I delete this" answered "nothing". No `catch` is removed —
141+
each is discriminated by error type, so an unprovisioned table stays
142+
benign and everything else surfaces.
143+
- **Author-time gates reach the runtime publish door** — rules that only
144+
`os build` / `os validate` ran now also judge a runtime write, so
145+
Studio and the metadata API cannot land what the CLI refuses. Re-run
146+
`os build` / `os validate` after upgrading: several new refusals can
147+
fail a stack that built clean on 17.0, including an unknown top-level
148+
stack key, a dashboard header `modal` action whose target is not a
149+
declared page, and a list-view `sort` naming a formula field or no
150+
field at all.
151+
- **Console (Studio)** — two objectui pin moves bring dashboard component
152+
re-keying, the retirement of the structured `confirm` object on
153+
actions, `I18nLabel` on metric widgets, and host-performed
154+
`submitBehavior.url` redirects for consoles mounted at a sub-path.
155+
57156
### 17.0
58157

59158
`@objectstack` **17.0.0** (released 2026-08-14) is a truth-telling

0 commit comments

Comments
 (0)