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 event-listener requirement from 3.0.0 to 4.0.0 #69

Merged
merged 4 commits into from
Nov 21, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 20, 2023

Updates the requirements on event-listener to permit the latest version.

Release notes

Sourced from event-listener's releases.

v4.0.0

  • Breaking: Fix a footgun in the EventListener type. EventListener::new() now no longer takes an &Event as an argument, and EventListener::listen() takes the &Event as an argument. Hopefully this should prevent .awaiting on a listener without making sure it's listening first. (#94)
Changelog

Sourced from event-listener's changelog.

Version 4.0.0

  • Breaking: Fix a footgun in the EventListener type. EventListener::new() now no longer takes an &Event as an argument, and EventListener::listen() takes the &Event as an argument. Hopefully this should prevent .awaiting on a listener without making sure it's listening first. (#94)

Version 3.1.0

  • Implement UnwindSafe and RefUnwindSafe for EventListener. This was unintentionally removed in version 3 (#96).

Version 3.0.1

  • Emphasize that listen() must be called on EventListener in documentation. (#90)
  • Write useful output in fmt::Debug implementations. (#86)

Version 3.0.0

  • Use the parking crate instead of threading APIs (#27)
  • Bump MSRV to 1.59 (#71)
  • Breaking: Make this crate no_std-compatible on default-features = false. (#34)
  • Create a new event-listener-strategy crate for abstracting over blocking/non-blocking operations. (#49)
  • Breaking: Change the EventListener API to be !Unpin. (#51)
  • Enable a feature for the portable-atomic crate. (#53)
  • Breaking: Add a Notification trait which is used to enable tagged events. (#52)
  • Add an is_notified() method to Event. (#48)
  • Breaking: Make it so notify() returns the number of listeners notified. (#57)

Version 2.5.3

  • Fix fence on x86 and miri.

Version 2.5.2

  • Fix stacked borrows violation when -Zmiri-tag-raw-pointers is enabled. (#24)

Version 2.5.1

  • Replace spinlock with a mutex.

Version 2.5.0

  • Add EventListener::discard().

Version 2.4.0

  • Event::new() is now a const fn.

Version 2.3.3

... (truncated)

Commits
  • 531c106 v4.0.0
  • 21b34bf breaking: Fix the EventListener::new() footgun
  • e6ec597 v3.1.0
  • 3f0d516 feat: Implement UnwindSafe for EventListener
  • c42dc40 Update futures-lite requirement from 1.12.0 to 2.0.0
  • ca65475 v3.0.1
  • 74e8231 m: Update fmt::Debug to produce new info
  • e8a1727 Merge pull request #90 from smol-rs/notgull/new-docs
  • 5c11241 Fix doctest and nitpick
  • ac3978e docs: Document that EventListeners must be listen'd on
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
event-listener [>= 3.0.a, < 3.1]

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [event-listener](https://github.com/smol-rs/event-listener) to permit the latest version.
- [Release notes](https://github.com/smol-rs/event-listener/releases)
- [Changelog](https://github.com/smol-rs/event-listener/blob/master/CHANGELOG.md)
- [Commits](smol-rs/event-listener@v3.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: event-listener
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@notgull
Copy link
Member

notgull commented Nov 20, 2023

Blocked on smol-rs/event-listener-strategy#11

@Jules-Bertholet Jules-Bertholet force-pushed the dependabot/cargo/event-listener-4.0.0 branch from 5c9af8c to 1a4bcd8 Compare November 21, 2023 05:14
@Jules-Bertholet Jules-Bertholet force-pushed the dependabot/cargo/event-listener-4.0.0 branch from 1a4bcd8 to cc3efbb Compare November 21, 2023 05:15
Copy link
Member

@notgull notgull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@Jules-Bertholet Jules-Bertholet merged commit d333a41 into master Nov 21, 2023
9 checks passed
@Jules-Bertholet Jules-Bertholet deleted the dependabot/cargo/event-listener-4.0.0 branch November 21, 2023 05:54
@notgull notgull mentioned this pull request Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants