Skip to content

23.3.4

Latest
Compare
Choose a tag to compare
@raman-m raman-m released this 03 Oct 20:33
6088515

🔥 Hot fixing v23.3 (version 23.3.4) aka Blue Olympic Balumbes release

Codenamed: Blue Olympic Fiend
Read the Docs: Ocelot 23.3
Hot fixed versions: 23.3.0, 23.3.3
Milestone: v23.3 Hotfixes

❤️ A heartfelt "Thank You" to Roman Shevchik and Massimiliano Innocenti for their contributions in testing and reporting the Service Discovery issues, #2110 and #2119, respectively!

ℹ️ About

This release delivers a number of bug fixes for the predecessor's 23.3.0 release, which is full of new features but was not tested well. All bugs were combined into the v23.3 Hotfixes milestone.

Following the substantial refactoring of Service Discovery providers in the 23.3.0 release, the community identified and we have acknowledged several critical service discovery defects with providers such as Kube and Consul. The Kube provider, while somewhat unstable, remained operational; however, the Consul provider was entirely non-functional.

📓 If your projects rely on the Service Discovery feature and cannot function without it, please upgrade to this version to utilize the full list of features of version 23.3.0.

🧑‍💻 Technical Information

A comprehensive explanation of the technical details would span several pages; therefore, it is advisable for fans of Ocelot to review all pertinent technical information within the issue descriptions associated with the milestone.
Our team has implemented some Breaking Changes which we urge you to review carefully (details follow).

⚠️ Breaking Changes

Listed by priority:

  • ILoadBalancer interface alteration: Method Lease is now LeaseAsync.
    Interface FQN: Ocelot.LoadBalancer.LoadBalancers.ILoadBalancer
    Method FQN: Ocelot.LoadBalancer.LoadBalancers.ILoadBalancer.LeaseAsync
  • DefaultConsulServiceBuilder constructor modification: The first parameter's type has been changed from Func<ConsulRegistryConfiguration> to IHttpContextAccessor.
    Class FQN: Ocelot.Provider.Consul.DefaultConsulServiceBuilder
    Constructor signature: public DefaultConsulServiceBuilder(IHttpContextAccessor contextAccessor, IConsulClientFactory clientFactory, IOcelotLoggerFactory loggerFactory)
  • Adjustments to Lease type: The Lease has been restructured from a class to a structure and elevated in the namespace hierarchy.
    Struct FQN: Ocelot.LoadBalancer.Lease

📓 Should your custom solutions involve overriding default Ocelot classes and their behavior, redevelopment or at least recompilation of the solution, followed by deployment, will be necessary.

Honoring 🏅 aka Top Contributors 👏

1st 🥇 goes to Roman Shevchik for delivering 1 feature in 25 files changed
2nd 🥈 goes to Ben Bartholomew for delivering 1 feature in 7 files changed
3rd 🥉 goes to Paul Roy for delivering 1 feature in 5 files changed

Starring ⭐ aka Release Influencers :bowtie:

⭐⭐ Raman Maksimchuk, @raman-m
⭐ Roman Shevchik, @antikorol
⭐ Ben Bartholomew, @ben-bartholomew
⭐ Paul Roy, @PaulARoy
⭐ Finn Fiedler, @int0x81
⭐ Emmanuel Ferdman, @emmanuel-ferdman
⭐ dependabot[bot], @dependabot

Features in Release 23.3.4

Milestone: v23.3 Hotfixes

Logbook
  • acda395 by Raman Maksimchuk on Thursday, October 3 at 23:05 →
    Release 23.3.4 artifacts | +semver: patch (#2161)
  • 09f2b1a by Raman Maksimchuk on Thursday, October 3 at 11:48 →
    #2119 Review load balancing (2nd round) and redesign DefaultConsulServiceBuilder with ConsulProviderFactory refactoring to make it thread safe and friendly (#2151)
  • 58d87c9 by Finn on Friday, September 20 at 13:59 →
    #2116 Escaping unsafe pattern values of Regex constructor ​​derived from URL query parameter values containing special Regex chars (#2150)
  • 8e66be7 by Emmanuel Ferdman on Saturday, September 14 at 20:15 →
    Correct the broken link to the GraphQL sample's README.md (#2149)
  • c502e4f by Paul Roy on Saturday, September 14 at 18:47 →
    Downgrade the Warning to Information on missing Content-Length header in MultiplexingMiddleware (#2146)
  • 19a8e2f by Roman on Wednesday, August 7 at 16:44 →
    #2110 Review load balancing and independent fetching the list of services in Kube provider (#2111)
  • b4e21c4 by dependabot[bot] on Thursday, July 18 at 16:48 →
    Bump Steeltoe.Discovery.Eureka from 3.2.5 to 3.2.8 in /src/Ocelot.Provider.Eureka (#2122)
  • d418b3f by Ben Bartholomew on Tuesday, July 16 at 11:52 →
    #2084 Apply default config file paths in GetMergedOcelotJson when providing the folder argument of AddOcelot (#2120)

What's Changed

  • #2084 Apply default config file paths in GetMergedOcelotJson when providing the folder argument of AddOcelot by @ben-bartholomew in #2120
  • Bump Steeltoe.Discovery.Eureka from 3.2.5 to 3.2.8 in /src/Ocelot.Provider.Eureka by @dependabot in #2122
  • #2110 Review load balancing and independent fetching the list of services in Kube provider by @antikorol in #2111
  • Downgrade the Warning to Information on missing Content-Length header in MultiplexingMiddleware by @PaulARoy in #2146
  • Correct the broken link to the GraphQL sample's README.md by @emmanuel-ferdman in #2149
  • #2116 Escaping unsafe pattern values of Regex constructor ​​derived from URL query parameter values containing special Regex chars by @int0x81 in #2150
  • #2119 Review load balancing (2nd round) and redesign DefaultConsulServiceBuilder with ConsulProviderFactory refactoring to make it thread safe and friendly by @raman-m in #2151
  • Release 23.3.4 artifacts | +semver: patch by @raman-m in #2161
  • Release 23.3.4 | v23.3 Hotfixes | Blue Olympic Balumbes release by @raman-m in #2162

New Contributors

Full Changelog: 23.3.3...23.3.4