Skip to content

Releases: Esri/arcgis-rest-js

v1.16.0

23 Jan 22:38
Compare
Choose a tag to compare

@esri/arcgis-rest-items

  • New Features
    • new getItemGroups() method c0cd950
    • new removeFolder() method b915ecb

@esri/arcgis-rest-request

  • Fixes
    • dont misinterpret custom referer headers as request parameters 4ff33b1
    • dont set referer headers to null in browser apps 0b1bf2b

v1.15.2

17 Jan 08:14
Compare
Choose a tag to compare

@esri/arcgis-rest-request

  • New Features
    • arcgis-rest-js: add a headers option to IRequestOptions and pass on the headers to the request 266b85a 🙏rgwozdz🙏

@esri/arcgis-rest-users

  • New Features
    • arcgis-rest-users: added updateUser() method 33ce92d

Other Changes

  • Documentation
    • cdn: add sri hashes 49fa5cd 🙏COV-GIS🙏

v1.14.4

11 Jan 21:06
Compare
Choose a tag to compare

@esri/arcgis-rest-request

  • Docs
    • a conceptual guide was written to explain the purpose of this library. 5502c13

@esri/arcgis-rest-auth

  • Added
    • UserSession.refreshSession() now clears cached user metadata. 9564158
    • ApplicationSession now calculates accurate token expirations. 5af14d7
    • ApplicationSession's constuctor now exposes the ability to customize the associated portal. 3ffdddb
    • ApplicationSession's constructor now exposes the ability to customize the lifespan of generated tokens. 5af14d7

@esri/arcgis-rest-geocoder

  • Bug Fixes
    • ensure that the batch geocoder handles addresses with no match whatsoever cba60dc

Other Changes

  • Changed
    • Packages no longer expose a browser field in their package.json files. unpkg is now used instead to clue the CDN into which specific file to serve up. c4e0697d

v1.14.3

03 Dec 20:22
Compare
Choose a tag to compare

@esri/arcgis-rest-auth

  • Bug Fixes
    • arcgis-rest-auth: ensure that mixed casing of federated server urls does not break the system 07c92f55

demos/oauth2-browser

  • Bug Fixes
    ensure that the response is parsed correctly when 'keep me signed in' is checked. 924f790

Other Changes

  • Documentation
    • moved existing code snippets above the fold.
    • added lots more code snippets.
    • made it clearer that JSON data() can be passed along when an item is created.

Other Changes

  • Bug Fixes
    • arcgis-rest-auth: Allow mixed casing of federated server urls c4e0697d

v1.14.2

27 Nov 19:26
Compare
Choose a tag to compare

@esri/arcgis-rest-request

  • Added
    • cleanUrl() utility method to trim whitespace and remove trailing slashes to standardize input to other methods.

Other Changes

v1.14.1

21 Nov 23:52
Compare
Choose a tag to compare

@esri/arcgis-rest-request

  • Fixed
  • ensure the same referer header is used in requests that was supplied when calling generateToken().

@esri/arcgis-rest-feature-service

  • Changed
    • features is now the preferred argument for addFeatures() and updateFeatures() and objectIds for deleteFeatures().

This change was made for consistency with the REST API itself. the old constructor options will still be honored until v2.0.0.

  • Misc.
    • decodeValues: short circuit out of decoding values if there are no CVD fields 1bac187

v1.14.0

14 Nov 22:41
Compare
Choose a tag to compare

@esri/arcgis-rest-routing

Added

  • New package!
  • solveRoute() can be used to fetch directions from A to B (or A to Z, or Z to ? to A)

@esri/arcgis-rest-common

Added

  • Another new package to house both shared utility methods and typings for TypeScript users. This package will likely supercede @esri/arcgis-rest-common-types at v2.0.0

@esri/arcgis-rest-feature-service

Added

  • New getLayer() method to fetch metadata for a MapServer or FeatureServer layer.
  • New decodeValues() utility method which translates raw Coded Value Domain codes in a query response into their more legible descriptions. 717404f

@esri/arcgis-rest-request

Fixed

  • ensure a generic referer header is passed along in requests from Node.js applications.

Chores

  • refactored a circular dependency out. 9b58c63

@esri/arcgis-rest-auth

Fixed

  • ensure session.portal url is correct when cred.server contains sharing/rest.

@esri/arcgis-rest-common-types

Added

  • added numViews and size properties to IItem 1d38da1

Other Changes

Chores

  • prettier: updated prettier to better handle newer TS syntax, specifically optional tuple elem d2bb7ade

v1.13.2

02 Nov 22:55
Compare
Choose a tag to compare

@esri/arcgis-rest-geocoder

  • Bug Fixes
    • Fixes geocoder issue where it tries to assign a spatial reference to a null extent: implemented bfad9774 #376

@esri/arcgis-rest-groups

  • Bug Fixes
    • Ensure createGroup() succeeds when no input tags are passed

@esri/arcgis-rest-common-types

  • Bug Fixes
    • Clarify that access is a required property of IGroupAdd.

@esri/arcgis-rest-groups

  • Ensure createGroup() succeeds when no input tags are passed

v1.13.1

15 Oct 19:07
Compare
Choose a tag to compare

@esri/arcgis-rest-common-types

  • Added
    • a few new typings for layer definitions 8bdb30b

@esri/arcgis-rest-request

  • Changes
    • added utility method for passing through lots of custom request params that was previously housed in @esri/arcgis-rest-feature-service b2a6942

@esri/arcgis-rest-geocoder

  • Fixes
    • ensure all request options are passed through to geocode() ad28f27

@esri/arcgis-rest-feature-service-admin

  • Fixes
    • its now possible to update a service definition without pointing at an existing item id 462af65

@esri/arcgis-rest-demo-vanilla

  • Documentation
    • oauth2-browser: make demo directions for creating an application more specific d1acf0ad

Other Changes

  • Chores
    • ci: only build the master branch when a pull request is submitted 5a7c82c8
    • docs: add in missing types library from npm install notes 67788a56
    • docs: fix suggest docs 8cd94a02 🙏deeg🙏
    • docs: more suggest doc fixes 8abca8fa 🙏deeg🙏
    • add all our contributors to the repo package.json
    • make sure our tslint pre-commit hook only runs once.

v1.13.0

09 Oct 14:53
Compare
Choose a tag to compare

@esri/arcgis-rest-common-types

  • New Features
    • users: add user invitation functions 80aa6dc

@esri/arcgis-rest-users

  • New Features
    • users: add user invitation functions 80aa6dc

Other Changes

  • Documentation
    • bug: ensure sticky links are flagged as active in production dd7a5ac