Skip to content

build(deps): bump gnat from 1.13.0 to 1.14.0#513

Merged
sleipnir merged 1 commit intomainfrom
dependabot/hex/gnat-1.14.0
Apr 29, 2026
Merged

build(deps): bump gnat from 1.13.0 to 1.14.0#513
sleipnir merged 1 commit intomainfrom
dependabot/hex/gnat-1.14.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 29, 2026

Bumps gnat from 1.13.0 to 1.14.0.

Release notes

Sourced from gnat's releases.

1.14.0

What's Changed

  • Add PullConsumer.handle_connected/2 optional callback to get consumer info
  • Add PullConsumer.handle_status/2 optional callback to observe status messages
  • Added support for batch_size option in PullConsumer options to pull messages and acknowledge them in batches.
  • Add Gnat.Jetstream.API.KV.Entry with from_message/2 for parsing a raw NATS message from a KV bucket's underlying stream into a structured entry (operation, key, value, revision, created, delta). Intended to be shared between the built-in KV.Watcher and user-supplied PullConsumer implementations (e.g. caches that need to detect when they are caught up with the stream). Returns :ignore for messages that are not KV records.
  • KV.Watcher now uses KV.Entry internally; its public callback API is unchanged. The push consumer it creates now enables server-driven flow control and a 5s idle heartbeat (matching nats.go's ordered-consumer defaults), so slow handlers apply backpressure instead of being dropped as slow consumers.
  • Behavior change (bugfix): PullConsumer no longer forwards JetStream informational status messages (e.g. 100 idle heartbeat, 409 leadership change) to c:handle_message/2. These are not stream records and cannot be acked. In single-message mode the consumer now drops them and re-issues a pull request.
  • Add an optional c:handle_status/2 callback to Gnat.Jetstream.PullConsumer for users who want to observe status messages (e.g. log on 409).

Full Changelog: nats-io/nats.ex@v1.13.1...v1.14.0

1.13.1

What's Changed

New Contributors

Full Changelog: nats-io/nats.ex@v1.13.0...v1.13.1

Changelog

Sourced from gnat's changelog.

Changelog

1.14

  • Add PullConsumer.handle_connected/2 optional callback to get consumer info
  • Add PullConsumer.handle_status/2 optional callback to observe status messages
  • Added support for batch_size option in PullConsumer options to pull messages and acknowledge them in batches.
  • Add Gnat.Jetstream.API.KV.Entry with from_message/2 for parsing a raw NATS message from a KV bucket's underlying stream into a structured entry (operation, key, value, revision, created, delta). Intended to be shared between the built-in KV.Watcher and user-supplied PullConsumer implementations (e.g. caches that need to detect when they are caught up with the stream). Returns :ignore for messages that are not KV records.
  • KV.Watcher now uses KV.Entry internally; its public callback API is unchanged. The push consumer it creates now enables server-driven flow control and a 5s idle heartbeat (matching nats.go's ordered-consumer defaults), so slow handlers apply backpressure instead of being dropped as slow consumers.
  • Behavior change (bugfix): PullConsumer no longer forwards JetStream informational status messages (e.g. 100 idle heartbeat, 409 leadership change) to c:handle_message/2. These are not stream records and cannot be acked. In single-message mode the consumer now drops them and re-issues a pull request.
  • Add an optional c:handle_status/2 callback to Gnat.Jetstream.PullConsumer for users who want to observe status messages (e.g. log on 409).

1.11

  • Allow clients to force authentication without server auth_required by @​mmmries in #205
  • Support ephemeral consumers and auto-cleanup consumers in the PullConsumer module by @​mmmries in #202
  • Implement regularly scheduled PING/PONG health check by @​mmmries in #200
  • Add Erlang 28 with Elixir 1.18 to the build matrix by @​davydog187 in #201
  • Use Pager module for KV.contents by @​mmmries in #198
  • Hint :timeout option in KV's typespec by @​rixmann in #193

1.10

1.9

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [gnat](https://github.com/nats-io/nats.ex) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/nats-io/nats.ex/releases)
- [Changelog](https://github.com/nats-io/nats.ex/blob/main/CHANGELOG.md)
- [Commits](nats-io/nats.ex@v1.13.0...v1.14.0)

---
updated-dependencies:
- dependency-name: gnat
  dependency-version: 1.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Apr 29, 2026
@sleipnir sleipnir merged commit d2c3a55 into main Apr 29, 2026
1 check failed
@sleipnir sleipnir deleted the dependabot/hex/gnat-1.14.0 branch April 29, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant