This repository has been archived by the owner on Oct 8, 2022. It is now read-only.
Releases: asseinfo/react-kanban
Releases · asseinfo/react-kanban
0.17.0 (February 3, 2020)
- The lib is almost 50% smaller than the previous version (from 75.7kb gzipped to 38.3kb gzipped)
Breaking changes
- The lanes and the cards don't have a
data-testid
attribute anymore. If you rely on those to query the node in your specs, you should change to query by the page's content.
0.16.1 (February 1, 2020)
- Fix an issue where you couldn't move a card from/to a lane whose id was not a number.
0.16.0 (January 14, 2020)
- Pass the moved card on the
onCardDragEnd
callback
Breaking changes
- The
onCardDragEnd
callback signature has changed fromonCardDragEnd(board, source, destination)
toonCardDragEnd(board, card, source, destination)
.
0.15.0 (November 17, 2019)
- Allow the board to be controlled
Breaking changes
- The prop
children
was renamed toinitialBoard
.children
must be used for a controlled board. - The
onLaneNew
now is used to pass the updated board with the new lane.onNewLaneConfirm
was created to pass a draft lane with the title. You just need to renameonLaneNew
toonNewLaneConfirm
. - Now
onCardDragEnd
callback receives(updatedBoard, { fromPosition: ${index}, fromLaneId: ${laneId} }, { toPosition: ${index}, toLaneId: ${laneId} })
. - Now
onLaneDragEnd
callback receives(updatedBoard, { fromPosition: ${index} }, { toPosition: ${index} })
.
0.14.0 (October 6, 2019)
- Allow to add a card in lane through the
renderLaneHeader
- Fix multiline text in card
0.13.0 (September 19, 2019)
- Allow to confirm the lane renaming through the ENTER key
- Fix an issue that the cursor pointer over a lane title was being shown even when it was not allowed to rename the lane.
Breaking changes
- React dependency is now
^16.8.5
0.12.0 (September 16, 2019)
Breaking changes
onNewLane
has been renamed toonLaneNew
0.11.3 (September 12, 2019)
- Publish only the lib on NPM
0.11.2 (September 12, 2019)
- Fix a glitch on lanes when dragging a card
0.11.1 (September 10, 2019)
- Do not transpile async functions to regeneratorRuntime.