Update module github.com/nats-io/nats.go to v1.11.0 #27

Merged
renovate[bot] merged 1 commits from renovate/all into master 2021-05-04 20:47:32 +03:00
renovate[bot] commented 2021-05-04 05:53:53 +03:00 (Migrated from github.com)

WhiteSource Renovate

This PR contains the following updates:

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

Release Notes

nats-io/nats.go

v1.11.0

Compare Source

Changelog

Added
  • Message Headers support
    • Conn.HeadersSupported() returns a boolean indicating if the server, the client is currently connected to, supports headers (#​582)
  • JetStream support
  • Websocket support (#​719)
  • LameDuckModeHandler to be notified when the server the application is connected to enters lame-duck mode (#​572)
  • RequestMsg(), RequestMsgWithContext() and RespondMsg() APIs, which makes it possible to use message headers with requests and replies (#​574)
  • RetryOnFailedConnect() option, which means that the Connect() calls will not fail right away if servers are not running at the first attempt to connect. Instead, the library will behave as if it was just disconnected. Thanks to @​tomwilkie, @​Zambiorix, @​kekoav, @​mnarrell, @​serajam and @​hbobenicio for their feedback (#​581)
  • Support for "no responders" error on requests (#​576)
  • Examples:
    • TLS options in nats-pub and mats-sub examples. Thanks @​egodigitus for the contribution (#​615)
    • --nkey flat to enable NKey authentication (#​728)
Changed
  • ErrNoResponders is now returned for a request call for which there is no application servicing the request's subject (when connecting to a server that supports the feature). Applications checking for ErrTimeout only as a "normal" error would need to be updated (#​576)
Updated
  • Dependencies (#​573)
  • Added a go_test.mod file to limit tests dependencies versus library dependencies (#​705)
Fixed
  • Comment for PublishRequest API. Thanks to @​hasheddan for the contribution (#​570)
  • Comment for encoded connection's Handler. Thanks to @​aym-v for the contribution (#​590)
  • Possible data race between an AutoUnsubscribe() and the routine delivering messages (#​726)
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, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/nats-io/nats.go](https://togithub.com/nats-io/nats.go) | require | minor | `v1.10.0` -> `v1.11.0` | --- ### Release Notes <details> <summary>nats-io/nats.go</summary> ### [`v1.11.0`](https://togithub.com/nats-io/nats.go/releases/v1.11.0) [Compare Source](https://togithub.com/nats-io/nats.go/compare/v1.10.0...v1.11.0) #### Changelog ##### Added - Message Headers support - `Conn.HeadersSupported()` returns a boolean indicating if the server, the client is currently connected to, supports headers ([#&#8203;582](https://togithub.com/nats-io/nats.go/issues/582)) - JetStream support - Websocket support ([#&#8203;719](https://togithub.com/nats-io/nats.go/issues/719)) - `LameDuckModeHandler` to be notified when the server the application is connected to enters lame-duck mode ([#&#8203;572](https://togithub.com/nats-io/nats.go/issues/572)) - `RequestMsg()`, `RequestMsgWithContext()` and `RespondMsg()` APIs, which makes it possible to use message headers with requests and replies ([#&#8203;574](https://togithub.com/nats-io/nats.go/issues/574)) - `RetryOnFailedConnect()` option, which means that the `Connect()` calls will not fail right away if servers are not running at the first attempt to connect. Instead, the library will behave as if it was just disconnected. Thanks to [@&#8203;tomwilkie](https://togithub.com/tomwilkie), [@&#8203;Zambiorix](https://togithub.com/Zambiorix), [@&#8203;kekoav](https://togithub.com/kekoav), [@&#8203;mnarrell](https://togithub.com/mnarrell), [@&#8203;serajam](https://togithub.com/serajam) and [@&#8203;hbobenicio](https://togithub.com/hbobenicio) for their feedback ([#&#8203;581](https://togithub.com/nats-io/nats.go/issues/581)) - Support for "no responders" error on requests ([#&#8203;576](https://togithub.com/nats-io/nats.go/issues/576)) - Examples: - TLS options in `nats-pub` and `mats-sub` examples. Thanks [@&#8203;egodigitus](https://togithub.com/egodigitus) for the contribution ([#&#8203;615](https://togithub.com/nats-io/nats.go/issues/615)) - `--nkey` flat to enable NKey authentication ([#&#8203;728](https://togithub.com/nats-io/nats.go/issues/728)) ##### Changed - `ErrNoResponders` is now returned for a request call for which there is no application servicing the request's subject (when connecting to a server that supports the feature). Applications checking for `ErrTimeout` only as a "normal" error would need to be updated ([#&#8203;576](https://togithub.com/nats-io/nats.go/issues/576)) ##### Updated - Dependencies ([#&#8203;573](https://togithub.com/nats-io/nats.go/issues/573)) - Added a go_test.mod file to limit tests dependencies versus library dependencies ([#&#8203;705](https://togithub.com/nats-io/nats.go/issues/705)) ##### Fixed - Comment for PublishRequest API. Thanks to [@&#8203;hasheddan](https://togithub.com/hasheddan) for the contribution ([#&#8203;570](https://togithub.com/nats-io/nats.go/issues/570)) - Comment for encoded connection's Handler. Thanks to [@&#8203;aym-v](https://togithub.com/aym-v) for the contribution ([#&#8203;590](https://togithub.com/nats-io/nats.go/issues/590)) - Possible data race between an AutoUnsubscribe() and the routine delivering messages ([#&#8203;726](https://togithub.com/nats-io/nats.go/issues/726)) ##### Complete Changes </details> --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Enabled. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/unistack-org/micro-broker-nats).
Sign in to join this conversation.
No description provided.