Skip to content

Commit 7e3c7d1

Browse files
authored
Merge pull request #475 from padmkris123/uxp-v8.0
UXP 8.0 docs
2 parents 1f7232a + 3812f6b commit 7e3c7d1

File tree

6 files changed

+121
-41
lines changed

6 files changed

+121
-41
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"gatsby": "4.22.0",
1313
"react": "^17.0.2",
1414
"react-dom": "^17.0.2",
15-
"uxp-documentation": "github:adobedocs/uxp#v7.4.0"
15+
"uxp-documentation": "github:adobedocs/uxp#v8.0.1"
1616
},
1717
"scripts": {
1818
"start": "gatsby build && gatsby serve",

src/pages/ps_reference/changelog/index.md

Lines changed: 56 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,60 @@ contributors:
77
---
88

99
# Photoshop API Changelog
10+
11+
## Photoshop 26.0 (October 2024)
12+
13+
### UXP v8.0.1
14+
15+
#### Breaking Changes
16+
- `enableFillAsCustomAttribute` feature flag, introduced in UXPv7.1.0, will be turned on by default.
17+
18+
#### Deprecations
19+
- Changes to Clipboard
20+
- [Clipboard.setContent](../../uxp-api/reference-js/Global%20Members/Data%20Transfers/Clipboard.md#setcontentdata) is deprecated. Please use [Clipboard.write](../../uxp-api/reference-js/Global%20Members/Data%20Transfers/Clipboard.md#writedata) instead.
21+
- [Clipboard.getContent](../../uxp-api/reference-js/Global%20Members/Data%20Transfers/Clipboard.md#getcontent) is deprecated. Please use [Clipboard.read](../../uxp-api/reference-js/Global%20Members/Data%20Transfers/Clipboard.md#read) instead.
22+
- Passing an `object` to [Clipboard.writeText(object)](../../uxp-api/reference-js/Global%20Members/Data%20Transfers/Clipboard.md#writetexttext) is deprecated. Please use [Clipboard.write(object)](../../uxp-api/reference-js/Global%20Members/Data%20Transfers/Clipboard.md#writedata) instead.
23+
- [Clipboard.clearContent](../../uxp-api/reference-js/Global%20Members/Data%20Transfers/Clipboard.md#clearcontent) is deprecated. [Clipboard.writeText("")](../../uxp-api/reference-js/Global%20Members/Data%20Transfers/Clipboard.md#writetexttext) would be an alternative.
24+
- Changes to VideoElement
25+
- Event `uxpvideoload` in [load()](../../uxp-api/reference-js/Global%20Members/HTML%20Elements/HTMLVideoElement.md#load) is deprecated. Use `loadeddata` instead.
26+
- Event `uxpvideoplay` in [play()](../../uxp-api/reference-js/Global%20Members/HTML%20Elements/HTMLVideoElement.md#play) is deprecated. Use `ended` instead.
27+
- Event `uxpvideocomplete` in [play()](../../uxp-api/reference-js/Global%20Members/HTML%20Elements/HTMLVideoElement.md#play) is deprecated. Use `ended` instead.
28+
- Event `uxpvideopause` in [pause()](../../uxp-api/reference-js/Global%20Members/HTML%20Elements/HTMLVideoElement.md#pause) is deprecated. Use `pause` instead.
29+
30+
#### New
31+
- New components supported in Spectrum Web Components (SWC). More details [here](https://github.com/adobe/swc-uxp-wrappers/tree/main?tab=readme-ov-file#spectrum-web-components-uxp-wrappers)
32+
- sp-asset
33+
- sp-meter
34+
- sp-number-field
35+
- sp-overlay
36+
- sp-quick-actions
37+
- sp-search
38+
- sp-swatch
39+
- New command line templates to get started with SWC easily. Find details in this [section](../../uxp-api/reference-spectrum/swc/index.md#command-line-templates).
40+
- Support for local HTML files in [WebView](../../uxp-api/reference-js/Global%20Members/HTML%20Elements/HTMLWebViewElement.md)
41+
- New CSS capabilities
42+
- scaleX() & scaleY()
43+
- transform-origin
44+
- translate property
45+
- `Box-shadow` property now supports `transform rotate`.
46+
- New feature flag `CSSNextSupport` in the manifest.json to gate the new and future CSS capability.
47+
48+
| Manifest setting | Description |
49+
| ---------------- | ------------ |
50+
| `featureFlags: {"CSSNextSupport": true}` | Enables all the new CSS features. |
51+
| `featureFlags: {"CSSNextSupport": ["boxShadow", "transformFunctions", "transformProperties" ]}` | Enables only the named properties in the list. |
52+
53+
Note that `"enableSWCSupport": true` will enable `CSSNextSupport` by default, even if it is not done explicitly in plugin manifest otherwise.
54+
- Video enhancements: Support added for [Seek Event](../../uxp-api/reference-js/Global%20Members/HTML%20Elements/HTMLVideoElement.md)
55+
- Support for [Navigator.language](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language) API
56+
- Support for new HTMLElement APIs - [append](../../uxp-api/reference-js/Global%20Members/HTML%20Elements/HTMLElement.md#appendnodes), [prepend](../../uxp-api/reference-js/Global%20Members/HTML%20Elements/HTMLElement.md#prependnodes) and [replaceChildren](../../uxp-api/reference-js/Global%20Members/HTML%20Elements/HTMLElement.md#replacechildrennodes)
57+
- [Beta] Support for form reset in [HTMLFormElement](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form)
58+
59+
#### Updated
60+
- Upgraded Spectrum Web Components to v0.37.0. [More detail](https://github.com/adobe/swc-uxp-wrappers/tree/main?tab=readme-ov-file#spectrum-web-components-uxp-wrappers)
61+
- [UXP Clipboard.writeText()](../../uxp-api/reference-js/Global%20Members/Data%20Transfers/Clipboard.md#writetexttext) now accepts strings as input to meet standards
62+
63+
1064
## Photoshop Beta 25.10 (May 2024)
1165
`timeOut` option added to [`executeAsModal`](../media/executeasmodal/#options-parameter). Also, the error message returned on a modal request collision was updated to include the id of the plugin that initiated the existing modal state.
1266

@@ -18,7 +72,7 @@ contributors:
1872
> - Wildcards (*) at the top-level `domain` name are not allowed. Please ensure you revisit the `permissions` setup in manifest.json for [WebView](../../uxp-api/reference-js/Global%20Members/HTML%20Elements/HTMLWebViewElement.md), and network calls ([XMLHttp](../../uxp-api/reference-js/Global%20Members/Data%20Transfers/XMLHttpRequest.md), [fetch](../../uxp-api/reference-js/Global%20Members/Data%20Transfers/fetch.md))
1973
> - New doc for tracking the [mapping between Spectrum widgets and Spectrum Web Components](../../uxp-api/reference-spectrum/spectrum-widgets-to-swc-mapping/index.md) in UXP
2074
>
21-
>
75+
>
2276
> #### Fixed
2377
> - XMP now works in UXP Scripts.
2478
> - Plugin crashes while using [fit-content](https://forums.creativeclouddeveloper.com/t/ps-2024-crashes-when-opening-my-uxp-plugin/6840/7)
@@ -27,7 +81,6 @@ contributors:
2781
> - Updated missing docs for pseudo-class [defined](../../uxp-api/reference-css/Pseudo-classes/defined.md) (Available since UXP v6.0)
2882
2983

30-
3184
## Photoshop Beta 25.2 (October 2023)
3285

3386
### UXP v7.3 Integration
@@ -625,4 +678,4 @@ To roll back to the MAX 2020 version of the Photoshop DOM API, set the `apiVersi
625678
- Collection access updates for Layer and Layer-like items are planned for upcoming releases.
626679

627680
#### Photoshop Core updates
628-
- [Execute as Modal](../media/executeasmodal/) allows you to create plugins that can be guaranteed exclusive control over Photoshop during execution. It further allows for clear user feedback when this is occuring, and allows plugins to `suspendHistory` and `resumeHistory`.
681+
- [Execute as Modal](../media/executeasmodal/) allows you to create plugins that can be guaranteed exclusive control over Photoshop during execution. It further allows for clear user feedback when this is occuring, and allows plugins to `suspendHistory` and `resumeHistory`.

src/pages/uxp-api/changelog3P.md

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,58 @@ index_desc: Changelog in UXP version
33
-->
44

55
# UXP Changelog
6+
7+
## UXP v8.0.1
8+
9+
### Breaking Changes
10+
- `enableFillAsCustomAttribute` feature flag, introduced in UXPv7.1.0, will be turned on by default.
11+
12+
### Deprecations
13+
- Changes to Clipboard
14+
- [Clipboard.setContent](./reference-js/Global%20Members/Data%20Transfers/Clipboard.md#setcontentdata) is deprecated. Please use [Clipboard.write](./reference-js/Global%20Members/Data%20Transfers/Clipboard.md#writedata) instead.
15+
- [Clipboard.getContent](./reference-js/Global%20Members/Data%20Transfers/Clipboard.md#getcontent) is deprecated. Please use [Clipboard.read](./reference-js/Global%20Members/Data%20Transfers/Clipboard.md#read) instead.
16+
- Passing an `object` to [Clipboard.writeText(object)](./reference-js/Global%20Members/Data%20Transfers/Clipboard.md##writetexttext) is deprecated. Please use [Clipboard.write(object)](./reference-js/Global%20Members/Data%20Transfers/Clipboard.md#writedata) instead.
17+
- [Clipboard.clearContent](./reference-js/Global%20Members/Data%20Transfers/Clipboard.md#clearcontent) is deprecated. [Clipboard.writeText("")](./reference-js/Global%20Members/Data%20Transfers/Clipboard.md#writetexttext) would be an alternative.
18+
- Changes to VideoElement
19+
- Event `uxpvideoload` in [load()](./reference-js/Global%20Members/HTML%20Elements/HTMLVideoElement.md#load) is deprecated. Use `loadeddata` instead.
20+
- Event `uxpvideoplay` in [play()](./reference-js/Global%20Members/HTML%20Elements/HTMLVideoElement.md#play) is deprecated. Use `ended` instead.
21+
- Event `uxpvideocomplete` in [play()](./reference-js/Global%20Members/HTML%20Elements/HTMLVideoElement.md#play) is deprecated. Use `ended` instead.
22+
- Event `uxpvideopause` in [pause()](./reference-js/Global%20Members/HTML%20Elements/HTMLVideoElement.md#pause) is deprecated. Use `pause` instead.
23+
24+
### New
25+
- New components supported in Spectrum Web Components (SWC). More details [here](https://github.com/adobe/swc-uxp-wrappers/tree/main?tab=readme-ov-file#spectrum-web-components-uxp-wrappers)
26+
- sp-asset
27+
- sp-meter
28+
- sp-number-field
29+
- sp-overlay
30+
- sp-quick-actions
31+
- sp-search
32+
- sp-swatch
33+
- New command line templates to get started with SWC easily. Find details in this [section](./reference-spectrum/swc/index.md#command-line-templates).
34+
- Support for local HTML files in [WebView](./reference-js/Global%20Members/HTML%20Elements/HTMLWebViewElement.md#load-local-content-onto-webview)
35+
- New CSS capabilities
36+
- scaleX() & scaleY()
37+
- transform-origin
38+
- translate property
39+
- `Box-shadow` property now supports `transform rotate`.
40+
- New feature flag `CSSNextSupport` in the manifest.json to gate the new and future CSS capability.
41+
42+
| Manifest setting | Description |
43+
| ---------------- | ------------ |
44+
| `featureFlags: {"CSSNextSupport": true}` | Enables all the new CSS features. |
45+
| `featureFlags: {"CSSNextSupport": ["boxShadow", "transformFunctions", "transformProperties" ]}` | Enables only the named properties in the list. |
46+
47+
Note that `"enableSWCSupport": true` will enable `CSSNextSupport` by default, even if it is not done explicitly in plugin manifest otherwise.
48+
- Video enhancements: Support added for [Seek Event](./reference-js/Global%20Members/HTML%20Elements/HTMLVideoElement.md)
49+
- Support for [Navigator.language](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language) API
50+
- Support for new HTMLElement APIs - [append](./reference-js/Global%20Members/HTML%20Elements/HTMLElement.md#appendnodes), [prepend](./reference-js/Global%20Members/HTML%20Elements/HTMLElement.md#prependnodes) and [replaceChildren](./reference-js/Global%20Members/HTML%20Elements/HTMLElement.md#replacechildrennodes)
51+
- [Beta] Support for form reset in [HTMLFormElement](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form)
52+
53+
### Updated
54+
- Upgraded Spectrum Web Components to v0.37.0. [More detail](https://github.com/adobe/swc-uxp-wrappers/tree/main?tab=readme-ov-file#spectrum-web-components-uxp-wrappers)
55+
- [UXP Clipboard.writeText()](./reference-js/Global%20Members/Data%20Transfers/Clipboard.md#writetexttext) now accepts strings as input to meet standards
56+
57+
658
## UXP v7.4.0
759
### Updated
860
- UXP Alerts ([alert](./reference-js/Global%20Members/HTML%20DOM/alert.md), [prompt](./reference-js/Global%20Members/HTML%20DOM/prompt.md), [confirm](./reference-js/Global%20Members/HTML%20DOM/confirm.md)) 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 be `available only in Plugins` and `not in scripts`.
@@ -180,4 +232,4 @@ html {
180232
- UDT fails to launch with "sign-in required" error
181233
- PS crashes with empty `<svg> <polygon>`
182234
- Manifest v5 breaks file permissions dialog
183-
- Many stability Fixes and performance improvements
235+
- Many stability Fixes and performance improvements

src/pages/uxp-api/versions.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/pages/uxp-api/versions3P.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ index_desc: General information on UXP and its dependencies for 3rd party plugin
88

99
## Applications Integrated with UXP
1010

11-
| Application | UXP v7.4 | UXP v7.3 | UXP v7.2 | UXP v7.1 | UXP v7.0 | UXP v6.5| UXP v6.4| UXP v6.3| UXP v6.2 | UXP v6.1 | UXP v6.0 | UXP v5.6 | UXP v5.5 |
12-
| ------------- | ------------- | ------------- | -------- | -------- | ------- | ------- | ------- | -------- | -------- | -------- | -------- | -------- |
13-
|Photoshop | 25.3 | 25.2 | 25.0| 24.6 | 24.4 | 24.1 | 24.1 | 24.0 | 23.5 | 23.4 | 23.3 | 23.2 | 23.0 |
14-
|InDesign |- | 19.0 | -| 18.5 | - | 18.1 | - | 18.0 | 17.4 | - | - | 17.1 | 17.0 |
15-
|InDesign Server |- | -| -| - | - | - | - | 18.0 | 17.4 | - | - | 17.1 | 17.0 |
16-
|XD |- | -| -| - | - | - | - | 55 | 54 | - | - | 53 | 45 |
17-
11+
| Application | UXP v8.0 | UXP v7.4 | UXP v7.3 | UXP v7.2 | UXP v7.1 | UXP v7.0 | UXP v6.5| UXP v6.4| UXP v6.3| UXP v6.2 | UXP v6.1 | UXP v6.0 | UXP v5.6 | UXP v5.5 |
12+
| ------------ | -------- | -------- | -------- | -------- | -------- | ------- | ------- | ------- | -------- | -------- | -------- | -------- | -------- | -------- |
13+
|Photoshop | 26.0 | 25.5 | 25.2 | 25.0 | 24.6 | 24.4 | 24.1 | 24.1 | 24.0 | 23.5 | 23.4 | 23.3 | 23.2 | 23.0 |
14+
|InDesign | 20.0 | - | 19.0 | - | 18.5 | - | 18.1 | - | 18.0 | 17.4 | - | - | 17.1 | 17.0 |
15+
|InDesign Server | - | - | - | - | - | - | - | - | 18.0 | 17.4 | - | - | 17.1 | 17.0 |
16+
|XD | - | - | - | - | - | - | - | - | 55 | 54 | - | - | 53 | 45 |
1817

1918
## UXP Features Supported in Applications
2019
| Application | UXP Plugins | UXP Scripting |

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23990,10 +23990,10 @@ __metadata:
2399023990
languageName: node
2399123991
linkType: hard
2399223992

23993-
"uxp-documentation@github:adobedocs/uxp#v7.4.0":
23994-
version: 7.4.0
23995-
resolution: "uxp-documentation@https://github.com/adobedocs/uxp.git#commit=36e0c9610c429d6d47b121f0a9143fc0e5e15bf9"
23996-
checksum: 45ce967c0ce1c64bb919eed8e67b862607332b3abc3a6f7cbb64f7378b7042f8af8b29cd540c8133a2df54ac3119dc175fbbb7cb85a78c8dab3657bcc0e80507
23993+
"uxp-documentation@git://github.com/adobedocs/uxp#v8.0.1":
23994+
version: 8.0.0
23995+
resolution: "uxp-documentation@git://github.com/adobedocs/uxp#commit=5fd9006c15768dfc26e5b414f9d5b866d86c9fbd"
23996+
checksum: 17b3de1e5003c8e2de9e0bd7924b3e1213beb5048310de6cb201377ab630d640d2949c4046a3036e4fc680e8850d999cc3d0fc2b58788aefa4600ae1521fbef6
2399723997
languageName: node
2399823998
linkType: hard
2399923999

@@ -24008,7 +24008,7 @@ __metadata:
2400824008
react-dom: ^17.0.2
2400924009
remark-cli: ^11.0.0
2401024010
remark-validate-links: ^12.1.0
24011-
uxp-documentation: "github:adobedocs/uxp#v7.4.0"
24011+
uxp-documentation: "git://github.com/adobedocs/uxp#v8.0.1"
2401224012
languageName: unknown
2401324013
linkType: soft
2401424014

0 commit comments

Comments
 (0)