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 use-resize-observer to v8 #297

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 30, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
use-resize-observer ^6.1.0 -> ^8.0.0 age adoption passing confidence

Release Notes

ZeeCoder/use-resize-observer

v8.0.0

Compare Source

Bug Fixes
  • The onResize callback is no longer incorrectly called with the same values. (bd0f3c8)
Features
BREAKING CHANGES
  • Removed resize-observer-polyfill in favour of @juggle/resize-observer. (8afc8f6)

v7.1.0

Compare Source

This was an accidental release, and an equivalent of V8.

7.0.1 (2021-07-27)

Bug Fixes
  • Removed unnecessary entries.length check (3211d33)
  • Undefined HTMLElement is no longer an issue in certain SSR edge cases. (599cace), closes #​74 #​62

v7.0.1

Compare Source

Bug Fixes
  • Removed unnecessary entries.length check (3211d33)
  • Undefined HTMLElement is no longer an issue in certain SSR edge cases. (599cace), closes #​74 #​62

v7.0.0

Compare Source

Bug Fixes
  • Only instantiating a ResizeObserver instance if there's actually something to
    observe. This for example means that if you pass in null or undefined as the
    ref, or if neither the default ref or RefCallback returned from the hook are
    in use, then no ResizeObserver instance will get created until there's an
    actual element to observe. Resolves: #​42
  • Fixed an error where in certain edge cases the hook tried to set state when
    its host component already unmounted.
Features
  • The ref option now accepts raw elements as well.
BREAKING CHANGES
  • The returned ref is now a RefCallback, not a ref object. Resolves: #​43, #​45
  • The returned ref will always be the same RefCallback.
    Previously when a custom ref object was passed, it was returned as well from
    the hook as "ref".
  • Compared to 6.2.0-alpha.1 There's no callbackRef return value anymore.
Misc
  • Using package.json file attr instead of gitignore (c58f34e)
  • Added Semantic Release (55f6368)
  • Handling custom refs (through options), the default ref and the RefCallback
    has been greatly refactored internally (into the useResolvedElement
    hook), to handle more edge cases with the way refs are handled.
  • Tests based on react testing library were refactored to make them much simpler
    and more approachable.
  • Added contributing guidelines
  • Added tests in real browsers with BrowserStack, so that we ensure the lib
    works all the way back to IE11.
  • Switched to GitHub Actions from Travis, as builds started to freeze. (They've
    also announced a limit on OS projects.)

Configuration

📅 Schedule: "before 7am on Tuesday" in timezone Australia/Sydney.

🚦 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.

@bladey bladey closed this Sep 30, 2021
@renovate
Copy link
Contributor Author

renovate bot commented Sep 30, 2021

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 8.x releases. However, if you upgrade to 8.x manually then Renovate will reenable minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.

@renovate renovate bot deleted the renovate/use-resize-observer-8.x branch September 30, 2021 01:52
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.

2 participants