Skip to content

Releases: cloudfoundry/routing-release

0.329.0

21 Jan 15:23
Compare
Choose a tag to compare

0.329.0

Release Date: January 21, 2025

Changes

  • BREAKING CHANGE: The lb_algo load balancing option key name has been renamed to loadbalancing. This standardizes the name across components. Read more about this change here.
  • Bump to go 1.23.5.
  • Bump dependancies.

Bosh Job Spec changes:

diff --git a/jobs/route_registrar/spec b/jobs/route_registrar/spec
index b9afabbe..c39eac91 100644
--- a/jobs/route_registrar/spec
+++ b/jobs/route_registrar/spec
@@ -144,7 +144,7 @@ properties:
         writable (optional, boolean): sets the writable flag. defaults to false
 
       options object
-        lb_algo (optional, string): Load balancing algorithm for routing incoming requests to the backend: 'round-robin' or 'least-connection'. In cases where this option is not specified, the algorithm defined in gorouter spec is applied.
+        loadbalancing (optional, string): Load balancing algorithm for routing incoming requests to the backend: 'round-robin' or 'least-connection'. In cases where this option is not specified, the algorithm defined in gorouter spec is applied.
 
     example: |
       - name: my-service
@@ -162,7 +162,7 @@ properties:
           timeout: 5s
         route_service_url: https://my-oauth-proxy-route-service.example.com
         options:
-          lb_algo: least-connection
+          loadbalancing: least-connection
       - name: my-tls-endpoint
         tls_port: 12346
         server_cert_domain_san: "my-tls-endpoint.internal.com"

✨ Built with go 1.23.5

Full Changelog: v0.328.0...v0.329.0

Resources

0.328.0

06 Jan 15:11
Compare
Choose a tag to compare

0.328.0

Release Date: January 06, 2025

Changes

  • Bump dependancies

✨ Built with go 1.23.4

Full Changelog: v0.327.0...v0.328.0

Resources

0.327.0

20 Dec 15:25
Compare
Choose a tag to compare

0.327.0

Release Date: December 20, 2024

Changes

  • Bug fix: update the tcp_routes table to have host_tls_port default to 0 instead of NULL. Before this fix, tcp routes registered via external-to-cf route registrars running routing-release 0.301.0 or lower will have intermittent connectivity issues. - cloudfoundry/routing-api#67 - Thanks @ameowlia!
  • Bump dependancies

✨ Built with go 1.23.4

Full Changelog: v0.326.0...v0.327.0

Resources

0.326.0

16 Dec 21:57
Compare
Choose a tag to compare

0.326.0

Release Date: December 16, 2024

Changes

  • Breaking Change: Gorouter will now properly emit RFC5424 syslog messages instead of broken BSD-style syslog messages. It now only supports syslog over UDP and TCP like it is documented for some time now - gorouter #459 & gorouter #411 - Thanks @maxmoehl and @peanball !
  • Gorouter now supports configurable syslog message truncation via gorouter's new router.logging.syslog_message_limit bosh property gorouter #447 - Thanks @maxmoehl !
  • Bump tcp-router's haproxy to 2.8.13
  • Bump dependencies

Bosh Job Spec changes:

diff --git a/jobs/gorouter/spec b/jobs/gorouter/spec
index cdebbd5a..868629ac 100644
--- a/jobs/gorouter/spec
+++ b/jobs/gorouter/spec
@@ -313,6 +313,9 @@ properties:
   router.logging.syslog_tag:
     description: "Tag to use when writing syslog messages"
     default: "vcap.gorouter"
+  router.logging.syslog_message_limit:
+    description: "Limit the number of bytes per access log written to syslog. A value of zero disables the limit."
+    default: 0
   router.logging.syslog_addr:
     description: "Address of a syslog server to send access logs"
     default: "localhost:514"

✨ Built with go 1.23.4

Full Changelog: v0.325.0...v0.326.0

Resources

0.325.0

09 Dec 19:54
Compare
Choose a tag to compare

0.325.0

Release Date: December 09, 2024

Changes

  • Dependency Bumps

✨ Built with go 1.23.4

Full Changelog: v0.324.0...v0.325.0

Resources

0.324.0

05 Dec 15:24
Compare
Choose a tag to compare

0.324.0

Release Date: December 05, 2024

Changes

✨ Built with go 1.23.4

Full Changelog: v0.323.0...v0.324.0

Resources

0.323.0

02 Dec 22:00
Compare
Choose a tag to compare

0.323.0

Release Date: December 02, 2024

Changes

  • Dependency bumps

✨ Built with go 1.23.3

Full Changelog: v0.322.0...v0.323.0

Resources

0.322.0

27 Nov 14:49
Compare
Choose a tag to compare

0.322.0

Release Date: November 27, 2024

Changes

  • Various minor dependency bumps

✨ Built with go 1.23.3

Full Changelog: v0.321.0...v0.322.0

Resources

0.321.0

18 Nov 21:50
Compare
Choose a tag to compare

0.321.0

Release Date: November 18, 2024

Changes

Bosh Job Spec changes:

diff --git a/jobs/gorouter/spec b/jobs/gorouter/spec
index c7896a27..cdebbd5a 100644
--- a/jobs/gorouter/spec
+++ b/jobs/gorouter/spec
@@ -266,12 +266,41 @@ properties:
       description: "Enforce strict validation of a route service signature"
       default: false
   router.max_header_kb:
+    description: |
+        Deprecated, use router.max_request_header_kb instead which is equivalent to this option.
+    default: 1024 # 1Mb
+  router.max_request_header_kb:
     description: |
         This value controls the maximum number of bytes (in KB) the gorouter will read
         parsing the request header's keys and values, including the request
         line. It does not limit the size of the request body. Requests with
         larger headers will result in a 431 status code. Must be between 1 and 1024kb.
-    default: 1024 # 1Mb
+        Note: This value takes precedence over router.max_header_kb but has no default to not break
+        existing setups. If you previously configured router.max_header_kb it is recommended to
+        switch to this property instead.
+    example: 1024 # 1Mb
+  router.max_response_header_kb:
+    description: |
+        This value controls the maximum number of bytes (in KB) the gorouter will read
+        parsing the response header's keys and values, including the request
+        line. It does not limit the size of the response body. Responses with
+        larger headers will result in a 502 status code. A limit of zero or less will
+        result in the default GoLang limit being used.
+    default: 0
+  router.max_request_headers:
+    description: |
+        This value controls the maximum number of headers gorouter will accept in a
+        single request. Only the header keys are counted and values separated by commas
+        are not considered additional headers. Setting this to zero or less disables the
+        limit. Must be at least 30 for CF to function properly (enforced).
+    default: 0
+  router.max_response_headers:
+    description: |
+        This value controls the maximum number of headers gorouter will accept in a
+        single response. Only the header keys are counted and values separated by commas
+        are not considered additional headers. Setting this to zero or less disables the
+        limit. Must be at least 30 for CF to function properly (enforced).
+    default: 0
   router.extra_headers_to_log:
     description: "An array of headers that access log events will be annotated with. This only applies to headers on requests."
     default: []

✨ Built with go 1.23.3

Full Changelog: v0.320.0...v0.321.0

Resources

0.320.0

15 Nov 15:23
Compare
Choose a tag to compare

0.320.0

Release Date: November 15, 2024

Changes

  • Upgrade routing-healthchecker

✨ Built with go 1.23.2

Full Changelog: v0.319.0...v0.320.0

Resources