Skip to content

Commit

Permalink
v0.0.17
Browse files Browse the repository at this point in the history
  • Loading branch information
danwinship committed Jul 22, 2024
1 parent 0a87068 commit 1cef1f4
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# ChangeLog

## v0.0.17

- `ListRules()` now accepts `""` for the chain name, meaning to list
all rules in the table. (`@caseydavenport`)

- `ListElements()` now handles elements with prefix/CIDR values (e.g.,
`"192.168.0.0/16"`; these are represented specially in the JSON
format and the old code didn't handle them). (`@caseydavenport`)

- Added `NumOperations()` to `Transaction` (which lets you figure out
belatedly whether you added anything to the transaction or not, and
could also be used for metrics). (`@fasaxc`)

- `knftables.Interface` now reuses the same `bytes.Buffer` for each
call to `nft` rather than constructing a new one each time, saving
time and memory. (`@aroradaman`)

- Fixed map element deletion in `knftables.Fake` to not mistakenly
require that you fill in the `.Value` of the element. (`@npinaeva`)

- Added `Fake.LastTransaction`, to retrieve the most-recently-executed
transaction. (`@npinaeva`)

## v0.0.16

- Fixed a bug in `Fake.ParseDump()` when using IPv6. (`@npinaeva`)
Expand Down

0 comments on commit 1cef1f4

Please sign in to comment.