Skip to content

Releases: AleksandrRogov/DynamicsWebApi

v1.7.8

02 Apr 05:14
Compare
Choose a tag to compare

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

16 Mar 17:22
Compare
Choose a tag to compare

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

29 Aug 16:28
Compare
Choose a tag to compare

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

14 Mar 18:50
Compare
Choose a tag to compare

Changes:

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

v1.7.4

19 Jun 17:35
Compare
Choose a tag to compare

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.

v1.7.3

12 Apr 12:58
Compare
Choose a tag to compare

Fixes:

  • Fixed a bug with request that may fail if it runs right after an execute batch executeBatch() function. Thanks to @Kukunin for a PR #92

Changes:

  • Added a meaningful error that will be returned if the batch operation has an empty payload.

v1.7.2

24 Feb 01:30
Compare
Choose a tag to compare

Fixes

  • Some request parameters may have never been deleted from a temporary cache after some specific errors. This issue has been introduced in v.1.6.15, so the update to this new version is highly recommended.

Changes

  • Default Node.js HTTP/HTTPS agent will now reuse an existing connection which should improve application performance.
  • Added full support for different proxy servers.
  • Added 2 dependencies: http-proxy-agent and https-proxy-agent

Thank you to @nabeelamir-defra for submitting the proxy issue #89 .

v1.7.1

31 Jan 17:09
Compare
Choose a tag to compare

Changes:

  • No major/minor changes, just decreased the size of an NPM package.
  • updated type definitions for promises.

v1.7.0

04 Dec 17:02
Compare
Choose a tag to compare

Changes:

  • Added uploadFile function.
  • Added downloadFile function.
  • Added fieldName to deleteRequest request parameter, in order to allow developers to delete file from the file field.

Minor version is wrapping up major changes done in v.1.6.15 and adding new upload/download file functionality. No breaking changes at this point.

Starting from v1.7.1 dist and test folders are no longer going to be a part of an npm package. That will shrink the size of the package from 1.7mb to around 350kb.

v1.6.15

30 Nov 00:44
Compare
Choose a tag to compare

Fixes:

  • Major issue with concurrency in the library. See #80 and #81. Thank you @Suxsem for reporting the issues.

Upcoming in the next release:

  • uploadFile and downloadFile functions for uploading/downloading data from file fields. #82