Skip to content

Releases: vakata/jstree

3.0.1

02 Jun 11:51
Compare
Choose a tag to compare
  • added class based selectors where possible (it is now easier to use other elements)
  • contextmenu no longer selects disabled nodes
  • on destroy all nodes are removed by default
  • improved search performance with large result sets (also fixed crashes in rare cases)
  • when searching loaded nodes will not be loaded again
  • fixed wholerow causing CSS issues if refresh calls overlap
  • unique plugin will not block renaming node to its own name, create_noed is now monitored and handled
  • unique plugin now assigns proper node titles when creating (New node (2), etc) (only when text is not explicitly set)
  • added old_position parameter to copy_node and move_node
  • added inside_pos option to DND config
  • further fixes for invalid IDs
  • added optional usage of a web worker when parsing JSON
  • fixed problem with AJAX HTML loading

3.0.0

16 Apr 12:29
Compare
Choose a tag to compare
  • more fixes for invalid IDs
  • Ctrl+click fix for Mac
  • no longer triggering operations if in edit mode
  • search now maintains state and opened nodes
  • improved is_loading
  • fixes for dnd (wrong namespace for events)
  • create_node now accepts null as parent, which creates a root node
  • JSON is correctly recognized even without headers (if dataType was "json")
  • added before_open / before_close event
  • added search_leaves_only to search plugin
  • fixes for IE7 (still not supported but might work)
  • fixes to server side undetermined state for checkboxes
  • added additional params to all move_node and copy_node calls (is_multi / is_foreign)
  • added dnd "always_copy" setting
  • added _load_nodes and refresh_node
  • search.ajax can now be a function which should invoke a callback (easier integration with services)
  • removed pointer cursor from leaf nodes
  • added PHP demos

3.0.0-beta10

15 Mar 17:31
Compare
Choose a tag to compare
3.0.0-beta10 Pre-release
Pre-release
  • added get_top_selected & get_bottom_selected functions
  • contextmenu label can now be a function
  • avoided infinite loop in set_state if persistent AJAX error occurs
  • a lot of fixes to load_node to allow proper reloading and data handling
  • jstree now allows duplicate IDs on page level (but not in the same tree), basically you can have the same node ID in different trees now
  • invalid IDs are now supported (numeric, etc)
  • check_callback now receives one more param with additional info (useful for drag'n'drop)
  • nodes with state.opened set to true, which are not loaded, are now automatically loaded when needed
  • HTML string as data now works properly
  • unloaded nodes are now properly copied as "closed" (instead of leaf)
  • added optional position parameter to paste function
  • is_draggable in DND now handles multiple nodes properly
  • close_node.jstree event is no longer triggered if the node is already closed

3.0.0-beta9

27 Feb 09:14
Compare
Choose a tag to compare
3.0.0-beta9 Pre-release
Pre-release
  • types: fixed max_depth not respected in create_node
  • added error callback config option in core
  • fixed get_json function returning empty result in some cases
  • switched to native browser JSON.* functions
  • fixes to drag'n'drop for mobile
  • redrawing now restores focus
  • flicker in IE8 removed

3.0.0-beta8

14 Feb 09:03
Compare
Choose a tag to compare
3.0.0-beta8 Pre-release
Pre-release
  • fixes to refresh - caused blank lines and did not fire event, parameter to skip loading indicator
  • all types inherit from the default type
  • types plugin would sometimes break copying
  • ajax search sometimes did not send the search string with the rquest
  • added get_path function
  • fixed IE8 flicker (with wholerow)
  • fixes to create_node not accepting integer pos param
  • nodes can be deselected when multiple is false

3.0.0-beta7

11 Feb 07:06
Compare
Choose a tag to compare
3.0.0-beta7 Pre-release
Pre-release
  • fixed bug with state plugin that would crash jstree

3.0.0-beta6

10 Feb 16:31
Compare
Choose a tag to compare
3.0.0-beta6 Pre-release
Pre-release
  • added option to filter the state before applying (state plugin)
  • fixes to AJAX search and search in general (search plugin)
  • ready.jstree is deferred
  • added native touch (removed lib)
  • fixes to types plugin and DND
  • contextmenu fixes - defaults are easy to get, disabled for item is a function
  • added dnd option to prevent constant checks
  • added event object to changed event
  • fixes to refresh function (loading icon and ID generation)
  • removed old IE code (IE7 and below)
  • all types inherit from the default type
  • type icon set to false is now respected
  • added more ARIA attributes

3.0.0-beta5

28 Jan 10:04
Compare
Choose a tag to compare
3.0.0-beta5 Pre-release
Pre-release

Thanks to everyone for reporting, here is a list of fixed issues and changes:

  • fix missing old name in rename node event
  • removed animation when searching
  • amd anonymous module
  • fixed IE8 crash because of .class used
  • added is_draggable callback to DND
  • fixed bug with nodes duplicating on refresh
  • added shortcuts to contextmenu
  • fixed bug with copied nodes being removed
  • fixes to refresh - did not work and event did not fire
  • fixed theme for RTL
  • fixed state plugin not correctly reopening nodes
  • contextmenu items can now be supplied with a callback
  • removed syncing back and forth with jQuery data

3.0.0-beta4

22 Jan 07:54
Compare
Choose a tag to compare
3.0.0-beta4 Pre-release
Pre-release

Thanks to everyone for reporting, here is a list of fixed issues and changes:

  • added option to disable responsive theme
  • fixes to open_all and open_node
  • foreign objects can now be dropped on the tree
  • fixes to loading icon and nodes without icons - both are drawn properly now regardless of theme
  • state is preserved correctly with HTML data source on refresh
  • fixes to wholerow plugin which prevented the tree from destroying
  • create_node now works properly with before and after positions
  • fixed missing dependency in package.json
  • jstree now automatically handles the dreaded "d" property wrapper, inserted by .net

3.0.0-beta3

22 Jan 07:54
Compare
Choose a tag to compare
3.0.0-beta3 Pre-release
Pre-release

Thanks to everyone for reporting, here is a list of fixed issues and changes:

  • component.io support
  • fixed bug where selecting a node would not open to the node (even if the supress_open param is false)
  • added a param to get_selected which if set to true makes the function return an array of objects with full node details, and not just IDs
  • now get_json returns node type too
  • fixed state not restoring opened nodes properly
  • added option to search plugin which closes all nodes opened to reveal search results once the search is cleared
  • create_node respects node.id
  • fixed set_id and set_icon bugs
  • fixed rendering in IE8