From 7a97fbedb883dea69971dfc3b6833d2c40628a10 Mon Sep 17 00:00:00 2001 From: naman-contentstack Date: Mon, 13 Apr 2026 12:11:54 +0530 Subject: [PATCH] chore: update changelog --- CHANGELOG.md | 161 +++++++++++++++++++++++++++++++++------------------ 1 file changed, 104 insertions(+), 57 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4121676..da9e0e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,139 +1,186 @@ # Changelog +## [1.9.1](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.9.1) + +- fix: security updates + ## [1.9.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.9.0) + - Feat: Variant utilities `getVariantAliases` and `getVariantMetadataTags` to read variant alias strings from CDA entry `publish_details.variants` (requires fetches with the `x-cs-variant-uid` header set to aliases per [CDA variants](https://www.contentstack.com/docs/developers/apis/content-delivery-api#get-all-entry-variants)). ## [1.8.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.8.0) + - Fix: JSON-to-HTML now outputs valid HTML for nested lists when JSON RTE exports the nested list as a sibling of the preceding list item (`
  • `). The SDK folds such sibling `
      `/`
        ` nodes into the previous `
      • ` so the rendered HTML has the nested list inside the parent list item (PROD-2115). ## [1.7.1](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.7.1) + - Fix: Guard against null/undefined in getTag to prevent TypeError when addEditableTags/addTags processes entries with null content (Issue #193) ## [1.7.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.7.0) + - Added option in addTags to disable lowercasing of locale ## [1.6.3](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.6.3) - - Refactor: Simplified endpoints.ts to use compile-time JSON import instead of runtime file loading - - Build: Updated build process to download regions.json to src/assets directory - - Test: Added comprehensive test coverage for endpoints.ts - - Chore: Removed postinstall/postupdate scripts and simplified package.json scripts + +- Refactor: Simplified endpoints.ts to use compile-time JSON import instead of runtime file loading +- Build: Updated build process to download regions.json to src/assets directory +- Test: Added comprehensive test coverage for endpoints.ts +- Chore: Removed postinstall/postupdate scripts and simplified package.json scripts ## [1.6.2](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.6.2) - - Fix: Missing attr in node does not add empty attr + +- Fix: Missing attr in node does not add empty attr ## [1.6.1](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.6.1) - - Fix: Improved error handling in getContentstackEndpoint - - Fix: Enhanced error messages for better debugging - - Refactor: Removed redundant try/catch wrapper and improved code structure - - Test: Updated and improved test coverage for error scenarios + +- Fix: Improved error handling in getContentstackEndpoint +- Fix: Enhanced error messages for better debugging +- Refactor: Removed redundant try/catch wrapper and improved code structure +- Test: Updated and improved test coverage for error scenarios ## [1.6.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.6.0) - - Feat: Adds Helper functions for Contentstack Endpoints - + +- Feat: Adds Helper functions for Contentstack Endpoints + ## [1.5.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.4.5) (2025-10-27) - - fix: handle null and undefined values in getTag function - - fix: refernce variant cslp generation fix + +- fix: handle null and undefined values in getTag function +- fix: refernce variant cslp generation fix ## [1.4.4](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.4.4) (2025-09-24) - -Enhance break and newline handling, update dependencies + +-Enhance break and newline handling, update dependencies ## [1.4.3](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.4.3) (2025-09-22) - - Fix data-cslp generation logic in case of applied_variants + +- Fix data-cslp generation logic in case of applied_variants ## [1.4.2](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.4.2) (2025-09-01) - - Improve null checks in find embedded entry and find embedded asset functions + +- Improve null checks in find embedded entry and find embedded asset functions ## [1.4.1](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.4.1) (2025-05-26) - - Chore: Handle case sensitivity for contentType and locale - + +- Chore: Handle case sensitivity for contentType and locale + ## [1.4.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.4.0) (2025-04-21) - - Fix: customRenderOption for entry-embedded-as-link nodes - + +- Fix: customRenderOption for entry-embedded-as-link nodes + ## [1.3.20](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.20) (2025-02-24) - - Fix: Added data-mtec as allowed attribute - + +- Fix: Added data-mtec as allowed attribute + ## [1.3.19](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.19) (2025-02-24) - - Fix: Added fix for html injection in keys and values of attributes - + +- Fix: Added fix for html injection in keys and values of attributes + ## [1.3.18](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.18) (2025-02-17) - - Fix: Added fix for html injection - + +- Fix: Added fix for html injection + ## [1.3.17](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.17) (2025-02-11) - - Enh: updateAssetURLForGQL update for multilpe entries - - Fix: Added support of br tag (\n) after just enter + +- Enh: updateAssetURLForGQL update for multilpe entries +- Fix: Added support of br tag (\n) after just enter ## [1.3.16](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.16) (2025-01-27) - - Enh: Added support for colgroup and col tags inside table tag - - Fix: Updated rendorOption code block in reaadme file + +- Enh: Added support for colgroup and col tags inside table tag +- Fix: Updated rendorOption code block in reaadme file ## [1.3.15](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.15) (2024-11-18) - - Fix: Added Table merge cell functionality + +- Fix: Added Table merge cell functionality ## [1.3.14](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.14) (2024-11-12) - - Fix: Add data-type attr to inlineCode + +- Fix: Add data-type attr to inlineCode ## [1.3.13](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.13) (2024-10-22) - - Enh: Node version bump + +- Enh: Node version bump ## [1.3.12](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.12) (2024-09-30) - - Fix: addTags methods changes for Variants + +- Fix: addTags methods changes for Variants ## [1.3.11](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.11) (2024-08-21) - - Fix: Reference to HTML fixed to support assets that are referenced + +- Fix: Reference to HTML fixed to support assets that are referenced ## [1.3.10](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.10) (2024-07-08) - - Enhancement: Update default node options + +- Enhancement: Update default node options ## [1.3.9](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.9) (2024-07-08) - - Fix: SRE vulnerabilities fixed + +- Fix: SRE vulnerabilities fixed ## [1.3.8](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.8) (2024-06-24) - - Feat: Support for Image type asset in JsonToHtml + +- Feat: Support for Image type asset in JsonToHtml ## [1.3.7](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.7) (2024-06-18) - - Fix: Cheerio and DOMPurify packages removed + +- Fix: Cheerio and DOMPurify packages removed ## [1.3.6](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.6) (2024-05-31) - - Fix: handle case of td or th nodes with attr void:true + +- Fix: handle case of td or th nodes with attr void:true ## [1.3.5](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.5) (2024-05-31) - - Feat: updateAssetURLForGQL added - - Fix: add rowspan and colspan attribute to td and th nodes + +- Feat: updateAssetURLForGQL added +- Fix: add rowspan and colspan attribute to td and th nodes ## [1.3.4](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.4) (2024-05-13) - - Fixes for vulnerability issues related to regular expression and options + +- Fixes for vulnerability issues related to regular expression and options ## [1.3.3](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.3) (2024-02-28) - - Fix for parsing nested children when entry is referenced as link + +- Fix for parsing nested children when entry is referenced as link ## [1.3.2](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.2) (2024-02-14) - - Added style attribute fragment as + +- Added style attribute fragment as ## [1.3.1](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.1) (2023-12-13) - - Text level rendering suppport - - Dependencies update - - Multiple array support + +- Text level rendering suppport +- Dependencies update +- Multiple array support ## [1.3.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.0) (2023-05-02) - - JSON RTE asset nested in reference field - - Bug fixes + +- JSON RTE asset nested in reference field +- Bug fixes ## [1.2.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.2.0) (2023-02-27) - - Added Dom parser for HTML parsing + +- Added Dom parser for HTML parsing ## [1.1.3](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.1.3) (2022-10-19) - - Resolving embedded items in Json RTE without include Embedded query + +- Resolving embedded items in Json RTE without include Embedded query ## [1.1.2](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.1.2) (2022-04-21) - - Image link and embed tag support for attribute url + +- Image link and embed tag support for attribute url ## [1.1.1](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.1.1) (2021-12-08) - - Render option support added for new tags + +- Render option support added for new tags ## [1.1.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.1.0) (2021-10-19) - - Live preview edit tags support added + +- Live preview edit tags support added ## [1.0.1](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.0.1) (2021-05-26) - - Dependency update + +- Dependency update + ## [1.0.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.0.0) (2021-04-05) - - Initial release for Contentstack JS Utils SDK + +- Initial release for Contentstack JS Utils SDK