-
Notifications
You must be signed in to change notification settings - Fork 229
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
Release 5.0! #249
Comments
What happened to debounced watcher in the pre releases? Is it being removed for 5.0? |
It was removed due to problems, so we would have to re-implement it for a real 5.0 release. |
Ah, thanks for the answer. I would love to contribute since I kinda need it, but I am not knowledgable enough in this area. 😞 |
@0xpr03 maybe using https://crates.io/crates/rjdebounce ? I used it outside notify in 5.0.0-pre3 and it works fine. |
I don't think we want to add more dependencies just for debouncing. Also looking at the code this does not do what we want. The job of a debouncer it to record all events and only return you the ones that are the most important (create after write+delete) per file (notice directory deletions overriding subfiles..) after a timeout (or even without a timeout if something always receives an event => permanent write). Also we want to introduce the option of receiving all events and also the debounced version at the same time. Additionally we can't simply not run our edge code for X seconds as we have to catch all system events to handle recursive watching newely created files. |
What exactly do you mean without threads ? Notify certainly doesn't support no-std and even without any debouncer we're using a thread underneath. |
Is there deadline or timeline to release 5.0 (with debouncer)? |
I would find a release useful even without the debouncer, it would let me get rid of a duplicate |
I don't think you want me to release v5 in the current state (not if I'm taking semver v5 serious). If you just don't want duplicate mios in your dependency list, pin your repo to one of the v5-pre versions*, it's the same as releasing v5 in that regard (see above). I can understand the frustration, but maybe this can shed some light into it. P.S.: If you want a timeline: I'm busy until the mid of april with exams, so there probably won't be much happening before that. *SemVer is never a guarantee, only a promise, so it's not like that'll make that much of a difference. **This is not meant to be an attack on other members |
If nothing else, we need a new release because the current version has a security advisory in a transitive dependency on the old version of
Even if #248 was backported to 4.0, that would be a huge win, IMHO. |
@parasyte if you want to do that and test it on all systems I'd be open for that. |
Taken from #405, as that was marked as a duplicate:
Please, please can we get v5 released. If there are missing features, they could be added in v5.1 or even v6. There's no cost to creating a release and then making further minor releases to add features or major releases to change behaviour. |
Ok that is actually bad and I didn't know of that, as I was always using lockfiles. |
Ok so as I won't be having as much time to bring it into the shape as I'd like to, my current option is only to: I think it's worth a try. It's still FOSS and I'd hope no one is monitoring files with notify in pacemakers. |
Depending on prereleases should always be in the format of |
The biggest breaking change is that there is no debouncer. I could hack one up in the next two weeks and we'll ship with that, making a migration at least something of a better experience. @pksunkara does that actually work ? I'd have assumed, based on the linked docs, that it's simply ignored ? |
I would love to have v5 in the state notify is currently in :) my understanding is that past releases didn't have a debouncer either. |
v4 did, so the problem are people coming from v4 waiting for a stable v5 |
Linked docs is talking about the default behavior. But if you specify This is how a lot of packages use prereleases. The issue here is that |
Thanks so much @pksunkara, this resolves my immediate problem. |
FWIW, there's pretty complete denounce logic in watchfiles (implemented in rust), see here. Feel free to use any of it. |
@samuelcolvin thanks Things to do definitely for v5:
|
Like many others I'm also eagerly awaiting a release. |
The upcoming 5.0.0-pre.16 is the final RC. Please test this out. If no further issues arise I'll do a 5.0 stable release in two weeks. |
Will do, please let us when it's released. |
With that said it is probably also time for new maintainers. My own use case for this crate was ~3 years ago, and I think somebody invested would fit that position much better. I think this crate is ultimately one of the many backbones of the rust ecosystem, which is why I don't want it to die. |
5.0.0-pre.16 is out |
Heres the diff for anyone else who finds it helpful: 5.0.0-pre.15...5.0.0-pre.16 Changes I encountered:
|
I feel like I could improve the changelog for that.. I kinda relied on the examples. Definitely something for v5 changelogs |
notify 5.0.0 and debouncer-mini 0.2.0 are out |
Thanks so much and congratulations @0xpr03 🎉! |
Release candidate 2 is already 5 months in the air. Isn't is time to release it as "final" already?
The text was updated successfully, but these errors were encountered: