Release v3.4.0
-
#1141 – The form designer's sidebar shows who fills a field in, as a choice among the document's groups, while the document has groups. Its label,
form.settings.group, is translated in all fifteen languages. -
#1118 – Turn form fields in the form designer. Two new commands,
annotation:rotate-clockwiseandannotation:rotate-counterclockwise, turn the selected fields a quarter turn. A selected field's menu shows the clockwise one, and the other is there for your own menu or shortcut. The Style sidebar has an Orientation control, which turns what's in the field and leaves its box where it stands. A field placed on a page that is shown turned reads upright there. The new labels are translated in all fifteen languages.
- #1102 – Tell the signer when a signature is sealed without the verification information the settings ask for because the session may not add it. Storing it takes
doc.sign, which the right to sign a group's fields doesn't give; the viewer then said nothing. It now shows the same notice as when adding it fails.
-
#1138 – Draw a form field with your own template, and attach UI to a field.
<epdf-form-layer>takes controls as templates:<ng-template [epdfFieldControl]="match" let-widget>draws the boxesmatchsays yes to, the first template that matches wins, and a box none matches is drawn as before. The template getswidget(the box, aslistWidgets()gives it),frame(the box to draw into: the layer places, turns and scales it like the field),native(the layer's own control with the field's picture, to keep and add to, drawn with[ngTemplateOutlet]="native"),setValue(fills the field in, as typing does) andfocused. Tab,focus()andfocusNext()put the cursor in the first element inside your control that takes focus, and a click runs the field's own action after the value you wrote. Without a control template the layer draws what it drew.EpdfForm.widgetAnchorOf(widget)gives the anchor of one box of a field for<epdf-anchored>, as a signal, and follows the box while the field is moved in design mode: a tag pinned to a field, or a card next to it.widgetmay be a function.nullfornull, or a box that isn't there.
-
#1141 –
<epdf-form-layer>shows the fields a user may fill in in their group's color, and<epdf-annotation-layer>shows every field in its group's color in design mode.EpdfFormgainssetGroups(),listGroups(),getDesignGroup(),setDesignGroup(),moveToGroup(),listSelectedFields(),canSetGroup(), the signalsgroups(),designGroup()andselectedFields(), and the streamsgroupsChanged$anddesignGroupChanged$. A document whose fields are in no group draws as before; set the form'sfields.tintto0to show no group's color.
-
#1144 –
<epdf-scrollbar>binds its track withattachScrollbarfrom@embedpdf/web, the one call every framework's bar makes. A press on the bar with any button now stays on the bar; a press with a button other than the main one used to reach the Stage below it. -
#1136 – Announce each radio button of
<epdf-form-layer>by its own option. Every button of a group was announced by the group's name alone ("Plan, radio button"), so a screen reader user couldn't tell them apart. Each button now has its option in its name ("Plan: monthly") and says where it comes in its group ("1 of 2") witharia-posinsetandaria-setsize, since a group's buttons stand apart on the page with no group element around them. -
#1146 – Let Tab get past a signature field in
<epdf-form-layer>when the signature plugin isn't registered. The field is only its picture then, with nothing to focus, but Tab still went for it: the press was taken, the cursor stayed in the field before it, and the fields after it could not be reached with the keyboard. Tab and Shift+Tab now pass over it, and so dofocus()andfocusNext(). The same holds for a box drawn by a control of your own that has no element Tab stops at. With the signature plugin the field is a stop, as before.
-
#1138 – Draw a form field with your own component, and attach UI to a field.
<FormLayer controls>takes a list ofFieldControl,{ for, component }: the first one whoseformatches a box draws it, and a box none matches is drawn as before. The component getswidget(the box, aslistWidgets()gives it),frame(the box to draw into: the layer places, turns and scales it like the field),native(the layer's own control with the field's picture, to keep and add to),setValue(fills the field in, as typing does) andfocused. Tab,focus()andfocusNext()put the cursor in the first element inside your control that takes focus, and a click runs the field's own action after the value you wrote. Withoutcontrolsthe layer draws what it drew.useFormWidgetAnchor(widget)gives the anchor of one box of a field for<Anchored>, and follows the box while the field is moved in design mode: a tag pinned to a field, or a card next to it.nullfornull, or a box that isn't there.
-
#1141 –
<FormLayer>shows the fields a user may fill in in their group's color, and<AnnotationLayer>shows every field in its group's color in design mode. Name a document's groups withform.setGroups().useFormState()gainsgroups,designGroupandselectedFields, anduseFormEvent()takesonGroupsChangedandonDesignGroupChanged. A document whose fields are in no group draws as before; set the form'sfields.tintto0to show no group's color.
-
#1144 –
<Scrollbar>binds its track withattachScrollbarfrom@embedpdf/web, the one call every framework's bar makes. The bar behaves as before. -
#1135 – Keep the focus on a form dropdown after you pick a value.
<FormLayer>replaced the dropdown's control on every change, so the focus fell to the page and the focus ring stayed on the dropdown after you moved to another field. The dropdown is now one control for as long as its field shows: the focus stays on it, and its ring goes when you leave it. -
#1136 – Announce each radio button of
<FormLayer>by its own option. Every button of a group was announced by the group's name alone ("Plan, radio button"), so a screen reader user couldn't tell them apart. Each button now has its option in its name ("Plan: monthly") and says where it comes in its group ("1 of 2") witharia-posinsetandaria-setsize, since a group's buttons stand apart on the page with no group element around them. -
#1144 – Stop a press on
<Scrollbar>from also panning the page. The Stage listens for presses on an ancestor of the bar, and React ran the bar's own handler after the Stage had already seen the press, so a thumb drag moved the page the other way too: the view scrolled a little less than the thumb asked for, and went backwards once the thumb reached the end of its track. The bar now takes its presses on the track itself, so the Stage never sees them. -
#1146 – Let Tab get past a signature field in
<FormLayer>when the signature plugin isn't registered. The field is only its picture then, with nothing to focus, but Tab still went for it: the press was taken, the cursor stayed in the field before it, and the fields after it could not be reached with the keyboard. Tab and Shift+Tab now pass over it, and so dofocus()andfocusNext(). The same holds for a box drawn by a control of your own that has no element Tab stops at. With the signature plugin the field is a stop, as before.
-
#1138 – Draw a form field with your own component, and attach UI to a field.
<FormLayer {controls}>takes a list ofFieldControl,{ for, component }: the first one whoseformatches a box draws it, and a box none matches is drawn as before. The component getswidget(the box, aslistWidgets()gives it),frame(the box to draw into: the layer places, turns and scales it like the field),native(the layer's own control with the field's picture, to keep and add to, drawn with{@render native()}),setValue(fills the field in, as typing does) andfocused. Tab,focus()andfocusNext()put the cursor in the first element inside your control that takes focus, and a click runs the field's own action after the value you wrote. Withoutcontrolsthe layer draws what it drew.useFormWidgetAnchor(widget)gives the anchor of one box of a field for<Anchored>, as{ current }, and follows the box while the field is moved in design mode: a tag pinned to a field, or a card next to it.widgetmay be a function.nullfornull, or a box that isn't there.
-
#1141 –
<FormLayer>shows the fields a user may fill in in their group's color, and<AnnotationLayer>shows every field in its group's color in design mode. Name a document's groups withform.setGroups().useFormState()gainsgroups,designGroupandselectedFields, anduseFormEvent()takesonGroupsChangedandonDesignGroupChanged. A document whose fields are in no group draws as before; set the form'sfields.tintto0to show no group's color.
-
#1144 –
<Scrollbar>binds its track withattachScrollbarfrom@embedpdf/web, the one call every framework's bar makes. The bar behaves as before. -
#1136 – Announce each radio button of
<FormLayer>by its own option. Every button of a group was announced by the group's name alone ("Plan, radio button"), so a screen reader user couldn't tell them apart. Each button now has its option in its name ("Plan: monthly") and says where it comes in its group ("1 of 2") witharia-posinsetandaria-setsize, since a group's buttons stand apart on the page with no group element around them. -
#1144 – Stop a press on
<Scrollbar>from also panning the page. The Stage listens for presses on an ancestor of the bar, and Svelte ran the bar's own handler after the Stage had already seen the press, so a thumb drag moved the page the other way too: the view scrolled a little less than the thumb asked for, and went backwards once the thumb reached the end of its track. The bar now takes its presses on the track itself, so the Stage never sees them. -
#1146 – Let Tab get past a signature field in
<FormLayer>when the signature plugin isn't registered. The field is only its picture then, with nothing to focus, but Tab still went for it: the press was taken, the cursor stayed in the field before it, and the fields after it could not be reached with the keyboard. Tab and Shift+Tab now pass over it, and so dofocus()andfocusNext(). The same holds for a box drawn by a control of your own that has no element Tab stops at. With the signature plugin the field is a stop, as before.
-
#1138 – Draw a form field with your own component, and attach UI to a field.
<FormLayer :controls>takes a list ofFieldControl,{ for, component }: the first one whoseformatches a box draws it, and a box none matches is drawn as before. The component getswidget(the box, aslistWidgets()gives it),frame(the box to draw into: the layer places, turns and scales it like the field),native(the layer's own control with the field's picture, to keep and add to, drawn with<component :is="native" />),setValue(fills the field in, as typing does) andfocused. Tab,focus()andfocusNext()put the cursor in the first element inside your control that takes focus, and a click runs the field's own action after the value you wrote. Withoutcontrolsthe layer draws what it drew.useFormWidgetAnchor(widget)gives the anchor of one box of a field for<Anchored>, as a ref, and follows the box while the field is moved in design mode: a tag pinned to a field, or a card next to it.widgetmay be a ref or a getter.nullfornull, or a box that isn't there.
-
#1141 –
<FormLayer>shows the fields a user may fill in in their group's color, and<AnnotationLayer>shows every field in its group's color in design mode. Name a document's groups withform.setGroups().useFormState()gainsgroups,designGroupandselectedFields, anduseFormEvent()takesonGroupsChangedandonDesignGroupChanged. A document whose fields are in no group draws as before; set the form'sfields.tintto0to show no group's color.
-
#1144 –
<Scrollbar>binds its track withattachScrollbarfrom@embedpdf/web, the one call every framework's bar makes. A press on the bar with any button now stays on the bar; a press with a button other than the main one used to reach the Stage below it. -
#1135 – Keep the focus on a form dropdown after you pick a value.
<FormLayer>replaced the dropdown's control on every change, so the focus fell to the page. The dropdown is now one control for as long as its field shows, so the focus stays on it. -
#1136 – Announce each radio button of
<FormLayer>by its own option. Every button of a group was announced by the group's name alone ("Plan, radio button"), so a screen reader user couldn't tell them apart. Each button now has its option in its name ("Plan: monthly") and says where it comes in its group ("1 of 2") witharia-posinsetandaria-setsize, since a group's buttons stand apart on the page with no group element around them. -
#1146 – Let Tab get past a signature field in
<FormLayer>when the signature plugin isn't registered. The field is only its picture then, with nothing to focus, but Tab still went for it: the press was taken, the cursor stayed in the field before it, and the fields after it could not be reached with the keyboard. Tab and Shift+Tab now pass over it, and so dofocus()andfocusNext(). The same holds for a box drawn by a control of your own that has no element Tab stops at. With the signature plugin the field is a stop, as before.
-
#1144 – New
attachScrollbar(element, { bar, onDragging }): it binds a Stage scrollbar's track element, with the thumb inside it, in one call. It takes the bar's presses on a listener of its own on the track, so a press on the bar never reaches the Stage below it in any framework. It sends each press to the thumb's drag or the track's paging, follows the moves and ends at the release.createScrollbarPressesstays for a bar that wires its own listeners. -
#1138 – Add what every framework's
<FormLayer>shares to draw a form field with a control of the app's own:fieldControlFor()picks the first control that matches a box,fieldControlPlaceOf()gives the frame the control draws into (the field's size at 100%, its turn on screen, the zoom) and where the layer's own drawing goes inside it,createFieldControlPress()runs the field's action after a value the control wrote, andrunsActionOnClick(),claimClick()andisClickClaimed()decide which click runs it.bindFieldFocus()takescustom: truefor a box that holds such a control: the cursor goes to the first element inside it that Tab stops at. Without that option it does what it did. -
#1141 – Show a form field in its group's color.
EPDF_VARIABLESgainsform-field-tint(--epdf-form-field-tint, the settingform.fields.tint).widgetBoxStyleOf()andlistBoxStyleOf()take a widget'saccent,{ color, strength }, and add its fill and its edge. A widget without one is styled as before.- New:
fieldTintOf(accent), the fill and the edge of a group's color,recordAccentStyleOf(accent), the style of a lent record's accent in the annotation layer, and the typeFieldAccent.
-
#1146 –
bindFieldFocus()tells the form whether a field's box takes the cursor, so Tab passes over one that holds nothing to focus instead of stopping there for good. A control of an app's own with no element that Tab stops at takes none, andfocusable: falsesays the same for a box that is only the field's picture, as a signature field is without the signature plugin. In such a control an element that is hidden, disabled (also by a<fieldset>), inert or not drawn is no stop: the cursor goes to the first element that can take it, and the target'sfocus()answers whether it went in. The layer's own controls behave as before.
-
#1101 – Keep a form field's control square when the page rounds its own inputs. The form layer draws in your page, so a rule such as
input:focus-visible { border-radius: 8px }rounded a focused text field and its focus ring, while the field in the PDF is square. Every native control the layer draws now sets its own corners: the text box, the dropdown, the list and the buttons. -
#1144 – Keep a press on a scrollbar's track from the page below it.
createScrollbarPressesstopped a press on the thumb but let a press on the track reach the Stage, which began a gesture of its own with it while the bar paged or jumped. -
#1118 – Turn a form field's control with the field.
widgetBoxStyleOf()places the box at the field's frame and turns it by the field'srotationabout its middle, so the text box, checkbox, list or button over a turned field reads the way the field does, in every framework's<FormLayer>. A control over a turned field used to be laid out unturned across the field. Nothing changes for a field that isn't turned.
-
#1147 – A form field has a
purpose(what its value means, such as'email'), and a text field or a dropdown aformat:doc.forms.create()anddoc.forms.update()take both, and every read returns them.await doc.forms.create({ kind: 'text', name: 'signed_on', purpose: 'date-signed', format: { kind: 'date', pattern: 'dd/mm/yyyy' }, });
A date or a time format is written as the scripts Acrobat writes for one, so Acrobat offers its date picker on the field, and a date field made in Acrobat reads as
{ kind: 'date', pattern }here. It needsdoc.forms.modifyand nodoc.forms.script.isDatePattern()andisTimePattern()say whether a string is a pattern a date or a time format is written with, andSTANDARD_DATE_PATTERNSandSTANDARD_TIME_PATTERNSare Acrobat's own lists of them. -
#1145 –
doc.forms.setSignatureAppearance()anddoc.signatures.prepare()take a PNG or a JPEG as the mark, as aUint8Arrayor aBlob, beside a one-page PDF: pass the bytes themselves.doc.forms.setSignatureAppearance(field, null)takes a drawn mark out, so the field shows its own box again and its style can change.{ pdf }works as before, for a one-page PDF only.
-
#1150 by @draarivpatel-ui –
engine.open({ kind: 'layerBytes', baseSha256 })forwards the hash to the worker the waylayerFilealways has, so a caller that already verified the base's SHA-256 saves the runtime a full pass over the file on the first layer mutation. -
#1152 – The engine worker is less than half the download it was:
embedpdf-worker.jstakes 243 KB gzipped instead of 523 KB. It held the files of the 14 standard fonts, which it never reads: PDFium draws with its own copies. The inline worker and the build that runs without a worker shrink by as much. No API change. -
#1155 – The engine worker is about 12 KB smaller to download, 5% of its gzipped size: the worker, the inline worker and the build that runs without a worker are minified with swc. No API change.
-
#1147 – A form field's
purposeandformat: a create (POST .../form/fields), an update (PATCH .../form/fields/{field}) and theforms.createandforms.updateops of a change take both, and every field a response carries haspurpose, andformaton a text field and a dropdown. Both needdoc.forms.modify; a date or a time format needs nodoc.forms.script.The form's and the form export's engine values are raised, so answers with the new fields get new URLs.
-
#1145 – A signature field's mark may be a PNG or a JPEG, beside a one-page PDF: the visual fill (
POST .../form/fields/{field}/signature-appearance), a signing'sappearance(POST .../signatures/prepare) and the change opforms.setSignatureAppearancerefused an image part withthe appearance resource must be a PDF. The visual fill and the change op also takeresources: { appearance: null }, which takes a drawn mark out of the field.
-
#1153 – Update dependencies: Fastify 5.12, its multipart parser, sharp 0.35 and the cloud provider clients. A hop count in
CLOUDPDF_TRUST_PROXYstill names how many proxies stand in front of the server. -
#1151 – Requests are checked with zod 4 (
^4.6.6). A value no kind of a union accepts is refused naming the field and what is wrong with it, indetails.fieldand the message, anddetails.issueslists only that. The wording of a refused value's message is zod 4's.
-
#1140 –
groupIdin a form field's draft and patch takesnull:FormFieldDraftandFormFieldPatch, as theforms.createandforms.updateops ofdoc.changescarry them. In a draft,nullmeans the same as leaving it out. In a patch, it takes the field out of its group, which needsdoc.forms.modifyand nofields:set-grouppermission.A field created without a
groupIdis now in no group. It used to go in the token's own group (identity.groupId), so only a token whose identity has a group sees a difference. To keep the old result, name the group in the draft.The new default comes with the server, not with the client: a server of this release gives it to every client, also one that says it speaks 3.0 to 3.3. A server older than this release refuses
groupId: nullwithInvalidArg. -
#1147 – A form field's
purposeandformat.FormFieldhaspurpose(a string, ornull), and its text and combobox kinds haveformat:FormFieldFormat({ kind: 'date', pattern },{ kind: 'time', pattern }or{ kind: 'other' }), ornull. A newer server can add kinds of format: read one your client doesn't know asother.FormFieldDraftandFormFieldPatchtakepurpose(1 to 256 characters with no NUL, ornullfor none) and, for a text field and a dropdown,format:FormFieldFormatWritable(a date or a time with its pattern), ornullfor none. Theforms.createandforms.updateops ofdoc.changescarry them the same way.
Both arrive in 3.4. A server older than that refuses a draft or a patch that names either with
InvalidArg, so a client sends them only to a server that has them. -
#1145 – The change op
forms.setSignatureAppearancetakesresources: { appearance: null }, which takes a drawn mark out of the signature field. Its part may be a PNG or a JPEG, beside a one-page PDF. Both need a server of version 3.4. -
#1151 – The operation schemas are built with zod 4 (
^4.6.6). The OpenAPI document is unchanged.
-
#1147 – A form field has a
purpose(what its value means, such as'email'), and a text field or a dropdown aformat({ kind: 'date', pattern },{ kind: 'time', pattern }):doc.forms.create()anddoc.forms.update()take both, and every read returns them.isDatePattern()andisTimePattern()say whether a string is a pattern a date or a time format is written with, andSTANDARD_DATE_PATTERNSandSTANDARD_TIME_PATTERNSare Acrobat's own lists of them.Writing either needs a server of version 3.4. An older one is never sent them: a create, an update or a change that names a
purposeor aformatfails withNotImplemented, anddetails.needsanddetails.serverVersionsay which side to update. An import (doc.forms.import()) of a bundle in which a field has a purpose fails the same way, since such a server would make the field without it and report nothing left out. Reading works against an older server:formatis read from the field's scripts, andpurposereadsnull, in the fields of an exported bundle too. -
#1145 –
doc.forms.setSignatureAppearance()anddoc.signatures.prepare()take a PNG or a JPEG as the mark, as aUint8Arrayor aBlob, beside a one-page PDF: pass the bytes themselves.doc.forms.setSignatureAppearance(field, null)takes a drawn mark out.{ pdf }works as before, for a one-page PDF only: an image under it is refused before anything is sent.An image and
nullneed a server of version 3.4. An older one is never sent them: the call fails withNotImplemented, anddetails.needsanddetails.serverVersionsay which side to update. A one-page PDF works against it.
-
#1140 –
groupIdonFormFieldDraftandFormFieldPatchisstring | null. In aforms.createop,nullmeans the same as leaving it out: the field is in no group. In aforms.updateop,nulltakes the field out of its group.A field created without a
groupIdis now in no group. It used to go in the token's own group (identity.groupId), so only a token whose identity has a group sees a difference. To keep the old result, name the group in the draft. -
#1147 – A form field's
purposeandformat:FormFieldhaspurpose, and its text and combobox kindsformat(FormFieldFormat, ornull).FormFieldDraftandFormFieldPatchtakepurpose, andformat(FormFieldFormatWritable, a date or a time with its pattern) for a text field and a dropdown;nullremoves either in a patch.Both need a server of version 3.4: an older one refuses a draft or a patch that names either.
-
#1145 –
ChangeOp.FormsSetSignatureAppearancetakesresources: { appearance: null }, which takes a drawn mark out of the signature field. It needs a server of version 3.4.
-
#1141 – A plugin that lends records can give each one an accent:
AnnotationLender.accentOf(record)(optional) returns a color and how strong it shows, and the record's render item carries it asaccent. The form plugin uses it to show each field in its group's color in design mode. Records of a lender withoutaccentOfare unchanged. -
#1118 – Turn form fields in design mode.
selection.rotateBy()andselection.resetRotation()now act on a selected field, which they skipped: a field turns by quarter turns and has no rotation handle. A selection of fields listsorientationamong its properties, the direction their contents read in with each box staying where it stands; write it with the neworientationPatch(annotation, rotation).A field that another app turned was shown and moved as if it were upright. It now is a turned box like any other, with its picture where it stands; this is a fix, and nothing changes for a field that isn't turned.
previewPlacement()takes the page's display rotation, so the drag of an upright tool of another plugin is drawn as it will be placed.selection.rotateBy()andselection.resetRotation()keep what they turn on its page. A turn is about the middle, so a wide box near the top of its page stood past the edge once turned, and the next drag pulled it back. It now lands against the edge: moved the least that puts it on the page, with several annotations moving together. This holds for stamps and shapes as well as fields. Turning with the rotation handle is unchanged.
-
#1140 – A field placed, created or copied without a group shows in no group at once, where the engine now leaves it: a new field is in no group unless its draft names one, whatever the session's own group is (
identity.groupId). An app whose session has a group, and that relied on new fields landing in it, names the group in the draft:form.create({ kind: 'text', name: 'note', groupId: 'legal', widgets }). A field an update takes out of its group (groupId: null) shows in none at once too. -
#1138 – Say more about each field box, and attach UI to one.
- Each entry of
listWidgets()gainsref(the box's own address, whatgetWidget()takes, besideannotationRef),groupId(the field's group, ornull),canFill(whether the session may fill it in, or sign it for a signature field: its permissions alone, wheredisabledalso counts read-only fields and thefillablesetting),required, andempty(it holds nothing yet, by the rulevalidate()checks a required field with). The values it had are unchanged. - The host lens gains
getWidgetAnchor(widget), the page and box that UI attaches to for one box of a field, following the box while it is moved in design mode, andisWidgetFocused(widget). The framework packages builduseFormWidgetAnchor()and a control'sfocusedon them.FormWidgetAnchoris the anchor's type. - The plugin lists the Stage among the plugins it may use.
focus(),focusNext()and Tab between fields threw in a development build ("resolved capability stage without declaring it"), because the cursor asks the Stage to bring a field into view.
- Each entry of
-
#1141 – Say who a document's groups are, place fields for each of them, and give existing fields to them.
setGroups([{ id, label, color }])names the groups of the open document: the whole list, and an empty one clears it. A group is an id in the PDF; its label and its color stay in the app, and each open document has its own list.coloris a CSS color, so it can bevar(--yours). FiresonGroupsChanged; the same list again changes nothing.- Every group a document's fields are in shows in a color, named or not: the app's, else one of eight by the group's place in the list, so the first eight never share one.
fields.tint(default0.16, CSS--epdf-form-field-tint) is how strongly it shows, and0turns the colors off. A document whose fields are in no group looks as it did. A document whose fields are in groups now shows them in color: setformPlugin({ fields: { tint: 0 } })to keep the old look. listGroups()gives every named group, then every other group the form's fields are in, as{ id, label, color }. The form's state has them asgroups.- Who new fields are placed for is state:
setDesignGroup(groupId),getDesignGroup(),designGroupin the form's state, and the eventonDesignGroupChanged. A field placed with a form tool goes into that group; withnull, where it starts, it is in no group. moveToGroup(fields, groupId)puts several fields in a group, or withnulltakes them out of theirs, as one step to undo, andlistSelectedFields()(the state'sselectedFields) gives every field with a selected widget in design mode.canSetGroup(groupId)says whether the user may put a field in a group:doc.forms.modify, and the group is their own or one afields:set-grouppermission names.setDesignGroup(),moveToGroup(), andcreate()andupdate()with agroupId, refuse such a group before anything is shown, withpermission-denied; the engine refused it before, after the field had shown. Taking a field out of its group (groupId: null) needsdoc.forms.modifyalone.getFieldSettings()describes a field's group while the document has groups: achoicewith the keygroupId, whose options are the ids of the groups the user may put the field in; none of them (null) takes the field out of its group.- Each entry of
listWidgets()gainsaccent:{ color, strength }, its group's color and the tint, while the user may fill the field in and it still takes a value, elsenull. Itslabelends with the group's label when the group has one (Signature, Dana Smith), after a radio button's option (Plan: monthly, Dana Smith). - In design mode each field lent to the annotation plugin carries the same
accent, so the annotation layer shows whose field it is. No color is written into the PDF.
-
#1136 – Name each radio button by its own option.
listWidgets(page)gave every button of a radio group the samelabel, the group's tooltip, so a screen reader announced all of a group's buttons alike. A radio button'slabelnow adds the option it stands for, its export value, the way screen readers read a radio button in Acrobat:Plan: monthly. A radio item also carriesinGroup,{ position, size }: where the button comes among its group's buttons, in the order the arrow keys go round, foraria-posinsetandaria-setsize. Checkboxes keep the field's label. -
#1146 – Let Tab get past a signature field that nothing can sign. Without the signature plugin a signature field is only its picture, but
focusNext()and Tab still counted it as a stop: Tab was taken and the cursor stayed where it was, so the fields after it could not be reached with the keyboard. A box on screen whose control takes no cursor is now passed over by Tab,focusNext()andfocus(), which returnsfalsefor it; one that comes into view with nothing to focus hands the cursor on to the next field, round to the first withwrap. A focus target that a form layer lends through the host contract can say so withtakesCursor(), and itsfocus()can answerfalsewhen nothing took the cursor after all; a target that does neither takes the cursor, as before. -
#1118 – Place form fields upright on turned pages, and fill in fields that are turned.
- The form tools place a field the way its author sees the page: on a page shown turned, a click makes the tool's size as seen and the field is turned a quarter so that what's typed reads upright there. The placement states the field's
boxandrotation; the ghost and the placed field agree at every quarter turn. Nothing changes on a page that isn't turned. - Each entry of
listWidgets()and the result ofgetWidgetAt()now say where a field is withbox,rotationandrect: the frame its contents are laid out in, its quarter turn, and where it stands on the page.boxwas the rect. For a field that isn't turned they are the same, so only turned fields change, and those were drawn with their controls the wrong way; this is a fix. getWidgetAt()finds a turned field where it stands.addWidget()without a place lines the new box up with where the field's boxes stand, for turned boxes too.
- The form tools place a field the way its author sees the page: on a page shown turned, a click makes the tool's size as seen and the field is turned a quarter so that what's typed reads upright there. The placement states the field's
- #1149 – Fix Tab and Shift+Tab around a radio group that has another field between its buttons in the page's tab order. A radio group is one stop, where its first button comes, and its checked button takes the cursor. When the checked button came after another field,
focusNext()and Tab went on from the button instead of from the group: Tab skipped the field between, and Shift+Tab went back and forth between that field and the group and never left. The cursor now goes on from the group's place, so each field is reached once in either direction, withemptyandwraptoo. A form whose radio buttons follow one another in the tab order behaves as before.
-
#1145 – A mark whose
sourceis a PNG or a JPEG works in a signature field.fillField(),sign(),prepareSignature()andplaceMark()on a field failed withthe appearance PDF could not be openedfor an image, although a mark'ssourceis a PNG, a JPEG or a one-page PDF; only a free placement took one. Theappearanceofsign()andprepareSignature(), given instead of the mark, takes a PNG or a JPEG as well, beside a one-page PDF.clearField()now empties the field. It used to draw a blank page in, so the field kept reading as having a mark, showed nothing at all, and refused a change of its style. A cleared field shows its own box again, and undo brings the mark back.
- #1102 –
canFill(),fillField()andclearField()now ask for the right the engine has always asked for: the right to sign the field (doc.sign, orfields:signfor its group), not the right to fill fields in. A mark in a signature field is its signer's to place. Before, a session that could only fill fields in was toldcanFill()and then refused by the engine, and a session that could only sign was refused by the plugin although the engine allowed it.
-
#1147 –
formatDate(date, pattern)andparseDate(text, pattern, today)write and read a date by a pattern ('dd/mm/yyyy','h:MM tt') without running a script.formatDate({ year: 2026, month: 3, day: 5 }, 'dd/mm/yyyy')is'05/03/2026'. It isutil.printd, so the text is what a field's format script writes for the same date.parseDate('5/3/26', 'dd/mm/yyyy', today)gives the date's parts, ornull. It reads what a field's keystroke script accepts and nothing more: text the pattern can't read givesnull, where a format script would try JavaScript's own date reading.todayis required and gives the year and the month the text leaves out; neither function reads a clock.- A date is its parts (
DateParts,DatePartsInput), with no time zone.
The prelude installs one more internal entry beside
__acrojsRunand__acrojsBoot:__acrojsParseDate(text, pattern, today), the same parse with today passed in. A script cannot replace it, and what scripts do is unchanged.
-
#1141 – A lent record can carry an accent:
RecordAccent, a CSS color and how strong it shows, onModelAnnotation.accentand on the record'sRenderItem.accent. A renderer draws it over the record's frame as a light fill and an edge. A record without one is unchanged. -
#1118 – Read a form widget as a turned box: its
boxis the frame its contents are laid out in and itsrotationthe quarter turn it holds (/MK /R), as the engine reads it. Until now a widget read as itsrectwith no turn, so a field another app turned was selected, moved and drawn as if it were upright; this is a fix, and nothing changes for a widget that isn't turned.- A box placed by an upright tool keeps its turn for a widget, as for a stamp, so a form field placed on a page shown turned reads upright there.
- New capability flag
quarterTurns, set on the widget kinds:rotateSelectionby a quarter turn andresetRotationact on a widget, which still shows no rotation handle. - New
orientationPatch(annotation, rotation): theboxandrotationthat turn a widget's contents where it stands, and theorientationchoiceselectionPropertieslists for a selection of widgets. - New
placedBoxFields(placement)andstandingRect(box, degrees). - A box's
rectat a quarter turn is exact: its sides swapped, with no rounding. - A turn keeps what it turned on its page. The
rotateSelectionandresetRotationmessages takepageBoxes, the box of each page by its object number (new typePageBoxes): where the turn would carry a selection past its page's edge, it moves the least that puts it back on the page, as a move keeps it there. WithoutpageBoxesa turn is what it was.
- #1152 –
BUILT_IN_PROGRAMSnames the standard fonts' programs without the code that loads them, so a bundle that only reads their hashes no longer holds the 14 font files. No API change.
- #1103 –
createTestCertificateAuthority({ now })dates its certificates by the clock you give it, as it dates its answers. Before, the certificates were dated by the real clock, so with a clock more than a day in the past an OCSP answer came from before the responder's certificate and read as no answer at all (wrong-signer).
-
#1140 – A new form field is in no group unless its draft names one, and
groupId: nulltakes a field out of its group. Both engines follow the same rule.This changes what a create does. Until now a field created without a
groupIdwent in the session's own group (identity.groupId). It is now in no group. Only a session whose identity has a group, and that creates a field without naming one, sees a difference. To keep the old result, name the group in the draft:doc.forms.create({ kind: 'text', name: 'note', groupId: 'legal', widgets }). Naming your own group still takes nofields:set-grouppermission. Documents that already exist don't change, and annotations keep their rules: a new annotation still goes in its creator's group, and its group can't be removed.FormFieldDraft.groupIdandFormFieldPatch.groupIdarestring | null. In a draft,nullmeans the same as leaving it out. In a patch,nulltakes the field out of its group. That takes form design (doc.forms.modify) and nofields:set-grouppermission. A field's group used to be documented as "changed, never removed".FormFieldDraftSchemaandFormFieldPatchSchematakegroupId: null, so a request to the cloud engine does too.authorizeFieldGroup()takesnull, which needs no right.formFieldOfDraft()gives a field in no group for a draft that names none.FieldDraftContext.groupIdis deprecated and no longer read. It goes in 4.0.runFieldGroupsConformancechecks the default,nullin a draft and in a patch, the right each one takes, and undo.
-
#1147 – A form field has two more facts: its
purpose(what its value means) and, on a text field and a dropdown, itsformat(the shape its value has).purpose: string | nullon everyFormField, and inFormFieldDraftandFormFieldPatch, wherenullmeans none. The engine keeps it with the field and reads nothing into it. A purpose is 1 to 256 characters with no space at its start or end and no NUL character (isFieldPurpose()); anything else is refused withInvalidArg.format: FormFieldFormat | nullonTextFieldandComboBoxField:{ kind: 'date', pattern },{ kind: 'time', pattern },{ kind: 'other' }for a format script the engine doesn't recognise, ornullwithout one. It is read from the field's format script, as Acrobat decides it (formatOfActions()):AFDate_FormatEx("pattern"), the olderAFDate_Format(n), and the same two calls for a time. A keystroke script on its own is no format.- A draft and a patch take
format: FormFieldFormatWritable | null, a date or a time. The engine writes the field's format script and keystroke script from the pattern, as Acrobat writes them, so it takesdoc.forms.modifyand nodoc.forms.script.nullremoves both scripts. Anotherformat is read, never written. - Patterns, per kind:
isDatePattern()andisTimePattern()say whether a string is a pattern a date or a time format is written with, andSTANDARD_DATE_PATTERNSandSTANDARD_TIME_PATTERNSare the patterns Acrobat's older calls name by number. A pattern is one a field can show and read back. A date's has at least one date group, the year, the month and the day each once at most, may carry one time written with colons (m/d/yy HH:MM), and has no two numbers touching. A time's is a time and nothing else (HH:MM,h:MM:ss tt). Soyyyymmdd,yyyy/mm/mm/dd,HH.MM, a time alone as a date and a date as a time are refused in a write, and a format script that uses one reads asother. formFieldOfDraft()andformFieldAfter()work out both facts, and the two scripts a format write leaves inactions.fieldDraftOf()keeps both in a copy and an import; a date or a time format comes along withoutdoc.forms.script.FormFieldDTOSchemareads a field from a server older than both facts: no purpose, and the format its scripts give.FormFieldFormatSchemareads a kind it doesn't know asother.withCatchAll()takes a fourth argument that fills in what an older server leaves out.FIELD_PURPOSE_AND_FORMAT_SINCEis the version both arrived in on the wire.- A form bundle written before both facts reads whole too:
FormTransfer.parse()gives each of its fieldspurpose: nulland the format its scripts give, andcompleteFormBundle()does the same for a bundle that came another way. runFieldPurposeFormatConformancechecks both facts on an engine: reads, writes, refusals, undo, copies, imports and the permission each takes.
A field you build by hand as a
FormField(in a test, say) now needspurpose, and a text field or a dropdownformat. -
#1145 – A signature field's mark is a PNG, a JPEG or a one-page PDF, and it can be taken out again.
doc.forms.setSignatureAppearance(field, appearance)and theappearanceofdoc.signatures.prepare()take the picture's bytes themselves, aUint8Arrayor aBlob, in the formats a stamp'sappearanceresource takes;SignatureAppearanceis their type.setSignatureAppearance(field, null)takes the mark out, and the change opforms.setSignatureAppearancetakesappearance: nullthe same way. Bytes that are no PNG, JPEG or PDF are refused withInvalidArgbefore anything is sent.{ pdf }works as before and takes a one-page PDF only: an image under it is still refused.On the wire, an image travels in the
appearancepart a PDF travels in, and the op'sresources.appearancemay benullfor no mark (FieldAppearanceResourceKeysSchema). Both arrived in 3.4 (MARK_IMAGE_OR_NONE_SINCE). Aforms.setSignatureAppearanceworker request carries a mark passed as its bytes asappearance, and one passed as{ pdf }aspdf. -
#1151 – The schemas are built with zod 4 (
^4.6.6), so installing EmbedPDF no longer brings in a zod that npm reports for GHSA-mrhx-c7xc-m3w5. What they accept and refuse is the same; the wording of a refused value's message is zod 4's. Code that combines an exported schema with its own needs zod 4 too.
- #1150 by @draarivpatel-ui –
OpenInputLayerBytesacceptsbaseSha256, the verified SHA-256 of the base bytes the worker'sopen.layerMemBasemessage already reads.
-
#1157 – The runtime moves to PDFium of Nov 23, 2026.
Adds
EPDFText_GetPageGeometry, which reads the geometry of a range of a page's characters in one call: for each character, whatEPDFText_GetCharGeometry,FPDFText_GetTextObjectandFPDFText_GetFontSizeanswer one character at a time.A drawing is no longer a stamp's alone: a mark in a form widget and a push button's icon can place one too, and the document holds it once.
EPDFAnnot_SetDrawing,EPDFAnnot_GetDrawingandEPDFDoc_GetDrawingsare the new names ofEPDFAnnot_SetStampDrawing,EPDFAnnot_GetStampDrawingandEPDFDoc_GetStampDrawings, which are gone. AddsEPDFAnnot_SetMKIcon,EPDFAnnot_GetMKIcon,EPDFAnnot_ClearMKIconandEPDFAnnot_HasMKIconfor a push button's icons. A push button with an icon is drawn with it, alone or beside its caption, where it was drawn as its caption only.Fixes:
- A redaction, or any other change to page content, no longer moves the rest of a page whose content is cut into several streams, as "Microsoft: Print To PDF" writes it.
- A form field whose border is only in
/Borderis drawn with that border's width and dash, where it was drawn 1 wide and solid. Setting a border's style or dash pattern moves such a border into/BSfirst, so its width stays. - Closing a handle from
EPDFPage_GetAnnotRaworEPDFPage_CreateAnnotRawfrees the page it is built on, about 1.4 KB for each, which leaked. Code that closed that page itself, through the pointer inside the handle, must stop doing so. - On the native runtime, closing one of two engines on a thread no longer crashes the other.
-
#1143 by @KleiKodesh – Smaller and faster to start: the generated table of runtime function signatures is written compactly (each distinct parameter or result type once, each function as one line of indices) instead of as a nested object literal per parameter. The engine worker script shrinks by about 350 KB, and parsing and building the table no longer slows its start. No API change.
-
#1125 – Ship only the declaration files the package exports. The package no longer includes a
.d.tsfor each internal source file (dist/core/platform.d.tsand nine more), which no export pointed to.index.d.ts,index.d.cts,build-id.d.ts,build-id.d.ctsand every JavaScript file are unchanged. -
#1159 – A page with text in a font its PDF names but doesn't embed renders when a fallback font fills in its characters, where rendering it crashed. That is Chinese text with a Chinese fallback font, and Hebrew and Arabic text with the fallback fonts the engine comes with. Each character keeps the width the PDF gives it.
-
#1118 – A mark fitted into a form widget follows the widget's turn.
EPDFAnnot_UpdateAppearanceToRect()on a widget reads the turn from/MK /Rand fits the drawing into the frame that turn gives, so a mark in a turned signature field reads the way the field does. It was fitted into/Rectwith no turn. A widget that isn't turned is drawn as before, and a widget's/Rectis never written.A field whose
/MK /Ris negative is drawn as that turn, -90 as 270, the way Acrobat shows it. It drew nothing.A stamp turned exactly 90, 180 or 270 degrees gets whole numbers in its appearance's
/Matrixand/Rect.
-
#1157 – Read a page's text positions in batches.
PageGeometryReaderasks the runtime for up to 4,096 characters in one call withEPDFText_GetPageGeometry, where it made two calls and read 25 values for every character, and it no longer reads the cells of upright characters, which a run never carries. A page's geometry stays the same, and reading it takes about half the time on a page of text. The read of a very large page still stops at an abort, between two calls. AddsappendGlyphRecords, which decodes the runtime's records, andEPDF_PAGE_CHAR_GEOMETRY_LAYOUT.A stamp of the picture a signature field's mark shows places the drawing the document already has for that mark, where it added a second copy.
-
#1140 – Write a form field's group by one rule on the local and the cloud engine: a new field is in no group unless its draft names one, and
groupId: nulltakes a field out of its group.This changes what a create does. A field created without a
groupIdused to go in the session's own group (identity.groupId). It is now in no group. Only a session whose identity has a group, and that creates a field without naming one, sees a difference. To keep the old result, name the group in the draft. Copies follow the same rule:forms.copy, and an import withattribution: 'stamp', leave a field that was in no group in none, where it used to go in the caller's own group.groupId: nullinforms.updatetakes the field out of its group. It takesdoc.forms.modifyand nofields:set-grouppermission. Before, the local engine removed the group only for a session withfields:set-group:alland refused the others withfields:set-group:group=null, and the cloud engine refused the request.- Undo of an update puts a removed group back and takes an assigned one away. When the field was changed in between, undoing an assignment used to leave the field in the group.
- An update's
expect: { groupId: null }matches a field in no group. - The local engine refuses a
groupIdthat is empty or longer than 256 characters withInvalidArg, as the cloud engine does. It used to write an empty one, which read back as no group.
-
#1147 – Read and write a form field's
purposeandformat, by one rule on the local and the cloud engine.purposeis kept as/Purposein the field's/EMBD_Metadata, beside its group. A create and an update write it,nullin an update removes it, and an entry that is no purpose a write takes reads as none.formaton a text field and a dropdown is read from the field's format script (/AA /F), as Acrobat decides it: a date, a time,other, ornullwithout a script. A create and an update write a date or a time as the two scripts Acrobat writes,AFDate_FormatEx("pattern");andAFDate_KeystrokeEx("pattern");for a date,AFTime_FormatEx("pattern");andAFTime_Keystroke(n);for a time, in place of the format and keystroke scripts the field had.nullremoves both; on a field with no format script it changes nothing, so a keystroke script on its own stays. The format a field already has changes nothing.- Both take
doc.forms.modifyalone. A pattern or a purpose that is none, aformaton another kind of field, and aformatbesideactions.formatoractions.keystrokeare refused withInvalidArgbefore anything is written. - Undo puts both back, and an update's
expectcan name them. The undo of a format is the undo of the two scripts it wrote: after a later change to the field it puts back the scripts the field had, a number format's too, and it leaves the field as it is when someone wrote one of those scripts since. - The undo of a script write, a format's included, no longer puts back half of it. When the field was changed since and one of the scripts replaced actions no script write can make (a script that goes on to a GoTo), the scripts stay as the write left them and the item reports them skipped. It used to put the other scripts back, leave that one, and report an update. A copy and an import keep both; without
doc.forms.scripta date or a time format is written again from its pattern instead of being left out.
-
#1145 – Draw a PNG or a JPEG into a signature field, and take a mark out again. A mark was read as a PDF only, so an image failed with
the appearance PDF could not be opened, forforms.setSignatureAppearanceand for a signing'sappearance. An image passed as its bytes is now drawn at its own size and fitted whole into the field's box, as a PDF mark is, upright in a turned field. It becomes a page the same way a stamp's image does. A mark passed as{ pdf }is read as a PDF only, as before.forms.setSignatureAppearancewith no mark (null) takes out a mark that was drawn in without signing: the widget readshasMark: falseagain, draws the field's box in its style, and its style can change. Undo brings the mark back. A widget with no mark is left as it is, and a signed field is refused as before.
-
#1102 – Let a signer whose signing is limited to a group add a document timestamp when they hold
doc.sign. A document timestamp names no field, so it is the document's to sign, but it was checked as a field in no group: with anyfields:signpermission in the scope it failed withpermission denied (target): doc.sign, also when the scope haddoc.sign. The validation data was stored and the timestamp after it was refused. Signing fields stays as narrow as before:doc.signbeside afields:signpermission signs no field in another group or in none. -
#1118 – Keep the mark in a signature field fitted when the field changes. A mark, a signature's or one drawn in with
forms.setSignatureAppearance(), is a drawing fitted into the field's box. Until now a resize stretched it to the new size and a new turn left it as it was. It is now fitted again whenever the widget's box or its turn (rotation) changes, the way a stamp's drawing is: by the fit it records, and a signature's bycontain. A move alone still writes nothing but where the widget stands.
49 more packages get a new version with no changes of their own.
0.21.1
本次更新主要修复bug:修复适应画布、演示模式等功能异常的严重问题;
【下载安装】:
Windows用户请下载.exe文件(建议下载Setup.exe文件)。
Mac用户请下载dmg文件(建议下载universal.dmg文件)。
Linux用户请下载.AppImage文件等其他文件。
同样后缀的文件有多个下载其中一个即可,如果安装失败可以尝试另一个。
如果在macOS上安装后无法打开,报错不受信任或者移到垃圾箱,执行下面命令后再启动即可:
sudo xattr -d com.apple.quarantine /Applications/思绪思维导图.app
Release 2026-11-25
- #11180: Render reusable AsyncAPI messages in a searchable Messages section above Models. The section lists visible messages from
components.messageswith their headers, payload, examples, and applied traits. SethideModelsto hide the section.
-
#11222: Keep response media-type pickers visible when multiple media types are available and reserve room for them beside response summaries on narrow screens.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
-
#11208: Keep syntax highlighting in fenced code blocks inside request body and property descriptions.
-
#11169: Look up elements and focus through the provided document root instead of
document. Nothing provides one yet, so behavior is unchanged until shadow-root mounts wire it up -
#11160: Simplify API Reference browser test configuration.
-
#11221: Display explicit zero bounds for string lengths and array item counts in schema details.
- #11179: Add a
collapsibleoption toSpecificationExtensions: the values fold under a localized "Extensions (n)" row, closed until opened with the same disclosure control as nested values.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
-
#11208: Keep syntax highlighting in fenced code blocks inside request body and property descriptions.
-
#9625: Resolve JSON Schema 2020-12
$dynamicRefin the magic proxy and expose the bound schema through@scalar/workspace-store/resolve. Generic and recursive schemas now show their concrete types in rendered properties and JSON/XML request examples, including anchors nested inside a schema resource.Keep repeated reads stable within each dynamic scope while allowing shared templates to bind independently. Edits through the proxy refresh bindings and resolved references while preserving ordinary proxy identities and unrelated documents’ anchor caches.
-
#11206: Use empty OpenAPI server variable defaults in request URLs, OAuth server URLs, and code snippets.
-
#11221: Display explicit zero bounds for string lengths and array item counts in schema details.
- #11170: Add
ScalarDialog, a modal dialog built on the native<dialog>element andshowModal(). Control it withv-model:openand compose its contents with the default slot. Focus trapping, focus restore, background inert, and top-layer stacking come from the platform. On top of that it locks page scrolling while open, gives popovers inside it a teleport target so they render above the dialog, lets child widgets handle Escape before the dialog closes, and closes on a backdrop click (ignoring text-selection drags and keyboard-activated controls).
-
#11180: Render reusable AsyncAPI messages in a searchable Messages section above Models. The section lists visible messages from
components.messageswith their headers, payload, examples, and applied traits. SethideModelsto hide the section. -
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
-
#11162: Add a generic
loggrammar for human-readable logs, including common timestamps, severity headers, context prefixes, strings, URLs, and exception stack frames.Show the Log language label in ScalarCodeBlock and include it in the copy button’s accessible name.
- #11169: Add
useDocumentRoot(@scalar/use-hooks/useDocumentRoot) and theisShadowRootandgetActiveElementDOM helpers, so components can find the DOM root they render into, including shadow roots
-
#11206: Use empty OpenAPI server variable defaults in request URLs, OAuth server URLs, and code snippets.
-
#11194: Update the default Playwright runner image to 1.65.1 so it matches the workspace browser-testing client.
-
#11207: Preserve semicolons and escaped characters inside quoted MIME type parameters.
-
#11224: Send authored response header examples (
example,examples, or acontentmedia type) instead of values generated from the header schema.Emit each cookie in its own field and escape Unicode in JSON and XML header examples. Use the referenced schema’s component name as the default XML root element.
Share HTTP quoted-string escaping and support character references for line breaks and Unicode in XML header data.
-
#11193: Guard document, history, and authentication lookups against inherited properties while preserving valid workspace document names such as
constructorandprototype. Ignore reserved keys when loading workspace snapshots and copying workspace metadata.
-
#11162: Add a generic
loggrammar for human-readable logs, including common timestamps, severity headers, context prefixes, strings, URLs, and exception stack frames.Show the Log language label in ScalarCodeBlock and include it in the copy button’s accessible name.
-
#11097: Add opt-in custom reference positions to document-aware bundling, including extension values and unknown schema keywords, while retaining literal data, schema identities, anchors, and format-specific reference rules.
-
#9625: Resolve JSON Schema 2020-12
$dynamicRefin the magic proxy and expose the bound schema through@scalar/workspace-store/resolve. Generic and recursive schemas now show their concrete types in rendered properties and JSON/XML request examples, including anchors nested inside a schema resource.Keep repeated reads stable within each dynamic scope while allowing shared templates to bind independently. Edits through the proxy refresh bindings and resolved references while preserving ordinary proxy identities and unrelated documents’ anchor caches.
-
#11195: Update compatible dependencies for AI chat, focus management, code and Markdown rendering, HTTP requests, mock servers, and application data fetching.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
- #11169: Add
useDocumentRoot(@scalar/use-hooks/useDocumentRoot) and theisShadowRootandgetActiveElementDOM helpers, so components can find the DOM root they render into, including shadow roots
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
-
#11180: Render reusable AsyncAPI messages in a searchable Messages section above Models. The section lists visible messages from
components.messageswith their headers, payload, examples, and applied traits. SethideModelsto hide the section. -
#9625: Resolve JSON Schema 2020-12
$dynamicRefin the magic proxy and expose the bound schema through@scalar/workspace-store/resolve. Generic and recursive schemas now show their concrete types in rendered properties and JSON/XML request examples, including anchors nested inside a schema resource.Keep repeated reads stable within each dynamic scope while allowing shared templates to bind independently. Edits through the proxy refresh bindings and resolved references while preserving ordinary proxy identities and unrelated documents’ anchor caches.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
-
#11206: Use empty OpenAPI server variable defaults in request URLs, OAuth server URLs, and code snippets.
-
#11224: Send authored response header examples (
example,examples, or acontentmedia type) instead of values generated from the header schema.Emit each cookie in its own field and escape Unicode in JSON and XML header examples. Use the referenced schema’s component name as the default XML root element.
Share HTTP quoted-string escaping and support character references for line breaks and Unicode in XML header data.
-
#11193: Guard document, history, and authentication lookups against inherited properties while preserving valid workspace document names such as
constructorandprototype. Ignore reserved keys when loading workspace snapshots and copying workspace metadata. -
#11188: Preserve OAuth flow client IDs and other configured defaults when normalizing authentication schemes.
- #11217: Add
Scalaras the recommended Express middleware export and deprecateapiReferenceas an alias.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
-
#11195: Update compatible dependencies for AI chat, focus management, code and Markdown rendering, HTTP requests, mock servers, and application data fetching.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
-
#11195: Update compatible dependencies for AI chat, focus management, code and Markdown rendering, HTTP requests, mock servers, and application data fetching.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
-
#11169: Look up elements and focus through the provided document root instead of
document. Nothing provides one yet, so behavior is unchanged until shadow-root mounts wire it up -
#11206: Use empty OpenAPI server variable defaults in request URLs, OAuth server URLs, and code snippets.
-
#11195: Update compatible dependencies for AI chat, focus management, code and Markdown rendering, HTTP requests, mock servers, and application data fetching.
-
#11190: Escape HTML text in plain Markdown paragraphs independently of the checks that select the shortcut.
Share the Markdown renderer with
@scalar/code-highlightwhile preserving its Lowlight language detection.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
- #11209: Remove the redundant combined header and query API key option from Galaxy’s OpenAPI descriptions. Either location is sufficient on its own.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
-
#11195: Update compatible dependencies for AI chat, focus management, code and Markdown rendering, HTTP requests, mock servers, and application data fetching.
-
#11190: Escape HTML text in plain Markdown paragraphs independently of the checks that select the shortcut.
Share the Markdown renderer with
@scalar/code-highlightwhile preserving its Lowlight language detection.
-
#11195: Update compatible dependencies for AI chat, focus management, code and Markdown rendering, HTTP requests, mock servers, and application data fetching.
-
#11192: Validate JSON and plain-text request parameters declared with
content. Malformed JSON is rejected, and JSON values keep their original types during validation, so?filter={"price":"5"}is rejected whenpriceis an integer. -
#11178: Read an empty
matrixpath array (;ids) as an empty array during request validation instead of a one-element['ids']array. -
#11207: Validate and parse request bodies sent with structured
+jsonmedia types such asapplication/vnd.api+jsonandapplication/merge-patch+json, so they are checked against the schema and reachx-handlerasreq.body. -
#11177: Strip the
labelandmatrixprefixes from primitive path parameters before request validation, so/users/.5and/users/;id=5are accepted for an integerid.Preserve percent-encoded delimiters in matrix parameter names and primitive values so validation checks the complete string.
-
#11224: Send authored response header examples (
example,examples, or acontentmedia type) instead of values generated from the header schema.Emit each cookie in its own field and escape Unicode in JSON and XML header examples. Use the referenced schema’s component name as the default XML root element.
Share HTTP quoted-string escaping and support character references for line breaks and Unicode in XML header data.
-
#11204: Serve OpenAPI operations under the base path of their servers, so
GET /v1/petsanswers when the document declaresservers: [{ url: 'https://api.example.com/v1' }]. OpenAPI 2.0basePath, relative server URLs, and every enum value of a server variable in the path are served too, and operation and path item servers take precedence over the servers of the document. Operations keep answering at their bare path keys.Descriptions that exceed the server URL expansion or generated route budget continue serving their bare operation routes.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
- #11172: Fix invalid empty
responseson merged Postman operations that have no saved responses.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
- #11180: Render reusable AsyncAPI messages in a searchable Messages section above Models. The section lists visible messages from
components.messageswith their headers, payload, examples, and applied traits. SethideModelsto hide the section.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
-
#11169: Look up elements and focus through the provided document root instead of
document. Nothing provides one yet, so behavior is unchanged until shadow-root mounts wire it up
- #11180: Render reusable AsyncAPI messages in a searchable Messages section above Models. The section lists visible messages from
components.messageswith their headers, payload, examples, and applied traits. SethideModelsto hide the section. - #11179: Add a
collapsibleoption toSpecificationExtensions: the values fold under a localized "Extensions (n)" row, closed until opened with the same disclosure control as nested values.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
-
#11195: Update compatible dependencies for AI chat, focus management, code and Markdown rendering, HTTP requests, mock servers, and application data fetching.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
- #11163: Refresh the Rust dependency lockfile and Python integration and playground dependencies while preserving existing public dependency ranges and runtime support.
- @scalar/api-reference@1.84.0
-
#11163: Update .NET and Java dependencies while retaining .NET 10/11 and Java 17 support. Keep OpenAPI and Swashbuckle versions aligned with each .NET target, use the current Aspire and native test tooling, and verify both Spring Boot 3 and 4 integrations. Run the Spring Boot 4-built WebMVC and WebFlux release JARs on Spring Boot 3 before publishing.
The published .NET packages now require these minimum dependency versions:
- Scalar.Aspire: Aspire.Hosting 17.0.0 and MessagePack 3.1.12. Consumers using Aspire 13 must upgrade to Aspire 17.
- Scalar.Aws.Lambda: Microsoft.Extensions.DependencyInjection.Abstractions 11.0.0 and Microsoft.Extensions.Options 11.0.0 on both .NET 10 and .NET 11.
- Scalar.AspNetCore.Swashbuckle: Swashbuckle.AspNetCore.SwaggerGen 11.0.1 and Microsoft.OpenApi 3.11.1 on .NET 11; .NET 10 uses Swashbuckle.AspNetCore.SwaggerGen 10.3.1 and Microsoft.OpenApi 2.13.1.
- @scalar/api-reference@1.84.0
-
#11163: Update .NET and Java dependencies while retaining .NET 10/11 and Java 17 support. Keep OpenAPI and Swashbuckle versions aligned with each .NET target, use the current Aspire and native test tooling, and verify both Spring Boot 3 and 4 integrations. Run the Spring Boot 4-built WebMVC and WebFlux release JARs on Spring Boot 3 before publishing.
The published .NET packages now require these minimum dependency versions:
- Scalar.Aspire: Aspire.Hosting 17.0.0 and MessagePack 3.1.12. Consumers using Aspire 13 must upgrade to Aspire 17.
- Scalar.Aws.Lambda: Microsoft.Extensions.DependencyInjection.Abstractions 11.0.0 and Microsoft.Extensions.Options 11.0.0 on both .NET 10 and .NET 11.
- Scalar.AspNetCore.Swashbuckle: Swashbuckle.AspNetCore.SwaggerGen 11.0.1 and Microsoft.OpenApi 3.11.1 on .NET 11; .NET 10 uses Swashbuckle.AspNetCore.SwaggerGen 10.3.1 and Microsoft.OpenApi 2.13.1.
- @scalar/api-reference@1.84.0
-
#11163: Update .NET and Java dependencies while retaining .NET 10/11 and Java 17 support. Keep OpenAPI and Swashbuckle versions aligned with each .NET target, use the current Aspire and native test tooling, and verify both Spring Boot 3 and 4 integrations. Run the Spring Boot 4-built WebMVC and WebFlux release JARs on Spring Boot 3 before publishing.
The published .NET packages now require these minimum dependency versions:
- Scalar.Aspire: Aspire.Hosting 17.0.0 and MessagePack 3.1.12. Consumers using Aspire 13 must upgrade to Aspire 17.
- Scalar.Aws.Lambda: Microsoft.Extensions.DependencyInjection.Abstractions 11.0.0 and Microsoft.Extensions.Options 11.0.0 on both .NET 10 and .NET 11.
- Scalar.AspNetCore.Swashbuckle: Swashbuckle.AspNetCore.SwaggerGen 11.0.1 and Microsoft.OpenApi 3.11.1 on .NET 11; .NET 10 uses Swashbuckle.AspNetCore.SwaggerGen 10.3.1 and Microsoft.OpenApi 2.13.1.
- @scalar/api-reference@1.84.0
-
#11163: Update .NET and Java dependencies while retaining .NET 10/11 and Java 17 support. Keep OpenAPI and Swashbuckle versions aligned with each .NET target, use the current Aspire and native test tooling, and verify both Spring Boot 3 and 4 integrations. Run the Spring Boot 4-built WebMVC and WebFlux release JARs on Spring Boot 3 before publishing.
The published .NET packages now require these minimum dependency versions:
- Scalar.Aspire: Aspire.Hosting 17.0.0 and MessagePack 3.1.12. Consumers using Aspire 13 must upgrade to Aspire 17.
- Scalar.Aws.Lambda: Microsoft.Extensions.DependencyInjection.Abstractions 11.0.0 and Microsoft.Extensions.Options 11.0.0 on both .NET 10 and .NET 11.
- Scalar.AspNetCore.Swashbuckle: Swashbuckle.AspNetCore.SwaggerGen 11.0.1 and Microsoft.OpenApi 3.11.1 on .NET 11; .NET 10 uses Swashbuckle.AspNetCore.SwaggerGen 10.3.1 and Microsoft.OpenApi 2.13.1.
- #11163: Refresh the Rust dependency lockfile and Python integration and playground dependencies while preserving existing public dependency ranges and runtime support.
- @scalar/api-reference@1.84.0
-
#11163: Update .NET and Java dependencies while retaining .NET 10/11 and Java 17 support. Keep OpenAPI and Swashbuckle versions aligned with each .NET target, use the current Aspire and native test tooling, and verify both Spring Boot 3 and 4 integrations. Run the Spring Boot 4-built WebMVC and WebFlux release JARs on Spring Boot 3 before publishing.
The published .NET packages now require these minimum dependency versions:
- Scalar.Aspire: Aspire.Hosting 17.0.0 and MessagePack 3.1.12. Consumers using Aspire 13 must upgrade to Aspire 17.
- Scalar.Aws.Lambda: Microsoft.Extensions.DependencyInjection.Abstractions 11.0.0 and Microsoft.Extensions.Options 11.0.0 on both .NET 10 and .NET 11.
- Scalar.AspNetCore.Swashbuckle: Swashbuckle.AspNetCore.SwaggerGen 11.0.1 and Microsoft.OpenApi 3.11.1 on .NET 11; .NET 10 uses Swashbuckle.AspNetCore.SwaggerGen 10.3.1 and Microsoft.OpenApi 2.13.1.
- @scalar/api-reference@1.84.0
- #11163: Refresh the Rust dependency lockfile and Python integration and playground dependencies while preserving existing public dependency ranges and runtime support.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
- #11218: Load the processed Scalar Galaxy OpenAPI document from the Scalar Registry so the production API reference shows SDK installation instructions and examples.
-
#11164: Align the desktop builder with the workspace pnpm 12 release while retaining Node.js 24.
-
#11195: Update compatible dependencies for AI chat, focus management, code and Markdown rendering, HTTP requests, mock servers, and application data fetching.
-
#11165: Update compatible npm dependencies for Vue rendering, HTTP requests and serving, editor utilities, and query caching while preserving supported consumer TypeScript versions.
Keep string target IDs valid in the production-built Floating component after the Vue update.
-
#11191: Keep equal signs, plus signs and bare percent signs in form values when importing a cURL command.
- @scalar/api-reference@1.84.0
No changes in this release.
🕶️ Release v1.6.2
Univer 1.6.2 expands worksheet protection to more editing surfaces, updates collaboration permission handling, and fixes sorting, Excel paste behavior, and floating-table pagination. It also removes several internal dependencies from Core and the renderer.
Worksheet and range protection now covers number formats, filters, data validation, conditional formatting, hyperlinks, drawings, and split text to columns. Actions that previously bypassed protection now fail with a localized message and leave the sheet unchanged.
In collaboration (Pro), sheet permissions are fetched before a workbook opens and refreshed when your role changes. A viewer promoted to editor is asked to reload, because edits made with view-only access are discarded. A demoted editor switches to view-only immediately.
- Sheets Preserve line breaks in cells when copying to and pasting from Excel. Sort text in ranges by locale collation, following Excel's symbol, digit, and letter order. Correct column auto-fit widths for numeric, merged, and empty columns. Replay drawing history written by older clients.
- Sheets Restore the paste menu, keep copied styles intact when underline or strikethrough uses a line style, close the bottom-right corner of thick borders, and skip redundant gridline work for hidden rows and columns.
- Facade
FRange.getValue()andgetValues()now return effective values: calculated results, plain text from rich text, and numbers for numeric strings. Scripts and AI agents can read the value they expect without choosing between raw and formatted getters. UsegetDisplayValue()/getDisplayValues()for formatted text andgetRawValue()/getRawValues()for the stored value. - Filters Treat
~as an escape in wildcard patterns, so~*,~?, and~~match literal characters. - Formulas Ignore text in ranges for
MEDIANand two-array statistics, and keep tied TRUE/FALSE values in their original order inSORTandSORTBY. - Docs Paginate floating tables the way Word does, including tables that split across pages, and restore the section break commands.
- UI Fix contrast in preset themes, make the ribbon tab selector keyboard-accessible, and correct mobile row spacing. Open IndexedDB storage on first use, disable Calculation Options for read-only workbooks, and align hyperlink popup and mobile dropdown spacing.
- Bases (Pro) Align field settings, panels, and editors with the design guide, and keep focus in people search.
- Core Replace
async-lock,fast-diff, andrbushwith internal implementations, remove a direct@floating-ui/utilsdependency from the renderer, and speed up replacing text across a whole selection.
Full changelog: v1.6.1…v1.6.2
v8.4.0-beta.2
- add plugin name to hook errors (#24107) (40475e5)
- add plugin name to module hook errors (#24151) (e1e1ac8)
- close server on failed start (fix #23965) (#24020) (c732677)
- css: dedupe CSS of inlined common chunks when
cssCodeSplit: false(#24168) (1b34d86) - deps: update all non-major dependencies (#24190) (87d8a5a)
- dev: register references to safe modules only for
server.fs.strict: 'extended'(#24206) (a78fb8a) - html: keep entry script side effects when another importer loads it first (#24135) (ef295d5)
- keep plugin error messages as thrown (#24148) (24eb35a)
- optimizer: detect in-place patch file edits in lockfile hash (#24126) (d7dfe9b)
- optimizer: respect top-level tsconfig option when scanning and bundling deps (#24119) (760a953)
- preserve drive letter case in
safeRealpathSyncon Windows (#24146) (3567471) - server: allow closing uninitialized
DevEnvironment(#24184) (826dcb8) - server: keep
this.addWatchFileinloadhook on a module's first request (#23861) (b516bc2)
@fluentui/react-file-type-icons v8.18.4
- Add the DocuWorks file type icon for the xbd, xct, and xdw extensions. (PR #37099 by bigbadcapers)
- Bump @fluentui/style-utilities to v8.15.5 (