File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change
1
+ # Version 4.0.0
2
+
3
+ - ** Breaking:** Fix a footgun in the ` EventListener ` type. ` EventListener::new() `
4
+ now no longer takes an ` &Event ` as an argument, and ` EventListener::listen() `
5
+ takes the ` &Event ` as an argument. Hopefully this should prevent ` .await ` ing
6
+ on a listener without making sure it's listening first. (#94 )
7
+
1
8
# Version 3.1.0
2
9
3
10
- Implement ` UnwindSafe ` and ` RefUnwindSafe ` for ` EventListener ` . This was unintentionally removed in version 3 (#96 ).
Original file line number Diff line number Diff line change 2
2
name = " event-listener"
3
3
# When publishing a new version:
4
4
# - Update CHANGELOG.md
5
- # - Create "v3 .x.y" git tag
6
- version = " 3.1 .0"
5
+ # - Create "v4 .x.y" git tag
6
+ version = " 4.0 .0"
7
7
authors = [
" Stjepan Glavina <[email protected] >" ]
8
8
edition = " 2021"
9
9
rust-version = " 1.59"
You can’t perform that action at this time.
0 commit comments