Skip to content

Releases: cloudfoundry/nats-release

56.7.0

12 Sep 16:09
Compare
Choose a tag to compare

Changes

  • Bumped to golang 1.21.1
  • Fix flaky test (thx @reneighbor)

✨ Built with go 1.21.1

Full Changelog: v56.6.0...v56.7.0

Resources

56.6.0

26 Jul 22:58
Compare
Choose a tag to compare

Changes

In nats-release v46, we migrated the underlying binary from gnatsd (NATS v1), to nats-server (NATS v2). In this release, we are adding a post-start check that will fail the deployment if, for some reasons, NATS instances are running v1. This is a precursor to eventually removing the v1 binary and migration wrapper. The property defaults to false, but will default to true in cf-deployment.

If your instances are already running NATS v2, or if they successfully migrate to v2 in this release, you will not experience any change in behavior. If you want to confirm your NATS instances are on v2, follow the steps in this KB article.

Bosh Job Spec changes:

diff --git a/jobs/nats-tls/spec b/jobs/nats-tls/spec
index 0d25ad2..4f9b3b7 100644
--- a/jobs/nats-tls/spec
+++ b/jobs/nats-tls/spec
@@ -123,3 +123,6 @@ properties:
   nats.migrate_server.port:
     description: "Port for endpoint to migrate nats job to nats-server v2. To be removed in a future release."
     default: 4243
+  nats.fail_deployment_if_v1:
+    description: "Fail the deployment in post-start if nats instances are on v1."
+    default: false
diff --git a/jobs/nats/spec b/jobs/nats/spec
index e7d7a82..ddc54a3 100644
--- a/jobs/nats/spec
+++ b/jobs/nats/spec
@@ -116,3 +116,7 @@ properties:
     description: "The PEM-encoded certificate to use for verifying the TLS connection to the migrate server (used for local healthchecks)."
   nats.migrate_client.tls.private_key:
     description: "The PEM-encoded private key to use for verifying the TLS connection to the migrate server (used for local healthchecks)."
+  
+  nats.fail_deployment_if_v1:
+    description: "Fail the deployment in post-start if nats instances are on v1."
+    default: false

✨ Built with go 1.20.6

Full Changelog: v56.5.0...v56.6.0

Resources

56.5.0

12 Jul 15:00
Compare
Choose a tag to compare

Changes

  • Bumped to golang 1.20.6

✨ Built with go 1.20.6

Full Changelog: v56.4.0...v56.5.0

Resources

56.4.0

07 Jun 13:14
Compare
Choose a tag to compare

Changes

  • Bumped go to 1.20.5

✨ Built with go 1.20.5

Full Changelog: v56.3.0...v56.4.0

Resources

56.3.0

24 May 13:54
Compare
Choose a tag to compare

Changes

  • Bumped dependencies:
    • Removed dependency on code.cloudfoundry.org/inigo
    • code.cloudfoundry.org/tlsconfig 8f91c367795b
    • github.com/nats-io/go-nats 1.7.2
    • github.com/nats-io/nats-server/v2 2.9.17
    • github.com/tedsuo/ifrit 7862c310ad26
    • github.com/onsi/ginkgo/ 2.9.5
    • github.com/onsi/gomega 1.27.7

✨ Built with go 1.20.4

Full Changelog: v56.2.0...v56.3.0

Resources

56.2.0

03 May 17:23
Compare
Choose a tag to compare

Changes

  • Bump to Go 1.20.4
  • Bump dependencies such that Ginkgo V2 and Lager V3 are used.

✨ Built with go 1.20.4

Full Changelog: v56.1.0...v56.2.0

Resources

v56.1.0

15 Feb 20:26
Compare
Choose a tag to compare

Changes

  • Upgrade to go 1.20!
  • Change nats-wrapper to use a DialTimeout when connecting to nats to prevent long startup delays by @corlettb in #50

New Contributors

✨ Built with go 1.20.1

Full Changelog: v56...v56.1.0

v56

07 Feb 17:51
Compare
Choose a tag to compare
v56

Changes

  • Update golang package

✨ Built with go 1.19.5

Full Changelog: v55...v56

Resources

v55

11 Jan 20:51
Compare
Choose a tag to compare
v55

No changes.
✨ Built with go 1.19.4
Full Changelog: v54...v55

v54

20 Dec 17:26
Compare
Choose a tag to compare
v54

What's Changed

  • Golang bumped to 1.19.4
  • Ruby for internal testing bumped to v3

✨ Built with golang 1.19.4