Skip to content

Commit

Permalink
Updated to v4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pragmatta committed Feb 19, 2018
1 parent fefe5c0 commit 6eac71b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,14 @@ Photoshop Generator Core offers the following method collections for interacting
There is sample Generator plugin about using photoshop-generator-core that enables HTTP access to Photoshop:
- Github: https://github.com/RationalMatta/photoshop-generator-sample
- NPM: https://www.npmjs.com/package/photoshop-generator-sample

## Changelog
### v4.01
V4.0.1 is a backwards incompatible change to v3.x and will require code changes
- Changed the format of the serverSetRequestHandler callback to support body data and different kinds API structures. The new callback gets following parameters:
- Path: Array of strings of the request path split by '/'
- Params: Object of the URL-parameters
- Body: HTTP body data
- Request: http.ClientRequest Node-object
- Response: http.ServerResponse Node-object
- Changed layer UID-format from the simple "DOC_ID:LAYER_ID" to a proper URNs "document:DOC_ID" and "layer:DOC_ID:LAYER_ID"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "photoshop-generator-core",
"version": "3.8.2",
"version": "4.0.1",
"description": "Module for creating Photoshop Generator plugins",
"main": "generator_core.js",
"keywords": [
Expand Down

0 comments on commit 6eac71b

Please sign in to comment.