Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency react-grid-layout to ^0.18.0 - autoclosed #13

Closed
wants to merge 17 commits into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 17, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-grid-layout ^0.14.4 -> ^0.18.0 age adoption passing confidence

Release Notes

STRML/react-grid-layout

v0.18.3

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

v0.16.6

Compare Source

  • Fixed collision issue where items below could rearrange on a move.
    • The root cause was "teleportation", or practically the same bug that leads to Pac-Man going through
      ghosts now and then. If a large element moves up by a few grid units, the space it vacates can suddenly
      become occupiable by an element below it. Rather than the collision happening properly, they exchange spaces
      atomically. The fix is to move items down one grid unit at a time to ensure
      this rearrangement does not happen.
    • Thanks @​torkelo for your hard work on this for Grafana 5, which I very unfortunately managed to break
      when refactoring for 0.16.1.
    • Ref: #​650, #​739
  • Added a "Toolbox" demo (thanks @​jhob)

v0.16.5

Compare Source

v0.16.4

Compare Source

  • Skip null items in processGridItem (#​578)
  • Resize is broken for grids with preventCollision: true, fixes #​655 (#​656)
  • Minor refactoring

v0.16.3

Compare Source

  • Fix overriding of onStart behaviour (#​707, thanks @​ersel)
  • Fixed Flow type of WidthProvider
  • Devdep updates

v0.16.2

Compare Source

v0.16.1

Compare Source

  • Flow def upgrades (thanks @​TrySound)
  • DevDep upgrades
  • Fixed WebpackBin demo
  • Addl test cases (thanks @​torkelo)

v0.16.0

Compare Source

  • Added horizontal compaction option, compactType (thanks @​Rhjulskov)
  • Added preventCollision option for static grids (thanks @​EmrysMyrddin)

v0.15.3

Compare Source

v0.15.2

Compare Source

  • Fix missed import *
  • Dependency updates

v0.15.1

Compare Source

v0.15.0

Compare Source

  • Package upgrades, including Webpack 3
  • Flow typedef upgrades for the 0.53 rework
  • Add faulty key value in duplicate key error message (#​602)

Configuration

📅 Schedule: "before 3am on the first day of the month" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/react-grid-layout-0.x branch from 4cb6485 to 93f97ff Compare May 19, 2021 03:06
@renovate renovate bot changed the title Update dependency react-grid-layout to ^0.18.0 Update dependency react-grid-layout to ^0.18.0 - autoclosed Jun 21, 2021
@renovate renovate bot closed this Jun 21, 2021
@renovate renovate bot deleted the renovate/react-grid-layout-0.x branch June 21, 2021 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants