|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## [1.9.1](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.9.1) |
| 4 | + |
| 5 | +- fix: security updates |
| 6 | + |
3 | 7 | ## [1.9.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.9.0) |
| 8 | + |
4 | 9 | - 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)). |
5 | 10 |
|
6 | 11 | ## [1.8.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.8.0) |
| 12 | + |
7 | 13 | - 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). |
8 | 14 |
|
9 | 15 | ## [1.7.1](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.7.1) |
| 16 | + |
10 | 17 | - Fix: Guard against null/undefined in getTag to prevent TypeError when addEditableTags/addTags processes entries with null content (Issue #193) |
11 | 18 |
|
12 | 19 | ## [1.7.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.7.0) |
| 20 | + |
13 | 21 | - Added option in addTags to disable lowercasing of locale |
14 | 22 |
|
15 | 23 | ## [1.6.3](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.6.3) |
16 | | - - Refactor: Simplified endpoints.ts to use compile-time JSON import instead of runtime file loading |
17 | | - - Build: Updated build process to download regions.json to src/assets directory |
18 | | - - Test: Added comprehensive test coverage for endpoints.ts |
19 | | - - Chore: Removed postinstall/postupdate scripts and simplified package.json scripts |
| 24 | + |
| 25 | +- Refactor: Simplified endpoints.ts to use compile-time JSON import instead of runtime file loading |
| 26 | +- Build: Updated build process to download regions.json to src/assets directory |
| 27 | +- Test: Added comprehensive test coverage for endpoints.ts |
| 28 | +- Chore: Removed postinstall/postupdate scripts and simplified package.json scripts |
20 | 29 |
|
21 | 30 | ## [1.6.2](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.6.2) |
22 | | - - Fix: Missing attr in node does not add empty attr |
| 31 | + |
| 32 | +- Fix: Missing attr in node does not add empty attr |
23 | 33 |
|
24 | 34 | ## [1.6.1](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.6.1) |
25 | | - - Fix: Improved error handling in getContentstackEndpoint |
26 | | - - Fix: Enhanced error messages for better debugging |
27 | | - - Refactor: Removed redundant try/catch wrapper and improved code structure |
28 | | - - Test: Updated and improved test coverage for error scenarios |
| 35 | + |
| 36 | +- Fix: Improved error handling in getContentstackEndpoint |
| 37 | +- Fix: Enhanced error messages for better debugging |
| 38 | +- Refactor: Removed redundant try/catch wrapper and improved code structure |
| 39 | +- Test: Updated and improved test coverage for error scenarios |
29 | 40 |
|
30 | 41 | ## [1.6.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.6.0) |
31 | | - - Feat: Adds Helper functions for Contentstack Endpoints |
32 | | - |
| 42 | + |
| 43 | +- Feat: Adds Helper functions for Contentstack Endpoints |
| 44 | + |
33 | 45 | ## [1.5.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.4.5) (2025-10-27) |
34 | | - - fix: handle null and undefined values in getTag function |
35 | | - - fix: refernce variant cslp generation fix |
| 46 | + |
| 47 | +- fix: handle null and undefined values in getTag function |
| 48 | +- fix: refernce variant cslp generation fix |
36 | 49 |
|
37 | 50 | ## [1.4.4](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.4.4) (2025-09-24) |
38 | | - -Enhance break and newline handling, update dependencies |
| 51 | + |
| 52 | +-Enhance break and newline handling, update dependencies |
39 | 53 |
|
40 | 54 | ## [1.4.3](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.4.3) (2025-09-22) |
41 | | - - Fix data-cslp generation logic in case of applied_variants |
| 55 | + |
| 56 | +- Fix data-cslp generation logic in case of applied_variants |
42 | 57 |
|
43 | 58 | ## [1.4.2](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.4.2) (2025-09-01) |
44 | | - - Improve null checks in find embedded entry and find embedded asset functions |
| 59 | + |
| 60 | +- Improve null checks in find embedded entry and find embedded asset functions |
45 | 61 |
|
46 | 62 | ## [1.4.1](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.4.1) (2025-05-26) |
47 | | - - Chore: Handle case sensitivity for contentType and locale |
48 | | - |
| 63 | + |
| 64 | +- Chore: Handle case sensitivity for contentType and locale |
| 65 | + |
49 | 66 | ## [1.4.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.4.0) (2025-04-21) |
50 | | - - Fix: customRenderOption for entry-embedded-as-link nodes |
51 | | - |
| 67 | + |
| 68 | +- Fix: customRenderOption for entry-embedded-as-link nodes |
| 69 | + |
52 | 70 | ## [1.3.20](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.20) (2025-02-24) |
53 | | - - Fix: Added data-mtec as allowed attribute |
54 | | - |
| 71 | + |
| 72 | +- Fix: Added data-mtec as allowed attribute |
| 73 | + |
55 | 74 | ## [1.3.19](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.19) (2025-02-24) |
56 | | - - Fix: Added fix for html injection in keys and values of attributes |
57 | | - |
| 75 | + |
| 76 | +- Fix: Added fix for html injection in keys and values of attributes |
| 77 | + |
58 | 78 | ## [1.3.18](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.18) (2025-02-17) |
59 | | - - Fix: Added fix for html injection |
60 | | - |
| 79 | + |
| 80 | +- Fix: Added fix for html injection |
| 81 | + |
61 | 82 | ## [1.3.17](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.17) (2025-02-11) |
62 | | - - Enh: updateAssetURLForGQL update for multilpe entries |
63 | | - - Fix: Added support of br tag (\n) after just enter |
| 83 | + |
| 84 | +- Enh: updateAssetURLForGQL update for multilpe entries |
| 85 | +- Fix: Added support of br tag (\n) after just enter |
64 | 86 |
|
65 | 87 | ## [1.3.16](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.16) (2025-01-27) |
66 | | - - Enh: Added support for colgroup and col tags inside table tag |
67 | | - - Fix: Updated rendorOption code block in reaadme file |
| 88 | + |
| 89 | +- Enh: Added support for colgroup and col tags inside table tag |
| 90 | +- Fix: Updated rendorOption code block in reaadme file |
68 | 91 |
|
69 | 92 | ## [1.3.15](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.15) (2024-11-18) |
70 | | - - Fix: Added Table merge cell functionality |
| 93 | + |
| 94 | +- Fix: Added Table merge cell functionality |
71 | 95 |
|
72 | 96 | ## [1.3.14](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.14) (2024-11-12) |
73 | | - - Fix: Add data-type attr to inlineCode |
| 97 | + |
| 98 | +- Fix: Add data-type attr to inlineCode |
74 | 99 |
|
75 | 100 | ## [1.3.13](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.13) (2024-10-22) |
76 | | - - Enh: Node version bump |
| 101 | + |
| 102 | +- Enh: Node version bump |
77 | 103 |
|
78 | 104 | ## [1.3.12](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.12) (2024-09-30) |
79 | | - - Fix: addTags methods changes for Variants |
| 105 | + |
| 106 | +- Fix: addTags methods changes for Variants |
80 | 107 |
|
81 | 108 | ## [1.3.11](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.11) (2024-08-21) |
82 | | - - Fix: Reference to HTML fixed to support assets that are referenced |
| 109 | + |
| 110 | +- Fix: Reference to HTML fixed to support assets that are referenced |
83 | 111 |
|
84 | 112 | ## [1.3.10](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.10) (2024-07-08) |
85 | | - - Enhancement: Update default node options |
| 113 | + |
| 114 | +- Enhancement: Update default node options |
86 | 115 |
|
87 | 116 | ## [1.3.9](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.9) (2024-07-08) |
88 | | - - Fix: SRE vulnerabilities fixed |
| 117 | + |
| 118 | +- Fix: SRE vulnerabilities fixed |
89 | 119 |
|
90 | 120 | ## [1.3.8](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.8) (2024-06-24) |
91 | | - - Feat: Support for Image type asset in JsonToHtml |
| 121 | + |
| 122 | +- Feat: Support for Image type asset in JsonToHtml |
92 | 123 |
|
93 | 124 | ## [1.3.7](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.7) (2024-06-18) |
94 | | - - Fix: Cheerio and DOMPurify packages removed |
| 125 | + |
| 126 | +- Fix: Cheerio and DOMPurify packages removed |
95 | 127 |
|
96 | 128 | ## [1.3.6](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.6) (2024-05-31) |
97 | | - - Fix: handle case of td or th nodes with attr void:true |
| 129 | + |
| 130 | +- Fix: handle case of td or th nodes with attr void:true |
98 | 131 |
|
99 | 132 | ## [1.3.5](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.5) (2024-05-31) |
100 | | - - Feat: updateAssetURLForGQL added |
101 | | - - Fix: add rowspan and colspan attribute to td and th nodes |
| 133 | + |
| 134 | +- Feat: updateAssetURLForGQL added |
| 135 | +- Fix: add rowspan and colspan attribute to td and th nodes |
102 | 136 |
|
103 | 137 | ## [1.3.4](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.4) (2024-05-13) |
104 | | - - Fixes for vulnerability issues related to regular expression and options |
| 138 | + |
| 139 | +- Fixes for vulnerability issues related to regular expression and options |
105 | 140 |
|
106 | 141 | ## [1.3.3](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.3) (2024-02-28) |
107 | | - - Fix for parsing nested children when entry is referenced as link |
| 142 | + |
| 143 | +- Fix for parsing nested children when entry is referenced as link |
108 | 144 |
|
109 | 145 | ## [1.3.2](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.2) (2024-02-14) |
110 | | - - Added style attribute fragment as |
| 146 | + |
| 147 | +- Added style attribute fragment as |
111 | 148 |
|
112 | 149 | ## [1.3.1](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.1) (2023-12-13) |
113 | | - - Text level rendering suppport |
114 | | - - Dependencies update |
115 | | - - Multiple array support |
| 150 | + |
| 151 | +- Text level rendering suppport |
| 152 | +- Dependencies update |
| 153 | +- Multiple array support |
116 | 154 |
|
117 | 155 | ## [1.3.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.3.0) (2023-05-02) |
118 | | - - JSON RTE asset nested in reference field |
119 | | - - Bug fixes |
| 156 | + |
| 157 | +- JSON RTE asset nested in reference field |
| 158 | +- Bug fixes |
120 | 159 |
|
121 | 160 | ## [1.2.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.2.0) (2023-02-27) |
122 | | - - Added Dom parser for HTML parsing |
| 161 | + |
| 162 | +- Added Dom parser for HTML parsing |
123 | 163 |
|
124 | 164 | ## [1.1.3](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.1.3) (2022-10-19) |
125 | | - - Resolving embedded items in Json RTE without include Embedded query |
| 165 | + |
| 166 | +- Resolving embedded items in Json RTE without include Embedded query |
126 | 167 |
|
127 | 168 | ## [1.1.2](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.1.2) (2022-04-21) |
128 | | - - Image link and embed tag support for attribute url |
| 169 | + |
| 170 | +- Image link and embed tag support for attribute url |
129 | 171 |
|
130 | 172 | ## [1.1.1](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.1.1) (2021-12-08) |
131 | | - - Render option support added for new tags |
| 173 | + |
| 174 | +- Render option support added for new tags |
132 | 175 |
|
133 | 176 | ## [1.1.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.1.0) (2021-10-19) |
134 | | - - Live preview edit tags support added |
| 177 | + |
| 178 | +- Live preview edit tags support added |
135 | 179 |
|
136 | 180 | ## [1.0.1](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.0.1) (2021-05-26) |
137 | | - - Dependency update |
| 181 | + |
| 182 | +- Dependency update |
| 183 | + |
138 | 184 | ## [1.0.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.0.0) (2021-04-05) |
139 | | - - Initial release for Contentstack JS Utils SDK |
| 185 | + |
| 186 | +- Initial release for Contentstack JS Utils SDK |
0 commit comments