Skip to content

Commit 6144d0a

Browse files
authored
Merge pull request #126 from erincdustin/10.0.0
10.0.0
2 parents f8a151b + e1bba09 commit 6144d0a

30 files changed

Lines changed: 206 additions & 226 deletions

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to the ordercloud-javascript-sdk will be documented in this
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
# [10.0.0] - 2025-01-14
9+
- Bring SDK up to date with API [v1.0.374](https://ordercloud.io/release-notes/v1.0.374)
10+
- This version includes a breaking change to the listOptions in several ListAssignment operations. See migration guide for more details.
11+
812
# [9.0.3] - 2025-01-13
913
- Resolve security vulnerabilities
1014

MIGRATION_GUIDE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
The objective of this guide is to document the breaking changes and updates required to migrate from one major version to the next.
44

5+
## version 9.x.x to version 10.x.x
6+
* The `userID` parameter as well as the 'User' option in the `level` parameter have been removed from listOptions on serveral list assignment operations: `Bundles.ListAssignments(), CostCenters.ListAssignments(), Categories.ListAssignments(), Locales.ListAssignments(), MessageSenders.ListAssignments(), InventoryRecords.ListAssignments(), InventoryRecords.ListVariantAssignments(), Products.ListAssignments(), Promotions.ListAssignments()`.
7+
8+
Before:
9+
```typescript
10+
Products.ListAssignments({ level: 'User'}); // 'Group' or 'Company' also valid
11+
```
12+
13+
After:
14+
```typescript
15+
Products.ListAssignments({ level: 'Group'}); // 'Company' also valid
16+
```
17+
518
## version 8.x.x to version 9.x.x
619
* The return type for the `Me.ListProductCollectionEntries` method has been updated from `BuyerProduct` to `ProductCollectionBuyerProduct`
720

docs/assets/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/classes/Resources.Bundles.html

Lines changed: 18 additions & 22 deletions
Large diffs are not rendered by default.

docs/classes/Resources.Categories.html

Lines changed: 21 additions & 25 deletions
Large diffs are not rendered by default.

docs/classes/Resources.CostCenters.html

Lines changed: 15 additions & 19 deletions
Large diffs are not rendered by default.

docs/classes/Resources.InventoryRecords.html

Lines changed: 27 additions & 35 deletions
Large diffs are not rendered by default.

docs/classes/Resources.Locales.html

Lines changed: 15 additions & 19 deletions
Large diffs are not rendered by default.

docs/classes/Resources.MessageSenders.html

Lines changed: 17 additions & 21 deletions
Large diffs are not rendered by default.

docs/classes/Resources.Products.html

Lines changed: 24 additions & 28 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)