containernetworking / plugins

Some reference and example networking plugins, maintained by the CNI team.
Apache License 2.0
2.23k stars 788 forks source link

build(deps): bump github.com/networkplumbing/go-nft from 0.2.0 to 0.3.0 #889

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps github.com/networkplumbing/go-nft from 0.2.0 to 0.3.0.

Release notes

Sourced from github.com/networkplumbing/go-nft's releases.

Version 0.3.0 release

New Features

  • Expose API that accepts a context object for the binary exec (nft) backend. When using the top level nft package, the new functions are: ReadConfigContext and ApplyConfigContext`. The old functions are kept with a default context timeout of 30 seconds.
  • Expose API that accepts filter commands when reading the configuration. When reading the configuration, by default all the ruleset are loaded. Now, the caller can specify filter commands to limit the loaded entries. E.g. ReadConfig("table", "inet", "mytable").

Breaking Changes

  • The functions exposed through nft/exec have been changed to accept a context.
  • ReadConfig exposed through nft/lib/exec has been changed to accept filter commands. The new parameter is variadic, reducing the chances a caller will be influenced by this.
Changelog

Sourced from github.com/networkplumbing/go-nft's changelog.

[0.3.0] - 2023-04-20

New Features

  • Expose API that accepts a context object for the binary exec (nft) backend. When using the top level nft package, the new functions are: ReadConfigContext and ApplyConfigContext`. The old functions are kept with a default context timeout of 30 seconds.
  • Expose API that accepts filter commands when reading the configuration. When reading the configuration, by default all the ruleset are loaded. Now, the caller can specify filter commands to limit the loaded entries. E.g. ReadConfig("table", "inet", "mytable").

Breaking Changes

  • The functions exposed through nft/exec have been changed to accept a context.
  • ReadConfig exposed through nft/lib/exec has been changed to accept filter commands. The new parameter is variadic, reducing the chances a caller will be influenced by this.
Commits
  • c9256f5 CHANGELOG: Update the release date of 0.3.0
  • ede55e6 nft: Increase the default-timeout to 30sec
  • d47cc2e nft: Add filter options when reading the configuration
  • b60d22c tests, testlib: Assure nftables cleanup
  • 21bb021 tests, testlib: Assure nftables cleanup
  • af8e1ae CHANGELOG: Add description of the changes to the API
  • fd7ac04 exec: Expose a new API that accepts a context
  • 5c63072 exec: Add implicit timeout to the nft commands
  • 4295f73 automation: Load extra kernel-modules to support CentOS Stream 9
  • 9731a69 github/workflow: Update CodeQL default configuration
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Looks like github.com/networkplumbing/go-nft is up-to-date now, so this is no longer needed.