Skip to content

Commit

Permalink
chore(release): 1.0.0-beta.1 [skip ci]
Browse files Browse the repository at this point in the history
# 1.0.0-beta.1 (2022-02-17)

### Bug Fixes

* minor edit in package.json ([9c59978](9c59978))
* switch to eslint, fix minor issues, disable other rules ([ab47412](ab47412))
* **:bathtub::** remove magicKey from suggest, surface it more prominently in geocode ([fb2ba9a](fb2ba9a)), closes [#459](#459)
* **:bug::** allow for group sharing of public items outside an organization ([e47a772](e47a772))
* **:bug::** dont set referer to null in browser apps ([0b1bf2b](0b1bf2b))
* **:bug::** ensure that custom headers arent misidentified as request parameters ([4ff33b1](4ff33b1)), closes [#290](#290)
* **🐛:** ensure createFeatureService doesnt swallow errors ([8173aa5](8173aa5))
* **add resource:** make resource an optional parameter ([1db78b7](1db78b7))
* **aggs counts should be array:** aggs counts should be array ([72b3bf7](72b3bf7))
* **arcgis-rest-auth:** enable oAuth from within an IFrame ([e6538d5](e6538d5)), closes [#711](#711)
* **arcgis-rest-auth:** export validateAppAccess ([6d1e2ef](6d1e2ef))
* **arcgis-rest-auth:** postMessage internals ([bd8eb6c](bd8eb6c))
* **arcgis-rest-feature-layer:** streamline promises ([ebb8380](ebb8380))
* **arcgis-rest-portal:** add fetchMock setup for intermittent failing tests ([5384984](5384984))
* **arcgis-rest-portal:** do not do any membership adjustments if the group is the user's favorites g ([6fc8ada](6fc8ada))
* **arcgis-rest-portal:** make \`layers\` parameter of \`IExportParameters\` optional ([0b584e6](0b584e6))
* **arcgis-rest-portal:** share as admin uses content/users/:ownername/items/:id/share end-point ([fd1a960](fd1a960))
* **arcgis-rest-portal:** use deleteRelationship not removeRelationship ([890e485](890e485)), closes [#739](#739)
* **arcgis-rest-portal:** wrong parameters for file upload APIs ([#761](#761)) ([cbfef7d](cbfef7d)), closes [#693](#693) [#694](#694) [#700](#700)
* **auth:** add additional authentication providers ([85f73b2](85f73b2))
* **bulk geocoding:** clean up code in bulk geocoding ([5e28028](5e28028)), closes [#630](#630)
* **common:** Fix location test xy ([27cab54](27cab54))
* **edit:** ensure IEditFeatureResult is exported ([2c65102](2c65102))
* **geocode:** ensure the magicKey property is passed through. ([#603](#603)) ([cc2c352](cc2c352)), closes [#601](#601)
* **ITable.id type:** change ITable.id type to number ([02c609a](02c609a)), closes [#808](#808)
* **lock:** make passing authentication mandatory to methods that update groups ([14bdf88](14bdf88))
* **lock:** pass through url and options for non-federated requests ([802006c](802006c))
* **null:** dont stringify values in item calls ([c0f48fc](c0f48fc))
* **portal:** searchGroupUsers will now respect joined and memberType parameters ([79b15b5](79b15b5))
* **portal:** setting item access to public shares correctly ([6a2b115](6a2b115))
* **removeItemResource:** support correct parameters ([#835](#835)) ([96798fe](96798fe))
* **routing:** Fix switched x and y ([cc22727](cc22727))
* **search:** add support for untyped, grouped search strings ([39fc213](39fc213)), closes [#544](#544)
* **search:** allow NOT as a standalone modifier ([36a6bca](36a6bca)), closes [#542](#542)
* **search:** sortOrder is a valid search param, searchDir is not ([9caeafd](9caeafd)), closes [#540](#540)
* **updateItemResources:** support item resource prefix ([98be7a7](98be7a7)), closes [#824](#824)
* **UserSession:** remove /sharing/rest from server url during postMessage auth ([04fcdbd](04fcdbd))
* **UserSession:** switch "duration" to "expiration" in IOAuth2Options ([#847](#847)) ([392f5bb](392f5bb)), closes [#843](#843)
* ensure platformSelf sends cookie ([29e33cb](29e33cb))
* export app-tokens ([0171204](0171204))
* export validateAppAccess function ([b087de2](b087de2))
* platformSelf to send cookies and append f=json in url ([ed81919](ed81919))
* update IPlatformSelfResponse to include expires_in ([dd3557b](dd3557b))
* **auth:** improve query and error handling when completing sign in ([4b3905c](4b3905c))
* **getItemResources:** allow user to override paging ([97cbec0](97cbec0))
* **getItemResources:** do not mutate requestOptions in getItemResources ([cac63e8](cac63e8))
* **queryFeatures:** pass along f, geometry, geometryType, and spatialRel params ([f4b775d](f4b775d)), closes [#588](#588)
* **search:** ensure no space is inserted between search fields and terms ([ff90f51](ff90f51)), closes [#545](#545)
* **searchGroupUsers func:** searchOptions is now an optional parameter ([d54bddb](d54bddb)), closes [#615](#615)
* **server root url:** improve discovery of services endpoint root url ([b2eed90](b2eed90)), closes [#581](#581)
* **sharing:** correct the item sharing logic to reflect what the api actually allows ([48b67e5](48b67e5))
* **sharing:** only item owner, group owner or group admin can unshare ([d264137](d264137))
* **try:** try an anonymous request before throwing an auth error ([9209035](9209035))
* **umd:** use typescript2 to ensure type declarations are ignored in umds ([#550](#550)) ([1a527a3](1a527a3))
* **UserSession:** will now update expired tokens on non-federated servers ([af121c1](af121c1))
* catch err internally when getItemData doesnt find any ([#505](#505)) ([914a5be](914a5be)), closes [#504](#504)
* default to GET when fetching attachments ([b6d746c](b6d746c))
* ensure no space is inserted between search fields and terms ([#552](#552)) ([391e3f8](391e3f8))
* **umd:** use typescript2 to ensure type declarations are ignored in umds ([3b41f3d](3b41f3d)), closes [#549](#549)
* ensure failure to generate a token results in an auth err ([bd03b19](bd03b19)), closes [#476](#476)
* ensure JSON and binary data are both handled consistently ([9f85087](9f85087))
* force FormData when calling /updateResources ([24af241](24af241)), closes [#499](#499)
* let request do the serializing ([c2d2671](c2d2671))
* **:2nd_place_medal::** added numViews and size properties to IItem ([1d38da1](1d38da1)), closes [#378](#378)
* **:basecamp::** ensure decodeValues() isnt derailled by attributes not present in metadata ([e9b4581](e9b4581))
* **:bathtub::** add utility method to trim whitespace and trailing slashes from input urls ([8f86578](8f86578))
* **:bathtub::** ensure add/update/deleteFeatures dont pass extraneous parameters ([8566860](8566860))
* **:bug::** ensure fix session.portal url when cred.server contains sharing/rest ([815de49](815de49))
* **:bug::** ensure getGeocodeService() is exported ([71801c2](71801c2)), closes [#267](#267)
* **:bug::** ensure that the same referer is set in Node.js applications that is passed along in toke ([afaa564](afaa564))
* **:bug::** improve error message when no FormData or Promise can be found ([89ff196](89ff196)), closes [#322](#322)
* **:bug::** support use in Node.js with custom fetch (and no global) ([90f9e75](90f9e75)), closes [#203](#203)
* **:bug::** tags arent required to create a group ([72ffd35](72ffd35))
* **:bug::** treat ArcGIS Online orgs as equivalent to arcgis.com when testing a portal ([18c3a7f](18c3a7f)), closes [#233](#233)
* **:closed_lock_with_key::** expose option to customize expiration of ApplicationSession tokens ([5af14d7](5af14d7)), closes [#314](#314)
* **:couple::** make it possible to update a service using a layer definition ([462af65](462af65))
* **:grey_question::** make item.protected optional, since search doesnt return it ([7aa8123](7aa8123))
* **:mag::** allow node.js clients to access streams ([95a35ce](95a35ce)), closes [#373](#373)
* **:moyai::** ensure first class citizen geocode request options are passed through ([ad28f27](ad28f27))
* **:musical_keyboard::** more types for new services/layer definitions ([8bdb30b](8bdb30b))
* **arcgis-rest-auth:** ensure that mixed casing of federated server urls does not break the system ([07c92f5](07c92f5))
* **ArcGISRequestError:** replace null or empty messages and codes with UNKNOWN_ERROR and UNKNOWN_ERR ([bcea1da](bcea1da))
* **auth:** allow trailing slash in portal URL ([b76da90](b76da90))
* **auth:** better regex match for usernames ([d38a7fb](d38a7fb))
* **auth:** decode username when parsing response from OAuth ([e0c2a44](e0c2a44)), closes [#165](#165)
* **auth:** use www.arcgis.com consistently ([a7dc28d](a7dc28d)), closes [#223](#223)
* **build:** set other @esri/arcgis-rest-js-* pacakges as external ([2f77c9f](2f77c9f)), closes [#128](#128)
* **check-for-errors:** throw an error for a response with a \`failure\` status ([9ee1c0c](9ee1c0c))
* **common-types:** ensure typings are distributed in common-types npm package ([bec3fbf](bec3fbf)), closes [#151](#151)
* **createItem:** owner > item.owner > authentication.username ([76680a1](76680a1))
* **enterprise:** fetch fresh token manually when u/pw are provided ([299f3c0](299f3c0)), closes [#161](#161)
* **fetch:** set credentials: 'same-origin' in fetch options to support sending IWA cookies ([a4d0115](a4d0115))
* **Fixes geocoder issue where it tries to assign a spatial reference to a null extent:** implemented ([bfad977](bfad977)), closes [#376](#376)
* get slack notifications working again ([85fd55c](85fd55c))
* **crud:** enforce more AGOL rules in item crud operations ([3f365d9](3f365d9)), closes [#246](#246)
* **encodeFormData:** append file name based on object type instead of key and name properties ([401c6dd](401c6dd))
* **geocode:** max sure user supplied request options are all passed through ([3ffa710](3ffa710))
* **geocoding-demo:** change placeholders to values ([cfc7f7a](cfc7f7a))
* **getPortalUrl:** make getPortalUrl use portal in request options if passed in ([6103101](6103101)), closes [#180](#180)
* **IItem:** make all IItem properties optional ([8df9278](8df9278)), closes [#171](#171)
* **item:** use fileName parameter to name Blobs when present ([9f5c093](9f5c093))
* **items:** dont override user supplied parameters when updating items ([eaa1656](eaa1656)), closes [#117](#117)
* **itemSearch:** max sure user supplied request options are all passed through ([afb9e38](afb9e38)), closes [#183](#183)
* **oauth:** check for window parent correctly in ouath without popup ([a27bb7d](a27bb7d))
* **oAuth:** fix oAuth2 methods in IE 11 and Edge ([462f980](462f980))
* **oauth-demo:** remove ES2015 buts from oAuth Demo for IE 11 ([22ec948](22ec948))
* **OAuth2 options:** added locale and state parameters for browser based OAuth2 ([b05996e](b05996e))
* **params:** flip param values in updateItemResource so they are passed correctly ([5093e39](5093e39)), closes [#118](#118)
* **portal:** fetch tokens for rest admin requests to services federated with ArcGIS Enterprise too ([79dda00](79dda00)), closes [#329](#329)
* **query features:** add count and extent to IQueryFeaturesResponse ([2ab9f33](2ab9f33))
* **release:** resolve issues from accidental 1.0.1 release. ([ddd3d6c](ddd3d6c))
* **release-automation:** checkout a temporary branch for release to not polute the main branch ([75a9dec](75a9dec))
* **release-automation:** fix issues found in #80. ([3b42fe9](3b42fe9))
* **release-automation:** fix issues uncovered by 1st release ([a73b76f](a73b76f))
* **release-automation:** fix release automation to prep for a 1.0.2 relase ([9dfd957](9dfd957))
* **release-automation:** run git fetch --all in release:prepare to make sure all changes are fetch f ([bb7d9e8](bb7d9e8))
* **request:** allow options.fetch without global fetch ([99cf01c](99cf01c)), closes [#108](#108)
* **request:** ensure falsy request parameters are passed through ([3c69a10](3c69a10)), closes [#142](#142)
* **request:** ensure request is passed through as a request parameter ([77ad553](77ad553)), closes [#142](#142)
* **request:** fix binding of default global fetch ([6d04ded](6d04ded))
* **search:** ensure searchItems can mixin arbitrary parameters with a searchform ([a26b935](a26b935))
* **sharing:** ensure internal sharing metadata calls pass through custom request options ([e70a10d](e70a10d)), closes [#276](#276)
* **sharing:** rework group membership checking, fix UserSession.getUser scope issue ([909a37e](909a37e))
* **umd:** strip outdated umd files from npm packages ([2e1764d](2e1764d)), closes [#198](#198)
* **users:** users defaults to https://www.arcgis.com instead of http:// ([7e3d9f6](7e3d9f6))
* **UserSession:** throw ArcGISAuthError instead of Error when unable to refresh a token ([8854765](8854765)), closes [#56](#56)

### Code Refactoring

* **feature responses:** removes unneccessay feature layer response interfaces ([1948010](1948010))
* **feature-layer:** rename *Params -> *Options ([4adff11](4adff11))
* **getLayer():** brings getLayer() signature inline w/ the rest of esri-arcgis-feature-service ([f59fa90](f59fa90))
* **interface names:** removes "Request" from interface names in routing and service-admin ([5702526](5702526))
* **interfaces:** removes "Request" from option interface names ([8bce221](8bce221))
* **portal interfaces:** renames portal request/response interfaces to match their functions ([faa5b3d](faa5b3d))
* change casing of IOauth2Options to IOAuth2Options ([9ffd227](9ffd227))
* deprecate common-types package (in favor of common) ([6ab2e75](6ab2e75))
* deprecate feature-service-admin package (and bundle code in feature-service) ([f5a17b1](f5a17b1))
* remove IGeocodeParams ([b874132](b874132))
* remove IItemResourceAddRequestOptions ([ded66d3](ded66d3))
* remove serializeGroup method ([9a63219](9a63219))
* remove serviceInfo() from geocoder package ([e4e1a2d](e4e1a2d))
* remove the word Request from custom geocoding RequestOptions interfaces ([f8c6255](f8c6255))
* rename esriGeometryType interface GeometryType ([1057850](1057850))
* replace items, groups, sharing and user packages with single portal package ([64a3fd9](64a3fd9))
* stop reexporting appendCustomParams from feature-service package ([c0852cb](c0852cb))
* the signature of getItemResources is now consistent with the other getItem methods ([c6148bf](c6148bf))

### Features

* add commitlint config and release scripts ([1bb1a8f](1bb1a8f))
* **:snowman::** add basic support for accessing secure non-federated services ([fc2f06b](fc2f06b)), closes [#174](#174)
* **:two_men_holding_hands::** add getRelatedItems function to items package ([4e67637](4e67637)), closes [#282](#282)
* **:two_women_holding_hands::** add addItemRelationship and removeItemRelationship methods ([228f3d7](228f3d7)), closes [#282](#282)
* **add applyEdits function:** adds \`applyEdits()\` to feature-layer for bulk crud transactions. ([ec36841](ec36841))
* **arcgis-rest-auth:** add postMessage auth support ([a6b8a17](a6b8a17))
* **search:** allows use of the newly added but undocumented searchUserAccess and searchUserName par ([279ef9e](279ef9e))
* service name and service info fns ([bb5f90d](bb5f90d))
* **arcgis-rest-auth:** add validateAppAccess function and UserSession method ([2478ea5](2478ea5))
* **arcgis-rest-auth:** reduce postMessageAuth query params ([154515f](154515f))
* **arcgis-rest-portal:** add getPortalSettings function ([e956dc5](e956dc5))
* **arcgis-rest-portal:** add searchUsers function ([235766c](235766c))
* **arcgis-rest-types:** add editingInfo to ILayerDefinition ([e5467f0](e5467f0))
* **getItemBaseUrl:** add function to get the base REST API URL for an item ([d6ec9fc](d6ec9fc))
* **getItemInfo:** add a function to fetch an info file for an item ([a9dd7d6](a9dd7d6)), closes [#738](#738)
* **getItemMetadata:** add a function to fetch the metadata XML for an item ([c263e1b](c263e1b))
* **getJsonResource and scrubControlChars:** add getJsonResource and scrubControlChars ([6bb9215](6bb9215))
* **group:** refactor searchGroups to make use of SearchQueryBuilder ([72f2898](72f2898)), closes [#104](#104)
* **join:** new joinGroup and leaveGroup methods ([fa604de](fa604de))
* **portal:** a new function to add members to a given group ([998d3a7](998d3a7)), closes [#584](#584)
* **portal:** add reassignItem ([1756cc4](1756cc4))
* **portal:** add the function to get user tags ([#614](#614)) ([d49159f](d49159f))
* **portal:** add updateGroupMembership, isItemSharedWithGroup ([14848db](14848db))
* **portal:** searchGroupUsers searches the users in the given group ([d9151a1](d9151a1))
* **routing:** Support elevation in routing ([6b2a77c](6b2a77c))
* **service-admin:** add updateServiceDefinition method ([63c2bc0](63c2bc0))
* **UserSession:** added optional 'popupWindowFeatures' to 'IOAuth2Options' ([f96a581](f96a581))
* add resourcesPrefix parameter to addItemResource ([c368232](c368232))
* **util:** add getUserUrl method to auth package ([d742b34](d742b34))
* add support for streaming request response ([893e647](893e647))
* Support 3d point/location ([6673102](6673102))
* **request:** adds option to return the raw fetch response ([6fb7c79](6fb7c79)), closes [#462](#462)
* add demo for streaming response to file ([5c8ae22](5c8ae22))
* add getItemGroups() function to items package ([#445](#445)) ([c0cd950](c0cd950))
* **:angola::** start with utility function to format cvd codes ([717404f](717404f))
* **:bowtie::** add new method to update a user profile ([33ce92d](33ce92d))
* **:clipboard::** add support for private item resources ([b120e9f](b120e9f))
* **:file_folder::** new generic common package for utility methods AND types ([0bd3ea7](0bd3ea7))
* **:hammer::** new package to create and admin feature services ([cfdcee9](cfdcee9))
* **:nail_care::** add modern feature service metadata props to ILayerDefinition ([7c89396](7c89396))
* **:paperclip::** add support for interacting with feature service attachments ([8d25490](8d25490)), closes [#226](#226)
* **:unlock::** add support for an OAuth flow that triggers social media login automatically ([2e582e1](2e582e1)), closes [#239](#239)
* **all packages:** start shipping an unminified UMD for each package ([52043f5](52043f5)), closes [#135](#135)
* **ApplicationSession:** only allow 1 pending request for a new token at a time ([4e6f9e2](4e6f9e2))
* **arcgis-rest-js:** add a "headers" option to IRequestOptions and pass on the headers to the reque ([266b85a](266b85a))
* by default fetch metadata and make query response readable ([3c96fce](3c96fce)), closes [#375](#375)
* **auth:** add getCredential() method to UserSession for jsapi ([c03430d](c03430d)), closes [#208](#208)
* **auth:** add reflexive method to instantiate UserSession from jsapi auth ([ea64da9](ea64da9)), closes [#208](#208)
* **caring:** methods to un/share items with groups ([8572bb0](8572bb0))
* **caring:** new sharing package with method to set access on items ([a212d59](a212d59)), closes [#43](#43)
* **common-types:** add more common types, keep the 'I' in front of interfaces ([d91dd0e](d91dd0e))
* **common-types:** Added webmap interfaces and types ([e52f115](e52f115))
* **feature-service:** add feature service CRUD methods ([5cb8fbc](5cb8fbc)), closes [#176](#176)
* **groups:** add createGroupNotification ([4baab64](4baab64))
* **lots more common-types:** adding a lot more common data types ([73ce0b8](73ce0b8))
* **new users package:** added rest-users with a single method ([a24ed0b](a24ed0b)), closes [#159](#159)
* **request:** allow passing custom fetch function ([920d1ff](920d1ff))
* **resources:** new method to add a new resource to an item ([9c63075](9c63075)), closes [#281](#281)
* **ResponseFormats:** add support for f=geojson for Feature Layers ([79bc776](79bc776)), closes [#20](#20)
* **users:** add getUserNotifications function ([9fbc5e2](9fbc5e2))
* **users:** add user invitation functions ([80aa6dc](80aa6dc))
* **users:** adds removeNotification function ([b4a55d0](b4a55d0))
* support for adding blobs as item/data ([0cfd275](0cfd275))
* **UserSession:** multiple requests to getToken for similar URLs now return the same Promise ([751e5f1](751e5f1))
* **UserSession:** rename refreshTokenDuration to refreshTokenTTL ([a6406d4](a6406d4))

### Reverts

* Revert "aggs counts should be an array" ([55a1e27](55a1e27))

### BREAKING CHANGES

* deprecated addItemJsonData
* **portal interfaces:** removes "Request" from portal option interfaces & renames response interfaces
* **interface names:** removed "Request" from interface names in routing and service-admin
* **interfaces:** Options interfaces in @esri/arcgis-rest-feature-layer have been renamed
* IGeocodeRequesttOptions is now IGeocodeOptions, IBulkGeocodingRequestOptions is now
IBulkGeocodeOptions
* **feature responses:** removes IAddFeaturesResult, IAddAttachmentResponse, IDeleteFeaturesResult,
IDeleteAttachmentsResponse, IGetAttachmentsResponse, IUpdateFeaturesResult, &
IUpdateAttachmentResponse
* **feature-layer:** renamed IEditFeaturesParams to ISharedEditOptions & ISharedQueryParams to ISharedQueryOptions;
removed IDeleteFeaturesParams
* **getLayer():** changed signature of getLayer() fn to always expect an options hash
* **group:** searchGroups signature change
* replace items, groups, sharing and user packages with single portal package
* deprecate feature-service-admin package (and bundle code in feature-service)
* deprecate common-types package (in favor of common)
* IItemResourceAddRequestOptions has been removed
* the signature of getItemResources is now consistent with the other getItem methods
* rename esriGeometryType interface GeometryType
* remove serializeGroup helper method from groups package
* change casing of IOauth2Options to IOAuth2Options
* appendCustomParams is no longer exported by feature-service package
* remove IGeocodeParams from geocoder package
* remove serviceInfo() from geocoder package
* **routing:** Switch x and y in point for solveRoute
* **lots more common-types:** no longer prefacing interface names with an I
  • Loading branch information
semantic-release-bot committed Feb 17, 2022
1 parent 47b5a94 commit 9924142
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 2 deletions.
80 changes: 80 additions & 0 deletions packages/arcgis-rest-auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# @esri/arcgis-rest-auth 1.0.0-beta.1 (2022-02-17)


### Bug Fixes

* switch to eslint, fix minor issues, disable other rules ([ab47412](https://github.com/Esri/arcgis-rest-js/commit/ab474123d3a056dcd52a8898f39f287893626f35))
* **arcgis-rest-auth:** export validateAppAccess ([6d1e2ef](https://github.com/Esri/arcgis-rest-js/commit/6d1e2ef012ca25464e6219b5d909a30e5f1cecee))
* **arcgis-rest-auth:** postMessage internals ([bd8eb6c](https://github.com/Esri/arcgis-rest-js/commit/bd8eb6c0363483209645c5cc7cf19ad1a8114cc6))
* **UserSession:** remove /sharing/rest from server url during postMessage auth ([04fcdbd](https://github.com/Esri/arcgis-rest-js/commit/04fcdbd5307c79e55610a1bb7e049e3e18f0f0cc))
* **UserSession:** switch "duration" to "expiration" in IOAuth2Options ([#847](https://github.com/Esri/arcgis-rest-js/issues/847)) ([392f5bb](https://github.com/Esri/arcgis-rest-js/commit/392f5bb74b2461e7bd34dd16e784fce415d554ec)), closes [#843](https://github.com/Esri/arcgis-rest-js/issues/843)
* ensure platformSelf sends cookie ([29e33cb](https://github.com/Esri/arcgis-rest-js/commit/29e33cb9b9d0a2e25e412106adb06ff054bd5737))
* export app-tokens ([0171204](https://github.com/Esri/arcgis-rest-js/commit/017120498b32c9322689ad539b216ce8e5c96a3a))
* export validateAppAccess function ([b087de2](https://github.com/Esri/arcgis-rest-js/commit/b087de24ae6d8f41a2bb13c3c25a33943f0db2d8))
* platformSelf to send cookies and append f=json in url ([ed81919](https://github.com/Esri/arcgis-rest-js/commit/ed819194da74075172ff26139f2db4491d79ed12))
* update IPlatformSelfResponse to include expires_in ([dd3557b](https://github.com/Esri/arcgis-rest-js/commit/dd3557b19514a33150db2f15138422bb219681e7))
* **:bug::** ensure fix session.portal url when cred.server contains sharing/rest ([815de49](https://github.com/Esri/arcgis-rest-js/commit/815de49549b35aa9d255de6b05c2beb2d153f37f))
* **:bug::** ensure that the same referer is set in Node.js applications that is passed along in toke ([afaa564](https://github.com/Esri/arcgis-rest-js/commit/afaa5646bffbeec462a733d9b6e021d6499c0be7))
* **:bug::** treat ArcGIS Online orgs as equivalent to arcgis.com when testing a portal ([18c3a7f](https://github.com/Esri/arcgis-rest-js/commit/18c3a7fcc774bad8e2cc9eef15444b62c1ed0dd1)), closes [#233](https://github.com/Esri/arcgis-rest-js/issues/233)
* **:closed_lock_with_key::** expose option to customize expiration of ApplicationSession tokens ([5af14d7](https://github.com/Esri/arcgis-rest-js/commit/5af14d7b10ccee179f7b2da82f4f1478352a8b67)), closes [#314](https://github.com/Esri/arcgis-rest-js/issues/314)
* **arcgis-rest-auth:** enable oAuth from within an IFrame ([e6538d5](https://github.com/Esri/arcgis-rest-js/commit/e6538d5d38c9b2d0f31c6392d257f0d9263170bd)), closes [#711](https://github.com/Esri/arcgis-rest-js/issues/711)
* **arcgis-rest-auth:** ensure that mixed casing of federated server urls does not break the system ([07c92f5](https://github.com/Esri/arcgis-rest-js/commit/07c92f559cc0288fa379d19464f88642c6fe2803))
* **auth:** add additional authentication providers ([85f73b2](https://github.com/Esri/arcgis-rest-js/commit/85f73b22c17a3a3ae72b559a63df2aef8297828c))
* **auth:** allow trailing slash in portal URL ([b76da90](https://github.com/Esri/arcgis-rest-js/commit/b76da902d67d4ac3635ac18eb780e7c68d7617f7))
* **auth:** better regex match for usernames ([d38a7fb](https://github.com/Esri/arcgis-rest-js/commit/d38a7fb0e1bff3c49a135bc10be74893ec60a1e9))
* **auth:** decode username when parsing response from OAuth ([e0c2a44](https://github.com/Esri/arcgis-rest-js/commit/e0c2a44bd5032ce9b45b0f8511e9cc256056872c)), closes [#165](https://github.com/Esri/arcgis-rest-js/issues/165)
* **auth:** improve query and error handling when completing sign in ([4b3905c](https://github.com/Esri/arcgis-rest-js/commit/4b3905ca6517443c9237a44c0fc3249e579db8f5))
* **auth:** use www.arcgis.com consistently ([a7dc28d](https://github.com/Esri/arcgis-rest-js/commit/a7dc28d9fe860f380ed57137bcafe73ab0bb5e9d)), closes [#223](https://github.com/Esri/arcgis-rest-js/issues/223)
* **enterprise:** fetch fresh token manually when u/pw are provided ([299f3c0](https://github.com/Esri/arcgis-rest-js/commit/299f3c0da043b74113310cba9a3e9a0f77afa921)), closes [#161](https://github.com/Esri/arcgis-rest-js/issues/161)
* **lock:** pass through url and options for non-federated requests ([802006c](https://github.com/Esri/arcgis-rest-js/commit/802006cdc68e69851e80c499a236ba4c8fa1cb6f))
* **oauth:** check for window parent correctly in ouath without popup ([a27bb7d](https://github.com/Esri/arcgis-rest-js/commit/a27bb7da5fa5de7ddfbc2d676b707bfa1780ecbf))
* **oAuth:** fix oAuth2 methods in IE 11 and Edge ([462f980](https://github.com/Esri/arcgis-rest-js/commit/462f980082f9eeb8c55b5aa6c5981422ae40105f))
* **OAuth2 options:** added locale and state parameters for browser based OAuth2 ([b05996e](https://github.com/Esri/arcgis-rest-js/commit/b05996e83b1836f9a27337939a9a681d41207504))
* **portal:** fetch tokens for rest admin requests to services federated with ArcGIS Enterprise too ([79dda00](https://github.com/Esri/arcgis-rest-js/commit/79dda000e9cc3d8cf270ab3ace65d70d20d5ac57)), closes [#329](https://github.com/Esri/arcgis-rest-js/issues/329)
* **release:** resolve issues from accidental 1.0.1 release. ([ddd3d6c](https://github.com/Esri/arcgis-rest-js/commit/ddd3d6cab0fb0d789da866cea07244b7a170d9fd))
* **release-automation:** fix issues found in https://github.com/Esri/arcgis-rest-js/pull/80. ([3b42fe9](https://github.com/Esri/arcgis-rest-js/commit/3b42fe9969cc2f6a21428692c72ada8ffffb59a6))
* **release-automation:** fix issues uncovered by 1st release ([a73b76f](https://github.com/Esri/arcgis-rest-js/commit/a73b76f58843d538d8b29b1ae60a72a9f57ac5ec))
* **sharing:** ensure internal sharing metadata calls pass through custom request options ([e70a10d](https://github.com/Esri/arcgis-rest-js/commit/e70a10d5bbd6ac4fecf61f9f635b01cf9c8c5034)), closes [#276](https://github.com/Esri/arcgis-rest-js/issues/276)
* **sharing:** rework group membership checking, fix UserSession.getUser scope issue ([909a37e](https://github.com/Esri/arcgis-rest-js/commit/909a37ec2f928ad223c674ae0d4033e24761ae9a))
* **try:** try an anonymous request before throwing an auth error ([9209035](https://github.com/Esri/arcgis-rest-js/commit/9209035072b54bf68425ee9737e2a15010ac1b33))
* **UserSession:** throw ArcGISAuthError instead of Error when unable to refresh a token ([8854765](https://github.com/Esri/arcgis-rest-js/commit/88547656ce88786e2dcac8e8e0e78045b67e8e16)), closes [#56](https://github.com/Esri/arcgis-rest-js/issues/56)
* **UserSession:** will now update expired tokens on non-federated servers ([af121c1](https://github.com/Esri/arcgis-rest-js/commit/af121c1de1c96027a2ca107ed46a7877b61c5a4f))


### Code Refactoring

* change casing of IOauth2Options to IOAuth2Options ([9ffd227](https://github.com/Esri/arcgis-rest-js/commit/9ffd2277055864d5257cb7a6c9913c70079e7da5))
* deprecate common-types package (in favor of common) ([6ab2e75](https://github.com/Esri/arcgis-rest-js/commit/6ab2e75a3b57ce77391da7f2a16ab57a3e781000))


### Features

* **:snowman::** add basic support for accessing secure non-federated services ([fc2f06b](https://github.com/Esri/arcgis-rest-js/commit/fc2f06b74a40261ae9b6bb959048d353be02153b)), closes [#174](https://github.com/Esri/arcgis-rest-js/issues/174)
* **:unlock::** add support for an OAuth flow that triggers social media login automatically ([2e582e1](https://github.com/Esri/arcgis-rest-js/commit/2e582e12fc3e5bf9688b3ba80da33e4a5a5fa84f)), closes [#239](https://github.com/Esri/arcgis-rest-js/issues/239)
* **all packages:** start shipping an unminified UMD for each package ([52043f5](https://github.com/Esri/arcgis-rest-js/commit/52043f5b702aca699f62abf8054582286e258ba5)), closes [#135](https://github.com/Esri/arcgis-rest-js/issues/135)
* **ApplicationSession:** only allow 1 pending request for a new token at a time ([4e6f9e2](https://github.com/Esri/arcgis-rest-js/commit/4e6f9e27d561566449ef2338b078f44d0e3b65b5))
* **arcgis-rest-auth:** add postMessage auth support ([a6b8a17](https://github.com/Esri/arcgis-rest-js/commit/a6b8a17a265339725a8c5dfd90e408f28a035787))
* **arcgis-rest-auth:** add validateAppAccess function and UserSession method ([2478ea5](https://github.com/Esri/arcgis-rest-js/commit/2478ea56d43302d3f7fab6ffd38a9d2c609bb510))
* **arcgis-rest-auth:** reduce postMessageAuth query params ([154515f](https://github.com/Esri/arcgis-rest-js/commit/154515f66a4eedb9ee83dd8528549db55e268871))
* **auth:** add getCredential() method to UserSession for jsapi ([c03430d](https://github.com/Esri/arcgis-rest-js/commit/c03430d4d5b93d983c9cab39117a5623113425e8)), closes [#208](https://github.com/Esri/arcgis-rest-js/issues/208)
* **auth:** add reflexive method to instantiate UserSession from jsapi auth ([ea64da9](https://github.com/Esri/arcgis-rest-js/commit/ea64da92c74c3a9b6671e66872070372db46cd72)), closes [#208](https://github.com/Esri/arcgis-rest-js/issues/208)
* **caring:** methods to un/share items with groups ([8572bb0](https://github.com/Esri/arcgis-rest-js/commit/8572bb0ab0222e4f0eedbe9cfd4ff00c160f0c77))
* **request:** adds option to return the raw fetch response ([6fb7c79](https://github.com/Esri/arcgis-rest-js/commit/6fb7c792f4aab585a06bb1178b41a8687eabc419)), closes [#462](https://github.com/Esri/arcgis-rest-js/issues/462)
* **UserSession:** added optional 'popupWindowFeatures' to 'IOAuth2Options' ([f96a581](https://github.com/Esri/arcgis-rest-js/commit/f96a581033513c9a546998bc37254a46e364f153))
* **UserSession:** multiple requests to getToken for similar URLs now return the same Promise ([751e5f1](https://github.com/Esri/arcgis-rest-js/commit/751e5f19d2e6fac184a0a17cc216c54cc5c1e9f2))
* **UserSession:** rename refreshTokenDuration to refreshTokenTTL ([a6406d4](https://github.com/Esri/arcgis-rest-js/commit/a6406d4d10308b266fd7ddcc6168f32419f206aa))
* **util:** add getUserUrl method to auth package ([d742b34](https://github.com/Esri/arcgis-rest-js/commit/d742b343130a8a0d5baaf9391ac48f5c5c334c6d))


### BREAKING CHANGES

* deprecate common-types package (in favor of common)
* change casing of IOauth2Options to IOAuth2Options





### Dependencies

* **@esri/arcgis-rest-request:** upgraded to 1.0.0-beta.1
4 changes: 2 additions & 2 deletions packages/arcgis-rest-auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@esri/arcgis-rest-auth",
"version": "3.3.0",
"version": "1.0.0-beta.1",
"description": "Authentication helpers for @esri/arcgis-rest-js.",
"license": "Apache-2.0",
"keywords": [
Expand Down Expand Up @@ -39,7 +39,7 @@
"node": ">=12.20.0"
},
"dependencies": {
"@esri/arcgis-rest-request": "^3.3.0",
"@esri/arcgis-rest-request": "1.0.0-beta.1",
"tslib": "^2.3.0"
},
"contributors": [
Expand Down

0 comments on commit 9924142

Please sign in to comment.