Skip to content

Latest commit

 

History

History
136 lines (96 loc) · 7.08 KB

File metadata and controls

136 lines (96 loc) · 7.08 KB

Changelog

  • 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 (<li>). The SDK folds such sibling <ol>/<ul> nodes into the previous <li> so the rendered HTML has the nested list inside the parent list item (PROD-2115).
  • Fix: Guard against null/undefined in getTag to prevent TypeError when addEditableTags/addTags processes entries with null content (Issue #193)
  • Added option in addTags to disable lowercasing of locale
  • 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
  • Fix: Missing attr in node does not add empty attr
  • 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
  • Feat: Adds Helper functions for Contentstack Endpoints

1.5.0 (2025-10-27)

  • fix: handle null and undefined values in getTag function
  • fix: refernce variant cslp generation fix

1.4.4 (2025-09-24)

-Enhance break and newline handling, update dependencies

1.4.3 (2025-09-22)

  • Fix data-cslp generation logic in case of applied_variants

1.4.2 (2025-09-01)

  • Improve null checks in find embedded entry and find embedded asset functions

1.4.1 (2025-05-26)

  • Chore: Handle case sensitivity for contentType and locale

1.4.0 (2025-04-21)

  • Fix: customRenderOption for entry-embedded-as-link nodes

1.3.20 (2025-02-24)

  • Fix: Added data-mtec as allowed attribute

1.3.19 (2025-02-24)

  • Fix: Added fix for html injection in keys and values of attributes

1.3.18 (2025-02-17)

  • Fix: Added fix for html injection

1.3.17 (2025-02-11)

  • Enh: updateAssetURLForGQL update for multilpe entries
  • Fix: Added support of br tag (\n) after just enter

1.3.16 (2025-01-27)

  • Enh: Added support for colgroup and col tags inside table tag
  • Fix: Updated rendorOption code block in reaadme file

1.3.15 (2024-11-18)

  • Fix: Added Table merge cell functionality

1.3.14 (2024-11-12)

  • Fix: Add data-type attr to inlineCode

1.3.13 (2024-10-22)

  • Enh: Node version bump

1.3.12 (2024-09-30)

  • Fix: addTags methods changes for Variants

1.3.11 (2024-08-21)

  • Fix: Reference to HTML fixed to support assets that are referenced

1.3.10 (2024-07-08)

  • Enhancement: Update default node options

1.3.9 (2024-07-08)

  • Fix: SRE vulnerabilities fixed

1.3.8 (2024-06-24)

  • Feat: Support for Image type asset in JsonToHtml

1.3.7 (2024-06-18)

  • Fix: Cheerio and DOMPurify packages removed

1.3.6 (2024-05-31)

  • Fix: handle case of td or th nodes with attr void:true

1.3.5 (2024-05-31)

  • Feat: updateAssetURLForGQL added
  • Fix: add rowspan and colspan attribute to td and th nodes

1.3.4 (2024-05-13)

  • Fixes for vulnerability issues related to regular expression and options

1.3.3 (2024-02-28)

  • Fix for parsing nested children when entry is referenced as link

1.3.2 (2024-02-14)

  • Added style attribute fragment as

1.3.1 (2023-12-13)

  • Text level rendering suppport
  • Dependencies update
  • Multiple array support

1.3.0 (2023-05-02)

  • JSON RTE asset nested in reference field
  • Bug fixes

1.2.0 (2023-02-27)

  • Added Dom parser for HTML parsing

1.1.3 (2022-10-19)

  • Resolving embedded items in Json RTE without include Embedded query

1.1.2 (2022-04-21)

  • Image link and embed tag support for attribute url

1.1.1 (2021-12-08)

  • Render option support added for new tags

1.1.0 (2021-10-19)

  • Live preview edit tags support added

1.0.1 (2021-05-26)

  • Dependency update

1.0.0 (2021-04-05)

  • Initial release for Contentstack JS Utils SDK