Skip to content

Latest commit

 

History

History
467 lines (381 loc) · 12.3 KB

CHANGELOG.md

File metadata and controls

467 lines (381 loc) · 12.3 KB

8.5.2 (2019-03-12)

  • Fixed computed value after updating model, because parent was null and we got a race-condition

8.5.1 (2019-07-11)

  • Changed options input to ITreeOptions

8.5.0 (2019-06-11)

  • Support IVY by removing transitive dependency on Renderer via mobx-angular

8.4.1 (2019-01-10)

  • Exporting TreeNodeWrapperComponent and TreeAnimateOpenDirective from main module
  • Added openCollective message post install

8.4.0 (2019-19-05)

  • Added 'from' node on moveNode event

8.3.0 (2019-22-02)

  • Extended selection-api for nodes
  • Setting option scrollOnActivate to true did not prevent scrolling when clicking a node

8.2.1 (2019-21-02)

  • Moved @types/lodash to devDeps

8.2.0 (2018-29-12)

  • Added allowDragoverStyling option

8.1.0 (2018-25-12)

  • Added public calculateExpandedNodes
  • Fixed loading async children in large tree

8.0.5 (2018-25-12)

  • Fixed non triState checkboxes to reflect expected behaviour

8.0.4 (2018-22-12)

  • Fixed non triState checkboxes
  • Fixed checkboxes example to switch expander and checkbox

8.0.3 (2018-20-12)

  • Fixed Warning on state bind

8.0.2 (2018-11-12)

  • Checkbox keep parent selection on async childs

8.0.1 (2018-04-12)

  • Unsubscribe to prevent memory leaks

8.0.0 (2018-04-08)

  • Breaking change - Upgrade to Angular6 and Renderer2
  • Breaking change - load TreeDraggedElement in forRoot to support lazy loading

7.2.1 (2018-21-06)

  • remove _canMoveNode validation from the copyNode function, fix #608 - PR #609
  • Add event parameter to onScroll, fix #534 #537 - PR #537
  • Optimize onChanges update, fix #534 #537 - PR #537
  • Fixed example with Angular6
  • Moved @lodash/types from devDependency to dependency

7.2.0 (2018-14-05)

  • Added nodeActivate and nodeDeactivate events for IE11 - issue #387
  • Added scrollContainer option to allow scrolling in external container - issue #92

7.1.0 (2018-24-03)

  • Breaking change - Renamed SELECT action to ACTIVATE
  • Breaking change - Renamed DESELECT action to DEACTIVATE
  • Added SELECT and DESLECT that do selection instead of activation
  • Breaking change - renamed scrollOnSelect to scrollOnActivate
  • Fixed setHiddenNodesIds with correct reduce order
  • Added useTriState to options to decide if using master checkboxes or not
  • Fixed memory leak - disposing of reactions
  • Added useTriState option
  • Fixed master checkbox to only select visible children
  • Improving scroll performance
  • Added mobile drag and drop polyfill

7.0.2 (2018-13-03)

  • Load specific lodash modules
  • Fix mobx and mobx-angular versions

7.0.1 (2017-15-12)

  • Fixed typescript 2.6.1 strict checking

7.0.0 (2017-14-12)

  • Added checkbox support with useCheckbox
  • Added selection support in models (used by checkbox)
  • Breaking Change - renamed TOGGLE_SELECTED_* actions to TOGGLE_ACTIVE_*, and added TOGGLE_SELECTED for checkboxes
  • Fixed key navigation when filtered

6.1.0 (2017-08-12)

  • Allow dropslot = 0
  • Fixed change detection
  • Added hasChildrenField

6.0.0 (2017-25-11)

  • Breaking change - not returning promise anymore for setIdExpanded
  • Fixed restore state for async children
  • Returned sizeChanged method

5.2.1 (2017-15-11)

  • Fixing for Angular Universal
  • Fixing MobX index out of bounds

5.2.0 (2017-15-11)

  • Angular 5

  • Removing dependencies from UMD bundle
  • Passing custom id to virtualRoot node

5.0.0 (2017-01-09)

  • Breaking change - Moved styles to external CSS
  • Breaking change - Renamed tree class to angular-tree-component
  • Added rtl option

