Skip to content

v1.31.0

Latest

Choose a tag to compare

@OMpawar-21 OMpawar-21 released this 29 Jul 08:36
5c03bc3

What's Changed

  • Enh
    • Entry variants: contentType(...).entry(...).variants(variantUidOrUids, branchName?) — optional second argument sets the CMA branch header for that variants scope (branch UID or alias). First argument accepts a variant UID string or an array of UIDs (comma-separated in the request path). Omitting branchName preserves previous behavior.
    • Entry variants: added variants(uid).publish() and variants(uid).unpublish(), calling the entry publish/unpublish endpoints with the variant payload nested under entry.
    • publish()/unpublish() (entry and entry variants) accept optional headers and params, merged into the underlying HTTP request.

Full Changelog: v1.30.4...v1.31.0