Skip to content

Latest commit

 

History

History
1259 lines (959 loc) · 124 KB

CHANGELOG.md

File metadata and controls

1259 lines (959 loc) · 124 KB

Changelog

3 February 2025

Fixes

  • fix: remove ^ from preact versions in package json (Hitesh Shetty - #337)
  • fix(VE-5019): remove ^ from preact versions in package json (Hitesh Shetty - #336)

Refactoring and Updates

  • refactor: replace hardcoded class names with constants for empty block parent (Hitesh Shetty - #331)

Changes to Test Assests

  • test: add unit tests for error handling and field state validation in visual builder (Hitesh Shetty - #329)

Fixes

  • fix: live preview doc (Kirtesh Suthar - 8fcdcc5)

Changes to Test Assests

  • test: remove skipped number field tests and add validation for numeric input (hiteshshetty-dev - ba0062e)
  • test: wrap attribute checks in waitFor for visual builder tests (hiteshshetty-dev - a7a0d53)

General Changes

  • Updated codeowners (Aravind Kumar - fe41624)
  • codeql-analysis.yml (Aravind Kumar - 45c63a2)
  • sast-scan.yml (Aravind Kumar - 8971dfb)
  • jira.yml (Aravind Kumar - 30e4861)
  • sca-scan.yml (Aravind Kumar - bcb5ca8)

16 January 2025

New Features

  • feat: allow config object to be exported (Kirtesh Suthar - #322)

Fixes

  • fix(VE-4805): back button appears in quickform on clicking canvas (srinad007 - #320)
  • fix: issue with variant revert dropdown in canvas (srinad007 - #317)

Chores And Housekeeping

  • chore: remove snapshot testing (Kirtesh Suthar - #319)

General Changes

  • 3.1.0 (Kirtesh Suthar - #323)
  • Feat/auto changelog (Kirtesh Suthar - #321)

New Features

  • feat: add changelog (Kirtesh Suthar - 29ab05a)
  • feat: add commitlint configuration and update husky pre-commit hook (Kirtesh Suthar - 9aa10a8)

Fixes

  • fix: issue with variant revert dropdown in canvas and show variant icon for multiple fields (Srinadh Reddy - 8718c48)
  • fix: live preview doc (Kirtesh Suthar - f81fdf5)

Chores And Housekeeping

  • chore: remove debug log from addParamsToUrl function (hiteshshetty-dev - eedf15b)

Refactoring and Updates

  • refactor: extract outside click handling to custom hook (Srinadh Reddy - 11c9b8b)

Changes to Test Assests

  • test: refactor skipping test modules (hiteshshetty-dev - 28b28be)
  • test: rename related test files; add new tests for getMultilinePlaintext and getDiscussionIdByFieldMetaData (hiteshshetty-dev - b110ddc)
  • test: add test cases for variantRevertDropdown component (Srinadh Reddy - ba5fe41)
  • test: update mock type casting in visual builder tests (hiteshshetty-dev - a2d4397)
  • test: enable number field test suite in visual builder input tests (hiteshshetty-dev - 0f59956)

3 January 2025

Fixes

  • fix: remove useSignal (Hitesh Shetty - #313)
  • fix: pressing space in button contenteditable (Faraaz Biyabani - #309)
  • fix(VE-4550): add button type to EmptyBlock component for accessibility (Hitesh Shetty - #312)
  • fix: clean up event listeners in FieldToolbar and update query selector (Hitesh Shetty - #311)
  • fix(VE-4530): exclude properties doesn't check for frame status on outsideLivePreviewPortal (Hitesh Shetty - #310)
  • fix: add video tag in the void elements list (Kirtesh Suthar - #307)
  • fix: error when selecting a non text HTML element with the cslp of a text field (Faraaz Biyabani - #299)

General Changes

  • v3.0.2 (Hitesh Shetty - #315)
  • Update license copyright year(s) (Faraaz Biyabani - #316)
  • Updated logic for inline editing encompassing CT changes (Ayush Dubey - #306)
  • handle multiple variant status case (srinad007 - #302)
  • Revert "Updated logic for inline editing considering CT changes" (Ayush Dubey - #305)
  • Updated logic for inline editing considering CT changes (Ayush Dubey - #304)

Fixes

  • fix: remove mousedown handler for button contenteditable (Faraaz Biyabani - 1de44d5)
  • fix: error when selecting a non text HTML element with the cslp of a text field (Faraaz Biyabani - fd0b8d5)
  • fix: pseudo editable element for multiple text fields (Sairaj Chouhan - 56947cc)

Chores And Housekeeping

  • chore: remove duplicate test for edit button rendering (hiteshshetty-dev - d5f313c)
  • chore: improve condition for multiple parent check (Sairaj Chouhan - 119294b)
  • chore: increase timeout (Sairaj Chouhan - 862b350)

Documentation Changes

  • docs(license): update copyright year(s) (github-actions - 8715d90)

Changes to Test Assests

  • test: space character in button contenteditable (Faraaz Biyabani - b88783e)

General Changes

  • Merge pull request #308 from contentstack/VE-4326 (Sairaj - 1b5cde7)
  • Merge pull request #301 from contentstack/VE-4009-pseudo-multiple (Sairaj - e8c6080)

15 November 2024

New Features

  • feat: v3.0.1 (srinad007 - #296)

Fixes

  • fix: psuedo editable re-positioning logic (Faraaz Biyabani - #294)

General Changes

  • remove focus event if selected element is not in dom (srinad007 - #298)
  • remove position relative on element (srinad007 - #297)
  • fix remove highlight variant field classes (srinad007 - #291)

Fixes

  • fix: psuedo-editable element re-positioning logic (Faraaz Biyabani - c6c354b)

Chores And Housekeeping

  • chore: update version (Faraaz Biyabani - 7a5edf5)
  • chore: hide overlay on delete event (Sairaj Chouhan - 7a9a14e)

General Changes

  • Merge pull request #295 from contentstack/VE-3974-focus-loses-when-a-field-is-deleted (Sairaj - ebc671b)

5 November 2024

New Features

  • feat: hide edit tags when website is in timeline preview (Kirtesh Suthar - #285)
  • feat: add support to live sync form on inline editing (Hitesh Shetty - #279)
  • feat: created seperate class for permenant tooltip (Venkatesh B - #263)
  • feat: UI Text and Error message changes (Venkatesh B - #262)
  • feat: include href in init call (Hitesh Shetty - #255)
  • feat: discussionId to discussion payload changes(Imapct of resolve API) (Venkatesh B - #248)
  • feat: add mouse click event handling and post message support (Hitesh Shetty - #253)
  • feat: Handle Comment modal should open on click event in highlighed … (Hitesh Shetty - #242)
  • feat: update comment highlighting to append icons within visual build… (Hitesh Shetty - #232)
  • feat: add support for base field editing (Hitesh Shetty - #231)
  • feat: Highlight active discussion (Venkatesh B - #230)
  • feat: add Inter font for visual builder (Hitesh Shetty - #221)
  • feat: hover state styling for more buttons (Faraaz Biyabani - #191)
  • feat: expand add buttons of a block on hover (Faraaz Biyabani - #190)
  • feat: enhanced field label in focused toolbar (Hitesh Shetty - #181)
  • feat: focus on added instance or block (Faraaz Biyabani - #177)
  • feat: hide focus overlay on add instance button click (Hitesh Shetty - #171)
  • feat: update focussed state and misc. improvements (Faraaz Biyabani - #167)
  • feat: replace reference (Faraaz Biyabani - #166)
  • feat: disabled state for hover outline and field focus outline (Faraaz Biyabani - #158)
  • feat: toolbar edit icons for modal editable fields (Faraaz Biyabani - #156)
  • feat: field edit modal for JSON RTE and link fields (Faraaz Biyabani - #150)
  • feat: hide/show custom cursor on canvas mouseleave/mouseenter (Hitesh Shetty - #146)
  • feat: Refactor getLiveEditorRedirectionUrl to use URLSearchParams (Hitesh Shetty - #144)
  • feat: handling date fields (Faraaz Biyabani - #140)
  • feat: handling number fields (Faraaz Biyabani - #139)
  • feat: add support to disabled editing in Canvas (Hitesh Shetty - #99)
  • feat: isSSR boolean value in liveEditorPostMessage.send event's payload (sayan-contentstack - #98)
  • feat: support test ellipsis in edit field (Deepak Kharah - #97)
  • feat: set live preview details from the URL (Deepak Kharah - #95)
  • feat: conditionally add edit button (Deepak Kharah - #90)
  • feat: live editor url contains the target url in search param (Deepak Kharah - #87)
  • feat: move btn to right and add focus event (Deepak Kharah - #84)
  • feat: Retrieve field metadata from the parent (Deepak Kharah - #83)
  • feat: update outline styles (Deepak Kharah - #80)
  • feat: escape key closes the overlay (Deepak Kharah - #77)
  • feat: add config handler (Deepak Kharah - #75)
  • feat: hide start editing button inside editor (Deepak Kharah - #74)
  • feat: convert button to anchor tag (Deepak Kharah - #73)
  • feat: retrieve content type from the editor (Deepak Kharah - #71)
  • feat: add locale support for visual editor (Deepak Kharah - #70)
  • feat: handle individual fields (Deepak Kharah - #69)
  • feat: separate input event (Deepak Kharah - #63)
  • feat: handle visual editor number fields (Deepak Kharah - #62)
  • feat: add multiple buttons and add test cases (Deepak Kharah - #60)
  • feat: add proper support for getFieldTypes (Deepak Kharah - #59)
  • feat: handle add buttons during multiple (Deepak Kharah - #58)
  • feat: add content type schema interface (Deepak Kharah - #57)
  • feat: handle stack details for editor mode (Deepak Kharah - #54)
  • feat: SDK redirects to client url params. (Deepak Kharah - #53)

Fixes

  • fix: publishing issues (Deepak Kharah - #293)
  • fix: escape regexp (Hitesh Shetty - #276)
  • fix: disable add instance button when max. instances have been added (Faraaz Biyabani - #254)
  • fix: github issue: add URL only when init-ack received (Mridul Sharma - #247)
  • fix: adding curser pointer to the component (Venkatesh B - #245)
  • fix: handle cursor collapse on empty element (Faraaz Biyabani - #241)
  • fix: bug fixing on taxanomy and link field multiple (Venkatesh B - #223)
  • fix:hide comment icon when not needed (Hitesh Shetty - #222)
  • fix: hide contenteditable outline (Faraaz Biyabani - #220)
  • fix: visual builder icon class name changes (Venkatesh B - #215)
  • fix: incorrect focus on blocks field instead of new block (Hitesh Shetty - #197)
  • fix: heading infinite loader and window error in server (Hitesh Shetty - #193)
  • fix: link navigation (Faraaz Biyabani - #184)
  • fix: multiple instance added at incorrect index (Faraaz Biyabani - #172)
  • Fix: Field toolbar append issue (Ayush Dubey - #168)
  • fix: display names loading state (Faraaz Biyabani - #163)
  • fix: single line line break and unnecessary psuedo editable due to nbsp (Faraaz Biyabani - #160)
  • fix: duplicate field path items (Faraaz Biyabani - #157)
  • fix: types in test file (Hitesh Shetty - #151)
  • fix: add windowType in the editor's init. (Deepak Kharah - #92)
  • fix: update field adds <div/> element (Deepak Kharah - #91)
  • fix: add instance returned incorrect index (Deepak Kharah - #86)
  • fix: redirect page to /live-editor (Deepak Kharah - #72)

Chores And Housekeeping

  • chore: update readme (Deepak Kharah - #292)
  • chore: remove recheck package and simplify the code (Hitesh Shetty - #280)
  • chore:implement disabled fields in audience mode (srinad007 - #218)
  • chore: remove the unused packages (Deepak Kharah - #219)
  • chore: bump version for version compatibility with UI-React LP 2.0 (Hitesh Shetty - #148)
  • chore: add event to get all entries in a page (Sairaj - #96)
  • chore: snyc changes from main (Deepak Kharah - #88)
  • chore: update @contentstack/advanced-post-message version (Deepak Kharah - #79)

Changes to Test Assests

  • test: fix and reorganize unit tests (Hitesh Shetty - #258)
  • test: fix cases of sdk modularization (Deepak Kharah - #105)
  • test: handle overlay DOM for inline editing (Deepak Kharah - #61)
  • test: add cases for basic implementation (Deepak Kharah - #55)

General Changes

  • Vc 115/live editor support (Deepak Kharah - #246)
  • Ve 3862 unit testing for Comment Icon and related code (Venkatesh B - #282)
  • Ve 3823 Tooltip Position Invert when space isn't available (Hitesh Shetty - #289)
  • Handle remove focus event (srinad007 - #290)
  • reevaluate variant classes when reloading iframe (srinad007 - #287)
  • VE-3888 Keep Z Index of toolbar & its child elements at highest possible value (Amey Shrivastava - #281)
  • Ve 3818 variant icon in toolbar (Hitesh Shetty - #277)
  • Field focus wrapper and toolbar design update (Hitesh Shetty - #275)
  • Sync/main change 2.0.4 (Hitesh Shetty - #274)
  • Ve 3709 (Hitesh Shetty - #273)
  • store variant and cms locale in global state (srinad007 - #272)
  • card button resizing issue fixed (jothi-contentstack - #265)
  • VE-3355 send additional data for field revert (Hitesh Shetty - #269)
  • Shift focus when editableElement position/size changes due to external change (Ayush Dubey - #266)
  • After Patch Update Variant Classes | Recalculate Variant Data CSLP Values (Amey Shrivastava - #264)
  • VE-3573: Fix Custom Cursor Issues (Flicker & Additional Space) | IFrame Body Height Mismatch due to residual overlay (Amey Shrivastava - #268)
  • Add: Try catch to getFieldVariantStatus (Hitesh Shetty - #261)
  • Added mode in init event post message (Ayush Dubey - #259)
  • implement highlight variant fields in audience when checked (srinad007 - #257)
  • Ve 3355 iframe variant revert (Hitesh Shetty - #252)
  • Exported VB_EmptyBlockParentClass (Ayush Dubey - #251)
  • Typescript Delivery SDK support (Ayush Dubey - #244)
  • Custom mouse pointer z-index fix (Ayush Dubey - #239)
  • Ve 3038 add support to highlight comments in canvas on discussion tab open (Venkatesh B - #237)
  • multiple toolbar fix (Ayush Dubey - #236)
  • VE-3200-migrate-sdk-from-editor-to-builder (Deepak Kharah - #226)
  • VE-3197-update-test-setup (Deepak Kharah - #225)
  • Changes to support tsup/esbuild + preact (Ayush Dubey - #224)
  • Ve 72 render comment icon in the focus editing view (Venkatesh B - #216)
  • Ve 72 render comment icon in the focus editing view (Venkatesh B - #214)
  • Ve 2866 (srinad007 - #208)
  • VE-2647-merge-v2-v3 (Deepak Kharah - #207)
  • Multiline Field Support (Ayush Dubey - #204)
  • Taxonomy Icon on custom cursor (Ayush Dubey - #203)
  • Multiple Reference Instances' toolbar buttons (Ayush Dubey - #202)
  • Canvas URL field editing and mouse event blocking (Ayush Dubey - #199)
  • Toolbar Dropdown buttons hover styles and contenteditable border remove (Ayush Dubey - #194)
  • VE-2354 Fix: Overflow & Cutoff on Right Edge (Amey Shrivastava - #192)
  • Consistent Toolbar Position (Amey Shrivastava - #189)
  • MouseHover fix (Ayush Dubey - #188)
  • Fix: Hover on editable element (Ayush Dubey - #187)
  • Adjust toolbar position to prevent overlap when space is limited (Amey Shrivastava - #185)
  • highlight draft fields (srinad007 - #183)
  • VE-2376 Handle changes in element positions due to sidebar toggling or window resizing (Amey Shrivastava - #182)
  • Revert "Editable components cursor visibility style changes" (Hitesh Shetty - #180)
  • Revert "Overlay style and calculation changes" (Hitesh Shetty - #179)
  • Overlay style and calculation changes (Ayush Dubey - #178)
  • Multiline Text field enhancements (Ayush Dubey - #176)
  • Disable navigation arrows based on position (Amey Shrivastava - #174)
  • Hide the caret if there are no parent paths (Amey Shrivastava - #175)
  • Editable components cursor visibility style changes (Ayush Dubey - #173)
  • Overlay calculation fix for hover leakage (Ayush Dubey - #155)
  • Fix outline clickability (Ayush Dubey - #153)
  • Import fix for test file (Faraaz Biyabani - #152)
  • Overlay changes to stop anchor tag navigation (Ayush Dubey - #149)
  • Revert "feat: handling date fields" (Faraaz Biyabani - #143)
  • Fix the bug that caused wrong fieldWrapper parent tags above blocks of a modularblock field (sayan-contentstack - #138)
  • Added event to retrieve all entries in a page (Ayush Dubey - #133)
  • Cursor behaviour change on hover and click (Ayush Dubey - #131)
  • Replace asset button ui update (sayan-contentstack - #129)
  • Fix for website shaking due to overlay (Ayush Dubey - #125)
  • Plus button to only appear on mouse click (Ayush Dubey - #124)
  • Added outline to hovered elements (Ayush Dubey - #123)
  • Introduced EmptyBlocks for handling empty block entries (Ayush Dubey - #122)
  • Introduced Instance's fieldPathWithIndex in post-message payloads (Ayush Dubey - #119)
  • EB-1566: Few fields like links groups etc are not highlighted properly (Vishvam S - #118)
  • EB-1565: Sidebar sometimes load and sometimes doesn't (Vishvam S - #117)
  • EB-1045: Unit test case for sdk fix existing test cases (Vishvam S - #114)
  • EB-1201: Edit button is showing in live editor window (Vishvam S - #112)
  • EB-1200: Implement signals in live preview sdk (Vishvam S - #111)
  • EB-1047 : Unit test case for new framework (Vishvam S - #108)
  • Add Preact Support (Vishvam S - #107)
  • Eb 1043 modularize the sdk (Deepak Kharah - #104)
  • Add support for Focused State (Ravi Lamkoti - #94)
  • Add support for custom cursor icon (Hitesh Shetty - #93)
  • Eb 766 resize focus area onchange (Jayesh Deorukhkar - #82)

New Features

  • feat: Added unit testing for comment icon (Venkat - 9da12c6)
  • feat: increase z-index for Builder DOM elements (hiteshshetty-dev - 7aed918)
  • feat: rename OPEN_QUICK_FORM to TOGGLE_FORM in post message events (hiteshshetty-dev - 9da8bdf)
  • feat: increase z-index for Field Label dropdown items (hiteshshetty-dev - b5a95d3)
  • feat: code cleaning (Venkat - a018d0f)
  • feat: render commment icon and integrate with visual-builder modal (Venkat - a3b2262)
  • feat: Handle Comment modal should open on click event in highlighed icon (Venkat - 959e6b7)
  • feat: update comment icon for Highlight (hiteshshetty-dev - 246853d)
  • feat: fix psuedo editable element positioning (hiteshshetty-dev - 06449bd)
  • feat: handle scroll to field (Venkat - 763ae74)
  • feat: update comment highlighting to append icons within visual builder container (hiteshshetty-dev - a9fd211)
  • feat: add Inter font (Faraaz Biyabani - 59f442b)
  • feat: live editor prototype (Deepak Kharah - 163e847)
  • feat: handle date field (Faraaz Biyabani - c20bab5)
  • feat: get content types from the editor (Deepak Kharah - 6572502)
  • feat: number field tests and esc to unfocus fields (Faraaz Biyabani - 44fe96d)
  • feat: add icons for all modal editable fields (Faraaz Biyabani - cd52e03)
  • feat: remove manual dom replacement for SSR (Deepak Kharah - c0c1e6e)
  • feat: update focussed state in resize observer (Faraaz Biyabani - af2c05f)
  • feat: move postmessage to eventManager (Deepak Kharah - c41fef8)
  • feat: update getFieldType (Deepak Kharah - 7ff3f06)
  • feat: add support for disabled state in canvas (hiteshshetty-dev - 061d1d3)
  • feat: field edit modal (Faraaz Biyabani - fd37415)
  • feat: deprecate passing only stack sdk (Deepak Kharah - 4eaeecd)
  • feat: add custom cursor support (hiteshshetty-dev - 7e9de74)
  • feat: use config handler (Deepak Kharah - f7b703b)
  • feat: add parent data in cslp (Deepak Kharah - cd0f91e)
  • feat: add icons for json rte, link (Faraaz Biyabani - 57c962b)
  • feat: add replace asset button (Deepak Kharah - 6322c9b)
  • feat: move start editing button to new folder (Deepak Kharah - 10efafa)
  • feat: disabled hover and field focus states (wip) (Faraaz Biyabani - 41d2305)
  • feat: Add mode support (Deepak Kharah - 941d7bd)
  • feat: updating the focus when dom is resized (Jayesh Deorukhkar - 2b71e35)
  • feat: add adv post message (Deepak Kharah - fdac751)
  • feat: focus newly added instances (Faraaz Biyabani - 1856d87)
  • feat: update type for getFieldType (Deepak Kharah - 9d268f8)
  • feat: handle stack detail in editor mode (Deepak Kharah - 6b763e4)
  • feat: add support for custom field (Deepak Kharah - 75f9ca7)
  • feat: cleanup on cancel, field specific container div (Faraaz Biyabani - 3fb21ab)
  • feat: disconnect mutation observer after timeout (Faraaz Biyabani - 7ff5f30)
  • feat: disabled hover and field focus states (Faraaz Biyabani - 7e29dda)
  • feat: add separate live preview module in editor (Deepak Kharah - c4273b0)
  • feat: make debug flag official (Deepak Kharah - 95fddd0)
  • feat: disable default cursor in visual editor (hiteshshetty-dev - 4bb7686)
  • feat: add branch support (Deepak Kharah - 8de07f4)
  • feat: add testid to start editing button (Deepak Kharah - 1db1fba)
  • feat: update app port to 3030 (Deepak Kharah - b927fba)

Fixes

  • fix: removed some cases (Venkat - 798a6ef)
  • fix: code cleaning (Venkat - d25210f)
  • fix: missing init data (Faraaz Biyabani - 90b7d60)
  • fix: return the data when mode is builder (Deepak Kharah - 94891b9)
  • fix: code cleaning (Venkat - 376d731)
  • fix: test case failure in fieldLabelWrapper (hiteshshetty-dev - a607170)
  • fix: code cleaning (Venkat - f33a11e)
  • fix: missing properties in destory fn (hiteshshetty-dev - 2999970)
  • fix: code cleaning (Venkat - 211617a)
  • fix: tsup was building test cases (Deepak Kharah - 9e0bfae)
  • fix: LP SDK build issues (hiteshshetty-dev - 1c9a54d)
  • fix: Unique Validation is added (Venkat - 174740d)
  • fix: removed when not needed (Venkat - 5b2bad6)
  • fix: use preact jsx runtime (Kirtesh Suthar - b8e2dc5)
  • fix: handle Image and Link Field for fieldPath (Venkat - c8cd2fe)
  • fix: code cleaning (Venkat - 7aff68a)
  • fix: remove leading dot from class names in variant field handling (hiteshshetty-dev - 88519ac)
  • fix: rename prepack script to prepare for consistency (hiteshshetty-dev - a382d90)
  • fix: add support for focused state (hiteshshetty-dev - fe9e0f1)
  • fix: add test cases for shouldRenderEditButton and toggleEditButtonElement (Vishvam10 - f5944a5)
  • fix: updated test snapshots in liveEditor (Vishvam10 - 2038712)
  • fix: multiple add instance buttons not shown while hovering (Vishvam10 - e58df20)
  • fix: incorrect focus on blocks field instead of newly added block (Faraaz Biyabani - 9b7c776)
  • fix: single line line break and unnecessary psuedo editable due to nbsp (Faraaz Biyabani - 63d2f6a)
  • fix: moved global state into VIsualEditor class and updated params.ts to types.ts (Vishvam10 - e211d2d)
  • fix: resolve overlay issue occurring upon clicking the visual editor wrapper element (Vishvam10 - 64d7f3d)
  • fix: eslint errors, add return types and updated interfaces to types (Vishvam10 - 59a3ca0)
  • fix: remove invalid workflow files (Deepak Kharah - a4f1a80)
  • fix: remove sendPostmessageToWindow (Vishvam10 - 1daf71a)
  • fix: improve test cases for getExpectedFieldData (Vishvam10 - 391ebe9)
  • fix: improve test cases for StartEditingButtonComponent (Vishvam10 - 93cb9f0)
  • fix: convert methods to anonymous functions (Deepak Kharah - 1ed5f7b)
  • fix: sidebar load issue and minor bug fixes in tests (Vishvam10 - 853b1ae)
  • fix: breaking test cases (hiteshshetty-dev - da46a55)
  • fix: static method cannot be called using this (Deepak Kharah - 3d9347a)
  • fix: import and tests in inIframe function (Vishvam10 - 6806ffb)
  • fix: multiple CT fetch on hover (hiteshshetty-dev - f64ad4b)
  • fix: hide/show cursor when pointer leaves/enters canvas (Faraaz Biyabani - 4adc1dc)
  • fix: added resizeobserver mock for failing cases (Jayesh Deorukhkar - eaa7c3a)
  • fix: incorrect query selector in focusedToolbarElement and remove mouseOver listener (Vishvam10 - e97f3b2)
  • fix: start editing button did not work (Deepak Kharah - 9e4e31d)
  • fix: fix incorrect filename (Deepak Kharah - ef47dda)
  • fix: remove unavailable repo (Deepak Kharah - ab37513)
  • fix: re-add .husky folder after deletion (Vishvam10 - 7415e8f)
  • fix: minor bug in handle link click event in live preview test (Vishvam10 - ced1596)
  • fix: add proper check condition before updating focus (Jayesh Deorukhkar - 7bacffa)
  • fix: remove edit button from visual editor (Vishvam10 - bcebd06)
  • fix: changing function to arrow (Jayesh Deorukhkar - 795b874)
  • fix: update data-csle tag (Deepak Kharah - 67329e8)
  • fix: rename liveEditorPostMessage to livePreviewPostMessage (Deepak Kharah - 2556ef6)
  • fix: cursor not visible in normal operation (Deepak Kharah - 25ad0c6)
  • fix: remove unintented style changes (Jayesh Deorukhkar - 0c0308f)
  • fix: adv post message use to emit debug logs. (Deepak Kharah - f780724)
  • fix: version is number and not string (Deepak Kharah - 75cade0)
  • fix: highlight issue on few fields (Vishvam10 - 63aaf0b)
  • fix: remove the underline from start editing button (Deepak Kharah - ed71504)

Chores And Housekeeping

  • chore: remove doc (Deepak Kharah - 2974d51)
  • chore: use package to check for regex vulnerability (Deepak Kharah - cb81128)
  • chore: not send update on noTrigger (Sairaj Chouhan - ad600f6)
  • chore: remove cursor styles of button and anchors (Sairaj Chouhan - 3c75a7e)
  • chore: fix test cases (hiteshshetty-dev - 22ab4c2)
  • chore: fix long running test for fieldToolbar (hiteshshetty-dev - 136c030)
  • chore: add conditional chain option for variant check (hiteshshetty-dev - bfa23d1)
  • chore: fix test cases for VB (hiteshshetty-dev - e9b7e17)
  • chore: add coverage dependency and update live preview test assertions (hiteshshetty-dev - 9197194)
  • chore: add optional dependencies for Rollup packages (hiteshshetty-dev - d429835)
  • chore: show error on wrong cslp tag (Sairaj Chouhan - ac4fd3d)
  • chore: skip some tests (Faraaz Biyabani - 7251fac)
  • chore: error handling for events that receive data from builder (Sairaj Chouhan - c6fb613)
  • chore: remove redundant class names from snapshot tests (hiteshshetty-dev - df40b78)
  • chore: show updated overlay after selecting variant (Sairaj Chouhan - 59847bb)
  • chore: handle post message fail case for cslp error (Sairaj Chouhan - 776301a)
  • chore: move current field icon to a function (Sairaj Chouhan - 455d5aa)
  • chore: merge commit (Sairaj Chouhan - a6b1518)
  • chore: remove anchor cursor style on hover (Sairaj Chouhan - eecf4cc)
  • chore: add optional chaining for process (hiteshshetty-dev - 8713bf7)
  • chore: add padding to error box instead of button (Sairaj Chouhan - eb8fb89)
  • chore: remove disabled state for toolbar button (Sairaj Chouhan - 838bea9)
  • chore: remove duplicate imports (hiteshshetty-dev - bb79a3a)
  • chore: add React import (Faraaz Biyabani - c724e48)
  • chore: move to vitest (Deepak Kharah - fd4679b)
  • chore: use new eslint config (Deepak Kharah - 9181e27)
  • chore: rename functions from editor to builder (Deepak Kharah - 770821f)
  • chore: rename live editor to visual builder (Deepak Kharah - fe54ac6)
  • chore: rename files to visual builder (Deepak Kharah - 828a313)
  • chore: remove unused dependencies (Deepak Kharah - cf6dbbe)
  • chore: update eslint to improve DXP (Deepak Kharah - e7eaa4e)
  • chore: add unit test workflow (Deepak Kharah - d2acd7a)
  • chore: make tsup typesafe (Deepak Kharah - e6534a3)
  • chore: add alias for preact in tsup config (Kirtesh Suthar - 20bf81d)
  • chore: add coverage for ci (Deepak Kharah - 69712be)
  • chore: try fixing the preact tsup build issue (Kirtesh Suthar - 716e38e)
  • chore: setup preact config (Vishvam10 - 85397c6)
  • chore: add config files for testing Preact elements (Vishvam10 - b8df4f6)
  • chore: update dependencies from v2 (Deepak Kharah - 6398195)
  • chore: update classnames to builder (Deepak Kharah - c0b1a5d)
  • chore: snapshot update (hiteshshetty-dev - 228622f)
  • chore: prettify code and changed visualEditorWrapper to visualEditorContainer (Vishvam10 - c399a3e)
  • chore: move lodash to lodash-es (Deepak Kharah - 52d5bc8)
  • chore: remove as unknown and re-added commented test cases (Vishvam10 - 64ee0a9)
  • chore: re-add commented test cases (Vishvam10 - ba63283)
  • chore: lint and prettify code (Vishvam10 - e7160df)
  • chore: remove console.log and prettify code (Vishvam10 - 40485e4)
  • chore: sync timeline changes (Deepak Kharah - 0dfb717)
  • chore: re-add commented test cases (Vishvam10 - bc7fdcd)
  • chore: lint and prettify code (Vishvam10 - 378ea8b)
  • chore: update package version (Deepak Kharah - 7095c22)
  • chore: rename it to test in test cases (Vishvam10 - 5f5ba6a)
  • chore: temp fix test case (hiteshshetty-dev - cf567a0)
  • chore: sync hoc (Deepak Kharah - 9de5417)
  • chore: de-deuplicate cleanup logic (Faraaz Biyabani - 39fba5f)
  • chore: add comments to add debug module (Deepak Kharah - fb42531)
  • chore: sync preview module (Deepak Kharah - d3220f7)
  • chore: remove redundant .eslintrc.json (Deepak Kharah - e6991f4)
  • chore: remove console.logs (Vishvam10 - 42a90fb)
  • chore: removed unused imports and ts-nochecks (Vishvam10 - 887f70e)
  • chore: just-camel-case package for CSS styles and update adv-post-message (Vishvam10 - d4793f3)
  • chore: fix vulnerabilities (Deepak Kharah - 737fa27)
  • chore: debug should come from config (Deepak Kharah - 2fe374d)
  • chore: add data-testid to icons (Vishvam10 - 03efb1c)
  • chore: bump version from 2.0.0 to 3.0.0 (Faraaz Biyabani - 1a9ea82)
  • chore: rename getExpectedFieldData to getFieldData (Faraaz Biyabani - 73e8f44)
  • chore: add type for post message events (Deepak Kharah - 10a9099)
  • chore: add jest function for mocking on (Sairaj Chouhan - 7618f4a)
  • chore: update script name (Deepak Kharah - ae42b15)
  • chore: sync url change changes (Deepak Kharah - 1bf2f8a)
  • chore: rename test file, fix import (Faraaz Biyabani - 5fe0b6e)
  • chore: add note regarding Esc unfocus shortuct (Faraaz Biyabani - aeb3f89)

Refactoring and Updates

  • refactor: update Live Editor redirection URL to use "visual-builder" instead of "visual-editor" (hiteshshetty-dev - c25e1cd)
  • refactor: move edit button into separate file (Deepak Kharah - 4ca01a0)
  • refactor: move files to appropriate modules (Deepak Kharah - 3bc7ba8)
  • refactor: add state property to Config getter and setter and update associated functions (Vishvam10 - 0f4cb82)
  • refactor: organize event listeners into separate folders and introduce corresponding types (Vishvam10 - 1885c0c)
  • refactor: added wrapper methods to deal with preact components (Vishvam10 - 312f9f9)
  • refactor: made previousSelectedDom and previousHoveredTargetDom global (Vishvam10 - 49e8ad7)
  • refactor: extracted components out of VisualEditor class (Vishvam10 - d89bcdf)
  • refactor: break code into smaller chunks (Deepak Kharah - 086e4a3)
  • refactor: focused toolbar logic into separate component with internal state management (Vishvam10 - 22a6174)
  • refactor: extract getExpectedFieldData, getStyleOfAnElement and getChildrenDirection into a separate utils file (Vishvam10 - 72c9c9c)
  • refactor: implement deepSignal into Config object (Vishvam10 - 2843bc0)
  • refactor: mouse click events (Vishvam10 - 6608301)
  • refactor: converted icons (Vishvam10 - 6b6ec33)
  • refactor: move common schema type (Deepak Kharah - 37a9b37)
  • refactor: remove unused exports (Deepak Kharah - 343a048)
  • refactor: add signals to global state (Vishvam10 - 3ffd440)
  • refactor: moved getLiveEditorRedirectionUrl to a separate file (Vishvam10 - 26d6f4e)
  • refactor: moved handleMoveInstance and handleDeleteInstance to a separate file (Vishvam10 - e32b3e4)
  • refactor: moved getExpectedFieldData and getStyleOfAnElement tests (Vishvam10 - fc118e1)
  • refactor: remove unused variables (Deepak Kharah - f956c77)

Changes to Test Assests

  • test: fix WIP (Faraaz Biyabani - eeb20ca)
  • test: temp fix test cases (hiteshshetty-dev - 59a0b13)
  • test: refactor visual builder tests for contenteditable elements (hiteshshetty-dev - 56e63b9)
  • test: increase timeout for visual builder contenteditable tests (hiteshshetty-dev - d2c2210)
  • test: remove console log from Live Preview HOC test (hiteshshetty-dev - f116a96)
  • test: fix existing test cases after major refactor (Deepak Kharah - 90e3d45)
  • test: update test cases to support conditional ct (Deepak Kharah - c22609c)
  • test: add cases for basic working (Deepak Kharah - 6ce1d79)
  • test: update test cases for live preview (Deepak Kharah - c4224c0)
  • test: add cases for mode support (Deepak Kharah - d0c20a4)
  • test: stack details in editor mode (Deepak Kharah - 423a511)
  • test: add cases for visual editor DOM (Deepak Kharah - 2340409)
  • test: add test for getEntryUidFromCurrentPage (Sairaj Chouhan - e2a58d8)
  • test: add cases for start editing button (Deepak Kharah - e202936)
  • test: add branch scenarios (Deepak Kharah - ea93054)
  • test: optimize import (Deepak Kharah - 5c625fb)
  • test: update snapshots (Deepak Kharah - 64a9cd8)
  • test: fix test cases (Deepak Kharah - 5743018)

General Changes

  • variant icon in toolbar (Amey Shrivastava - 63be135)
  • field focus toolbar re design update (devAyushDubey - 1868582)
  • Tooltip Position Invert when space isn't available (Amey Shrivastava - b26fb52)
  • position for multiple fields and fix tooltip css (Amey Shrivastava - b9ab40c)
  • fix consequences of pr change (Srinadh Reddy - ef40e05)
  • fixed test cases (devAyushDubey - d2b5859)
  • fix remove handle focus event (Srinadh Reddy - 1548662)
  • Add Section & Comment Icon tooltip (Amey Shrivastava - d31f6c0)
  • closeVariantDropdown instead of passing state setter (Amey Shrivastava - b6addfd)
  • Keep Z Index of toolbar & its child elements at highest possible value (Amey Shrivastava - e57e220)
  • update code to work only in case of single fields (Srinadh Reddy - 384d1a4)
  • fix pr changes (srinad007 - ddf8b14)
  • fix test cases (Srinadh Reddy - d0d94e4)
  • reduce z index of pseudo-editable-element to prevent overlap with toolbar / variant dropdown (Amey Shrivastava - 622ec61)
  • fix update z index (Srinadh Reddy - 786d4f8)
  • increase z-index (Amey Shrivastava - dcbc424)
  • Merge pull request #286 from contentstack/hide-focus-on-variant-change (Sairaj - cabe89c)
  • Merge pull request #278 from contentstack/VE-3494-remove-cursor-pointer-on-links (Sairaj - c572486)
  • Updated codeowners (Aravind Kumar - 250bcd3)
  • codeql-analysis.yml (Aravind Kumar - 8d21d3b)
  • sast-scan.yml (Aravind Kumar - 79c20c3)
  • jira.yml (Aravind Kumar - 8dda73f)
  • sca-scan.yml (Aravind Kumar - 4fba641)
  • Merge pull request #271 from contentstack/VE-3549 (Sairaj - 3f0664a)
  • add variant revert component (Amey Shrivastava - c3aec57)
  • allow focus shift on external field changes (devAyushDubey - a1befd6)
  • Fix Custom Cursor Issues (Flicker & Additional Space) (Amey Shrivastava - b297c82)
  • conflict fix (Venkat - 808e4e6)
  • Keep class but remove style (Amey Shrivastava - 131d9a2)
  • Cleanup overlay styles: Top, Right, Bottom, Left & Outline | IFrame Body Height Mismatch due to residual overlay (Amey Shrivastava - 8e4939e)
  • send-variant-revert-action-trigger (Amey Shrivastava - 058c5fc)
  • test cases fix (devAyushDubey - 9d30360)
  • Increase VARIANT_UPDATE_DELAY_MS timeout to 8 seconds (Amey Shrivastava - ffd898e)
  • Comment changes (Venkat - a137476)
  • Merge pull request #267 from contentstack/VE-3494-cursor-pointer-on-links (Sairaj - f1dafc6)
  • Merge pull request #260 from contentstack/VE-3494-cursor-pointer-on-links (Sairaj - 5b6e648)
  • mode in init event (devAyushDubey - c33b397)
  • Merge pull request #250 from contentstack/handle-postmessage-fail-cases (Sairaj - 8a72c9e)
  • exported VB_EmptyBlockParentClass (devAyushDubey - 80e0c88)
  • Merge pull request #249 from contentstack/handle-invalid-clsp-tags (Sairaj - 317618b)
  • changes for supporting esbuild, removed alias for preact/compat (devAyushDubey - 89e08f9)
  • fix merge issues for incompatible errors (Srinadh Reddy - 8768adf)
  • Bug Fixing on taxonom and group field (Venkat - 3bc9da0)
  • Bug Fixing on Focus Field (Venkat - 701dd9f)
  • payload changes on scroll event (Venkat - 567e39d)
  • Open Modal and scroll field event data payload changes (Venkat - 0982c1a)
  • Get DiscussionId Post message Payload changes (Venkat - 96d23a0)
  • added custom mouse z-index (devAyushDubey - 65e9bf0)
  • only changed if stack.config passed (devAyushDubey - 3a3b99c)
  • VC-115/live-editor-support merge (devAyushDubey - e424bd4)
  • Get DiscussionId Post message Payload changes (Venkat - f731ef1)
  • merged with VC-115/live-editor-support (Venkat - 5037257)
  • add: test cases for window.onClick method (Vishvam10 - f552048)
  • add: on focus send DOMEditStack (RavenColEvol - 85b4f27)
  • fix : revert Config.get method to return the entire object and update test cases accordingly (Vishvam10 - 79323ed)
  • add: preact effect to handle windowType change and update existing test cases (Vishvam10 - 1244b76)
  • add: test cases for visualEditorInput (Vishvam10 - 5dd3a62)
  • add: test cases for updated Config object (Vishvam10 - 5485bc8)
  • add: test cases for liveEditor utils (Vishvam10 - b6e2b32)
  • add: test cases for add instance button (Vishvam10 - dc5cd49)
  • add: test cases for fieldLabelWrapper, focusOverlayWrapper and startEditingButton (Vishvam10 - 2fbdff5)
  • add: test cases for visualEditor (Vishvam10 - 197867a)
  • add: test cases for appendFieldPathDropdown (Vishvam10 - 159a94d)
  • Introduced EmptyBlocks for handling empty block entries (devAyushDubey - b4c4055)
  • add: test cases for addInstanceButton, icons and replaceAssetButton (Vishvam10 - d389c59)
  • Introduced Instance's fieldPathWithIndex in post-message payloads and fixed tests (csAyushDubey - 559aba6)
  • add: test cases for multipleFieldToolbar (Vishvam10 - 59631e7)
  • add: test cases for addLivePreviewQueryTags (Vishvam10 - ba20f18)
  • add: test cases for psuedoEditableField (Vishvam10 - b2bfc02)
  • add support to highlight variants (Srinadh Reddy - 5feb7ca)
  • multiline field handling support (devAyushDubey - e488d2c)
  • add: test cases for instanceHandler (Vishvam10 - f220a1a)
  • add: test cases for replaceAssetButton and startEditingButton (Vishvam10 - 5e1c67f)
  • Handles changes in element positions due to sidebar toggling or window resizing (Amey Shrivastava - cbe317f)
  • add: test cases for PublicLogger (Vishvam10 - ec92044)
  • add: test cases for getCamelCaseStyles (Vishvam10 - c873eea)
  • Implemented logic for cursor behavior on hover and click (devAyushDubey - 048b162)
  • add: test cases for removeFromOnChangeSubscribers (Vishvam10 - edc7a82)
  • Moved + button render code from mouse hover to click (devAyushDubey - 57201ee)
  • add: test cases for inIframe (Vishvam10 - 379062b)
  • add support to edit highlighted variant fields (Srinadh Reddy - bfbe560)
  • Get emptyBlockParent from fieldSchema (devAyushDubey - a3b0b22)
  • Overlay changes to make anchor tags unclickable (devAyushDubey - 4bfa3cb)
  • add: classnames package (Vishvam10 - c53a591)
  • update cslp in extractclsp function (srinad007 - 938e325)
  • overlay style and calculation fix (devAyushDubey - 8e0ecaf)
  • add: deepSignal package (Vishvam10 - 5826587)
  • adjustedDistanceFromTop (Amey Shrivastava - 4c583a0)
  • fixed toolbar append issue (devAyushDubey - 79dca74)
  • Hover on closest ancestor parent cslp (editableElement) (devAyushDubey - f0e96cc)
  • create resizeEventHandler & handle window.removeEventListener (Amey Shrivastava - ae72d88)
  • multiline text field enhancements (devAyushDubey - eb01407)
  • Calculation with different approach considering scroll bar (devAyushDubey - a110168)
  • reference multiple logic to generateToolbar (devAyushDubey - 15de2a9)
  • Toolbar dropdown button hover and contenteditable outline changes (devAyushDubey - 75de89b)
  • test fix (SAYAN BAKSHI - 104dca6)
  • Fix pusedoEditableElement's position (SAYAN BAKSHI - 0987d48)
  • multiline changes to pseudo-editable (devAyushDubey - 1ea6c5a)
  • Prevent text cutoff on toolbar left edge by introducing a minimum buffer (Amey Shrivastava - b943e5e)
  • User website: Horizontal Scroll considerations (Amey Shrivastava - 6abb969)
  • minor change (devAyushDubey - b51986d)
  • complete mouse click blocking and canvas URL field editing (devAyushDubey - 170d339)
  • small fix (devAyushDubey - 8c6dbf8)
  • Style changes for editable elements (devAyushDubey - ebea5df)
  • Calculation fix for overlay (devAyushDubey - fa0da55)
  • icon for taxonomy on custom cursor (devAyushDubey - 3955e78)
  • fix type errors for variant (srinad007 - 1d542e5)
  • taking into account empty block for click blocking (devAyushDubey - a8366a3)
  • Update tooltip hover styles (Amey Shrivastava - 66b7fa2)
  • Right overlay width changes (devAyushDubey - d24fce9)
  • Added comments (devAyushDubey - dbcfeb7)
  • removed console.log (devAyushDubey - 2ca7128)
  • style for pseudo-editable (devAyushDubey - f1b90bd)
  • removed unused params (devAyushDubey - c3ad457)

19 September 2024

New Features

  • feat: added support for variant in CSLP tags (Mridul Sharma - #235)
  • feat: added export of IStackSDK type for Typscript contentstack SDK (Mridul Sharma - #233)

Fixes

  • fix: live preview: added variant support in data cslp tag function (Mridul Sharma - #211)

General Changes

  • 1.4.4 release (Mridul Sharma - #165)

New Features

  • feat: added variant support in edit tags (Mridul Sharma - dc7d564)

Fixes

  • fix: resolved window undefined issue (Mridul Sharma - 348103e)

Chores And Housekeeping

  • chore: added integrity attribute to script tag in readme file (Mridul Sharma - f229cd6)
  • chore: removed console log (Mridul Sharma - fc1b9fb)
  • chore: updated package version (Mridul Sharma - 2ab2f16)
  • chore: fixed package json post robot version (Mridul Sharma - 9ab2fd4)

Changes to Test Assests

  • test: updated test for variant edit button tags (Mridul Sharma - 9bbda17)

22 July 2024

New Features

  • feat: add remove-diff listener to toggle highlight diff (Mridul Sharma - #170)

Fixes

  • fix: removed code for default branch (Mridul Sharma - #162)
  • fix: removed code for default branch (Mridul Sharma - #161)

General Changes

  • 1.4.4 V2 release (Mridul Sharma - #164)
  • v 1.4.3 (Mridul Sharma - #137)

Chores And Housekeeping

  • chore: update mustache readme (Kirtesh Suthar - 76c4078)
  • chore: uncomment mustache script (Kirtesh Suthar - c042af1)
  • chore: updated the readme for new initialization for HTML code (Mridul Sharma - dc099d3)
  • chore: bump version to 2.0.3 (Kirtesh Suthar - b24ecc6)
  • chore: uncomment mustache (Kirtesh Suthar - cf39bf6)
  • chore: updated package version for v2 (Mridul Sharma - 953ac72)

Changes to Test Assests

  • test: fix the test cases (Mridul Sharma - e8170fd)

25 June 2024

Fixes

  • fix: edit button was removed from document (Mridul Sharma - #135)
  • fix: removed headers key from SDK init data (Mridul Sharma - #132)

General Changes

  • 1.4.3 release for v2 SDK (Mridul Sharma - #145)

Fixes

  • fix: removed headers key from SDK init data as it no longer supports in contentstack SDK (Mridul Sharma - 7c15b22)
  • fix: edit button was removed from document because of nextjs router push and replace method (Mridul Sharma - 04c5da6)
  • fix: updated code version for v2 type version (Mridul Sharma - 923af60)

General Changes

  • codeql-analysis.yml (Aravind Kumar - f0fc3cb)
  • sast-scan.yml (Aravind Kumar - 5417eaa)
  • jira.yml (Aravind Kumar - 3f7f87d)
  • sca-scan.yml (Aravind Kumar - f2ee8f2)

18 June 2024

Fixes

  • fix: add version bump in package json (Kirtesh Suthar - #142)

General Changes

  • Update README.md (Kirtesh Suthar - #141)

General Changes

  • codeql-analysis.yml (Aravind Kumar - 301829d)
  • sast-scan.yml (Aravind Kumar - 71836b4)
  • jira.yml (Aravind Kumar - fa25902)
  • sca-scan.yml (Aravind Kumar - d47fc72)

18 June 2024

General Changes

  • Ve 1931: Unload support (Kirtesh Suthar - #136)

Fixes

  • fix: styles with goober (RavenColEvol - e505f71)
  • fix: test cases (RavenColEvol - cf91a1b)
  • fix: styles to new design (RavenColEvol - 6f41203)
  • fix: custom element extends (RavenColEvol - 4d66f4c)
  • fix: class names to cs-compare (RavenColEvol - 5e8deb1)
  • fix: goober to be treeshaken (RavenColEvol - 93fe1da)
  • fix: add conditional check to only register custom component once (RavenColEvol - ec7c921)
  • fix: post robot test cases (RavenColEvol - ce1a650)

Chores And Housekeeping

  • chore: bump version to 2.0.0 (RavenColEvol - 550512c)
  • chore: test webpack prod json (RavenColEvol - 7bb0f33)

General Changes

  • remove: live editing css import (RavenColEvol - cdf86e9)
  • bump: package versions (RavenColEvol - ee03b60)
  • add: tsup (RavenColEvol - 0bac3cd)
  • add: css in js support (RavenColEvol - 0599d7c)
  • changed: cs-live-preview-hoc from class to obj (RavenColEvol - db82309)
  • add: page compare util (RavenColEvol - 130d4a2)
  • add: cs-compare custom component to reduce css conflict (RavenColEvol - e76cc8e)
  • change: webpack config to esm (RavenColEvol - f4a6c49)
  • add: page travel with anchor to update with query params (RavenColEvol - 261f52d)
  • add: react script shake support (RavenColEvol - 19b355a)
  • temp: skipping test for now (RavenColEvol - 70b01d0)

19 September 2024

New Features

  • feat: live preview: added variant support in data cslp tag function (Kirtesh Suthar - #234)

Fixes

  • fix: live preview: added variant support in data cslp tag function (Mridul Sharma - #205)

New Features

  • feat: added variant support in edit tags (Mridul Sharma - dc7d564)

Chores And Housekeeping

  • chore: added integrity attribute to script tag in readme file (Mridul Sharma - abc5845)
  • chore: remove logs (Kirtesh Suthar - 84c0fdf)
  • chore: updated package version (Mridul Sharma - ed55469)

Changes to Test Assests

  • test: updated test for variant edit button tags (Mridul Sharma - 9bbda17)

22 July 2024

Fixes

  • fix: removed code for default branch (Mridul Sharma - #161)

General Changes

  • 1.4.4 release (Mridul Sharma - #165)

Changes to Test Assests

  • test: fix the test cases (Mridul Sharma - e8170fd)

25 June 2024

Fixes

  • fix: edit button was removed from document (Mridul Sharma - #135)
  • fix: removed headers key from SDK init data (Mridul Sharma - #132)

General Changes

  • v 1.4.3 (Mridul Sharma - #137)

Fixes

  • fix: removed headers key from SDK init data as it no longer supports in contentstack SDK (Mridul Sharma - 7c15b22)
  • fix: edit button was removed from document because of nextjs router push and replace method (Mridul Sharma - 04c5da6)

24 April 2024

Fixes

  • fix: added branch support for edit button generate url (Mridul Sharma - #115)

General Changes

  • Branch support for Edit button (Mridul Sharma - #116)

Chores And Housekeeping

  • chore: updated package json version (Mridul Sharma - 10cdaa2)

27 February 2024

Fixes

  • fix: EB-(761) Live edit button doesn't go away on page navigation (Mridul Sharma - #101)
  • fix: added sanitization on SSR input URL (Mridul Sharma - #100)
  • fix: (EB-430) removed extra init call to sync the data of website (Mridul Sharma - #76)

General Changes

  • Removd extra init and auto hide feature for Edit button (Mridul Sharma - #102)
  • Update license copyright year(s) (Deepak Kharah - #85)

Fixes

  • fix: removed unsused ssr code (Mridul Sharma - e53f629)
  • fix: removed commented code from test file (Mridul Sharma - e8e3715)

Chores And Housekeeping

  • chore: updated license year in README file (Mridul Sharma - a93043f)
  • chore: updated license year in README file (Mridul Sharma - 0495e3f)
  • chore: increased the package version (Mridul Sharma - e8b5f4a)

Documentation Changes

  • docs(license): update copyright year(s) (github-actions - 3ccbac3)

7 September 2023

New Features

  • feat: get hash from live preview SDK (Deepak Kharah - #67)
  • feat: Get Hash from SDK (Deepak Kharah - #56)

Chores And Housekeeping

  • chore: update deps for node 18 (Deepak Kharah - #68)
  • chore: auto update copyright date in LICENSE (Deepak Kharah - #65)
  • chore: return hash from config params for ssr (Raj - #64)

General Changes

  • use url params as input instead of string (Raj - #66)

New Features

  • feat: live preivew hash is available in HOC (Deepak Kharah - f1fc2c7)
  • feat: get hash from sdk (Deepak Kharah - e5e3027)

Chores And Housekeeping

  • chore: add tests (Sairaj Chouhan - a310928)
  • chore: add workflow to update copyright date (Deepak Kharah - c5f8092)
  • chore: reutrn hash from config params for ssr (Sairaj Chouhan - b41c82c)
  • chore: update package version (Deepak Kharah - 231f8c6)

Documentation Changes

  • docs: add hash and setConfigFromParams to docs (Deepak Kharah - 112183a)

Changes to Test Assests

  • test: check set and get hash (Deepak Kharah - 935a428)
  • test: fix failing tests (Sairaj Chouhan - 9c8fe23)

General Changes

  • change input from string to url params (Sairaj Chouhan - fe1e1f4)

12 May 2023

Chores And Housekeeping

  • chore: automate the generation of top level readme file (contentstackMridul - #50)
  • chore: generate top level readme file automatically (contentstackMridul - #49)

Chores And Housekeeping

  • chore: removed the github action file for readme file generation (Mridul Sharma - c0e6e2d)

11 May 2023

New Features

  • feat: Locale based live preview and edit button controls (contentstackMridul - #48)
  • feat: updated readme file and added error message on edit button enab… (contentstackMridul - #47)
  • feat: added one more key to edit button to enable or disable the query param (contentstackMridul - #46)
  • feat: (CS-36521) Edit button positioning in Live Preview (contentstackMridul - #45)
  • feat: (CS-35937) user can enable or disabled the cslp buttons outside live preview (contentstackMridul - #44)
  • feat: (CS-36522) live preview edit button: locale and env based url (contentstackMridul - #43)

Fixes

  • fix: (CS-35938) Hide the Live preview edit tag by default (contentstackMridul - #42)

New Features

  • feat: added a diffrent approach to enable or disable the edit button (Mridul Sharma - 4e67667)
  • feat: added one more key to edit button to enable or disable the query param to include button (Mridul Sharma - 7be33be)
  • feat: (CS-35937) user can enable or disabled the cslp buttons outside the live preview panel (Mridul Sharma - af3697a)
  • feat: updated readme file and added error message on edit button enablement (Mridul Sharma - 67bf32f)
  • feat: (CS-35937) added extra array check on edit button exclude key (Mridul Sharma - fa82249)
  • feat: (CS-35937) renamed the keys of edit button exclude array (Mridul Sharma - f325800)

Fixes

  • fix: fixed the edit button center position (Mridul Sharma - a187b0b)

Chores And Housekeeping

  • chore: version sdk updated (Mridul Sharma - 5108d7e)

Changes to Test Assests

  • test: (CS-36521) Edit button positioning in Live Preview (Mridul Sharma - 19cb3c6)
  • test: added test to check the error if no environment passed in stack details (Mridul Sharma - db025be)
  • test: modification on tests accroding to enable or disable cslp outside live preview (Mridul Sharma - 989a653)
  • test: updated the edit button redirect page test case (Mridul Sharma - 1db8c48)

General Changes

  • CODEOWNERS update (aravindbuilt - 89c7e34)

5 April 2023

New Features

  • feat: Added support for live preview 2.0 (contentstackMridul - #41)
  • feat: added support for live preview ssr 2.0 (contentstackMridul - #40)

Fixes

  • fix: (CS-32183) onEntryChange calling api 2 times (contentstackMridul - #38)

General Changes

  • Update LICENSE (Deepak Kharah - #37)

Fixes

  • fix: replaced the skipInitRun with skipInitRender for better understandability (Mridul Sharma - c2e2d7b)

Chores And Housekeeping

  • chore: standardize code quality (Mridul Sharma - bd75822)
  • chore: updated the readme doc for onLiveEdit method (Mridul Sharma - 15e5439)
  • chore: updated the readme doc for onLiveEdit method (Mridul Sharma - ec7d428)

Refactoring and Updates

  • refactor: code cleanup on onLiveEdit function (Mridul Sharma - f13585d)

Changes to Test Assests

  • test: onLiveEdit + new param of onEntryChange functions (Mridul Sharma - 539996b)

General Changes

  • secrets-scan.yml (aravindbuilt - 7bcb8b7)
  • sast-scan.yml (aravindbuilt - 8939514)
  • codeql-analysis.yml (aravindbuilt - 54e31c0)
  • jira.yml (aravindbuilt - 0ed9945)
  • jira.yml (aravindbuilt - 24a93c6)
  • sca-scan.yml (aravindbuilt - edb7d2a)
  • sca-scan.yml (aravindbuilt - 82a47a0)
  • jira.yml (aravindbuilt - 1479f3f)
  • jira.yml (aravindbuilt - 1ab869f)
  • secrets-scan.yml (aravindbuilt - 6747d03)
  • sast-scan.yml (aravindbuilt - 395ac73)
  • codeql-analysis.yml (aravindbuilt - 99b36c6)

15 September 2022

Fixes

  • fix: resolve types for typescript projects (Deepak Kharah - #27)

General Changes

  • v1.2.1 (Deepak Kharah - #28)

Fixes

  • fix(types): point types to correct folder (Deepak Kharah - 910f9cd)

Chores And Housekeeping

  • chore: run test before push (Deepak Kharah - 7d806bd)
  • chore(package): update package version (Deepak Kharah - a5729ce)

Changes to Test Assests

  • test(HOC): HOC must return correct package version (Deepak Kharah - c12cc9a)

General Changes

  • Delete sca-monitor.yml (aravindbuilt - 261b9c3)
  • secrets-scan.yml (aravindbuilt - a97e204)
  • sca-scan.yml (aravindbuilt - 40d5617)
  • sast-scan.yml (aravindbuilt - d7d878e)
  • codeql-analysis.yml (aravindbuilt - e7f49f5)

14 September 2022

New Features

  • feat: client side JS support for the SSR pages (Deepak Kharah - #21)
  • feat: reference support (Deepak Kharah - #20)
  • feat(main): live preview should be enable by default (Deepak Kharah - #19)
  • feat: cookie support for an SSR fetch request (Deepak Kharah - #18)

Documentation Changes

  • docs: update doc for updated configuration (Deepak Kharah - #22)

General Changes

  • v 1.2.0 (Deepak Kharah - #23)
  • Docs review updates (Deepak Kharah - #24)

New Features

  • feat: client JS in SSR (Deepak Kharah - b03bab9)
  • feat(update data): send entry_uid with hash and content_type_uid (Deepak Kharah - dc1482e)
  • feat(main): get version for SDK (Deepak Kharah - 60b1e09)
  • feat(main): add cookies support (Deepak Kharah - 91af37c)

Fixes

  • fix: gatsbyDataFormatter had additional .json() (Deepak Kharah - 1161033)

Chores And Housekeeping

  • chore: add fetch mock for test (Deepak Kharah - bfb15dd)
  • chore: update security policy (Deepak Kharah - 67b1098)
  • chore: update package version (Deepak Kharah - cd6c63f)
  • chore: update gitignore for .DS_Store (Deepak Kharah - 992ed84)

Changes to Test Assests

  • test: debug module and cslp tooltip (Deepak Kharah - 8c16e34)
  • test: updated test modules (Deepak Kharah - 5dd3e58)
  • test: update test for client side scripts (Deepak Kharah - 4cb056b)
  • test(update data): support for entry UID (Deepak Kharah - f572b70)
  • test(version): add getSdkVersion checks (Deepak Kharah - 02bf9e6)

General Changes

  • Create codeql-analysis.yml (contentstack-admin - 0cc24ec)
  • Add files via upload (contentstack-admin - 0da5d45)
  • change from doc review (Deepak Kharah - 7fedbe5)

v1.1.0

11 April 2022

Chores And Housekeeping

  • chore: add release workflow (Deepak Kharah - #16)

General Changes

  • Hot fixes for v1.1.0 (Deepak Kharah - #15)
  • Hotfixes and doc updates (Deepak Kharah - #8)
  • Updated README.md (Deepak Kharah - #7)
  • Docs updated & CSR fixes (Deepak Kharah - #6)

Fixes

  • fix(package): vulerability (Deepak Kharah - 202f188)
  • fix: vulnerabilities (Deepak Kharah - 2d6a02b)
  • fix(CSR): sdk does not update actual Stack object (Deepak Kharah - d5071a5)
  • fix: Stack API was required (Deepak Kharah - 28b8b59)
  • fix(configuration): enable was true by default (Deepak Kharah - ba78dd8)
  • fix(handle user config): improper import (Deepak Kharah - fc189c1)
  • fix: live preview host was incorrectly set (Deepak Kharah - 07a91ca)
  • fix: vulnerability (Deepak Kharah - 371fe2f)
  • fix: SDK does not set ssr: false automatically (Deepak Kharah - 00f4f3e)

Chores And Housekeeping

  • chore(release): update foken name (Deepak Kharah - 936bfb9)
  • chore: trim unwanted '/' in host (Deepak Kharah - b130be0)
  • chore: update package version (Deepak Kharah - d7a9035)

Documentation Changes

  • docs(sdk): doc now includes all methods (Deepak Kharah - c38daa2)
  • docs: live preview added (Deepak Kharah - 72f3ef9)
  • docs(entire scope): refactor doc (Deepak Kharah - bf46d4b)

Refactoring and Updates

  • refactor: eslint installed (Deepak Kharah - 49e0969)
  • refactor: move ContentstackLivePreview to new folder (Deepak Kharah - 0095c89)
  • refactor: move logger to separate file (Deepak Kharah - db253e2)
  • refactor: renamed live preview ts (Deepak Kharah - cb6d2dc)
  • refactor: lint rules added (Deepak Kharah - 17df597)
  • refactor: typo in button (Deepak Kharah - d16330e)
  • refactor: replace location.href with location.assign (Deepak Kharah - ab11893)
  • refactor(readme): updated live preview version (Deepak Kharah - b09995f)

Changes to Test Assests

  • test: added test cases (Deepak Kharah - eddb9f3)
  • test: live preview modules (Deepak Kharah - ff61ee7)
  • test: deprecated text (Deepak Kharah - 1520116)
  • test: edit tag should move to new hovered element (Deepak Kharah - c490108)
  • test: add data-test-id for multi button (Deepak Kharah - 5ca3491)

General Changes

  • fixed: npm audit (Deepak Kharah - 7f07ab1)
  • added(gatsby): support for gatsby data converter (Deepak Kharah - ace7612)
  • Initial Commit (Deepak Kharah - f816753)
  • add: unsubscribe method for entryOnchange (Deepak Kharah - 94f1bfb)
  • convert methods to classic function (Deepak Kharah - 663c6c5)
  • fixed: this was empty (Deepak Kharah - 9e55931)
  • throw error when api key is missing (Deepak Kharah - b7e619c)
  • update(gatsby data): added find support (Deepak Kharah - b3a3145)
  • update(config): shouldReload to ssr (Deepak Kharah - fb6c3a5)
  • updated(types): made init optional (Deepak Kharah - d4b41d8)
  • update(doc): new package name updated (Deepak Kharah - b13a600)
  • add: console messages (Deepak Kharah - c5f3fae)
  • add deprication warning when passing stack SDK (Deepak Kharah - e308e78)
  • update(readme): updated doc (Deepak Kharah - 0f8adfb)
  • fixed: browser have empty livepreview object (Deepak Kharah - 0c25418)
  • show warning when reinitializing (Deepak Kharah - 975a3d2)
  • Create CODEOWNERS (nandeesh-gajula - 28cff58)