All notable changes to the ordercloud-javascript-sdk will be documented in this file starting in version 4. Migration guide for versions prior to version 4 are documented here
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- SDK up to date with API v1.0.238
- Introduces Order Returns
- PriceScheduleID added to LineItems
- Added an optional
customRolesarray to the authentication methods to support authenticating with custom roles, in addition to standard ApiRoles.
- Docs now up to date with API v1.0.235 and previous changes to DecodedToken.role
- The ApiRole
InventoryAdminwas removed from the OrderCloud API and is now considered a custom role. This role was removed from theApiRoletype definition. This could be a breaking change if your application uses the roleInventoryAdmin. In this case, we recommend making this role a custom role.
- DecodedToken.role was not properly typed. It is now (ApiRole[] | ApiRole | undefined)
- SDK up to date with API v1.0.235
- bug where new models from v4.6.5 were not being bundled in the final output
- new models for message sender payloads
- new models for integration event payloads
- new models for oidc payloads and response #67
- bug where filter with boolean false was being dropped (#66)
- SDK up to date with API v1.0.233
- SDK up to date with API v1.0.231
- bug where methods for the Cert resource were using the wrong url
- bug where type parameters on certain complex models are wrong due to being ordered incorrectly. Affects model
OrderWorksheetandOrderSplitResult
- SDK up to date with API v1.0.225
- SDK up to date with API v1.0.220
- SDK up to date with API v1.0.214
- cookieOption defaults were being clobbered and as a result defaults were not being applied
- SDK up to date with API v1.0.196
- SDK up to date with API v1.0.196
OrderCloudErrormodel not exported from public entry point
- Upgraded axios dependency to version 0.21.1
- SDK up to date with API v1.0.183
- Cookie options configuration to set path - defaults to root path if no path is provided.
- Prevent list options from being mutated. This lead to side effects for any user relying on the options object
- Typescript only: list options
searchOnandsortBywould produce type errors for valid types