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 4.0.0 to 5.0.0 #79

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 12, 2024

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

Release notes

Sourced from event-listener's releases.

v5.0.0

  • Breaking: Rework the API to afford better usage. (#105)
    • The heap-based API of the v2.x line is back.
    • However, there is a stack-based API as an alternative.
  • Add a way to get the total number of listeners. (#114)
Changelog

Sourced from event-listener's changelog.

Version 5.0.0

  • Breaking: Rework the API to afford better usage. (#105)
    • The heap-based API of the v2.x line is back.
    • However, there is a stack-based API as an alternative.
  • Add a way to get the total number of listeners. (#114)

Version 4.0.3

  • Relax MSRV to 1.60. (#110)

Version 4.0.2

  • Avoid spinning in wait_deadline. (#107)

Version 4.0.1

  • Fix a use-after-move error after an EventListener is assigned to listen to another Event. (#101)

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

... (truncated)

Commits
  • ec0c6f9 Merge pull request #117 from smol-rs/notgull/next
  • 4c35680 v5.0.0
  • 6e6202b chore: Polish the implementation of the new API
  • 6fc00c0 feat: Move Future impl to forwarding macro
  • e0fefc2 ex: Remove unsafe code from mutex example
  • 68be528 feat: Add stack-based listener
  • d9144a8 feat: Create Listener trait
  • 86b7780 feat: Move EventListener back onto the heap
  • ac18bdf chore: Fix up some minor bits before release
  • a68f5ee feat: Add a way to get the current number of listeners
  • 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@v4.0.0...v5.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@Jules-Bertholet
Copy link
Collaborator

#74

Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 12, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/event-listener-5.0.0 branch February 12, 2024 02:03
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.

None yet

1 participant