DynamicsWebApi Versions Save

DynamicsWebApi is a Microsoft Dataverse Web API helper library for JavaScript & TypeScript

v1.7.11

10 months ago

Fixes:

  • Wrong error message in case of network error. #153
  • Incorrect bundle for a browser.

v1.7.10

10 months ago

Changes:

  • Added continueOnError property to executeBatch.
dynamicsWebApi.executeBatch({
  continueOnError: true
});

v2.0.0-beta.1

10 months ago

This is a beta release of v2. Thus, there can still be changes and fixes. For testing purposes only!

Changes:

  • Added continueOnError in executeRequest parameter.
  • 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:

  • What's new in version 2? Check out: #146
  • For the list of Breaking Changes check out #135

v2.0.0-beta.0

11 months ago

This is a beta release of v2. Thus, there can still be changes and fixes. For testing purposes only!

  • What's new in version 2? Check out: #146
  • For the list of Breaking Changes check out #135

v1.7.9

1 year ago

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 guid savedQuery = 'fb15ee32-524d-41be-b6a0-7d0f28055d52' or savedQuery = '{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

1 year ago

Changes

  • Added deprecations. All deprecated functions and properties will be removed in v2. Please consult #135 for a list of breaking changes.

v1.7.7

1 year ago

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"]

v1.7.6

1 year ago

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-node with @azure/msal-node.
    • Added more information to a Batch Request documentaiton. #112

v1.7.5

2 years ago

Changes:

  • Added new advanced request parameter bypassCustomPluginExecution that allows developers to bypass custom plugin/workflow executions #107. More Info

v1.7.4

2 years ago

Fixes:

  • Fixed a bug that was not allowing developers to put "top" inside the fetch xml. Everytime it has been done executeFetchXml was 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 , UpdateRequest and UpserRequest for type checking of the entity property inside the request object.