Skip to content

Latest commit

 

History

History
194 lines (113 loc) · 4.04 KB

File metadata and controls

194 lines (113 loc) · 4.04 KB

Changelog

5.12.2 - 2026-05-25

Features

  • Add custom branch rendering and metadata support

5.12.1 - 2026-05-23

Features

  • Support serializing and restoring compact mode state in MindElixirData

5.12.0 - 2026-05-23

Features

  • Add compact mode support for configurable node spacing

5.11.3 - 2026-05-22

Bug Fixes

  • Ignore non-left mouse button events in double-click detection
  • Prevent context menu trigger during active node editing or interaction states

5.11.2 - 2026-05-21

Features

  • Add forceCenter parameter to scrollIntoView
  • Add enableMobileMultiSelect
  • Add summary & arrow events

Bug Fixes

  • Fix readonly mode misbehavior
  • Fix text truncation when parsing MathJax in plaintext

Refactors

  • Introduce state machine to manage pointer interactions
  • Simplify interaction state machine by merging selection logic
  • Implement CanvasPointerDown state to coordinate canvas interaction and selection logic
  • Migrate mouse and touch events to PointerEvents across viselect core
  • Unify and optimize node drag ghost positioning
  • Unify blur & pointer cancel handler
  • Encapsulate touch pinch and pan logic into dedicated helper
  • Rename linkSvgGroup to arrowSvg and optimize SVG interaction logic
  • Standardize SVG types and rename arrow group IDs for consistency
  • Aggregate long-press logic into longPressHelper object

5.11.0 - 2026-04-22

Features

  • Improve Magic Trackpad UX

Bug Fixes

  • Prevent double-clicking multiple elements

Refactors

  • Round arrow delta values to integers
  • Use pointer events to handle click & double-click
  • Unify node selection logic to mouse.ts
  • Rename dragmove to pan

Tests

  • Improve test compatibility for macOS and extend timeouts

5.10.0 - 2026-03-29

Breaking Changes

  • i18n: The locale option has moved from the top-level Options to contextMenu.locale.
    • The top-level Options.locale now only accepts a language code (string) and is deprecated.
    • To provide custom translations or set the language, use contextMenu: { locale: LangPack }.
    • Predefined language packs (like en, zh_CN) are now available via the new i18n export.

Features

  • Support preserving arrow delta coordinates (x,y) in plaintext converter

5.9.3 - 2026-03-09

Features

  • Support Esc key to exit node editing

Bug Fixes

  • Support dynamically toggling drag and selection features

5.9.2 - 2026-03-03

Bug Fixes

  • Fix line break conversion for editable content in Safari

5.9.1 - 2026-02-24

Features

  • Improve pinch gesture ux

Refactors

  • Remove top-level scope document to avoid immediate errors in SSR applications

5.9.0 - 2026-02-21

Features

  • Add mindElixirToPlaintext

Bug Fixes

  • Fix arrow highlight show repeatedly

Refactors

  • Optimize plaintext converter algorithm

5.8.3 - 2026-02-18

Refactors

  • Refactor plaintext converter

5.8.2 - 2026-02-16

Features

  • Both buttons can be used to drag in readonly mode
  • Support more styles in plaintext converter

5.8.0 - 2026-02-07

Features

  • Build & export plaintext converter

5.7.1 - 2026-02-02

Bug Fixes

  • Correct input copy behavior

5.7.0 - 2026-02-01

Features

  • Refactor clipboard handling using native events
  • Import pasteHandler for improved clipboard operations
  • Remove draggable option
  • Add plaintext converter for importing/exporting mind maps
  • Allow creating arrows without offset

Refactors

  • Refactor node operations and improve structure
  • Refactor keypress handling and clipboard functions
  • Refactor utility functions in index.ts

Chores

  • Update readme
  • Upgrade playwright to latest version

5.6.1 - 2026-01-18

Bug Fixes

  • Unify map padding across themes (50px50px 80px)
  • Export constants (LEFT, RIGHT, SIDE, THEME, DARK_THEME) to bypass SSR errors

5.6.0 - 2026-01-17

Features

  • Update .svg-label style
  • Calculate arrow delta instead of constant value
  • Enhance fullscreen handling

Bug Fixes

  • Prevent arrow reversal
  • Improve scale validation logic

5.5.0 - 2026-01-05