Skip to content

Commit

Permalink
changelog: 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Will committed Oct 20, 2024
1 parent 803767b commit b4e1f79
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# Changelog

## 0.13.0

Added a Rust crate for the Watcher.

```rust
use futures::StreamExt;
use wtr_watcher::Watch;

#[tokio::main(flavor = "current_thread")]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let show = |e| async move { println!("{e:?}") };
let events = Watch::try_new(".")?;
events.for_each(show).await;
Ok(())
}
```

The crate is available on [crates.io](https://crates.io/crates/wtr-watcher).

Made the Github release CI depend on Wheels being built (and from uploading stale wheels because of that).

Various documentations improvements:
- Example usage for the new Rust crate
- PyPi and Crates.io badges in the readme

Various chores around the watcher-nodejs project:
- Simplified the napi bindings
- Left more of the type definitions to the typescript side (insteaf of the napi side)
- Various C paranoia fixes, out of caution, in case napi doesn't initialize various things

Fixed (was missing) the `effect_time` field in the watcher-nodejs project's event type.

## 0.12.2

Added CI for Github releases and Python/pip publishing.
Expand Down

0 comments on commit b4e1f79

Please sign in to comment.