Skip to content

Bump event from 2.1.2 to 3.1.0 - #179

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/pub/dev/event-3.1.0
Open

Bump event from 2.1.2 to 3.1.0#179
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/pub/dev/event-3.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 12, 2026

Copy link
Copy Markdown
Contributor

Bumps event from 2.1.2 to 3.1.0.

Changelog

Sourced from event's changelog.

Version 3.1.0 (2024-09-10)

  1. Minor internal changes
  2. Diagnostic logging is available. See the new Diagnostics section in README.md and the example application for further information.
  3. Both the subscribe() and broadcast() Event methods produce diagnostic messages at Severity debug. To output these messages use the showLog() method with Severity debug. See the example application.
// Example diagnostics logging output
Event (debug): 2024-09-10 11:37:49.665124Z Subscribed to Event "countChanged:Event<EventArgs>"
Event (debug): 2024-09-10 11:37:49.675925Z Broadcast Event "countChanged:Event<EventArgs>"

Version 3.0.0 (2024-08-05)

This version has BREAKING CHANGES

  1. Minimum Dart sdk dependency is now 3.4.0
  2. An EventArgs instance is created and broadcast automatically if none provided, i.e.
  var e = Event();
    // is equivalent to...
  var e = Event<EventArgs>(); 
  1. An Event can have a name specified. Some code might be subscribed to more than one Event, so this lets one know which Event caused the code to run.
  var e = Event("CountUpdatedEvent");
  e.subscribe((args) => print(args.eventName));
  // outputs "null" until the event is broadcast.
  e.broadcast();
  // outputs "CountUpdatedEvent"
  1. EventArgs includes two accessible values:- eventName and whenOccurred. Both have a default value of null, and are only populated when the Event is broadcast.
  // Example without Event name
  var e = Event();
  e.subscribe((args) {
    print(args.eventName); // outputs null
    print(args.whenOccurred); // outputs time of broadcast
  };
  e.broadcast();
// Example specifying an Event name
var e = Event("myEvent");
e.subscribe((args) {
print(args.eventName); // outputs "myEvent"
print(args.whenOccurred); // outputs time of broadcast
};
e.broadcast();

  1. The WhenWhy EventArg derived class is DEPRECATED and removed. Use the EventArgs whenOccurred property instead.

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [event](https://github.com/aryehof/dart-event) from 2.1.2 to 3.1.0.
- [Changelog](https://github.com/aryehof/dart-event/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aryehof/dart-event/commits)

---
updated-dependencies:
- dependency-name: event
  dependency-version: 3.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dart Pull requests that update dart code dependencies Pull requests that update a dependency file labels Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants