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 edfa01a commit dae3838
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 3 deletions.
73 changes: 73 additions & 0 deletions packages/arcgis-rest-portal/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# @esri/arcgis-rest-portal 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))
* **aggs counts should be array:** aggs counts should be array ([72b3bf7](https://github.com/Esri/arcgis-rest-js/commit/72b3bf74a33d16d89b357556a80eb32d5e70b25b))
* **arcgis-rest-portal:** add fetchMock setup for intermittent failing tests ([5384984](https://github.com/Esri/arcgis-rest-js/commit/53849842f8a0c6192faa36f5634c171721a45903))
* **arcgis-rest-portal:** do not do any membership adjustments if the group is the user's favorites g ([6fc8ada](https://github.com/Esri/arcgis-rest-js/commit/6fc8ada666e2ac6388418d3416db13a40c299757))
* **arcgis-rest-portal:** make \`layers\` parameter of \`IExportParameters\` optional ([0b584e6](https://github.com/Esri/arcgis-rest-js/commit/0b584e66396a9559248e597ec44b256f95fc58e7))
* **arcgis-rest-portal:** share as admin uses content/users/:ownername/items/:id/share end-point ([fd1a960](https://github.com/Esri/arcgis-rest-js/commit/fd1a960cab22e3c1810dc4760a007d409b7f59f1))
* **arcgis-rest-portal:** use deleteRelationship not removeRelationship ([890e485](https://github.com/Esri/arcgis-rest-js/commit/890e4859dc45ce1588b5ba3573c881c227267bf9)), closes [#739](https://github.com/Esri/arcgis-rest-js/issues/739)
* **arcgis-rest-portal:** wrong parameters for file upload APIs ([#761](https://github.com/Esri/arcgis-rest-js/issues/761)) ([cbfef7d](https://github.com/Esri/arcgis-rest-js/commit/cbfef7d6bd669d323dab5299966217a956fc5cfb)), closes [#693](https://github.com/Esri/arcgis-rest-js/issues/693) [#694](https://github.com/Esri/arcgis-rest-js/issues/694) [#700](https://github.com/Esri/arcgis-rest-js/issues/700)
* **getItemResources:** allow user to override paging ([97cbec0](https://github.com/Esri/arcgis-rest-js/commit/97cbec0b918e0ec914beb60abdb36d1265ce5645))
* **getItemResources:** do not mutate requestOptions in getItemResources ([cac63e8](https://github.com/Esri/arcgis-rest-js/commit/cac63e8090b81a6fe2258529060bc6f3f0611fb0))
* **portal:** searchGroupUsers will now respect joined and memberType parameters ([79b15b5](https://github.com/Esri/arcgis-rest-js/commit/79b15b5a00ec3efed2193d3d16f61417bfcc933d))
* **portal:** setting item access to public shares correctly ([6a2b115](https://github.com/Esri/arcgis-rest-js/commit/6a2b11593643a1c760052d844e6346c4f7345149))
* **removeItemResource:** support correct parameters ([#835](https://github.com/Esri/arcgis-rest-js/issues/835)) ([96798fe](https://github.com/Esri/arcgis-rest-js/commit/96798fe01a890514eacd268ef8e2f429fda1be4a))
* **search:** add support for untyped, grouped search strings ([39fc213](https://github.com/Esri/arcgis-rest-js/commit/39fc21379a3e78a27636d62cf46d86e23ad666a0)), closes [#544](https://github.com/Esri/arcgis-rest-js/issues/544)
* **search:** allow NOT as a standalone modifier ([36a6bca](https://github.com/Esri/arcgis-rest-js/commit/36a6bca771dd4282af71dcf454828f58047b525b)), closes [#542](https://github.com/Esri/arcgis-rest-js/issues/542)
* **search:** ensure no space is inserted between search fields and terms ([ff90f51](https://github.com/Esri/arcgis-rest-js/commit/ff90f5132b0cfa7bf9f083ee54996dda5412be4e)), closes [#545](https://github.com/Esri/arcgis-rest-js/issues/545)
* **search:** sortOrder is a valid search param, searchDir is not ([9caeafd](https://github.com/Esri/arcgis-rest-js/commit/9caeafdea4568252b792606dcd485486c4e1f5c8)), closes [#540](https://github.com/Esri/arcgis-rest-js/issues/540)
* **searchGroupUsers func:** searchOptions is now an optional parameter ([d54bddb](https://github.com/Esri/arcgis-rest-js/commit/d54bddb69f003109aac7a3b27be420b465e4f59f)), closes [#615](https://github.com/Esri/arcgis-rest-js/issues/615)
* **sharing:** correct the item sharing logic to reflect what the api actually allows ([48b67e5](https://github.com/Esri/arcgis-rest-js/commit/48b67e542ed41dda798ebfd51321d51729af2b5b))
* **sharing:** only item owner, group owner or group admin can unshare ([d264137](https://github.com/Esri/arcgis-rest-js/commit/d264137cbc51955320c48bad0bd868116832de79))
* **updateItemResources:** support item resource prefix ([98be7a7](https://github.com/Esri/arcgis-rest-js/commit/98be7a74b8362cb20170c3f62d4a61c842a1f8d5)), closes [#824](https://github.com/Esri/arcgis-rest-js/issues/824)
* ensure JSON and binary data are both handled consistently ([9f85087](https://github.com/Esri/arcgis-rest-js/commit/9f8508720cf17e94d26a9516a02e761931408043))


### Code Refactoring

* **portal interfaces:** renames portal request/response interfaces to match their functions ([faa5b3d](https://github.com/Esri/arcgis-rest-js/commit/faa5b3dd5b51800db4931735f05a367c8fcd42e2))
* replace items, groups, sharing and user packages with single portal package ([64a3fd9](https://github.com/Esri/arcgis-rest-js/commit/64a3fd9a8a6824d388acb773ca0ffe8900e476f8))


### Features

* **search:** allows use of the newly added but undocumented searchUserAccess and searchUserName par ([279ef9e](https://github.com/Esri/arcgis-rest-js/commit/279ef9e2dbee9ada0bb2d319aec027c85886cd0e))
* service name and service info fns ([bb5f90d](https://github.com/Esri/arcgis-rest-js/commit/bb5f90d3fd0cbe594a687fa4ddcb59863756a8ce))
* **arcgis-rest-portal:** add getPortalSettings function ([e956dc5](https://github.com/Esri/arcgis-rest-js/commit/e956dc56e2fb925478767d989e4cf42cb8ac1a1c))
* **arcgis-rest-portal:** add searchUsers function ([235766c](https://github.com/Esri/arcgis-rest-js/commit/235766c7eb7a55276f89e107cee8c4b4f8b64a84))
* **getItemBaseUrl:** add function to get the base REST API URL for an item ([d6ec9fc](https://github.com/Esri/arcgis-rest-js/commit/d6ec9fcafbdeafc2a33d38787baa3a1d7fb1ec69))
* **getItemInfo:** add a function to fetch an info file for an item ([a9dd7d6](https://github.com/Esri/arcgis-rest-js/commit/a9dd7d64834424ca348fb92818d616bb74e29a6e)), closes [#738](https://github.com/Esri/arcgis-rest-js/issues/738)
* **getItemMetadata:** add a function to fetch the metadata XML for an item ([c263e1b](https://github.com/Esri/arcgis-rest-js/commit/c263e1bd7c13cb1ee65e5c23f994650820c023a6))
* **getJsonResource and scrubControlChars:** add getJsonResource and scrubControlChars ([6bb9215](https://github.com/Esri/arcgis-rest-js/commit/6bb921512eeed9374ab35c03577fd3bfb8ea1e11))
* add resourcesPrefix parameter to addItemResource ([c368232](https://github.com/Esri/arcgis-rest-js/commit/c3682322f7aca69c0dd3907a603304d232d8b43c))
* **group:** refactor searchGroups to make use of SearchQueryBuilder ([72f2898](https://github.com/Esri/arcgis-rest-js/commit/72f28985bde12b44cca0180dd52e33f660f2ad9a)), closes [#104](https://github.com/Esri/arcgis-rest-js/issues/104)
* **portal:** a new function to add members to a given group ([998d3a7](https://github.com/Esri/arcgis-rest-js/commit/998d3a705aac0ebdd59bacdbae2f48924cad86ff)), closes [#584](https://github.com/Esri/arcgis-rest-js/issues/584)
* **portal:** add reassignItem ([1756cc4](https://github.com/Esri/arcgis-rest-js/commit/1756cc48f43436f3041e44ed14827f415b106a90))
* **portal:** add the function to get user tags ([#614](https://github.com/Esri/arcgis-rest-js/issues/614)) ([d49159f](https://github.com/Esri/arcgis-rest-js/commit/d49159f91b3236feaf6dfb5df202672faae82797))
* **portal:** add updateGroupMembership, isItemSharedWithGroup ([14848db](https://github.com/Esri/arcgis-rest-js/commit/14848dbd6034362628ef99c8d57d445c8ed37776))
* **portal:** searchGroupUsers searches the users in the given group ([d9151a1](https://github.com/Esri/arcgis-rest-js/commit/d9151a15fb34ae0ddc551f350e877ff7dd10405e))


### Reverts

* Revert "aggs counts should be an array" ([55a1e27](https://github.com/Esri/arcgis-rest-js/commit/55a1e27c3d84383bceac86442987806249f4a6b3))


### BREAKING CHANGES

* deprecated addItemJsonData
* **portal interfaces:** removes "Request" from portal option interfaces & renames response interfaces
* **group:** searchGroups signature change
* replace items, groups, sharing and user packages with single portal package





### Dependencies

* **@esri/arcgis-rest-request:** upgraded to 1.0.0-beta.1
6 changes: 3 additions & 3 deletions packages/arcgis-rest-portal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@esri/arcgis-rest-portal",
"version": "3.3.0",
"version": "1.0.0-beta.1",
"description": "ArcGIS Online and Enterprise content and user helpers for @esri/arcgis-rest-request",
"license": "Apache-2.0",
"keywords": [
Expand Down Expand Up @@ -45,10 +45,10 @@
"tslib": "^2.3.0"
},
"peerDependencies": {
"@esri/arcgis-rest-request": "^3.0.0"
"@esri/arcgis-rest-request": "1.0.0-beta.1"
},
"devDependencies": {
"@esri/arcgis-rest-request": "^3.3.0"
"@esri/arcgis-rest-request": "1.0.0-beta.1"
},
"contributors": [
"Dave Bouwman <dbouwman@esri.com> (http://blog.davebouwman.com/)"
Expand Down

0 comments on commit dae3838

Please sign in to comment.