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

fix(deps): update dependency muuri to v0.9.5 #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jul 30, 2020

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
muuri (source) 0.8.0 -> 0.9.5 age adoption passing confidence

Release Notes

haltu/muuri

v0.9.5

Compare Source

Release PR with details: https://github.com/haltu/muuri/pull/487

v0.9.4

Compare Source

Fix https://github.com/haltu/muuri/issues/467

v0.9.3

Compare Source

Fixed a bug where layoutEnd event was not emitted in some cases (e.g. when an item was being dragged while the layout happened). This bug was introduced in v0.9.0 when the layout system was fully refactored to accept async layout process too.

v0.9.2

Compare Source

Fixes #​406 , #​402 , #​403 and some layout issues where items would be overlapping.

v0.9.1

Compare Source

Fix https://github.com/haltu/muuri/issues/397

v0.9.0

Compare Source

The milestone: https://github.com/haltu/muuri/milestone/7

A huge step forward for Muuri. There are so many breaking changes that you really should consider this as a new major version (Muuri still needs to get to 1.0.0 version to start bumping the major versions).

In a quick summary:

  • A lot of bug fixes all around the place 🐞
  • Quite significant performance optimizations ⚡
  • Autoscrolling while dragging ↕️
  • Asynchronous layout calculations 🧵
  • Typescript typings 👕

Unfortunately, there are also some breaking changes 😢 :

  • The item element display style is no longer set to block by Muuri automatically when item is shown. This means that you can use whatever display style in your CSS for the item elements. When item is hidden its display property is still set to none by Muuri.
  • There was a critical bug in the default layout algorithm, which was essentially a rounding issue. After fixing it there should be no need to use layout.rounding anymore (at least in most cases). This is why layout.rounding is now by default disabled. The previous layout.rounding rounded layout's width and height as well as all the item dimensions with Math.round(). The new layout.rounding only rounds item dimensions and does it with a bit more involved algorithm: Math.floor(Math.round(widthOrHeight * 1000) / 10) / 100.
  • layout.onResize option's default value changed from 100 to 150.
  • dragStartPredicate.handle removed and replaced with a new dragHandle option, which works a bit differently (but in a good way). Previously there was no way to set the drag related event listeners to another element, even if you defined dragStartPredicate.handle. However, with dragHandle the drag related event listeners are now bound to the drag handle element so it gets much easier to to e.g . disable drag by hiding the handle via CSS.
  • dragAxis option default value changed from null to "xy". This actually should not break anything, but more of a "heads up" thing.
  • dragReleaseDuration -> dragRelease.duration.
  • dragReleaseEasing -> dragRelease.easing.
  • dragPlaceholder.easing and dragPlaceholder.duration removed. Placeholder now uses the layoutEasing and layoutDuration options' values always, which covers probably most of the use cases.
  • grid.refreshItems() and grid.refreshSortData() now requires the first optional argument to be an array of Muuri.Item instances.
  • grid.remove(), grid.show() and grid.hide() requires the first argument to be an array of Muuri.Item instances.
  • As Muuri now supports asynchronous layouts we utilize the new feature by spinning up two web workers for layout calculations by default. Building support for async layouts required some heavy-handed internal refactoring, but surprisingly few public API changes. The first thing you have to keep in mind from now on is that the layout might or might not be computed asynchronously, so when upgrading to this version make sure to review any code that assumes the layout to happen synchronously. Related to this change there were breaking changes in layout function API.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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 Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/muuri-0.x branch from b637ff0 to adb8001 Compare August 27, 2020 03:57
@renovate renovate bot changed the title fix(deps): update dependency muuri to v0.9.1 fix(deps): update dependency muuri to v0.9.3 Aug 27, 2020
@renovate renovate bot force-pushed the renovate/muuri-0.x branch from adb8001 to b964330 Compare May 15, 2021 19:51
@renovate renovate bot changed the title fix(deps): update dependency muuri to v0.9.3 fix(deps): update dependency muuri to v0.9.4 May 15, 2021
@renovate renovate bot force-pushed the renovate/muuri-0.x branch from b964330 to 20e2a6a Compare October 19, 2021 01:18
@renovate renovate bot changed the title fix(deps): update dependency muuri to v0.9.4 fix(deps): update dependency muuri to v0.9.5 Oct 19, 2021
@renovate
Copy link
Author

renovate bot commented Mar 23, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

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.

1 participant