Skip to content

Releases: mar10/fancytree

v2.27.0

16 Dec 09:14
Compare
Choose a tag to compare
  • BREAKING CHANGES:
    • node.type is now a first-class property of FancytreeNode.
      Node data {..., type: "foo"} is now available as node.type (before: node.data.type).
    • The properties tree.types and tree.columns have been added to Fancytree.
      If passed with source data, they are now available directly instead of
      tree.data.types or tree.data.columns.
  • Support patterns for node types:
    • The properties node.type and tree.types are recommended to implement node-type
      specific configuration (details).
    • Event data argument contains typeInfo == tree.types[node.type].
  • Improved ext-glyph:
    • [Added] support for ligature icons (e.g. material icons).
    • [Added] icon option can now return a dict to create a ligature icon.
  • Improved tree.loadKeyPath():
    • [Added] support for a custom path segment matcher.
      This allows to have key paths with segments other than node.key.
    • [Improved] the returned deferred promise now triggers progress() events which can
      be used instead of the callback.
  • The property tree.columns was added to Fancytree. Currently only reserved as
    recommended pattern to pass global meta-data for ext-table.
  • [Added] ext-edit: new trigger mode clickActive for option triggerStart: [...].
  • [Added] #798 Tooltip support for icons (dynamic option iconTooltip).
  • [Added] #808 Pass custom storage providers to ext-persist.
  • [Improved] ext-table no longer needs empty tbody/tr if thead is present.
  • [Fixed] #796 UMD requirements for node/CommonJS
  • [Fixed] #803 jquery.fancytree.ui-deps.js does not override existing widgets.
  • [Fixed] #815 <mark> element missing in filtered nodes (minified bundle, IE 11).
  • [Fixed] #816 findNextNode() doesn't set default for 'startNode' argument.
  • [Added] Material Design demo
  • [Added] Demo for Fancytree inside a jquery-confirm popup
  • [Changed] String representation is now "FancytreeNode@_4[title='My name']"
  • [DEPRECATED] tree.clearCookies(). Use tree.clearData() instead.

Commit details.

v2.26.0

04 Nov 17:53
Compare
Choose a tag to compare
  • BREAKING CHANGES:
    • [Fixed] #792 postProcess is now also called for non-Ajax sources
  • [Improved] LESS now compiles with webpack
  • [Added] #791 ext-glyph support for radio buttons
  • [Added] Color definitions for skin-awesome (taken from skin-lion)
  • [Fixed] $.ui.fancytree.getNode() for ES6 environments
  • [Fixed] #789 Wrong node is activated in IE, when clicking in unfocused container

Commit details.

v2.25.0

31 Oct 17:32
Compare
Choose a tag to compare
  • BREAKING CHANGES:
    • The dist/src/ folder was renamed to dist/modules.
    • Some directories like demo/ are no longer part of the npm install.
  • Improved Module Support and Distribution
    • The dist/ folder now includes a modules/ directory with fancytree core
      and all extensions.
    • All modules have UMD wrappers with defined dependencies.
    • Internal jQuery UI dependencies are deployed as module and implicitly loaded.
    • jquery.fancytree/dist/modules/jquery.fancytree is defined as
      package main module, so Fancytree can be included using a simple
      fancytree = require('jquery.fancytree').
      See the docs for details.
    • All modules now return the
      $.ui.fancytree object.
    • [Added] new static method $.ui.fancytree.createTree(elem, opts)
  • [Added] Source map files for jquery.fancytree-all-deps.min.js
  • [Added] New extension ext-fixed (work-in-progress, experimental)
  • [Fixed] #767: Input inside table head not working
  • [Fixed] #768: Can't use keyboard to select nodes when checkbox option is false
  • [Fixed] #782: wide extension - padding is off when checkbox option is changed
  • [Fixed] #787: Fix getEventTarget() for custom icons

Commit details.

v2.24.0

26 Aug 13:50
Compare
Choose a tag to compare
  • [Added] ext-glyph option preset (making the map option optional)
  • [Fixed] #695: List AMD dependency on jQuery UI
  • [Fixed] #735: Trying to set root node selected throws an error
  • [Fixed] Drop marker for ext-glyph + ext-dnd5
  • [Fixed] #740: Filtering must not consider escaped html entities
  • [Fixed] #741: Passing an empty string ("") as filter calls clearFilter()
  • [Fixed] #761: dnd5 throws exception when tree is empty
  • [Fixed] #748: Drag start should not activate a node
  • [Fixed] #764: FancyTree filter breaks links
  • Updated jsdoc to 3.5

Commit details.

v2.23.0

27 May 20:10
Compare
Choose a tag to compare
  • The external dependency on jQuery UI was removed.
    A new library jquery.fancytree-all-deps.min.js is now added to the
    distribution. It includes all dependencies on jQuery UI, so the only
    remaining external dependency is jQuery.
    Continue to use jquery.fancytree-all.min.js if jQuery UI is already
    included anyway.

  • Refactored the select behavior
    details:

    • [Added] Allow control of selection status propagation with new options:
      unselectable, unselectableIgnore, unselectableStatus.
    • [Added] node option radiogroup enables single-select for child nodes
    • [Added] option opts.noEvents to setSelected(flag, opts)
    • [Improved] Option 'checkbox' can have the string value "radio" (only visual
      effect)
  • BREAKING CHANGES:

    • The hideCheckbox option was removed. Use checkbox: false instead.
      Note that the <li class='hideCheckbox'> is still parsed from input
      HTML and converted accordingly.
    • The optional modifier class <div class='fancytree-radio'> was removed.
      This class was used on the container to turn all checkbox items into
      radio buttons.
      Instead, this class is now added to <span class="fancytree-checkbox fancytree-radio">.
      Use the tree.checkox: "radio" option to activate this for the whole tree.
    • The callback signature for the tree.tooltip option has changed to
      tooltip(event, data)
  • [Improved] aria option is now on by default

  • Use the new dynamic options pattern for
    checkbox, icon, tooltip, unselectable, unselectableIgnore,
    unselectableStatus.
    See also dynamic options.

  • [Added] New method node.visitSiblings()

  • [Added] #730 ext-persist option expandOpts is passed to setExpanded()
    Allows to suppress animation or event generation.

Commit details.

v2.22.5

11 May 17:08
Compare
Choose a tag to compare
  • [Improved] #709 experimental ext-ariagrid

Commit details.

v2.22.4

06 May 06:27
Compare
Choose a tag to compare
  • [Improved] #709 experimental ext-ariagrid

Commit details.

v2.22.3

05 May 06:00
Compare
Choose a tag to compare
  • [Improved] #709 experimental ext-ariagrid

Commit details.

v2.22.2

29 Apr 07:12
Compare
Choose a tag to compare
  • [Fixed] #729 Fix regression with addChild performance improvements (#708)

Commit details.

v2.22.1

21 Apr 05:56
Compare
Choose a tag to compare
  • [Fixed] #722 Fix regression with addChild performance improvements (#708)

Commit details.