Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</PropertyGroup>

<PropertyGroup>
<AspNetCorePackageVersion>9.0.0</AspNetCorePackageVersion>
<AspNetCorePackageVersion>9.0.4</AspNetCorePackageVersion>
<EntityFrameworkPackageVersion>9.0.1</EntityFrameworkPackageVersion>
<JHipsterNetPackageVersion>1.0.12</JHipsterNetPackageVersion>
</PropertyGroup>
Expand Down Expand Up @@ -47,9 +47,9 @@
<PackageVersion Include="BCrypt.Net-Next" Version="4.0.3" />
<PackageVersion Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="$(AspNetCorePackageVersion)" />
<PackageVersion Include="Winton.Extensions.Configuration.Consul" Version="3.2.0" />
<PackageVersion Include="Consul" Version="1.6.10.7" />
<PackageVersion Include="Ocelot" Version="18.0.0" />
<PackageVersion Include="Ocelot.Provider.Consul" Version="18.0.0" />
<PackageVersion Include="Consul" Version="1.7.14.7" />
<PackageVersion Include="Ocelot" Version="24.0.0" />
<PackageVersion Include="Ocelot.Provider.Consul" Version="24.0.0" />
Copy link

Copilot AI Dec 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Ocelot upgrade from version 18.0.0 to 24.0.0 is a major version jump spanning multiple major releases (19.x, 20.x, 21.x, 22.x, 23.x, and 24.x). According to the release notes, version 24.0.0 introduces breaking changes:

  1. Authentication changes: IdentityServer4-related functionality has been deprecated and moved to a separate package. If this project uses Identity Server Bearer Tokens authentication, you'll need to update the authentication setup.

  2. Administration feature changes: The Ocelot.Administration package has been renamed to Ocelot.Administration.IdentityServer4 and is scheduled for deprecation.

  3. Framework support: Ocelot 24.0.0 only supports net8.0 and net9.0 TFMs (which aligns with this project's net9.0 target), but older .NET versions are no longer supported.

  4. Kubernetes provider changes: If using Kubernetes service discovery, there's a new AddKubernetes(Action<KubeClientOptions>) method and the KubeClient dependency was upgraded to v3.0.x.

  5. Routing updates: New routing features including "Embedded Placeholders" were introduced in version 23.4.0.

Recommendation: Thoroughly test the API gateway functionality, especially authentication flows, service discovery, and routing after this upgrade. Review the Ocelot 24.0 documentation for migration guidance.

Suggested change
<PackageVersion Include="Ocelot.Provider.Consul" Version="24.0.0" />

Copilot uses AI. Check for mistakes.
<PackageVersion Include="Microsoft.AspNetCore.Identity" Version="2.2.0" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="System.ComponentModel.Annotations" Version="5.0.0" />
Expand Down
Loading