4.1.0 (2017-03-08)

  • Fixed changeFilterr typo
  • Added copyNode on ctrl

4.0.0 (2017-29-07)

  • Breaking change - Renamed loadChildren to loadNodeChildren because of AoT
  • Breaking change - removed deprecated event names onXXX
  • Breaking change - removed deprecated component names
  • Fixed bug for Angular Universal
  • added 'drag' action mapping

3.9.0 (2017-28-07)

  • Added setHiddenNodeIds
  • Added state 2 way binding
  • Removed isHiddenField

3.8.0 (2017-15-07)

  • Added scrollOnFocus
  • Added RTL example

3.7.3 (2017-08-06)

  • Prevent overwriting existing node ids to allow use with immutable objects
  • Fix MobX version to support AoT

3.7.2 (2017-21-05)

  • Fixed close / open quickly when animating

3.7.1 (2017-21-05)

  • Fixed allowDrop

3.7.0 (2017-20-05)

  • Firing onInitialized after viewport set
  • Rename events - "onXXX" => "XXX"
  • Added 'dropOnNode' to event when dropping directly on node

3.6.0 (2017-10-05)

  • added drag over / leave / enter / end to action mapping
  • added $event to allowDrop function
  • Allow for node ID=0

3.5.0 (2017-29-04)

  • doForAll allows promises (supports expandAll of async nodes)

3.4.1 (2017-29-04)

  • Fixed SystemJS errors

3.4.0 (2017-28-04)

  • Add animations
  • Add node wrapper template
  • Fixed drop slot style

3.3.1 (2017-19-04)

  • Support useStrict mode in MobX

3.3.0 (2017-17-04)

  • Reduce bundle size
  • Fix tree not rendered when hidden then shown
  • Update to mobx-angular

3.2.4 (2017-04-04)

  • Support Angular 4
  • Fixed tree-node and tree-node-level-X classes.
  • Removed redundant div in children
  • Added integration tests
  • Passing node in context to loading template
  • Fixed using treeNodeFullTemplate
  • Added more demos
  • Fixed filtering without virtual scroll option
  • allowDrag allows functions
  • Drag and drop fix for IE9+
  • Fixed doForAll to run recursively

3.2.3 (2017-03-08)

  • Fixed bug when actionMapping is undefined

3.2.2 (2017-03-08)

  • Include mobx and lodash inside UMD bundle

3.2.1 (2017-03-07)

  • Updated api and docs
  • Not showing virtual scroll unless enabled
  • Added treeModel to events
  • Fixed getActiveNodes & getExpandedNodes

3.2.0 (2017-03-06)

  • Renamed library to angular-tree-component

3.1.0 (2017-02-27)

  • Changed component selectors to kebab-case

3.0.2 (2017-02-25)

  • Using ng2-mobx's wrappers for observable and computed for AoT

3.0.1 (2017-02-25)

  • Fix lint errors
  • Fix ng2-mobx version

3.0.0 (2017-02-25)

  • Virtual Scroll
  • Added onChangeFilter event
  • Added onLoadChildren event
  • Added doForAll method on TreeModel and TreeNode
  • Added expandAll method on TreeModel and TreeNode
  • Added collapseAll method on TreeModel and TreeNode
  • Breaking change - onToggleExpanded is called immediately after expanding node. If there are async children - onLoadChildren will be called after they are loaded.
  • Breaking change - TreeModel filter function autoShow param now defaults to true
  • Breaking change - Removed filter function on TreeNode
  • Breaking change - Removed deprecations:
    • options.hasCustomContextMenu
    • options.context
    • options.loadingComponent
    • options.treeNodeTemplate
    • options.actionMapping.mouse.shift
    • options.actionMapping.mouse.ctrl
    • options.actionMapping.mouse.alt
    • TREE_EVENTS.onToggle
    • TREE_EVENTS.onDoubleClick
    • TREE_EVENTS.onContextMenu

2.8.2 (2017-02-21)

  • Added yarn file
  • Fixed lint errors
  • Not mandatory to supply getChildren method
  • Calling 'closest' using invokeElementMethod
  • Removed onActiveChanged method
  • Added 3rd party licenses

2.8.1 (2017-02-09)

  • Added UMD bundle

