Skip to content

Conversation

raman-m
Copy link
Member

@raman-m raman-m commented Apr 13, 2025

Upgrade to .NET 9 (TFM net9.0, version 24.0) aka .NET 9 release

Version: 24.0
Milestone: .NET 9
Codenamed: .NET 9
Read the Docs: Ocelot 24.0 with PDF
Target Framework Monikers: net8.0, net9.0

Release Notes

ℹ️ About

On November 12th, 2024, the .NET team announced the release of the .NET 9 framework:

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.

🆕 What's New?

  • DevOps: The CI/CD infrastructure was migrated from CircleCI to GitHub Actions by @raman-m.

    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!

    Technical Information

    Starting from version 24.0, all pull requests, development commits, and releases will be built using GitHub Actions workflows. We currently have three workflows: one for pull requests (PR), one for the develop branch (Develop), and one for the main branch (Release).

    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.

🆙 What's Updated?

📓 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 😉
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! 😊

Features

Predecessor

Successor

@raman-m raman-m added release Pre/Release (minor, major) NET9 .NET 9 release labels Apr 13, 2025
@raman-m raman-m added this to the .NET 9 milestone Apr 13, 2025
@raman-m raman-m self-assigned this Apr 13, 2025
@coveralls
Copy link
Collaborator

coveralls commented Apr 13, 2025

Coverage Status

coverage: 85.741% (-0.009%) from 85.75%
when pulling bcd97b7 on raman/24.0
into d262921 on release/24.0.

@raman-m
Copy link
Member Author

raman-m commented Apr 13, 2025

Tasks

  • Update references of NuGet packages to the latest .NET 9 versions
    Done in commit 14f20f1
  • Obtain Tom's approval for the "Official Notice"
    Approved on April 18
  • Revise the Administration doc to include a link to the new Ocelot.Administration.IdentityServer4 repository
    Done in commit 0bb05b0
  • *Optional. Modify status badges to point to the main branch and the latest docs. Once the release is complete, revert branch to develop
    → Status badges look good in README.md

@raman-m
Copy link
Member Author

raman-m commented Apr 15, 2025

@ggnaegi Hi!
Could you review please? I need your feedback!

FYI Ocelot.Provider.Consul and the Consul NuGet package version was bumped to 1.7.14.7 (the latest, released 3 months ago).
There are no changes in the Ocelot's provider of v24.

@raman-m raman-m merged commit 56ae08e into release/24.0 Apr 18, 2025
5 of 6 checks passed
@raman-m raman-m deleted the raman/24.0 branch April 18, 2025 10:31
@raman-m
Copy link
Member Author

raman-m commented Apr 18, 2025

Upcoming Release notes are 👇


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

ℹ️ About

On November 12th, 2024, the .NET team announced the release of the .NET 9 framework:

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.

🆕 What's New?

  • DevOps: The CI/CD infrastructure was migrated from CircleCI to GitHub Actions by @raman-m.

    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!

    Technical Information

    Starting from version 24.0, all pull requests, development commits, and releases will be built using GitHub Actions workflows. We currently have three workflows: one for pull requests (PR), one for the develop branch (Develop), and one for the main branch (Release).

    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.

🆙 What's Updated?

📓 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 😉
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! 😊

Honoring 🏅 aka Top Contributors 👏

1st 🥇 goes to Adam Friedman for delivering 1 feature in 10 files changed
2nd 🥈 goes to Finn for delivering 1 feature in 3 files changed
3rd 🥉 goes to jvanderlei for delivering 1 feature in 1 file changed with 49 insertions

Starring ⭐ aka Release Influencers :bowtie:

⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐ Raman Maksimchuk
⭐ Adam Friedman
⭐ Finn
⭐ jvanderlei
⭐ Kursat Aktas

Features in Release 24.0.0-beta.1

Logbook

@raman-m
Copy link
Member Author

raman-m commented Apr 18, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NET9 .NET 9 release release Pre/Release (minor, major)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants