NEW FEATURE: Variants utility (CDA entry variant aliases).
- Added
Utils.get_variant_aliasesto read variant alias strings frompublish_details.variantson a CDA entry (single dict or list of entries). Supports optionalcontent_type_uidwhen_content_type_uidis absent on the entry. - Added
Utils.get_variant_metadata_tagsto build adata-csvariantsHTML data-attribute value (JSON string of the multi-entry alias results).
NEW FEATURE: Live Preview editable tags (CSLP).
- Added JS-parity editable tagging helpers in
contentstack_utils/entry_editable.py. - Added
addEditableTags/addTagsto mutate an entry with a$map of CSLP tags (supports nested objects, arrays, references, and applied variants; normalizes case forcontentTypeUidand locale similar to JS). - Added
getTaghelper for building tag maps recursively. - Exported
addEditableTags,addTags, andgetTagat package level, and delegated viaUtilsfor backward compatibility.
BUG FIX: Test compatibility.
- Fixed deprecated unittest assertion usage in
tests/convert_style.pyfor newer Python versions.
NEW FEATURE: Variants utility (CDA entry variant aliases).
- Added
Utils.get_variant_aliasesto read variant alias strings frompublish_details.variantson a CDA entry (single dict or list of entries). Supports optionalcontent_type_uidwhen_content_type_uidis absent on the entry. - Added
Utils.get_variant_metadata_tagsto build adata-csvariantsHTML data-attribute value (JSON string of the multi-entry alias results).
Bug Fix: Fixed security issues.
Bug Fix: Fixed security issues.
- setuptools package version bump.
Bug Fix: Fixed Link type attributes.
- Fixed link type attribute issue
NEW FEATURE: Added Reference attribute.
- added node attribute Reference
NEW FEATURE: Added Fragment attribute.
- added new style attribute fragment
NEW FEATURE: Minor bug fixes and code improvements.
- package release support added
NEW FEATURE: GraphQL SRTE
- GraphQL SRTE support added
NEW FEATURE: GraphQl supercharged RTE
- GQL.jsonToHtml function support added
NEW FEATURE: Supercharged RTE
- Utils.jsonToHtml function support added
Date: 02-Sept-2021
- Initial release of contentstack utility package
ENHANCEMENT, NEW FEATURE, BUG RESOLVE
Date: 02-Sept-2021
- Initial release of contentstack utility package