Skip to content

Commit

Permalink
prep 0.4.0 (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyNeubauer committed Jan 12, 2024
1 parent 5bdb29d commit 8988a04
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
This format is based on [Keep a Changelog](https://keepachangelog.com/)
and this project adheres to [Semantic Versioning](https://semver.org).

## [0.4.0] - 2024-01-12

## Added
- `Adapter::get_mtu`, `set_dns_servers`, and `Adapter::get_active_network_interface_gateways`: https://github.com/nulldotblack/wintun/pull/13
- `Error::ShuttingDown`: https://github.com/nulldotblack/wintun/pull/14

### Breaking Changes
- Adding the `ShuttingDown` variant to `wintun::Error` breaks exhastive matches on previous versions. `wintun::Error` is now marked `#[non_exhaustive]` to make future additions backwards compatable

## [0.3.2] - 2023-09-27

## Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wintun"
version = "0.3.2"
version = "0.4.0"
edition = "2021"
authors = [
"null.black Inc. <opensource@null.black>",
Expand Down
1 change: 1 addition & 0 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pub struct OutOfRangeData<T> {

/// Error type returned when preconditions of this API are broken
#[derive(thiserror::Error, Debug)]
#[non_exhaustive]
pub enum Error {
#[error(transparent)]
Io(#[from] std::io::Error),
Expand Down

0 comments on commit 8988a04

Please sign in to comment.