Skip to content

Commit

Permalink
feat: dotnet 9 support (#893)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewTriesToCode authored Nov 1, 2024
1 parent 1429cbf commit 4be1b88
Show file tree
Hide file tree
Showing 12 changed files with 670 additions and 54 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
build-and-test:
strategy:
matrix:
dotnet: ['8.0.x']
dotnet: ['8.0', '9.0']
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: checkout repo
uses: actions/checkout@v4
# - uses: actions/setup-dotnet@v4
# with:
# dotnet-version: '8.0.x'
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '9'
- name: build
run: dotnet build
- name: test Finbuckle.MultiTenant
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Finbuckle.MultiTenant is an open-source multitenancy middleware library for .NET
per-tenant app behavior, and per-tenant data isolation.
See [https://www.finbuckle.com/multitenant](https://www.finbuckle.com/multitenant) for more details and documentation.

**This release supports .NET 6, .NET 7, and .NET 8.**
**This release supports .NET 8 and .NET 9.**

Current publish feed release:
![Finbuckle.MultiTenant NuGet.org badge](https://buildstats.info/nuget/finbuckle.multitenant)
Expand Down
2 changes: 1 addition & 1 deletion docs/Introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Finbuckle.MultiTenant is open source multitenancy middleware library for .NET. I
app behavior, and per-tenant data isolation.
See [https://www.finbuckle.com/multitenant](https://www.finbuckle.com/multi-tenant) for more details and documentation.

**This release supports .NET 8**
**This release supports .NET 8 and .NET 9.**

Beginning with Finbuckle.MultiTenant 8.0.0 major version releases align with .NET major version releases and target all
Microsoft supported major .NET versions at the time of initial release.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Title>Finbuckle.MultiTenant.AspNetCore</Title>
<Description>ASP.NET Core support for Finbuckle.MultiTenant.</Description>
<Nullable>enable</Nullable>
Expand All @@ -14,7 +14,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="$(TfmMajVer).0.*"/>
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="$(TfmMajVer).0.*-*"/>
</ItemGroup>
</Target>

Expand Down
236 changes: 228 additions & 8 deletions src/Finbuckle.MultiTenant.AspNetCore/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"net8.0": {
"Microsoft.AspNetCore.Authentication.OpenIdConnect": {
"type": "Direct",
"requested": "[8.0.*, )",
"requested": "[8.0.*-*, )",
"resolved": "8.0.10",
"contentHash": "X7idCyA4JhF4iInQUsSuIRcZzjr5h0Rl7IHxNRz/yd136+CIZ4tMMjasxiVOzU/IdWsR4UIG75DLsjcJrlYs8w==",
"dependencies": {
Expand Down Expand Up @@ -212,13 +212,233 @@
"finbuckle.multitenant": {
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Caching.Abstractions": "[8.0.*, )",
"Microsoft.Extensions.Configuration": "[8.0.*, )",
"Microsoft.Extensions.DependencyInjection": "[8.0.*, )",
"Microsoft.Extensions.Http": "[8.0.*, )",
"Microsoft.Extensions.Logging": "[8.0.*, )",
"Microsoft.Extensions.Options": "[8.0.*, )",
"Microsoft.Extensions.Options.ConfigurationExtensions": "[8.0.*, )"
"Microsoft.Extensions.Caching.Abstractions": "[8.0.*-*, )",
"Microsoft.Extensions.Configuration": "[8.0.*-*, )",
"Microsoft.Extensions.DependencyInjection": "[8.0.*-*, )",
"Microsoft.Extensions.Http": "[8.0.*-*, )",
"Microsoft.Extensions.Logging": "[8.0.*-*, )",
"Microsoft.Extensions.Options": "[8.0.*-*, )",
"Microsoft.Extensions.Options.ConfigurationExtensions": "[8.0.*-*, )"
}
}
},
"net9.0": {
"Microsoft.AspNetCore.Authentication.OpenIdConnect": {
"type": "Direct",
"requested": "[9.0.*-*, )",
"resolved": "9.0.0-rc.2.24474.3",
"contentHash": "gpJYhjb0o/aPR2Z3/lQnR24W/RikiKB7e3I55imjQkkkuAvlkRsNqhxE2Uxc8xp48yFHDYBMIc/rtY+lGBE4BQ==",
"dependencies": {
"Microsoft.IdentityModel.Protocols.OpenIdConnect": "8.0.1"
}
},
"Microsoft.SourceLink.GitHub": {
"type": "Direct",
"requested": "[1.1.*, )",
"resolved": "1.1.1",
"contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==",
"dependencies": {
"Microsoft.Build.Tasks.Git": "1.1.1",
"Microsoft.SourceLink.Common": "1.1.1"
}
},
"Microsoft.Build.Tasks.Git": {
"type": "Transitive",
"resolved": "1.1.1",
"contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q=="
},
"Microsoft.Extensions.Caching.Abstractions": {
"type": "Transitive",
"resolved": "9.0.0-rc.2.24473.5",
"contentHash": "7HrtHGMfGtyDZaDoM+gODjbljBHhTBCGyvzVlDNoN8jHfwkN/aqNcPE7ulLyU/zwannCVVrYteK2UMMoGjDOJQ==",
"dependencies": {
"Microsoft.Extensions.Primitives": "9.0.0-rc.2.24473.5"
}
},
"Microsoft.Extensions.Configuration": {
"type": "Transitive",
"resolved": "9.0.0-rc.2.24473.5",
"contentHash": "0hsJlhsf0e9Q4449obn6Mmk8jZiC8d7q06U8stgnDkTvWVzTcukcRwBwSDWY7lgxqAVgqT2uumuwWABDR6j8PA==",
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "9.0.0-rc.2.24473.5",
"Microsoft.Extensions.Primitives": "9.0.0-rc.2.24473.5"
}
},
"Microsoft.Extensions.Configuration.Abstractions": {
"type": "Transitive",
"resolved": "9.0.0-rc.2.24473.5",
"contentHash": "rZdBuOxD0nTZVbPMaDhXEND+bkGQ2GcsVpte8JBYss0o+c0xyW8EIwnB7KUha2pzDd//n+y3ABVz2Lh1VxyKgQ==",
"dependencies": {
"Microsoft.Extensions.Primitives": "9.0.0-rc.2.24473.5"
}
},
"Microsoft.Extensions.Configuration.Binder": {
"type": "Transitive",
"resolved": "9.0.0-rc.2.24473.5",
"contentHash": "5pL5ybuLS9eGzGJGSwQdgVQBbJW1H1CmdtqeoGu8W7j3z26go4F+XAeoxYoLZKkbFu4eCCSDyA/x7fATWmipEg==",
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "9.0.0-rc.2.24473.5"
}
},
"Microsoft.Extensions.DependencyInjection": {
"type": "Transitive",
"resolved": "9.0.0-rc.2.24473.5",
"contentHash": "FHb7uxiX/08FBBtwat7fiBdQltxst1Farux6Ifn1dfke+D8h1rcDj1ZbKzNB9SvLh1XmEXNYmoWGkTjt1mVzXg==",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0-rc.2.24473.5"
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions": {
"type": "Transitive",
"resolved": "9.0.0-rc.2.24473.5",
"contentHash": "T8oVF5Kz+J5IVagQAqcFFUrc/JrjaSvpACSm+t6cNolBX1S41PZVe3JLa3bxKnz0GTkUfSPPIkaekLmpAmHu3Q=="
},
"Microsoft.Extensions.Diagnostics": {
"type": "Transitive",
"resolved": "9.0.0-rc.2.24473.5",
"contentHash": "3imcv1HCKh8bE56ihM9e/lHZoFI4ZIllPtF/vXPjvGc+P60jPOR/z4xK+Xx1ZEZ/SPRBWd0Rg5mlLNqtg4ktXQ==",
"dependencies": {
"Microsoft.Extensions.Configuration": "9.0.0-rc.2.24473.5",
"Microsoft.Extensions.Diagnostics.Abstractions": "9.0.0-rc.2.24473.5",
"Microsoft.Extensions.Options.ConfigurationExtensions": "9.0.0-rc.2.24473.5"
}
},
"Microsoft.Extensions.Diagnostics.Abstractions": {
"type": "Transitive",
"resolved": "9.0.0-rc.2.24473.5",
"contentHash": "eNsjF81RRsKj9tfxc8l8YOJOECN10eGtt/lIwyaYi1A089/gB+9Ut1gJOaO0ksYrLC6aohrACLdgRl17bSS6yw==",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0-rc.2.24473.5",
"Microsoft.Extensions.Options": "9.0.0-rc.2.24473.5"
}
},
"Microsoft.Extensions.Http": {
"type": "Transitive",
"resolved": "9.0.0-rc.2.24473.5",
"contentHash": "keBCwetARoeWWyUkjFaRNhhdxILmpoVPck2dympki/VH3pMsOSJjCl4MEcbR/uwcvSgEW+j2lHst7mGyYr2jPA==",
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "9.0.0-rc.2.24473.5",
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0-rc.2.24473.5",
"Microsoft.Extensions.Diagnostics": "9.0.0-rc.2.24473.5",
"Microsoft.Extensions.Logging": "9.0.0-rc.2.24473.5",
"Microsoft.Extensions.Logging.Abstractions": "9.0.0-rc.2.24473.5",
"Microsoft.Extensions.Options": "9.0.0-rc.2.24473.5"
}
},
"Microsoft.Extensions.Logging": {
"type": "Transitive",
"resolved": "9.0.0-rc.2.24473.5",
"contentHash": "FZe8VCCAkkDOyek1ZlMmakDJNkA+cojDLpTtl5Pm4H5MdWS6WWGSfoDi++V1XiDUympTJ/S0iItSxfFf/M5e6w==",
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "9.0.0-rc.2.24473.5",
"Microsoft.Extensions.Logging.Abstractions": "9.0.0-rc.2.24473.5",
"Microsoft.Extensions.Options": "9.0.0-rc.2.24473.5"
}
},
"Microsoft.Extensions.Logging.Abstractions": {
"type": "Transitive",
"resolved": "9.0.0-rc.2.24473.5",
"contentHash": "GFglWb+13UaNAoIN1Pxvlm+/iBblBw0LHTu3dYPVCNTD2cQHM2SORFpb/s+QqKs0iT0SAwC27CnSsCKh3eGH6A==",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0-rc.2.24473.5"
}
},
"Microsoft.Extensions.Options": {
"type": "Transitive",
"resolved": "9.0.0-rc.2.24473.5",
"contentHash": "yv1/d9PHKB6W2KnyjgASAKU9siFtHQzFKcMLaGtEn95c2/j8ATKZkt+d4MbzxRY7fYtMyK7SOSMAFr3LybyWiw==",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0-rc.2.24473.5",
"Microsoft.Extensions.Primitives": "9.0.0-rc.2.24473.5"
}
},
"Microsoft.Extensions.Options.ConfigurationExtensions": {
"type": "Transitive",
"resolved": "9.0.0-rc.2.24473.5",
"contentHash": "KDQO0DbEcLh1ZcgB4icV6lgT6K+9d3xUWbgZWBoGlVgzv+fwnMsXqYAo7u6UfA7B1z27/+N8BaNVnnujNSn5SQ==",
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "9.0.0-rc.2.24473.5",
"Microsoft.Extensions.Configuration.Binder": "9.0.0-rc.2.24473.5",
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0-rc.2.24473.5",
"Microsoft.Extensions.Options": "9.0.0-rc.2.24473.5",
"Microsoft.Extensions.Primitives": "9.0.0-rc.2.24473.5"
}
},
"Microsoft.Extensions.Primitives": {
"type": "Transitive",
"resolved": "9.0.0-rc.2.24473.5",
"contentHash": "gNj30XW3pWU6CqitHqR4OBUzqauunjzHe3hJBeueE1OcXBIs9C1XpnmyNVTvBUC+ENgxU06N8hnXHNu0rveIBA=="
},
"Microsoft.IdentityModel.Abstractions": {
"type": "Transitive",
"resolved": "8.0.1",
"contentHash": "OtlIWcyX01olfdevPKZdIPfBEvbcioDyBiE/Z2lHsopsMD7twcKtlN9kMevHmI5IIPhFpfwCIiR6qHQz1WHUIw=="
},
"Microsoft.IdentityModel.JsonWebTokens": {
"type": "Transitive",
"resolved": "8.0.1",
"contentHash": "s6++gF9x0rQApQzOBbSyp4jUaAlwm+DroKfL8gdOHxs83k8SJfUXhuc46rDB3rNXBQ1MVRxqKUrqFhO/M0E97g==",
"dependencies": {
"Microsoft.IdentityModel.Tokens": "8.0.1"
}
},
"Microsoft.IdentityModel.Logging": {
"type": "Transitive",
"resolved": "8.0.1",
"contentHash": "UCPF2exZqBXe7v/6sGNiM6zCQOUXXQ9+v5VTb9gPB8ZSUPnX53BxlN78v2jsbIvK9Dq4GovQxo23x8JgWvm/Qg==",
"dependencies": {
"Microsoft.IdentityModel.Abstractions": "8.0.1"
}
},
"Microsoft.IdentityModel.Protocols": {
"type": "Transitive",
"resolved": "8.0.1",
"contentHash": "uA2vpKqU3I2mBBEaeJAWPTjT9v1TZrGWKdgK6G5qJd03CLx83kdiqO9cmiK8/n1erkHzFBwU/RphP83aAe3i3g==",
"dependencies": {
"Microsoft.IdentityModel.Tokens": "8.0.1"
}
},
"Microsoft.IdentityModel.Protocols.OpenIdConnect": {
"type": "Transitive",
"resolved": "8.0.1",
"contentHash": "AQDbfpL+yzuuGhO/mQhKNsp44pm5Jv8/BI4KiFXR7beVGZoSH35zMV3PrmcfvSTsyI6qrcR898NzUauD6SRigg==",
"dependencies": {
"Microsoft.IdentityModel.Protocols": "8.0.1",
"System.IdentityModel.Tokens.Jwt": "8.0.1"
}
},
"Microsoft.IdentityModel.Tokens": {
"type": "Transitive",
"resolved": "8.0.1",
"contentHash": "kDimB6Dkd3nkW2oZPDkMkVHfQt3IDqO5gL0oa8WVy3OP4uE8Ij+8TXnqg9TOd9ufjsY3IDiGz7pCUbnfL18tjg==",
"dependencies": {
"Microsoft.IdentityModel.Logging": "8.0.1"
}
},
"Microsoft.SourceLink.Common": {
"type": "Transitive",
"resolved": "1.1.1",
"contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg=="
},
"System.IdentityModel.Tokens.Jwt": {
"type": "Transitive",
"resolved": "8.0.1",
"contentHash": "GJw3bYkWpOgvN3tJo5X4lYUeIFA2HD293FPUhKmp7qxS+g5ywAb34Dnd3cDAFLkcMohy5XTpoaZ4uAHuw0uSPQ==",
"dependencies": {
"Microsoft.IdentityModel.JsonWebTokens": "8.0.1",
"Microsoft.IdentityModel.Tokens": "8.0.1"
}
},
"finbuckle.multitenant": {
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Caching.Abstractions": "[9.0.*-*, )",
"Microsoft.Extensions.Configuration": "[9.0.*-*, )",
"Microsoft.Extensions.DependencyInjection": "[9.0.*-*, )",
"Microsoft.Extensions.Http": "[9.0.*-*, )",
"Microsoft.Extensions.Logging": "[9.0.*-*, )",
"Microsoft.Extensions.Options": "[9.0.*-*, )",
"Microsoft.Extensions.Options.ConfigurationExtensions": "[9.0.*-*, )"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Title>Finbuckle.MultiTenant.EntityFrameworkCore</Title>
<Description>Entity Framework Core support for Finbuckle.MultiTenant.</Description>
<Nullable>enable</Nullable>
Expand All @@ -14,9 +14,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="$(TfmMajVer).0.*"/>
<PackageReference Include="Microsoft.Extensions.Identity.Stores" Version="$(TfmMajVer).0.*"/>
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="$(TfmMajVer).0.*"/>
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="$(TfmMajVer).0.*-*"/>
<PackageReference Include="Microsoft.Extensions.Identity.Stores" Version="$(TfmMajVer).0.*-*"/>
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="$(TfmMajVer).0.*-*"/>
</ItemGroup>
</Target>

Expand Down
Loading

0 comments on commit 4be1b88

Please sign in to comment.