Skip to content

Latest commit

 

History

History
134 lines (78 loc) · 4.25 KB

CHANGELOG.md

File metadata and controls

134 lines (78 loc) · 4.25 KB

v2.0.0-rc.0 (2018-06-05)

Release candidate for next version!

  • Remove rxjs as peer dependency as this lib is not dependent on it.

  • Remove zone.js as peer dependency as this lib is not dependent on it.

  • Adjust angular peer dependency to support Angular v6 without warning.

  • dragover event now bubbles up.

  • Handle various drag events outside of Angular zone to improve performance.

    • I'm not entirely clear if this could be a breaking change to some users so I'm better safe than sorry and raise the major version with this release!

Thanks to @mtraynham for his contributions!

v1.0.3 (2018-01-26)

[dndHandle] and [dndDragImageRef] can now be used when contained in components. Previously it only worked when in the same template as a content child of [dndDraggable].

v1.0.2 (2018-01-12)

  • compatibility with Angular compiler flag fullTemplateTypeCheck introduced in Angular v5.2

v1.0.1 (2017-12-01)

  • correct angular peer dependency to avoid warnings when using angular >4.x.x

v1.0.0 (2017-10-18)

  • stable release!

v1.0.0-rc.3 (2017-09-18)

  • adds demo for nested recursive drag and drop
  • fixes issue where [dndPlaceholderRef] was not working in nested context because of angular limitation

v1.0.0-rc.2 (2017-09-05)

  • adds demo for typed drag and drop
  • fixes issue with typed drag and drop not working

v1.0.0-rc.1 (2017-09-04)

Changes build process to use ng-packagr for less manual AOT compatible library builds.

Demo is updated to use latest dependencies.

v1.0.0-rc.0 (2017-06-29)

Bug Fixes

  • DndDropzone: fixes issue on placeholder positioning algorithm where direct child element was missed

v1.0.0-beta.2 (2017-06-22)

Bug Fixes

  • DndElementRef: access @ContentChild() in ngAfterContentInit to ensure its properly initialized
  • DndModule: re-export DndElementRef in index module

v1.0.0-beta.1 (2017-06-22)

Bug Fixes

  • DndDropzone: correctly handle dragenter to ensure only a single active dropzone on nested dropzones
  • DndDropzone: cleanup dropEffect on dropzone leave to avoid unwanted effects when dropzone was hovered, left and the draggable is then released

Features

  • DndDropzone: specify a placeholder element by using [dndPlaceholderRef] on a child element of [dndDropzone]
  • DndDropzone: DndDropEvent defines property isExternal:boolean to ease handling of external drops
  • DndDraggable: specify a custom drag image by using [dndDragImageRef] on a child element of [dndDraggable]

BREAKING CHANGES

  • DndDropzone: removed input binding [dndPlaceholder] in favor of [dndPlaceholderRef]

BEFORE

<section dndDropzone
         (dndDragover)="dragover = $event"
         (dndDrop)="onDrop($event)"
         [dndPlaceholder]="placeholder">
   
   dropzone
   
   <div #placeholder>placeholder
   </div>
   
</section>

AFTER

<section dndDropzone
         (dndDragover)="dragover = $event"
         (dndDrop)="onDrop($event)">
   
   dropzone
   
   <div dndPlaceholderRef>placeholder
   </div>
   
</section>

This breaking change is needed to provide compatibility with custom elements / components.