Releases: AleksandrRogov/DynamicsWebApi
Releases · AleksandrRogov/DynamicsWebApi
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-node
with@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
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
andUpserRequest
for type checking of theentity
property inside the request object.
v1.7.3
v1.7.2
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
Changes:
- No major/minor changes, just decreased the size of an NPM package.
- updated type definitions for promises.
v1.7.0
Changes:
- Added
uploadFile
function. - Added
downloadFile
function. - Added
fieldName
todeleteRequest
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.