You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/ps_reference/changelog/index.md
+40-24Lines changed: 40 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,22 @@ contributors:
8
8
9
9
# Photoshop API Changelog
10
10
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
+
11
27
## Photoshop 26.0 (October 2024)
12
28
13
29
### UXP v8.0.1
@@ -49,7 +65,7 @@ contributors:
49
65
| ---------------- | ------------ |
50
66
|`featureFlags: {"CSSNextSupport": true}`| Enables all the new CSS features. |
51
67
|`featureFlags: {"CSSNextSupport": ["boxShadow", "transformFunctions", "transformProperties" ]}`| Enables only the named properties in the list. |
52
-
68
+
53
69
Note that `"enableSWCSupport": true` will enable `CSSNextSupport` by default, even if it is not done explicitly in plugin manifest otherwise.
54
70
- Video enhancements: Support added for [Seek Event](../../uxp-api/reference-js/Global%20Members/HTML%20Elements/HTMLVideoElement.md)
55
71
- Support for [Navigator.language](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language) API
@@ -71,11 +87,11 @@ contributors:
71
87
> - 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`.
72
88
> - 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))
73
89
> - 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
+
>
75
91
>
76
92
> #### Fixed
77
93
> - 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)
79
95
> - WebView support for [file selector](https://forums.creativeclouddeveloper.com/t/macos-uxp-webview-for-photoshop-is-missing-file-selector/6843) in MacOS
80
96
> - GUID returning hashed empty string
81
97
> - 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:
95
111
> - keys()
96
112
> - set()
97
113
> - values()
98
-
>
114
+
>
99
115
> #### Updated
100
116
> -[FormData's append](../../uxp-api/reference-js/Global%20Members/Data%20Transfers/FormData.md#append--namevaluefilename) now supports `Blob` as an additional parameter.
101
117
> -`Spectrum Web Components` support in `React` context is now available for all 30 components.
102
118
> - 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
+
>
104
120
> #### Fixed
105
121
> - Tab Navigation not working for several SWC Components is now fixed
106
122
> - Spacebar doesn't work on SWC Button component when reached via TAB navigation.
107
-
>
123
+
>
108
124
> ### UDT v2.0
109
125
> #### New
110
126
> - UXP Playground to experiment with APIs. Click on the 'Playground' tab next to 'Developer Workspace' to select an app and get started.
111
-
>
127
+
>
112
128
> #### Updated
113
129
> - Plugin actions are surfaced based on the 'Status' of your plugin in the Developer Workspace
114
130
@@ -171,11 +187,11 @@ UXP hybrid plugins can now [access the suites of functionality made available vi
171
187
- Component channel name will now throw an error if channel no longer exist in document.
172
188
- Component channel name is no longer converted into lowercase and is same as in UI.
173
189
- 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.
175
191
Use `componentChannels` instead.
176
192
177
193
----
178
-
## Photoshop 24.5 (May 2023)
194
+
## Photoshop 24.5 (May 2023)
179
195
180
196
### Calculations and Apply Image
181
197
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
> - Documentation for `shell` module moved to [new location](../../uxp-api/reference-js/Modules/uxp/shell/)
203
-
>
219
+
>
204
220
> #### 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
+
>
207
223
> ```
208
224
> // CSS variable
209
225
> html {
@@ -259,7 +275,7 @@ Previously, access was via `require("photoshop").imaging_beta`. It is now `requi
> - 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
261
277
> - [ImageBlob](../../uxp-api/reference-js/Global%20Members/ImageBlob/) to render an uncompressed image buffer in UXP
262
-
>
278
+
>
263
279
> #### Changed
264
280
> - [HTMLVideoElement](../../uxp-api/reference-js/Global%20Members/HTML%20Elements/HTMLVideoElement.md): 'metadata' is the default value for `preload` attribute
265
281
> - [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
340
356
- horizontalDistortion
341
357
- verticalDistortion
342
358
- reset()
343
-
359
+
344
360
### Other fixes
345
361
346
362
- `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.
378
394
- Passing a blend mode that is not compatible with the document's color mode or bit depth. Previously, this call would fail silently.
379
395
- 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.
380
396
381
-
- The [CountItem class](../classes/countitem) implements the following properties and methods:
397
+
- The [CountItem class](../classes/countitem) implements the following properties and methods:
> - [WebView](../../uxp-api/reference-js/Global%20Members/HTML%20Elements/HTMLWebViewElement) for panels
389
405
> - Support [Path Module APIs](../../uxp-api/reference-js/Global%20Members/Path)
390
406
> - Script can run fsapi with full access in localFileSystem
391
-
>
407
+
>
392
408
> #### Bugs Fixes
393
409
> - PluginManifest parsing / Load Plugin errors not logged in UDT
394
410
> - Error shown in UDT APP logs on Plugin UnLoad
@@ -414,9 +430,9 @@ Adds API to change some of the Photoshop [preferences](../classes/preferences).
414
430
The ColorSampler DOM API is now available in Photoshop.
415
431
416
432
- 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()`
418
434
- `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:
420
436
- `typename`: String
421
437
- `parent`: [Document](../classes/document)
422
438
- `position`: `{x: number, y: number}`
@@ -455,13 +471,13 @@ The ColorSampler DOM API is now available in Photoshop.
455
471
### Other
456
472
- Color mode validation for all filters
457
473
- Fixed Lens Flare coordinates
458
-
- Fixed file arguments for filters
474
+
- Fixed file arguments for filters
459
475
460
476
----
461
477
## Photoshop 23.5 (August 2022)
462
478
463
479
### UXP Scripting
464
-
Script files with extension .psjs are executed using UXP.
480
+
Script files with extension .psjs are executed using UXP.
@@ -545,7 +561,7 @@ As an alternative to a UI-blocking progress bar when a plugin is within a Modal
545
561
## Photoshop 23.0 (October 2021)
546
562
547
563
### 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()`.
549
565
- [Channel class](../classes/channel)
550
566
- Supports four types of channels, as listed in [Constants.ChannelType](../modules/constants/#channeltype): `COMPONENT`, `MASKEDAREA`, `SELECTEDAREA`, `SPOTCOLOR`.
551
567
- 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
586
602
- app.foregroundColor and app.backgroundColor.
587
603
- app.documents.add `fillColor` property.
588
604
- 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
0 commit comments