Releases: AleksandrRogov/DynamicsWebApi
Releases · AleksandrRogov/DynamicsWebApi
v1.7.10
Changes:
- Added
continueOnErrorproperty toexecuteBatch.
dynamicsWebApi.executeBatch({
continueOnError: true
});v2.0.0-beta.1
This is a beta release of v2. Thus, there can still be changes and fixes. For testing purposes only!
Changes:
- Added
continueOnErrorinexecuteRequestparameter. - Added ESM bundles for Node and Browser.
- Fixed Browser bundle. Previously, the generated code did not create a global DynamicsWebApi class.
More details about v2:
v2.0.0-beta.0
v1.7.9
Fixes:
- Fixed an issue with function parameters of type "guid" #149 .
Heads up!
- I changed the way the guids are validated. Before you could have typed in something like
savedQuery = 'my wonderful guid=fb15ee32-524d-41be-b6a0-7d0f28055d52'and it would normally extract it, now the value must be an exact guidsavedQuery = 'fb15ee32-524d-41be-b6a0-7d0f28055d52'orsavedQuery = '{fb15ee32-524d-41be-b6a0-7d0f28055d52}'. Otherwise it would throw an error:<function name> requires the <param name> parameter to be of type GUID String.
Please let me know if this causes any issues.
v1.7.8
v1.7.7
Changes:
- Added new parameter for the "advanced" requests:
partitionId. More Info. - Added new parameter for the "advanced" requests:
queryParams.
Important! The values in the parameters are NOT being URI encoded! If the encoding is needed, please encode it before calling a function.
Example:
const response = await dynamicsWebApi.retrieveMultipleRequest({
collection: `accounts`,
filter: "Microsoft.Dynamics.CRM.In(PropertyName=@p1,PropertyValues=@p2)",
queryParams: ["@p1='lastname'", '@p2=["Last", "Last\'2"]']
});
// the request will be made to the following url:
// https://<server>?$filter=Microsoft.Dynamics.CRM.In(PropertyName=@p1,PropertyValues=@p2)&@p1=\'lastname\'&@p2=["First", "Last\'s"]v.1.7.6
Fixes:
- Fix the regex from rejecting alternativeKeys with multiple navigation properties. #111. Thanks to @benlaughlin for a pull request!
- Fix to double quote replace function in the alternate key. It was only replacing the first appearance of
". #117
Changes:
- Multiple changes to documentation:
- Replaced an old authentication code example that used
adal-nodewith@azure/msal-node. - Added more information to a Batch Request documentaiton. #112
- Replaced an old authentication code example that used
v1.7.5
v1.7.4
Fixes:
- Fixed a bug that was not allowing developers to put "top" inside the fetch xml. Everytime it has been done
executeFetchXmlwas throwing an error: "The top attribute can't be specified with paging attribute page" #98
Changes:
- Typescript type definitions. Added a generic type to
CreateRequest,UpdateRequestandUpserRequestfor type checking of theentityproperty inside the request object.