Skip to content

Commit 2310ba2

Browse files
authored
Merge pull request #476 from padmkris123/uxp-v8.1
UXP 8.1 docs
2 parents 7e3c7d1 + b60138e commit 2310ba2

File tree

16 files changed

+310
-3458
lines changed

16 files changed

+310
-3458
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"private": true,
33
"name": "uxp-photoshop-documentation",
4-
"version": "0.1.23",
4+
"version": "0.1.24",
55
"license": "Apache-2.0",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/AdobeDocs/uxp-photoshop"
99
},
1010
"dependencies": {
11-
"@adobe/gatsby-theme-aio": "^4.14.4",
11+
"@adobe/gatsby-theme-aio": "^4.14.14",
1212
"gatsby": "4.22.0",
1313
"react": "^17.0.2",
1414
"react-dom": "^17.0.2",
15-
"uxp-documentation": "github:adobedocs/uxp#v8.0.1"
15+
"uxp-documentation": "github:adobedocs/uxp#v8.1.0"
1616
},
1717
"scripts": {
1818
"start": "gatsby build && gatsby serve",

reference-js.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,14 @@ module.exports=[
188188
"title": "HTMLCollection",
189189
"path": "/uxp-api/reference-js/Global Members/HTML DOM/HTMLCollection/"
190190
},
191+
{
192+
"title": "IntersectionObserver",
193+
"path": "/uxp-api/reference-js/Global Members/HTML DOM/IntersectionObserver/"
194+
},
195+
{
196+
"title": "IntersectionObserverEntry",
197+
"path": "/uxp-api/reference-js/Global Members/HTML DOM/IntersectionObserverEntry/"
198+
},
191199
{
192200
"title": "NamedNodeMap",
193201
"path": "/uxp-api/reference-js/Global Members/HTML DOM/NamedNodeMap/"
@@ -208,6 +216,18 @@ module.exports=[
208216
"title": "Path2D",
209217
"path": "/uxp-api/reference-js/Global Members/HTML DOM/Path2D/"
210218
},
219+
{
220+
"title": "ResizeObserver",
221+
"path": "/uxp-api/reference-js/Global Members/HTML DOM/ResizeObserver/"
222+
},
223+
{
224+
"title": "ResizeObserverEntry",
225+
"path": "/uxp-api/reference-js/Global Members/HTML DOM/ResizeObserverEntry/"
226+
},
227+
{
228+
"title": "ResizeObserverSize",
229+
"path": "/uxp-api/reference-js/Global Members/HTML DOM/ResizeObserverSize/"
230+
},
211231
{
212232
"title": "ShadowRoot",
213233
"path": "/uxp-api/reference-js/Global Members/HTML DOM/ShadowRoot/"

reference-spectrum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ module.exports = [
106106
},
107107
{
108108
"title": "Spectrum Widgets to SWC",
109-
"path": "/uxp-api/reference-spectrum/spectrum-widgets-to-swc-mapping/"
109+
"path": "/uxp-api/reference-spectrum/Spectrum to SWC Mapping/"
110110
},
111111
{
112112
"title": "FAQs",

src/pages/guides/uxp_guide/uxp-misc/manifest-v5/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ Both `openPath` and `openExternal` rely on this permission set, and upon either
256256
### Plugin communication
257257
If enabled, the plugin can communicate with other installed plugins. Defaults to `false`.
258258
```json
259-
"permissions": {        
259+
"requiredPermissions": {        
260260
"ipc": {
261261
"enablePluginCommunication": true   
262262
}

src/pages/ps_reference/changelog/index.md

Lines changed: 40 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@ contributors:
88

99
# Photoshop API Changelog
1010

11+
## Photoshop 26.1 (November 2024)
12+
13+
### UXP v8.1.0
14+
15+
#### New
16+
17+
- [ResizeObserver APIs](../../uxp-api/reference-js/Global%20Members/HTML%20DOM/ResizeObserver.md) to observe an element's dimension or border-box, allowing better management of automatic adjustments and providing a performant way of observing size changes of elements.
18+
- [IntersectionObserver APIs](../../uxp-api/reference-js/Global%20Members/HTML%20DOM/IntersectionObserver.md) to observe changes in the intersection of a target element with an ancestor element, unblocking cases for lazy loading of assets and facilitating infinite scrolling.
19+
- Added support for `:first-child` and `:not(:first-child)` pseudo-classes to enhance the existing `Web Component` support by allowing targeting of the desired elements
20+
- Support `linear-gradient` property with start and end values to align with the web.
21+
22+
#### Fixed
23+
24+
- Fixed discrepancy in default state of `enableFillAsCustomAttribute` flag (it's true by default now)
25+
- Fixed missing `translate` -> `y` values via UXP Dev Tool, despite being correctly applied on the elements.
26+
1127
## Photoshop 26.0 (October 2024)
1228

1329
### UXP v8.0.1
@@ -49,7 +65,7 @@ contributors:
4965
| ---------------- | ------------ |
5066
| `featureFlags: {"CSSNextSupport": true}` | Enables all the new CSS features. |
5167
| `featureFlags: {"CSSNextSupport": ["boxShadow", "transformFunctions", "transformProperties" ]}` | Enables only the named properties in the list. |
52-
68+
5369
Note that `"enableSWCSupport": true` will enable `CSSNextSupport` by default, even if it is not done explicitly in plugin manifest otherwise.
5470
- Video enhancements: Support added for [Seek Event](../../uxp-api/reference-js/Global%20Members/HTML%20Elements/HTMLVideoElement.md)
5571
- Support for [Navigator.language](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language) API
@@ -71,11 +87,11 @@ contributors:
7187
> - UXP Alerts ([alert](../../uxp-api/reference-js/Global%20Members/HTML%20DOM/alert.md), [prompt](../../uxp-api/reference-js/Global%20Members/HTML%20DOM/prompt.md), [confirm](../../uxp-api/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`.
7288
> - 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))
7389
> - 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
74-
>
90+
>
7591
>
7692
> #### Fixed
7793
> - XMP now works in UXP Scripts.
78-
> - Plugin crashes while using [fit-content](https://forums.creativeclouddeveloper.com/t/ps-2024-crashes-when-opening-my-uxp-plugin/6840/7)
94+
> - Plugin crashes while using [fit-content](https://forums.creativeclouddeveloper.com/t/ps-2024-crashes-when-opening-my-uxp-plugin/6840/7)
7995
> - WebView support for [file selector](https://forums.creativeclouddeveloper.com/t/macos-uxp-webview-for-photoshop-is-missing-file-selector/6843) in MacOS
8096
> - GUID returning hashed empty string
8197
> - Updated missing docs for pseudo-class [defined](../../uxp-api/reference-css/Pseudo-classes/defined.md) (Available since UXP v6.0)
@@ -95,20 +111,20 @@ contributors:
95111
> - keys()
96112
> - set()
97113
> - values()
98-
>
114+
>
99115
> #### Updated
100116
> - [FormData's append](../../uxp-api/reference-js/Global%20Members/Data%20Transfers/FormData.md#append--namevaluefilename) now supports `Blob` as an additional parameter.
101117
> - `Spectrum Web Components` support in `React` context is now available for all 30 components.
102118
> - Sample plugin for UXP-SWC plugin in React context can be referred [here](https://github.com/AdobeDocs/uxp-photoshop-plugin-samples/tree/main/swc-uxp-react-starter)
103-
>
119+
>
104120
> #### Fixed
105121
> - Tab Navigation not working for several SWC Components is now fixed
106122
> - Spacebar doesn't work on SWC Button component when reached via TAB navigation.
107-
>
123+
>
108124
> ### UDT v2.0
109125
> #### New
110126
> - UXP Playground to experiment with APIs. Click on the 'Playground' tab next to 'Developer Workspace' to select an app and get started.
111-
>
127+
>
112128
> #### Updated
113129
> - Plugin actions are surfaced based on the 'Status' of your plugin in the Developer Workspace
114130
@@ -171,11 +187,11 @@ UXP hybrid plugins can now [access the suites of functionality made available vi
171187
- Component channel name will now throw an error if channel no longer exist in document.
172188
- Component channel name is no longer converted into lowercase and is same as in UI.
173189
- TypeScript: `channels.parent` now points to the correct `Document` type.
174-
- Deprecated `document.compositeChannels` since these channels are component not composite.
190+
- Deprecated `document.compositeChannels` since these channels are component not composite.
175191
Use `componentChannels` instead.
176192

177193
----
178-
## Photoshop 24.5 (May 2023)
194+
## Photoshop 24.5 (May 2023)
179195

180196
### Calculations and Apply Image
181197
The blending operations [Layer](../classes/layer) Apply Image and [Document](../classes/document) Calculations are now available.
@@ -197,13 +213,13 @@ Both methods accept an options object that matches the parameters required in th
197213
> - [releasePointerCapture](../../uxp-api/reference-js/Global%20Members/HTML%20DOM/Element.md#releasepointercapturepointerid)
198214
> - [hasPointerCapture](../../uxp-api/reference-js/Global%20Members/HTML%20DOM/Element.md#haspointercapturepointerid)
199215
> - [dir](../../uxp-api/reference-js/Global%20Members/HTML%20Elements/HTMLHtmlElement.md#dir--string)
200-
>
216+
>
201217
> #### Updated
202218
> - Documentation for `shell` module moved to [new location](../../uxp-api/reference-js/Modules/uxp/shell/)
203-
>
219+
>
204220
> #### Fixed
205-
> - `SVGElement`: The color of the `fill` 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.
206-
>
221+
> - `SVGElement`: The color of the `fill` 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.
222+
>
207223
> ```
208224
> // CSS variable
209225
> html {
@@ -259,7 +275,7 @@ Previously, access was via `require("photoshop").imaging_beta`. It is now `requi
259275
> - [confirm()](../../uxp-api/reference-js/Global%20Members/HTML%20DOM/confirm.md)
260276
> - Support for [pipeThrough](../../uxp-api/reference-js/Global%20Members/Streams/ReadableStream.md#pipeThroughtransform-options) and [tee](../../uxp-api/reference-js/Global%20Members/Streams/ReadableStream.md#tee) in [ReadableStream](../../uxp-api/reference-js/Global%20Members/Streams/ReadableStream.md). Refer to [Streams](../../uxp-api/reference-js/Global%20Members/Streams/index.md) for more details
261277
> - [ImageBlob](../../uxp-api/reference-js/Global%20Members/ImageBlob/) to render an uncompressed image buffer in UXP
262-
>
278+
>
263279
> #### Changed
264280
> - [HTMLVideoElement](../../uxp-api/reference-js/Global%20Members/HTML%20Elements/HTMLVideoElement.md): 'metadata' is the default value for `preload` attribute
265281
> - [FS API](../../uxp-api/reference-js/Modules/fs/): No need for the `file://` protocol
@@ -340,7 +356,7 @@ The UXP DOM features a variety of new text-related APIs, that provide a more rob
340356
- horizontalDistortion
341357
- verticalDistortion
342358
- reset()
343-
359+
344360
### Other fixes
345361
346362
- `solidColor.cmyk` no longer shows `undefined` for `yellow` color. Also setter is now fixed.
@@ -378,17 +394,17 @@ The CountItems DOM API is now available in Photoshop.
378394
- Passing a blend mode that is not compatible with the document's color mode or bit depth. Previously, this call would fail silently.
379395
- Attempting to set the blend mode on the Background layer. Previously, doing so would convert Background to a regular layer and generate a new layer ID. Automatic Background promotion is undesirable as a side effect in this case. This action is not available via the UI.
380396
381-
- The [CountItem class](../classes/countitem) implements the following properties and methods:
397+
- The [CountItem class](../classes/countitem) implements the following properties and methods:
382398
- `typename`, `parent`, `itemIndex`, `groupIndex`, `position`
383399
- `move()`, `remove()`
384-
-
400+
-
385401
386402
### UXP v6.4 Integration
387403
> #### New
388404
> - [WebView](../../uxp-api/reference-js/Global%20Members/HTML%20Elements/HTMLWebViewElement) for panels
389405
> - Support [Path Module APIs](../../uxp-api/reference-js/Global%20Members/Path)
390406
> - Script can run fsapi with full access in localFileSystem
391-
>
407+
>
392408
> #### Bugs Fixes
393409
> - PluginManifest parsing / Load Plugin errors not logged in UDT
394410
> - Error shown in UDT APP logs on Plugin UnLoad
@@ -414,9 +430,9 @@ Adds API to change some of the Photoshop [preferences](../classes/preferences).
414430
The ColorSampler DOM API is now available in Photoshop.
415431
416432
- The [ColorSamplers collection](../classes/colorsamplers/) behaves like other collections at the Document level in the API. ColorSamplers further supports the following methods:
417-
- `colorSamplers.add()`
433+
- `colorSamplers.add()`
418434
- `colorSamplers.removeAll()`
419-
- The [ColorSamplers class](../classes/colorsampler) implements the following properties and methods:
435+
- The [ColorSamplers class](../classes/colorsampler) implements the following properties and methods:
420436
- `typename`: String
421437
- `parent`: [Document](../classes/document)
422438
- `position`: `{x: number, y: number}`
@@ -455,13 +471,13 @@ The ColorSampler DOM API is now available in Photoshop.
455471
### Other
456472
- Color mode validation for all filters
457473
- Fixed Lens Flare coordinates
458-
- Fixed file arguments for filters
474+
- Fixed file arguments for filters
459475
460476
----
461477
## Photoshop 23.5 (August 2022)
462478
463479
### UXP Scripting
464-
Script files with extension .psjs are executed using UXP.
480+
Script files with extension .psjs are executed using UXP.
465481
- [Overview](../../scripting/)
466482
- [Quickstart Guide](../../scripting/getting-started/)
467483
- [Ps UXP Scripting](../media/uxpscripting/)
@@ -545,7 +561,7 @@ As an alternative to a UI-blocking progress bar when a plugin is within a Modal
545561
## Photoshop 23.0 (October 2021)
546562
547563
### Channel support
548-
- [Channels collections](../classes/channels/) behave like other collections in the API. Channels further supports `channels.add()` and `channels.removeAll()`.
564+
- [Channels collections](../classes/channels/) behave like other collections in the API. Channels further supports `channels.add()` and `channels.removeAll()`.
549565
- [Channel class](../classes/channel)
550566
- Supports four types of channels, as listed in [Constants.ChannelType](../modules/constants/#channeltype): `COMPONENT`, `MASKEDAREA`, `SELECTEDAREA`, `SPOTCOLOR`.
551567
- Adds the following Channel properties: `name`, `type`, `visible`, `histogram`, `color`, `opacity`.
@@ -586,7 +602,7 @@ As an alternative to a UI-blocking progress bar when a plugin is within a Modal
586602
- app.foregroundColor and app.backgroundColor.
587603
- app.documents.add `fillColor` property.
588604
- Document.saveAs methods that use colors.
589-
- `require('photoshop').core.convertColor` low level API added, used internally by SolidColor. It uses app color
605+
- `require('photoshop').core.convertColor` low level API added, used internally by SolidColor. It uses app color
590606
settings to convert between color spaces.
591607
592608
## Adobe Photoshop Beta Build 65: Sep 3, 2021 (23.0)

0 commit comments

Comments
 (0)