UXP Changelog
UXP v8.0.1
Breaking Changes
enableFillAsCustomAttribute
feature flag, introduced in UXPv7.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
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)
UXP v7.3.0
New
- GUID for uniquely identifying a Creative Cloud User (Currently Supported only in
Photoshop
). - Multipart
FormData
support in Request and Response forfetch
- FormData now supports the following APIs
- delete()
- get()
- getAll()
- has()
- keys()
- set()
- values()
Updated
- FormData's append now supports
Blob
as additional parameter. Spectrum Web Components
support inReact
context is now available for all the 30 components.- Sample plugin for UXP-SWC plugin in React context can be referred here
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
in InDesign
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
UXP v7.2.0
New
- Adobe Extensibility Metadata Platform (XMP) support
- pointer-events: none
CSS
property - Support for
pseudoElement
in getComputedStyle(element, pseudoElement) API
Updated
Spectrum Web Component
is promoted torelease
and has support for additional list of components.- The are updates to the support matrix for Spectrum web components and its variants which is mentioned in the support matrix
swc-uxp-wrappers
to be used to consume the components inside UXP. These wrappers are hosted on npmjs- Plugin sample for react is available using SWC.
UXP v7.1.0
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.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](./reference-js/Global%20Members/Streams/ReadableStream.md). 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
UXP v6.5.0
New
- UXP Hybrid plugins
- Allow unrestricted relative paths in require from scripts
- getEntryWithUrl in LocalFileProvider
UXP v6.4
New
- WebView for anels
- Path Module APIs
- UXP Scripts can run fsapi with full access in localFileSystem
Bugs Fixes
- PluginManifest parsing / Load Plugin errors not logged in UDT
- Error shown in UDT APP logs on Plugin UnLoad
- UXP script : file session tokens are not getting created
- Error message and stack are empty in case of reject("error string") executed in script
- [Win only]-Volume is being muted automatically for 3rd video in the tutorial while opening the video in Theatre mode
- After closing the theatre mode, video's are Overlapping while scrolling up and down in DP
- Provide an API to programmatically close dialog in pop-out/theatre mode.
- Plugin Data folder shouldn't be created for scripts
- Crash on exit
- script.setResult("kSuccess") not working
- Resource Leaks in Window Dialog on UWP
- Privilege plugin fail to add in XD in certain cases
- Fixed mouse/keyboard events within Webview in XD v55 and Win 10.
UXP v6.3
New
- Blob APIs.
- Blob support in Fetch API.
- Crypto APIs
- UXP Developer Tools v1.7.0 has supports for Debugging UXP Scripts in Photoshop and InDesign, refer here for more details
- UXP Developer Tools has new templates in the Create Plugin Dialog. This includes examples for using WebView and Multiple Menus in a Plugin. For more details on Webview refer HTMLWebViewElement module under
Global Members/HTML Elements
in JavaScript Reference
Bugs Fixes
- Plugin cannot open its own folders because version dots are rejected
- PS crashes frequently during UDT watch reload
- UDT Window / Bring all to Front does not work
- UDT console closed when PS crashes or quits
- UDT fails to launch with "sign-in required" error
- PS crashes with empty
<svg> <polygon>
- Manifest v5 breaks file permissions dialog
- Many stability Fixes and performance improvements