diff --git a/CHANGELOG.md b/CHANGELOG.md index 43b1d31c05..8eb8ca9e61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### [Unreleased][HEAD] +## [1.12.0] - October 5th 2018 + +### @esri/arcgis-rest-common-types + +* Chores + * **js**: remove rogue .js files from common-types [`abedb46`](https://github.com/Esri/arcgis-rest-js/commit/abedb462ebf9e78b08f51e221cf8421bc434fd67) + +### @esri/arcgis-rest-items + +* New Features + * **js**: It is now possible to add/update private item resources [`b120e9f`](https://github.com/Esri/arcgis-rest-js/commit/b120e9f5462a8bd6631e549ae1bef8dbaa51799e) + +* Bug Fixes + * **js**: updateItemResource now respects the [`resource`](https://esri.github.io/arcgis-rest-js/api/items/IItemResourceRequestOptions/#resource) request option. [`6555683`] (https://github.com/Esri/arcgis-rest-js/commit/65556830e85401951efe4a10209004aed4301877) 🙏ssylvia🙏 + ## [1.11.1] - September 25th 2018 ### @esri/arcgis-rest-request @@ -35,12 +50,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. * Bug Fixes * **item**: use fileName parameter to name Blobs when present [`9f5c093`](https://github.com/Esri/arcgis-rest-js/commit/9f5c09390696f7945d78b8f45b431d2705b53c16) - * **request**: improve error message when FormData isn't available [`89ff196`](https://github.com/Esri/arcgis-rest-js/commit/89ff1969a7af41a2d2e6cf9d3a84849ef82168d6) + * **request**: improve error message when FormData isnt available [`89ff196`](https://github.com/Esri/arcgis-rest-js/commit/89ff1969a7af41a2d2e6cf9d3a84849ef82168d6) * Chores * **:nail_care:**: refactor geocoder, groups and users to make the code more legible (#336) [`174e6cd`](https://github.com/Esri/arcgis-rest-js/commit/174e6cd626b4429801e65fcbb6b8f1a72ed1d0e3) - ## [1.10.0] - September 17th 2018 ### @esri/arcgis-rest-feature-service-admin @@ -807,4 +821,5 @@ Initial Public Release [1.9.0]: https://github.com/Esri/arcgis-rest-js/compare/v1.8.0...v1.9.0 "v1.9.0" [1.10.0]: https://github.com/Esri/arcgis-rest-js/compare/v1.9.0...v1.10.0 "v1.10.0" [1.11.1]: https://github.com/Esri/arcgis-rest-js/compare/v1.10.0...v1.11.1 "v1.11.1" -[HEAD]: https://github.com/Esri/arcgis-rest-js/compare/v1.11.1...HEAD "Unreleased Changes" +[1.12.0]: https://github.com/Esri/arcgis-rest-js/compare/v1.11.1...v1.12.0 "v1.12.0" +[HEAD]: https://github.com/Esri/arcgis-rest-js/compare/v1.12.0...HEAD "Unreleased Changes" diff --git a/demos/ago-node-cli/package.json b/demos/ago-node-cli/package.json index f7a3b9d56c..783ef4df69 100644 --- a/demos/ago-node-cli/package.json +++ b/demos/ago-node-cli/package.json @@ -1,6 +1,6 @@ { "name": "node-cli", - "version": "1.11.1", + "version": "1.12.0", "description": "arcgis-rest-js node command-line item search example", "main": "ago.js", "scripts": { @@ -18,8 +18,8 @@ "author": "Dave Bouwman ", "license": "Apache-2.0", "dependencies": { - "@esri/arcgis-rest-auth": "^1.11.1", - "@esri/arcgis-rest-items": "^1.11.1", + "@esri/arcgis-rest-auth": "^1.12.0", + "@esri/arcgis-rest-items": "^1.12.0", "@esri/arcgis-rest-request": "^1.11.1", "chalk": "^2.3.0", "commander": "^2.12.2", diff --git a/demos/attachments/package.json b/demos/attachments/package.json index 6648526a03..245817d03d 100644 --- a/demos/attachments/package.json +++ b/demos/attachments/package.json @@ -1,12 +1,12 @@ { "name": "attachments", - "version": "1.11.1", + "version": "1.12.0", "private": true, "description": "Vanilla JavaScript demo of attachment methods of @esri/arcgis-rest-feature-service", "author": "", "license": "Apache-2.0", "dependencies": { - "@esri/arcgis-rest-feature-service": "^1.11.1", + "@esri/arcgis-rest-feature-service": "^1.12.0", "@esri/arcgis-rest-request": "^1.11.1" }, "devDependencies": { diff --git a/demos/batch-geocoder-node/package.json b/demos/batch-geocoder-node/package.json index ebf18c7f24..5dbdc18eaf 100644 --- a/demos/batch-geocoder-node/package.json +++ b/demos/batch-geocoder-node/package.json @@ -1,6 +1,6 @@ { "name": "batch-geocoder", - "version": "1.11.1", + "version": "1.12.0", "description": "arcgis-rest-js batch geocode sample", "main": "batch-geocode.js", "scripts": { @@ -27,9 +27,9 @@ }, "homepage": "https://github.com/Esri/arcgis-rest-js#readme", "dependencies": { - "@esri/arcgis-rest-auth": "^1.11.1", - "@esri/arcgis-rest-common-types": "^1.11.1", - "@esri/arcgis-rest-geocoder": "^1.11.1", + "@esri/arcgis-rest-auth": "^1.12.0", + "@esri/arcgis-rest-common-types": "^1.12.0", + "@esri/arcgis-rest-geocoder": "^1.12.0", "@esri/arcgis-rest-request": "^1.11.1", "isomorphic-fetch": "^2.2.1", "isomorphic-form-data": "^2.0.0", diff --git a/demos/express/package.json b/demos/express/package.json index ea09a0b2eb..4d7e01b5d8 100644 --- a/demos/express/package.json +++ b/demos/express/package.json @@ -1,12 +1,12 @@ { "name": "@esri/arcgis-rest-demo-express", - "version": "1.11.1", + "version": "1.12.0", "private": true, "description": "Demo of @esri/arcgis-rest-* packages in an Express server", "author": "", "license": "Apache-2.0", "dependencies": { - "@esri/arcgis-rest-auth": "^1.11.1", + "@esri/arcgis-rest-auth": "^1.12.0", "@esri/arcgis-rest-request": "^1.11.1", "express": "^4.16.3", "isomorphic-fetch": "^2.2.1", diff --git a/demos/feature-service-browser/package.json b/demos/feature-service-browser/package.json index 1ed91fab0c..c9f6219888 100644 --- a/demos/feature-service-browser/package.json +++ b/demos/feature-service-browser/package.json @@ -1,12 +1,12 @@ { "name": "feature-service-browser", - "version": "1.11.1", + "version": "1.12.0", "private": true, "description": "Vanilla JavaScript demo of @esri/arcgis-rest-feature-service", "author": "", "license": "Apache-2.0", "dependencies": { - "@esri/arcgis-rest-feature-service": "^1.11.1", + "@esri/arcgis-rest-feature-service": "^1.12.0", "@esri/arcgis-rest-request": "^1.11.1" }, "devDependencies": { diff --git a/demos/geocoder-browser/package.json b/demos/geocoder-browser/package.json index a3a774ab55..3e32a24fce 100644 --- a/demos/geocoder-browser/package.json +++ b/demos/geocoder-browser/package.json @@ -1,13 +1,13 @@ { "name": "@esri/arcgis-rest-geocoder-vanilla", - "version": "1.11.1", + "version": "1.12.0", "private": true, "description": "Vanilla JavaScript demo of @esri/arcgis-rest-geocoder", "author": "", "license": "Apache-2.0", "dependencies": { - "@esri/arcgis-rest-auth": "^1.11.1", - "@esri/arcgis-rest-geocoder": "^1.11.1", + "@esri/arcgis-rest-auth": "^1.12.0", + "@esri/arcgis-rest-geocoder": "^1.12.0", "@esri/arcgis-rest-request": "^1.11.1" }, "devDependencies": { diff --git a/demos/jsapi-integration/package.json b/demos/jsapi-integration/package.json index fdd6fbf026..5a1416437c 100644 --- a/demos/jsapi-integration/package.json +++ b/demos/jsapi-integration/package.json @@ -1,13 +1,13 @@ { "name": "@esri/jsapi-integration", - "version": "1.11.1", + "version": "1.12.0", "private": true, "description": "to do", "author": "", "license": "Apache-2.0", "dependencies": { - "@esri/arcgis-rest-auth": "^1.11.1", - "@esri/arcgis-rest-items": "^1.11.1", + "@esri/arcgis-rest-auth": "^1.12.0", + "@esri/arcgis-rest-items": "^1.12.0", "@esri/arcgis-rest-request": "^1.11.1" }, "devDependencies": { diff --git a/demos/oauth2-browser/package.json b/demos/oauth2-browser/package.json index 4bd1427beb..b944ffee9d 100644 --- a/demos/oauth2-browser/package.json +++ b/demos/oauth2-browser/package.json @@ -1,12 +1,12 @@ { "name": "@esri/arcgis-rest-demo-vanilla", - "version": "1.11.1", + "version": "1.12.0", "private": true, "description": "Vanilla JavaScript demo of @esri/arcgis-rest-* packages", "author": "", "license": "Apache-2.0", "dependencies": { - "@esri/arcgis-rest-auth": "^1.11.1", + "@esri/arcgis-rest-auth": "^1.12.0", "@esri/arcgis-rest-request": "^1.11.1" }, "devDependencies": { diff --git a/demos/vue/package.json b/demos/vue/package.json index daf5a79491..0f97c96f2c 100644 --- a/demos/vue/package.json +++ b/demos/vue/package.json @@ -1,7 +1,7 @@ { "name": "@esri/arcgis-rest-demo-vue-with-popup", "description": "VueJS demo of @esri/arcgis-rest-* packages.", - "version": "1.11.1", + "version": "1.12.0", "author": "", "license": "Apache-2.0", "private": true, @@ -12,7 +12,7 @@ "start": "npm run serve" }, "dependencies": { - "@esri/arcgis-rest-auth": "^1.11.1", + "@esri/arcgis-rest-auth": "^1.12.0", "@esri/arcgis-rest-request": "^1.11.1", "vue": "^2.5.17", "vue-router": "^3.0.1", diff --git a/lerna.json b/lerna.json index 8c2a4a7c9a..a08201e29c 100644 --- a/lerna.json +++ b/lerna.json @@ -4,5 +4,5 @@ "packages/*", "demos/*" ], - "version": "1.11.1" + "version": "1.12.0" } diff --git a/package-lock.json b/package-lock.json index 4c848adf46..91e2ad51de 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@esri/arcgis-rest-js", - "version": "1.11.1", + "version": "1.12.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 7f79ccaa10..b7d054e5c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@esri/arcgis-rest-js", - "version": "1.11.1", + "version": "1.12.0", "description": "Compact, modular JavaScript wrappers for the ArcGIS REST API that run in Node.js and modern browsers.", "devDependencies": { "@types/es6-promise": "0.0.32", diff --git a/packages/arcgis-rest-auth/package.json b/packages/arcgis-rest-auth/package.json index 77a94d9d54..edd9cf951c 100644 --- a/packages/arcgis-rest-auth/package.json +++ b/packages/arcgis-rest-auth/package.json @@ -1,6 +1,6 @@ { "name": "@esri/arcgis-rest-auth", - "version": "1.11.1", + "version": "1.12.0", "description": "Authentication helpers for @esri/arcgis-rest-*.", "main": "dist/node/index.js", "browser": "dist/umd/auth.umd.js", @@ -19,7 +19,7 @@ "@esri/arcgis-rest-request": "^1.11.0" }, "devDependencies": { - "@esri/arcgis-rest-common-types": "^1.11.1", + "@esri/arcgis-rest-common-types": "^1.12.0", "@esri/arcgis-rest-request": "^1.11.1" }, "scripts": { diff --git a/packages/arcgis-rest-common-types/package.json b/packages/arcgis-rest-common-types/package.json index cb7a4cc7a9..a6cef84b13 100644 --- a/packages/arcgis-rest-common-types/package.json +++ b/packages/arcgis-rest-common-types/package.json @@ -1,6 +1,6 @@ { "name": "@esri/arcgis-rest-common-types", - "version": "1.11.1", + "version": "1.12.0", "description": "Common TypeScript types for @esri/arcgis-rest-* packages.", "types": "dist/types/index.d.ts", "author": "", diff --git a/packages/arcgis-rest-feature-service-admin/package.json b/packages/arcgis-rest-feature-service-admin/package.json index f29bdc5ac1..458c966eb4 100644 --- a/packages/arcgis-rest-feature-service-admin/package.json +++ b/packages/arcgis-rest-feature-service-admin/package.json @@ -1,6 +1,6 @@ { "name": "@esri/arcgis-rest-feature-service-admin", - "version": "1.11.1", + "version": "1.12.0", "description": "Feature service administration helpers for @esri/arcgis-rest-request", "main": "dist/node/index.js", "browser": "dist/umd/feature-service-admin.umd.js", @@ -21,9 +21,9 @@ "@esri/arcgis-rest-request": "^1.11.0" }, "devDependencies": { - "@esri/arcgis-rest-auth": "^1.11.1", - "@esri/arcgis-rest-common-types": "^1.11.1", - "@esri/arcgis-rest-items": "^1.11.1", + "@esri/arcgis-rest-auth": "^1.12.0", + "@esri/arcgis-rest-common-types": "^1.12.0", + "@esri/arcgis-rest-items": "^1.12.0", "@esri/arcgis-rest-request": "^1.11.1" }, "scripts": { diff --git a/packages/arcgis-rest-feature-service/package.json b/packages/arcgis-rest-feature-service/package.json index 5df53d515d..38edfecbc2 100644 --- a/packages/arcgis-rest-feature-service/package.json +++ b/packages/arcgis-rest-feature-service/package.json @@ -1,6 +1,6 @@ { "name": "@esri/arcgis-rest-feature-service", - "version": "1.11.1", + "version": "1.12.0", "description": "Feature service helpers for @esri/arcgis-rest-request", "main": "dist/node/index.js", "browser": "dist/umd/feature-service.umd.js", @@ -19,7 +19,7 @@ "@esri/arcgis-rest-request": "^1.11.0" }, "devDependencies": { - "@esri/arcgis-rest-common-types": "^1.11.1", + "@esri/arcgis-rest-common-types": "^1.12.0", "@esri/arcgis-rest-request": "^1.11.1" }, "scripts": { diff --git a/packages/arcgis-rest-geocoder/package.json b/packages/arcgis-rest-geocoder/package.json index c18140b9a9..0f58a70305 100644 --- a/packages/arcgis-rest-geocoder/package.json +++ b/packages/arcgis-rest-geocoder/package.json @@ -1,6 +1,6 @@ { "name": "@esri/arcgis-rest-geocoder", - "version": "1.11.1", + "version": "1.12.0", "description": "Geocoding helpers for @esri/arcgis-rest-request", "main": "dist/node/index.js", "browser": "dist/umd/geocoder.umd.js", @@ -20,8 +20,8 @@ "@esri/arcgis-rest-request": "^1.11.0" }, "devDependencies": { - "@esri/arcgis-rest-auth": "^1.11.1", - "@esri/arcgis-rest-common-types": "^1.11.1", + "@esri/arcgis-rest-auth": "^1.12.0", + "@esri/arcgis-rest-common-types": "^1.12.0", "@esri/arcgis-rest-request": "^1.11.1" }, "scripts": { diff --git a/packages/arcgis-rest-groups/package.json b/packages/arcgis-rest-groups/package.json index b7dca58f64..a0bd016f84 100644 --- a/packages/arcgis-rest-groups/package.json +++ b/packages/arcgis-rest-groups/package.json @@ -1,6 +1,6 @@ { "name": "@esri/arcgis-rest-groups", - "version": "1.11.1", + "version": "1.12.0", "description": "Portal Group helpers for @esri/arcgis-rest-request", "main": "dist/node/index.js", "browser": "dist/umd/groups.umd.js", @@ -20,8 +20,8 @@ "@esri/arcgis-rest-request": "^1.11.0" }, "devDependencies": { - "@esri/arcgis-rest-auth": "^1.11.1", - "@esri/arcgis-rest-common-types": "^1.11.1", + "@esri/arcgis-rest-auth": "^1.12.0", + "@esri/arcgis-rest-common-types": "^1.12.0", "@esri/arcgis-rest-request": "^1.11.1" }, "scripts": { diff --git a/packages/arcgis-rest-items/package.json b/packages/arcgis-rest-items/package.json index b544fbb8c7..375728d0b7 100644 --- a/packages/arcgis-rest-items/package.json +++ b/packages/arcgis-rest-items/package.json @@ -1,6 +1,6 @@ { "name": "@esri/arcgis-rest-items", - "version": "1.11.1", + "version": "1.12.0", "description": "Portal Item helpers for @esri/arcgis-rest-request", "main": "dist/node/index.js", "browser": "dist/umd/items.umd.js", @@ -20,8 +20,8 @@ "@esri/arcgis-rest-request": "^1.11.0" }, "devDependencies": { - "@esri/arcgis-rest-auth": "^1.11.1", - "@esri/arcgis-rest-common-types": "^1.11.1", + "@esri/arcgis-rest-auth": "^1.12.0", + "@esri/arcgis-rest-common-types": "^1.12.0", "@esri/arcgis-rest-request": "^1.11.1" }, "scripts": { diff --git a/packages/arcgis-rest-sharing/package.json b/packages/arcgis-rest-sharing/package.json index 771e3f5c36..b67b263a16 100644 --- a/packages/arcgis-rest-sharing/package.json +++ b/packages/arcgis-rest-sharing/package.json @@ -1,6 +1,6 @@ { "name": "@esri/arcgis-rest-sharing", - "version": "1.11.1", + "version": "1.12.0", "description": "Helper utilities for managing access to ArcGIS content in Node.js and modern browsers.", "main": "dist/node/index.js", "browser": "dist/umd/sharing.umd.js", @@ -18,9 +18,9 @@ "@esri/arcgis-rest-request": "^1.11.0" }, "devDependencies": { - "@esri/arcgis-rest-auth": "^1.11.1", - "@esri/arcgis-rest-common-types": "^1.11.1", - "@esri/arcgis-rest-groups": "^1.11.1", + "@esri/arcgis-rest-auth": "^1.12.0", + "@esri/arcgis-rest-common-types": "^1.12.0", + "@esri/arcgis-rest-groups": "^1.12.0", "@esri/arcgis-rest-request": "^1.11.1" }, "files": [ diff --git a/packages/arcgis-rest-users/package.json b/packages/arcgis-rest-users/package.json index 23fb83d6ea..6b1172d862 100644 --- a/packages/arcgis-rest-users/package.json +++ b/packages/arcgis-rest-users/package.json @@ -1,6 +1,6 @@ { "name": "@esri/arcgis-rest-users", - "version": "1.11.1", + "version": "1.12.0", "description": "Portal user helpers for @esri/arcgis-rest-request", "main": "dist/node/index.js", "browser": "dist/umd/users.umd.js", @@ -20,8 +20,8 @@ "@esri/arcgis-rest-request": "^1.11.0" }, "devDependencies": { - "@esri/arcgis-rest-auth": "^1.11.1", - "@esri/arcgis-rest-common-types": "^1.11.1", + "@esri/arcgis-rest-auth": "^1.12.0", + "@esri/arcgis-rest-common-types": "^1.12.0", "@esri/arcgis-rest-request": "^1.11.1" }, "scripts": { diff --git a/support/changelog.js b/support/changelog.js index bbcbcc784e..c8b88c7228 100644 --- a/support/changelog.js +++ b/support/changelog.js @@ -74,8 +74,14 @@ function getCommitData(from, to) { exec(cmd, (err, stdout, stderr) => { if (err) return reject(err); if (stderr) return reject(stderr); - // order commits from most recent to least recent - const commits = JSON.parse("["+stdout.slice(0, -1).replace(/"returns"/g, "returns").replace(/\\/g, "\\\\")+"]").reverse(); + /* + order commits from most recent to least recent + + graveyard + .replace(/"returns"/g, "returns") + .replace(/\\/g, "\\\\") + */ + const commits = JSON.parse("[" + stdout.slice(0, -1).replace(/"access"/g, "'access'") + "]").reverse(); const today = new Date(); resolve({ previousVersion: /v\d\.\d\.\d/.test(from)