1# Changelog
2
3## v0.11.0 (2024-08-19)
4
5- Fix link in README ([#209])
6- **Breaking change:** Make `bits` field of `EventMask`/`WatchMask` inaccessible. You can use the `.bits()` method instead. ([#211], [#218])
7- Fix various links in documentation ([#213])
8- Bump minimum supported Rust version (MSRV) to 1.70. ([#219])
9
10[#209]: https://github.com/hannobraun/inotify-rs/pull/209
11[#211]: https://github.com/hannobraun/inotify-rs/pull/211
12[#213]: https://github.com/hannobraun/inotify-rs/pull/213
13[#218]: https://github.com/hannobraun/inotify-rs/pull/218
14[#219]: https://github.com/hannobraun/inotify-rs/pull/219
15
16
17## v0.10.2 (2023-07-27)
18
19- Fix broken links to `Watches` in documentation ([#205])
20
21[#205]: https://github.com/hannobraun/inotify-rs/pull/205
22
23
24## v0.10.1 (2023-06-07)
25
26- Add `WatchDescriptor::get_watch_descriptor_id` ([#193])
27- Add `Event::to_owned` ([#196])
28- Deprecate `Event::into_owned` ([#196])
29- Add `Watches`/`Inotify::watches`/`EventStream::watches` ([#197])
30- Deprecate `Inotify::add_watch`/`Inotify::rm_watch` ([#197])
31- Add `Inotify::into_event_stream`/`EventStream::into_inotify` ([#199])
32- Deprecate `Inotify::event_stream` ([#199])
33- Implement `AsFd` and bidirectional conversion to/from `OwnedFd` ([#202])
34- Raise Minimum Supported Rust Version (MSRV) to 1.63.0 ([#202])
35
36[#193]: https://github.com/hannobraun/inotify-rs/pull/193
37[#196]: https://github.com/hannobraun/inotify-rs/pull/196
38[#197]: https://github.com/hannobraun/inotify-rs/pull/197
39[#199]: https://github.com/hannobraun/inotify-rs/pull/199
40[#202]: https://github.com/hannobraun/inotify-rs/pull/202
41
42
43## v0.10.0 (2021-12-07)
44
45- **Breaking change:** Remove special handling of `WouldBlock` error ([#190])
46
47[#190]: https://github.com/hannobraun/inotify-rs/pull/190
48
49
50## v0.9.6 (2021-11-03)
51
52- Fix build status badge in README ([#185])
53- Add `get_buffer_size`/`get_absolute_path_buffer_size` ([#187])
54
55[#185]: https://github.com/hannobraun/inotify-rs/pull/185
56[#187]: https://github.com/hannobraun/inotify-rs/pull/187
57
58
59## v0.9.5 (2021-10-07)
60
61- Implement `Ord`/`PartialOrd` for `WatchDescriptor` ([#183])
62
63[#183]: https://github.com/hannobraun/inotify-rs/pull/183
64
65
66## v0.9.4 (2021-09-22)
67
68- Make `Event::into_owned` always available ([#179])
69- Implement missing `Debug` implementations ([#180])
70
71[#179]: https://github.com/hannobraun/inotify-rs/pull/179
72[#180]: https://github.com/hannobraun/inotify-rs/pull/180
73
74
75## v0.9.3 (2021-05-12)
76
77- Improve documentation ([#167], [#169])
78- Add missing check for invalid file descriptor ([#168])
79- Fix unsound use of buffers due to misalignment ([#171])
80- Add missing error checks ([#173])
81
82[#167]: https://github.com/hannobraun/inotify-rs/pull/167
83[#168]: https://github.com/hannobraun/inotify-rs/pull/168
84[#169]: https://github.com/hannobraun/inotify-rs/pull/169
85[#171]: https://github.com/hannobraun/inotify-rs/pull/171
86[#173]: https://github.com/hannobraun/inotify-rs/pull/173
87
88
89## v0.9.2 (2020-12-30)
90
91- Upgrade to Tokio 1.0 ([#165])
92
93[#165]: https://github.com/hannobraun/inotify/pull/165
94
95
96## v0.9.1 (2020-11-09)
97
98- Fix take wake-up ([#161])
99
100[#161]: https://github.com/hannobraun/inotify/pull/161
101
102
103## v0.9.0 (2020-11-06)
104
105- Update minimum supported Rust version to version 1.47 ([#154])
106- Fix documentation: `Inotify::read_events` doesn't handle all events ([#157])
107- Update to tokio 0.3 ([#158])
108
109[#154]: https://github.com/hannobraun/inotify/pull/154
110[#157]: https://github.com/hannobraun/inotify/pull/157
111[#158]: https://github.com/hannobraun/inotify/pull/158
112
113
114## v0.8.3 (2020-06-05)
115
116- Avoid using `inotify_init1` ([#146])
117
118[#146]: https://github.com/hannobraun/inotify/pull/146
119
120
121## v0.8.2 (2020-01-25)
122
123- Ensure file descriptor is closed on drop ([#140])
124
125[#140]: https://github.com/inotify-rs/inotify/pull/140
126
127
128## v0.8.1 (2020-01-23)
129
130No changes, due to a mistake made while releasing this version.
131
132
133## v0.8.0 (2019-12-04)
134
135- Update to tokio 0.2 and futures 0.3 ([#134])
136
137[#134]: https://github.com/inotify-rs/inotify/pull/134
138
139
140## v0.7.1 (2020-06-05)
141
142- backport: Avoid using `inotify_init1` ([#146])
143
144[#146]: https://github.com/hannobraun/inotify/pull/146
145
146
147## v0.7.0 (2019-02-09)
148
149- Make stream API more flexible in regards to buffers ([ea3e7a394bf34a6ccce4f2136c0991fe7e8f1f42](ea3e7a394bf34a6ccce4f2136c0991fe7e8f1f42)) (breaking change)
150
151
152## v0.6.1 (2018-08-28)
153
154- Don't return spurious filenames ([2f37560f](2f37560f))
155
156
157## v0.6.0 (2018-08-16)
158
159- Handle closing of inotify instance better ([824160fe](824160fe))
160- Implement `EventStream` using `mio` ([ba4cb8c7](ba4cb8c7))
161
162
163## v0.5.1 (2018-02-27)
164
165- Add future-based async API ([569e65a7](569e65a7), closes [#49](49))
166