Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
Ocelot.Provider.Eureka.24.0.0.nupkg | 2025-04-20 | 25.5 kB | |
Ocelot.Provider.Kubernetes.24.0.0.nupkg | 2025-04-20 | 45.6 kB | |
Ocelot.Provider.Polly.24.0.0.nupkg | 2025-04-20 | 36.4 kB | |
Ocelot.Cache.CacheManager.24.0.0.nupkg | 2025-04-20 | 24.0 kB | |
Ocelot.Provider.Consul.24.0.0.nupkg | 2025-04-20 | 43.0 kB | |
Ocelot.Tracing.OpenTracing.24.0.0.nupkg | 2025-04-20 | 27.3 kB | |
Ocelot.24.0.0.nupkg | 2025-04-20 | 330.1 kB | |
Ocelot.Tracing.Butterfly.24.0.0.nupkg | 2025-04-20 | 28.5 kB | |
24.0.0 source code.tar.gz | 2025-04-20 | 865.5 kB | |
24.0.0 source code.zip | 2025-04-20 | 1.3 MB | |
README.md | 2025-04-20 | 20.0 kB | |
Totals: 11 Items | 2.8 MB | 2 |
Upgrade to .NET 9 (TFM net9.0
, version 24.0) aka .NET 9 release
Milestone: .NET 9 Codenamed: .NET 9 Read the Docs: Ocelot 24.0 with PDF Target Framework Monikers:
net8.0
,net9.0
:information_source: About
On November 12th, 2024, the .NET team announced the release of the .NET 9 framework:
- .NET Blog: Announcing .NET 9
This major release upgrades Ocelot package TFMs to net9.0
in addition to the current net8.0
. Thus, the current Ocelot supported frameworks are .NET 8 LTS and .NET 9 STS. According to the .NET Support Policy, the Ocelot team has discontinued support of .NET 6 and .NET 7 by providing the version 23.4.3 which targets those .NET versions.
:bookmark: Official Notice to the Community Regarding CircleCI
Ocelot's previous CI/CD provider, CircleCI, facilitated professional and seamless development, build processes, and delivery of Ocelot versions for seven years, starting in March 2018. But last year, in January 2025, after patching Ocelot with version 23.4.3, our team encountered legal issues related to CircleCI Co's policies, leading to this CI/CD provider stopping the build process for the Ocelot project. This legal issue and technical incident were unforeseen on our part because Ocelot is open-source software (OSS), and forcibly stopping the project's build process and blocking accounts appears to be an unfortunate breach of OSS principles. We strongly believe that any developer or user, from any country, should be able to use software providers that support the OSS movement by offering free or other cost-free plans and serving the accounts of these users, OSS teams, and OSS projects 24/7, 365 days a year. We consider this legal issue and the resulting technical incidents involving CircleCI to be a serious breach of OSS principles and an act of discrimination against Ocelot users, developers, and customers who rely on Ocelot OSS, ultimately causing delays to the current release. As a team, we do not recommend using CircleCI for OSS projects, as there is no guarantee that these projects will not face discrimination from this U.S. company.
For all developers, team leads, architects, and managers of any OSS projects—at least on GitHub—we recommend utilizing the built-in GitHub Actions CI/CD infrastructure. Since its founding, GitHub has supported OSS projects. Today, GitHub provides 2,000 minutes of free CI/CD build time per month for OSS repositories (public repos). Also, we strongly believe that GitHub will never violate its OSS policies without a notice period, nor fail to inform owners and maintainers that certain policies must be met by Ocelot's owners. In addition, we want to acknowledge that we are monitoring U.S. government regulations. Unfortunately, we must state that some GitHub products are unavailable in certain countries, even if the project is OSS and GitHub claims these products are free for OSS. Since the Ocelot team does not utilize these non-critical products (we prefer to energize our brains rather than rely on AI-driven products), and since the Ocelot project is currently well-served by GitHub Co, the Ocelot team affirms that Ocelot will remain on GitHub as long as its OSS-friendly policies continue. As a team, we hope that GitHub will never enforce extra rules on our project or other OSS projects.
Regardless, we remain on GitHub!
:new: What's New?
- DevOps: The CI/CD infrastructure was migrated from CircleCI to GitHub Actions by @raman-m.
Starting from version 24.0, all pull requests, development commits, and releases will be built using GitHub Actions workflows (documentation). We currently have three workflows: one for pull requests (PR), one for the develop
branch (Develop), and one for the main
branch (Release). All workflow runs are available on the Actions dashboard.
The PR workflow will track code coverage using Coveralls. After opening a pull request or submitting a new commit to a pull request, Coveralls will publish a short message with the current code coverage once the top commit is built. Considering that Coveralls retains the entire history but does not fail the build if coverage falls below the threshold, all workflows have a built-in 80% threshold, applied internally within the build-cake
job, particularly during the "Cake Build" step-action. If the code coverage of a newly opened pull request drops below the 80% threshold, the build-cake
job will fail, logging an appropriate message in the "Cake Build" step. For your information, the current code coverage of the Ocelot project is around 85-86%. The coverage threshold is subject to change in upcoming releases. All Coveralls builds can be viewed by navigating to the ThreeMammals/Ocelot project on Coveralls.io.
:up: What's Updated?
-
Core: The main Ocelot package and all extension packages reference
net8.0
andnet9.0
target framework monikers (TFMs). Refer to TargetFrameworks to verify this. Thenet6.0
andnet7.0
TFMs have been removed. If your project still relies on these outdated TFMs, please continue using version 23.4.3. -
Authentication: Testing of Identity Server Bearer Tokens functionality was stopped due to vulnerabilities reported by Dependabot, specifically the "IdentityServer Open Redirect vulnerability" security issue. More technical details were provided in the 23.4.3 release notes, where we notified the community. Ultimately, issue [#2218] was addressed via pull request [#2274].
Note: In upcoming releases, we plan to utilize the ASP.NET Core Identity framework in our acceptance testing project to align with .NET industry standards. As a result, we intend to replace the IdentityServer4 library with ASP.NET Core Identity, which also supports Bearer tokens, also known as
JwtBearerHandler
from the Microsoft.AspNetCore.Authentication.JwtBearer namespace. -
Administration: The Ocelot.Administration extension package has been renamed to Ocelot.Administration.IdentityServer4 (it is scheduled for deprecation) to address all IdentityServer4-related vulnerabilities (issue [#2218]). The package's source code has been moved out of the Ocelot repository (pull request [#2274]) and transferred to the newly created Ocelot.Administration.IdentityServer4 repository.
Note: Currently, the Administration feature is solely based on the IdentityServer4 package, whose repository was archived by its owner on July 31, 2024. The Ocelot team will deprecate the new Ocelot.Administration.IdentityServer4 extension package after the current Ocelot release; however, the repository will not be archived, allowing for potential patches in the future.
- Answered question [#2256] on "How to provide a host to the Kubernetes service discovery provider?"
Unfortunately, in the Kubernetes chapter, it was unclear to users how to define a K8s endpoint host in the Configuration due to the implicit reuse of
KubeClient
, which is created from the pod account during Install-ation. As a team, we decided to add the new AddKubernetes(Action<KubeClientOptions>) method, which handles different user scenarios. It is now possible to provide manually configuredKubeClientOptions
in C# during Install-ation, but users can also reuseServiceDiscoveryProvider
options from the global configuration, including theHost
option to construct the kubernetes endpoint address. The new overloadedAddKubernetes(Action<KubeClientOptions>)
method was implemented in pull request #2257. -
In the Ocelot.Provider.Kubernetes extension package, the
KubeClient
dependency library version was upgraded to3.0.x
, which requires .NET 8.0 and .NET 9.0 TFMs for the current Ocelot version 24.0.KubeClient
v3 was internally reviewed and released specifically to meet Ocelot's needs for this release. Thanks to Adam Friedman (@tintoy) for his collaboration! This package upgrade was implemented in pull request [#2266]. -
Sample: The learning Samples projects were reviewed, rewritten, and refactored due to issue [#1912]. The community brought to our attention that the documentation and samples were outdated, as .NET 8 allows the
Program.cs
file to be minimized using the "Top-level statements" feature. This was ultimately addressed in pull requests [#2244] and [#2258].
:notebook: Documentation Summary
Due to the major version increase to v24, all documentation chapters were reviewed to improve readability, eliminate ambiguity, provide more useful tables and data schemas, update code snippets with the syntax of Top-level statements, and add handy samples, among other enhancements. The entire documentation is designed to be truly professional for senior developers while remaining easy to read for junior developers and newcomers who are starting to use the Ocelot gateway.
We believe that Ocelot students will ask fewer questions in 2025 :wink: For students, we always recommend finding answers in Q&A category first. Honestly, it is advised to read existing discussions before opening a new question in repo discussions. For true Ocelot patriots, we have added a README link to the smart Ocelot AI Guru assistant, which is always ready to answer any of your questions. Feel free to explore and interact with it! :blush:
Honoring :medal_sports: aka Top Contributors :clap:
1st :1st_place_medal: goes to Adam Friedman for delivering 1 feature in 10 files changed 2nd :2nd_place_medal: goes to Finn for delivering 1 feature in 3 files changed 3rd :3rd_place_medal: goes to jvanderlei for delivering 1 feature in 1 file changed with 49 insertions
Starring :star: aka Release Influencers :bowtie:
:star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star: Raman Maksimchuk :star: Adam Friedman :star: Finn :star: jvanderlei :star: Kursat Aktas