All Versions
81
Latest Version
Avg Release Cycle
57 days
Latest Release
385 days ago

Changelog History
Page 1

  • v1.2.0

    November 17, 2020
  • v1.1.1

    September 10, 2020
  • v1.1.0

    September 03, 2020
  • v1.0.0

    July 20, 2020
  • v0.18.3 Changes

    March 16, 2020

    ๐Ÿ›  Bugfixes

    • Fix shouldComponentUpdate interfering with droppability (#1152)

    Internal Changes

    • New Enzyme test suite added to prevent regression. If you have time, we could really use more test cases that reflect your use cases!
  • v0.18.2 Changes

    February 26, 2020

    ๐Ÿ›  Bugfixes

    • shouldComponentUpdate:
      • A too-aggressive implementation of shouldComponentUpdate was shipped in 0.18.0-0.18.1 (#1123), which did not compare the children object. While this works well in many simple implementations of RGL, it breaks in more complex applications.
      • Reference equality of props.children and nextProps.children is now added to <ReactGridLayout> and <GridItem>. If you wish to take advantage of the performance improvements from the shouldComponentUpdate work, memoize your children.
      • A section has been added to the README explaining how this works.
      • Fixed #1150, #1151.
  • v0.18.1 Changes

    February 25, 2020

    ๐Ÿš€ This release contains typedef changes only.

    ๐Ÿ›  Bugfixes

    • Flow types:
      • Make Props to <ReactGridLayout> and <ResponsiveReactGridLayout> exact.
      • Fix loss of props refinement when passing through WidthProvider.
      • Fix Flow errors as surfaced in #1138.
      • Modify examples to use types so that the above type error can't resurface
  • v0.18.0 Changes

    February 25, 2020

    ๐Ÿ›  Thanks to all of our maintainers for this big release. 0.18.0 contains a large number of bugfixes that users have been asking for. Please read the full list so you know what to expect. Some of the biggest improvements include fixing changes of isResizable/isDraggable without a remount (#892), fixes to prop changes on ResponsiveReactGridLayout (#1090), shouldComponentUpdate improvements for speed (#1123), improvements to droppability (#1127), and much more.

    (Potentially) Breaking Changes

    • You can now locally set isDraggable/isResizable on a static item and it will have that property. This could be useful, but be sure to check your layouts if you use static. Relates to #1060.
    • โšก๏ธ shouldComponentUpdate is now implemented on major components to improve render speed while you manipulate the layout. In our testing there are no issues. If you encounter one, please open an issue asap and we'll get it fixed. See #1123.

    ๐Ÿ†• New Features

    • You can now manipulate isDraggable/isResizable without the child component remounting. We do this by always rendering the child <Resizable> and <Draggable> wrappers, optionally in a disabled state. This feature has been heavily requested. #892
    • The event is now passed as e on the onDrop callback. #1065
    • Pass transformScale to Resizable. #1075

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix handling of width changes in ResponsiveReactGridLayout. #1090
      • Fixes ignored changes of breakpoints and columns. See also issue #1083.
    • Forbid layout change on click without drag. #1044
    • Do not mutate layouts prop. #1064
    • Ensure locally set isDraggable/isResizable on a GridItem overrides the global setting on the layout. #1060
    • Avoid additional element jumping when an item is dropped. #1127
    • โœ… Don't use String#includes for Firefox test. #1096

    โ™ป๏ธ Internal Refactors

    • โž• Added shouldComponentUpdate to major elements for speed. Significant performance improvements while dragging. Started in #1032 and finished in #1123.
    • โ™ป๏ธ Internal refactor of dropping capability. It is now more predictable and uses similar unit labels (left, top) to other features. #1128
    • โฌ†๏ธ Upgrade devDependencies.
    • โœ‚ Remove ESPower from test suite (not useful with Jest).
  • v0.17.1 Changes

    October 29, 2019

    ๐Ÿ›  Bugfixes

    • ๐Ÿคก Surround navigator check in try/catch to avoid problems with mocked navigators #1057
    • TransformScale is not applied properly while dragging an element #1046
  • v0.17.0 Changes

    October 24, 2019

    ๐Ÿš€ It's been 18 months since the last release, and this is a pretty large one! For references on the items below, see https://github.com/STRML/react-grid-layout/milestone/1?closed=1.

    Thanks to @daynin and @n1ghtmare for taking an active role in maintaining RGL, and for giving it a much-needed shot in the arm, and thanks to the rest of our contributors.

    ๐Ÿ†• New Features

    • โž• Added ability to drag items into the grid from outside. #980. See the example.
      • This is especially exciting as it opens up new "widget toolbox" use cases such as Example 14 with more intuitive interaction. Thanks @daynin.
    • transformScale prop #987
    • ๐Ÿ“ฑ <ResponsiveReactGridLayout> now supports margin-per-breakpoint #1016

    ๐Ÿ›  Bugfixes

    • onWidthChange only called on breakpoint changes #770
    • ๐Ÿšš Various movement bugs when compaction is off #766
    • Don't fire onDragStop if an item is only clicked, not dragged #1023
    • ๐Ÿ›  Fix infinite loop when dragging over a static element. #1019

    โ™ป๏ธ Internal Refactors