Changelog
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.