From 34c4c2b1f8765865ba5b9b262d359c810fc6a26a Mon Sep 17 00:00:00 2001 From: wiegratz Date: Fri, 25 Oct 2024 23:59:04 +0200 Subject: [PATCH] chore: add breaking changes to v0.5.0 changelog --- CHANGELOG.md | 13 +++++++++++++ README.md | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72e116e..41ae662 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,19 @@ All notable changes to this project will be documented in this file. ## [0.5.0](https://github.com/namib-project/nftables-rs/compare/v0.4.1...v0.5.0) +This release completes documentation for `schema` and adds support for **tproxy**, +**synproxy** and **flow**/**flowtable** statements/objects. + +### ⚠️ Breaking Changes + +- Enum `stmt::Statement`: + - adds variants `Flow`, `SynProxy` and `TProxy`, + - removes variant `CounterRef`, + - receives a `#[non_exhaustive]` mark. +- Struct `stmt::Counter` became enum. +- Enum `schema::NfListObject` adds variant `SynProxy`. +- Removed functions `schema::Table::new()`, `schema::Table::new()` and `schema::Rule::new()`. + ### ⛰️ Features - *(schema)* [**breaking**] Add default impl, add doc comments - ([abd3156](https://github.com/namib-project/nftables-rs/commit/abd3156e846c13be3a9c8a9df31395580ba0d75b)) diff --git a/README.md b/README.md index ae7d45d..08e739b 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ By abstracting the underlying JSON API, nftables-rs facilitates the creation, ma ```toml [dependencies] -nftables = "0.3.0" +nftables = "0.5" ``` Linux nftables v0.9.3 or newer is required at runtime: `nft --version`