2.8.0 (2017-02-03)

  • Fixing AOT
  • Fixing Core-JS
  • Fixing drag on firefox
  • Fixing getNodeByPath with custom idField
  • Fixing Universal by calling invokeMethod
  • Fixing TS errors by not setting an existing method

2.7.0 (2017-01-05)

  • Promise based expand

2.6.1 (2017-01-03)

  • Added drop slot for empty tree

2.6.0 (2017-01-01)

  • Added index to node content template
  • Added nodeClass option

2.5.1 (2016-12-21)

  • Updated PeerDeps to allow for Angular 2.3

2.5.0 (2016-12-01)

  • Added treeAllowDrop to treeDrop directive
  • Added option allowDrop

2.4.0 (2016-11-28)

  • Added levelPadding option
  • Fix bug - async children isExpanded field is taken into account

2.3.0 (2016-11-28)

  • Breaking change - changed drop action from parameter, to be just the node, without parent & index
  • Breaking change - changed moveNode API to accept just the node, without parent & index
  • Breaking change - changed onMoveNode event to include the original nodes instead of TreeNode

2.2.0 (2016-11-27)

  • Allow drag between trees
  • Made treeDrop directive for dragging outside tree
  • Made treeDrag directive for dragging external elements into the tree

2.1.0 (2016-11-24)

  • Added AoT metadata
  • Added CLI example
  • Fixed alignment of childless nodes. Again.

2.0.1 (2016-11-24)

  • Fixed alignment of childless nodes

2.0.0 (2016-11-23)

  • Allow to change options object and immediately affect tree.
  • Breaking CSS change: added node-wrapper to HTML. Should only have an affect if you added custom CSS.

1.3.6 (2016-11-15)

  • Added onToggleExpanded Output
  • Fixed example in Firefox and IE (console.log)

1.3.5 (2016-10-19)

  • Exporting Tree Component

1.3.4 (2016-10-18)

  • Ignore version

1.3.3 (2016-10-15)

  • Bug fix #73 - check nodes hierarchy before moving node
  • Bug fix #71 - added onMoveNode as @Output
  • Bug fix #67 - ignoring hidden nodes when navigating the tree using keyboard

1.3.2 (2016-10-04)

  • Fixed bug dragging node to itself

1.3.0 (2016-10-04)

  • Added Drag & Drop functionality using allowDrag option

1.2.2 (2016-09-24)

  • Returning this in all action methods on node to allow chaining
  • Fixed Activated / Deactivated events
  • Added autoShow to filter
  • Added setActiveAndVisible

1.2.1 (2016-09-21)

  • align leaves with siblings that have children

1.2.0 (2016-09-14)

  • rc.7
  • support ngModule
  • Using ng2 templates instead of passing them in options

1.1.18 (2016-09-11)

  • Added isHidden field
  • Added filterNodes function

1.1.17 (2016-09-10)

  • Unused version - please use 1.1.18

1.1.16 (2016-08-15)

  • Handling empty nodes
  • Rename onToggle to onToggleExpanded
  • Added onEvent
  • Not trigerring key actions when input is focused
  • Removed shift, ctrl and alt from action mappings

1.1.15 (2016-08-14)

  • Fixed expander not turning on expand

1.1.14 (2016-08-11)

  • Widen expander click area (#24)
  • Not using deprecated methods (#24)
  • Fixed bug when running update() after async children were loaded
  • Setting focus on tree on all mouse actions

1.1.13 (2016-08-06)

  • Added action mappings (#19)
  • Moved typings to dependency (#13)

1.1.12 (2016-08-06)

  • Fixed update() re-expanding nodes marked with isExpanded field

1.1.11 (2016-08-06)

  • Added update() method to allow changing tree structure (add / remove nodes)

1.1.10 (2016-07-17)

  • Added context to options, to use in custom template component

1.1.9 (2016-07-13)

  • Fixed IE support
  • Supporting 'expanded' field on node for pre-expanded nodes

1.1.8 (2016-06-30)

  • Using View Encapsulation = None to allow override of CSS
  • Update to Angular2 Rc3

unpublished version

1.1.6 (2016-06-18)

  • Fixed key navigation bug
  • Update to Angular2 Rc2

1.1.5 (2016-06-17)

  • Fixed loading with SystemJS & webpack