Changelog
InDesign v20.0
New
UXP v8.0.1
Breaking Changes
enableFillAsCustomAttribute
feature flag, introduced in UXP v7.1.0, will be turned on by default.
Deprecations
- Changes to Clipboard
- Clipboard.setContent is deprecated. Please use Clipboard.write instead.
- Clipboard.getContent is deprecated. Please use Clipboard.read instead.
- Passing an
object
to Clipboard.writeText(object) is deprecated. Please use Clipboard.write(object) instead. - Clipboard.clearContent is deprecated. Clipboard.writeText("") would be an alternative.
- Changes to VideoElement
New
New components supported in Spectrum Web Components (SWC). More details here
- sp-asset
- sp-meter
- sp-number-field
- sp-overlay
- sp-quick-actions
- sp-search
- sp-swatch
New command line templates to get started with SWC easily. Find details in this section.
Support for local HTML files in WebView
New CSS capabilities
- scaleX() & scaleY()
- transform-origin
- translate property
Box-shadow
property now supportstransform rotate
.
New feature flag
CSSNextSupport
in the manifest.json to gate the new and future CSS capability.Manifest setting Description featureFlags: {"CSSNextSupport": true}
Enables all the new CSS features.featureFlags: {"CSSNextSupport": ["boxShadow", "transformFunctions", "transformProperties" ]}
Enables only the named properties in the list.Note that
"enableSWCSupport": true
will enableCSSNextSupport
by default, even if it is not done explicitly in plugin manifest otherwise.Video enhancements: Support added for Seek Event
Support for Navigator.language API
Support for new HTMLElement APIs - append, prepend and replaceChildren
[Beta] Support for form reset in HTMLFormElement
Updated
- Upgraded Spectrum Web Components to v0.37.0. More detail
- UXP Clipboard.writeText() now accepts strings as input to meet standards
InDesign v19.4
UXP v7.4.0
Updated
- UXP Alerts (alert, prompt, confirm) have been moved back to beta due to a few inherent instabilities in this feature. While we work on addressing these issues, the feature can be accessed using the feature flag
enableAlerts
in the manifest.json file. Also, note that UXP alerts will beavailable only in Plugins
andnot in scripts
. - Wildcards (*) at the top-level
domain
name are not allowed. Please ensure you revisit thepermissions
setup in manifest.json for WebView, and network calls XMLHttp fetch - New doc for tracking the mapping between Spectrum widgets and Spectrum Web Components in UXP
Fixed
- XMP in Scripts.
- Plugin crashes while using fit-content
- WebView support for file selector in MacOS
- GUID returning hashed empty string
- Updated missing docs for pseudo-class defined (Available since UXP v6.0)
InDesign v19.2
Updated
- [BREAKING CHANGE] UXP logs and console.log paths have changed.
InDesign v19.0
Plug-Ins menu lists the installed UXP plugins and their panel entrypoints.
Fixed
- Random app hang issue when invoking
doScript()
from UXP plugins. - App crashes at quit when event handlers are registered.
UXP v7.3.0 & UXP v7.2
New
- Multipart
FormData
support in Request and Response for fetch - FormData now supports the following APIs
- delete()
- get()
- getAll()
- has()
- keys()
- set()
- values()
- (Photoshop Only) GUID for uniquely identifying a Creative Cloud User.
- (Photoshop Only) Adobe Extensibility Metadata Platform (XMP) support.
- pointer-events: none
CSS
property - Support for
pseudoElement
in getComputedStyle(element, pseudoElement) API
Updated
- FormData's append now supports
Blob
as an additional parameter. - Spectrum Web Component (SWC) in UXP is moving out of Beta.
- Additional components and variants
Spectrum Web Components
support inReact
context is now available for all 30 components.- Starter plugins for Spectrum Web Component and Spectrum Web Component in React context
Fixed
- Tab Navigation not working for several SWC Components is now fixed
- Spacebar doesn't work on SWC Button component when reached via TAB navigation.
- Support for
Alerts
UDT v2.0
New
- UXP Playground to experiment with APIs. Click on the 'Playground' tab next to 'Developer Workspace' to select an app and get started.
Updated
- Plugin actions are surfaced based on the 'Status' of your plugin in the Developer Workspace
InDesign v18.5
UXP Plugins are now available! Get started here.
UXP v7.1
New
HTMLElement now supports
Updated
- Documentation for
shell
moved to new location
Fixed
SVGElement
: The color of thefill
attribute using a CSS variable will resolve as per the variable value. For now, please test this fix by enabling the feature flag in your plugin manifest"featureFlags" : { "enableFillAsCustomAttribute" : true }
. This flag will be turned on by default in the next UXP release.
Copied to your clipboard// CSS variablehtml {--iconColor: yellow;}<svg height="100" width="100"><circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="var(--iconColor, red)" /></svg>// shows a yellow circle
UXP v7.0
New
- Support for Web Components in UXP Plugins. Various HTML elements and methods have been added to support this feature.
- Spectrum Web Components (Beta) Support for Adobe SWC.
- Several augmentations to the JS API set
- Properties
- Classes added to the global scope
- Methods
- New focus events to support React 16
- HTML 2D Canvas Support for basic shapes and styling.
- Alerts
- Support for pipeThrough and tee in ReadableStream. Refer to Streams for more details
- ImageBlob to render an uncompressed image buffer in UXP
Changed
- HTMLVideoElement: 'metadata' is the default value for
preload
attribute - FS API: No need for the
file://
protocol
InDesign v18.4
InDesign APIs
Added
- [BREAKING CHANGE] Mounting APIs
InDesign DOM APIs are no longer available in the global scope. You must mount the APIs first before using them. Plus, you can now access different versions of DOM APIs. - Events
UXP scripts now have the functionality to handle standard events that InDesign emits. You can use the eventListenerobject to catch such events. - Arguments in UXP Scripts
Arguments can now be passed to a UXP script, and can be used within the script. - Setting script result
UXP scripts now have a "result" associated with them. Set a result for a script for debugging puposes as well as passed to another script for utilization. - Menus
UXP scripts now have APIs which can be used to add new menu items, remove existing menu items etc. Read more.