Update module github.com/nats-io/nats.go to v1.18.0 #8

Merged
kjuulh merged 1 commits from renovate/github.com-nats-io-nats.go-1.x into main 2022-10-26 17:35:44 +02:00
Owner

This PR contains the following updates:

Package Type Update Change
github.com/nats-io/nats.go require minor v1.17.0 -> v1.18.0

Release Notes

nats-io/nats.go

v1.18.0

Compare Source

Changelog

Added
  • JetStream:
    • Support for DiscardNewPerSubject on stream configuration (#​1102)
  • KV:
    • KeyValueStores() and KeyValueStoreNames() methods for listing key value buckets (#​1088)
    • Bytes() method on KeyValueStatus returning size of the bucket (#​1092)
Improved
  • JetStream:
    • Comment on Subscribe() method in JetStream interface now has a better description of the behavior after unsubscribing from a durable consumer. Thanks to @​sylr for the contribution (#​1100)
Changed
  • JetStream:
    • Ordered consumer is now being recreated on missing heartbeat (#​1097)
    • AckNone policy can now be set for pull consumers (#​1090)
  • ObjectStore:
    • BREAKING] `ObjectStores()` now returns channel of `ObjectStoreStatus` instead of `ObjectStore` interface ([#​1099](https://github.com/nats-io/nats.go/issues/1099))
      
    • BREAKING] Options on various `ObjectStore` methods now have individual types (`GetObjectOpt`, `GetObjectInfoOpt` and `ListObjectsOpt`). Only options applicable for a particular method can be used ([#​1091](https://github.com/nats-io/nats.go/issues/1091))
      
    • BREAKING] When listing/fetching object info, deleted objects are now hidden by default. New options are added to enable fetching deleted objects (`GetObjectInfoShowDeleted()`, `GetObjectShowDeleted()` and `ListObjectsShowDeleted()` ([#​1091](https://github.com/nats-io/nats.go/issues/1091))
      
      
Fixed
  • JetStream:
    • Invalid JSON tag on Tiers field on AccountInfo struct (#​1095)
Complete Changes

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) | require | minor | `v1.17.0` -> `v1.18.0` | --- ### Release Notes <details> <summary>nats-io/nats.go</summary> ### [`v1.18.0`](https://github.com/nats-io/nats.go/releases/tag/v1.18.0) [Compare Source](https://github.com/nats-io/nats.go/compare/v1.17.0...v1.18.0) #### Changelog ##### Added - JetStream: - Support for `DiscardNewPerSubject` on stream configuration ([#&#8203;1102](https://github.com/nats-io/nats.go/issues/1102)) - KV: - `KeyValueStores()` and `KeyValueStoreNames()` methods for listing key value buckets ([#&#8203;1088](https://github.com/nats-io/nats.go/issues/1088)) - `Bytes()` method on `KeyValueStatus` returning size of the bucket ([#&#8203;1092](https://github.com/nats-io/nats.go/issues/1092)) ##### Improved - JetStream: - Comment on `Subscribe()` method in `JetStream` interface now has a better description of the behavior after unsubscribing from a durable consumer. Thanks to [@&#8203;sylr](https://github.com/sylr) for the contribution ([#&#8203;1100](https://github.com/nats-io/nats.go/issues/1100)) ##### Changed - JetStream: - Ordered consumer is now being recreated on missing heartbeat ([#&#8203;1097](https://github.com/nats-io/nats.go/issues/1097)) - `AckNone` policy can now be set for pull consumers ([#&#8203;1090](https://github.com/nats-io/nats.go/issues/1090)) - ObjectStore: - \[BREAKING] `ObjectStores()` now returns channel of `ObjectStoreStatus` instead of `ObjectStore` interface ([#&#8203;1099](https://github.com/nats-io/nats.go/issues/1099)) - \[BREAKING] Options on various `ObjectStore` methods now have individual types (`GetObjectOpt`, `GetObjectInfoOpt` and `ListObjectsOpt`). Only options applicable for a particular method can be used ([#&#8203;1091](https://github.com/nats-io/nats.go/issues/1091)) - \[BREAKING] When listing/fetching object info, deleted objects are now hidden by default. New options are added to enable fetching deleted objects (`GetObjectInfoShowDeleted()`, `GetObjectShowDeleted()` and `ListObjectsShowDeleted()` ([#&#8203;1091](https://github.com/nats-io/nats.go/issues/1091)) ##### Fixed - JetStream: - Invalid JSON tag on `Tiers` field on `AccountInfo` struct ([#&#8203;1095](https://github.com/nats-io/nats.go/issues/1095)) ##### Complete Changes </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
kjuulh added 1 commit 2022-10-26 17:25:52 +02:00
Update module github.com/nats-io/nats.go to v1.18.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
09802e71ba
kjuulh merged commit 09802e71ba into main 2022-10-26 17:35:44 +02:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kjuulh/ceen#8
No description provided.