Skip to content

Releases: jakezatecky/react-dual-listbox

Release v6.0.3

24 Feb 20:28
Compare
Choose a tag to compare

6.0.3 (2024-02-24)

Fixed

  • Fix issue with move all buttons ignoring filters (#268)

Release v6.0.2

06 Feb 21:29
Compare
Choose a tag to compare

6.0.2 (2024-02-06)

Fixed

  • Add SSR-safe check for the Element type

Release v6.0.1

13 Dec 21:26
Compare
Choose a tag to compare

6.0.1 (2023-12-13)

Fixed

  • Fix type validation for selected prop when using integers (#258)

Release v6.0.0

07 Dec 00:33
Compare
Choose a tag to compare

6.0.0 (2023-12-06)

This new version includes a variety of breaking changes. Please review them before upgrading.

Added

  • Add getOptionLabel and getOptionValue properties to allow for custom keys beyond label and value (#208)
  • Add LazyFilterExample.jsx to demonstrate lazy loading for the options property by user search

Changed

  • Breaking: onChange property: the second argument now returns objects with label, index, and value, instead of just values (#230)
  • Breaking: icons property:
    • Will now merge any missing keys with the default icons
    • Rename moveLeft, moveAllLeft, moveRight, and moveAllRight to moveToAvailable, moveAllToAvailable, moveToSelected, and moveAllToSelected
  • Breaking: iconsClass property: now defaults to 'fa6'
  • Breaking: id property: no longer defaults to a random UUID when null and no longer used for some child components
  • Breaking: lang property:
    • Will now merge any missing keys with the default language
    • Rename moveLeft, moveAllLeft, moveRight, and moveAllRight to moveToAvailable, moveAllToAvailable, moveToSelected, and moveAllToSelected
    • Split filterPlaceholder into availableFilterPlaceholder and selectedFilterPlaceholder
  • Breaking: options property: no longer has PropTypes validation for label and value (#208)
  • Breaking: Rename *-right and *-left classes to *-to-selected and *-to-available
  • Improve accessibility of required error
  • Change filter input to type="search" (#247)

Removed

  • Breaking: Drop support for Less.js styles
  • Breaking: Drop support for React before v16.8
  • Breaking: Remove rdl-sr-only class
  • Drop usage of deprecated defaultProps (#248)

Fixed

  • Fix positioning of action buttons relative to the list boxes
  • Prevent situation where double-clicking an optgroup moved any selected options under it

icons and lang Migration Guide

The keys moveLeft, moveAllLeft, moveRight, and moveAllRight are now moveToAvailable, moveAllToAvailable, moveToSelected, and moveAllToSelected in all instances. Refer to the table below to rename any affected icons or lang keys:

Old Key Name New Key Name
moveLeft moveToAvailable
moveAllLeft moveAllToAvailable
moveRight moveToSelected
moveAllRight moveAllToSelected

Release v4.0.0

09 Dec 00:44
Compare
Choose a tag to compare

v4.0.0 (2022-12-08)

Breaking Changes

New Features

  • [#52]: Add required property

Bug Fixes

  • Fix small border radius issues when alignActions="top"
  • Force Firefox to make input borders transparent when focus received (like Chrome)

Release v3.0.0

24 Oct 19:03
Compare
Choose a tag to compare

v3.0.0 (2022-10-24)

New Features

  • [#76]: (breaking) Add htmlDir property to support RTL languages (defaults to LTR)
  • [#146]: Add styles for small viewport devices (<576px)
  • [#203]: Add controlKey to the onChange function such that developers may identify which control triggered the change
  • [#209]: (breaking) Add iconsClass, make icons more semantic, and support Unicode icons

Bug Fixes

  • [#142]: Fix issue where preserveSelectOrder could result in the improper removal of selected values when filtering
  • [#148]: Fix issue where the "Move All" actions ignored individual disabled status

Release v2.3.0

06 Sep 19:30
Compare
Choose a tag to compare

v2.3.0 (2022-09-06)

Other

  • [#196]: Add React 18 to the peer dependency (Note: React 18 is not part of the automatic testing, but should work)

Release v2.2.0

08 Jun 20:25
Compare
Choose a tag to compare

v2.2.0 (2021-06-08)

Other

  • [#136]: Add support for React 17

Release v2.1.2

08 Jun 20:25
Compare
Choose a tag to compare

v2.1.2 (2021-05-20)

Other

  • [#147]: Update lodash to resolve security vulnerability

Release v2.1.1

04 Apr 19:38
Compare
Choose a tag to compare

v2.1.1 (2021-04-04)

Bug Fixes

  • [#113]: Fix issue with simpleValue={false} not playing nicely with preserveSelectOrder
  • [#116]: Fix issue where the canFilter would ignore optgroup labels