Release v6.0.0 (@W-20718643@)#438
Merged
joeluong-sfcc merged 14 commits intomainfrom Jan 27, 2026
Merged
Conversation
alexvuong
approved these changes
Jan 27, 2026
vcua-mobify
approved these changes
Jan 27, 2026
Contributor
vcua-mobify
left a comment
There was a problem hiding this comment.
In renderedTemplates, I only see references to MrtRuleSet< not Set<
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR includes the changes required to release v6.0.0, which will be released when we create a github release after this PR is merged into
main.This release only includes API changes with the following API versions:
Unique Items
This PR also modifies the template to handle the case of the
uniqueItemsflag being present in the OAS. This flag is available for array types, where if it is set to true, the generated typescript type is aSetinstead of anArray. In order to maintain consistency across all the APIs, the SDK will only handle array type and allow the server to error handle duplicate items in an array.Example:
OAS (getSubscriptions endpoint on Shopper Consents API)
Generated Typescript BEFORE updating mustache templates
Generated Typescript AFTER updating mustache templates
How to test uniqueItems
npm run buildrenderedTemplatesand look for instances ofSet<To validate sets were being used before:
api-versions.txtand update the APIs and build the SDK on themainbranch:Set<in the/renderedTemplatesdirectory and observe multiple instances of Sets being used instead of Arrays