Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v0.11.0 #163

Merged
merged 3 commits into from
Jun 11, 2019
Merged

Release/v0.11.0 #163

merged 3 commits into from
Jun 11, 2019

Conversation

wallyqs
Copy link
Member

@wallyqs wallyqs commented Jun 11, 2019

Release with support for NATS v2 auth features

Added

  • Support for user credentials that contain a JWT/NKEY to auth against NATS v2 servers
require 'nats/client'

NATS.start("tls://connect.ngs.global", user_credentials: "/path/to/creds") do |nc|
  nc.subscribe("hello") do |msg|
    puts "[Received] #{msg}"
  end
  nc.publish('hello', 'world')
end
  • Support to authenticate against NATS v2 servers that use NKEYS
require 'nats/client'

NATS.start("tls://connect.ngs.global", nkeys_seed: "path/to/seed.txt") do |nc|
  nc.subscribe("hello") do |msg|
    puts "[Received] #{msg}"
  end
  nc.publish('hello', 'world')
end
  • Added --creds option to nats-pub, nats-sub, nats-queue tools

Changed

  • Internal changes to process initial INFO message from the server

Fixed

  • Fixed being able to use 'tls' as the scheme when connecting with a single URL

    NATS.connect("tls://demo.nats.io:4443")

Signed-off-by: Waldemar Quevedo <wally@synadia.com>
Signed-off-by: Waldemar Quevedo <wally@synadia.com>
Signed-off-by: Waldemar Quevedo <wally@synadia.com>
@wallyqs wallyqs merged commit f91c4d6 into master Jun 11, 2019
@wallyqs wallyqs deleted the release/v0.11.0 branch July 16, 2019 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant