Skip to content

Commit d9b8265

Browse files
chore: Update target frameworks, package metadata, and README for .NET 9.0 compatibility and project enhancements
1 parent cb2dde8 commit d9b8265

File tree

3 files changed

+65
-59
lines changed

3 files changed

+65
-59
lines changed

README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
# 🔗 Relay - Adaptive Dependency Injection
22

3-
[![.NET](https://img.shields.io/badge/.NET-6%2B-blue)](https://dotnet.microsoft.com/)
4-
[![NuGet](https://img.shields.io/badge/NuGet-Available-brightgreen)](https://www.nuget.org/packages/Relay)
3+
[![Made in Ukraine](https://img.shields.io/badge/made_in-ukraine-ffd700.svg?labelColor=0057b7)](https://taraskovalenko.github.io/)
4+
[![Relay](https://img.shields.io/nuget/v/Relay?label=Relay)](https://www.nuget.org/packages/Relay)
55
[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
66

77
Relay your dependency injection to the next level! A powerful, fluent library that extends Microsoft.Extensions.DependencyInjection with adaptive patterns for conditional routing, multi-relays, adapter chains, and dynamic service resolution.
88

9+
## Terms of use
10+
11+
By using this project or its source code, for any purpose and in any shape or form, you grant your **implicit agreement** to all of the following statements:
12+
13+
- You unequivocally condemn Russia and its military aggression against Ukraine
14+
- You recognize that Russia is an occupant that unlawfully invaded a sovereign state
15+
- You agree that [Russia is a terrorist state](https://www.europarl.europa.eu/doceo/document/RC-9-2022-0482_EN.html)
16+
- You fully support Ukraine's territorial integrity, including its claims over [temporarily occupied territories](https://en.wikipedia.org/wiki/Russian-occupied_territories_of_Ukraine)
17+
- You reject false narratives perpetuated by Russian state propaganda
18+
19+
To learn more about the war and how you can help, [click here](https://war.ukraine.ua/). Glory to Ukraine! 🇺🇦
20+
921
## 🎯 **Why Relay?**
1022

1123
Transform the adapter pattern from a simple design pattern into a **powerful architectural tool**:
@@ -274,7 +286,7 @@ Install-Package Relay
274286
dotnet add package Relay
275287

276288
# PackageReference
277-
<PackageReference Include="Relay" Version="1.0.0" />
289+
<PackageReference Include="Relay" Version="1.0.3" />
278290
```
279291

280292
### **Basic Setup**
@@ -296,13 +308,7 @@ public void ConfigureServices(IServiceCollection services)
296308

297309
## 📚 **Documentation**
298310

299-
- [Getting Started Guide](docs/getting-started.md)
300-
- [Conditional Relays](docs/conditional-relays.md)
301-
- [Multi-Relays](docs/multi-relays.md)
302-
- [Adapter Patterns](docs/adapter-patterns.md)
303-
- [Adapter Chains](docs/adapter-chains.md)
304-
- [Performance Guide](docs/performance.md)
305-
- [Migration Guide](docs/migration-guide.md)
311+
todo:
306312

307313
## 🤝 **Contributing**
308314

src/Relay.csproj

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<TargetFrameworks>net8.0;net9.0;</TargetFrameworks>
4-
<PackageId>Relay</PackageId>
5-
<Title>Relay - Adaptive Dependency Injection</Title>
6-
<Version>1.0.0</Version>
7-
<Authors>Taras Kovalenko</Authors>
8-
<Copyright>Copyright Taras Kovalenko</Copyright>
9-
<Product>Relay</Product>
10-
<Description>
2+
<PropertyGroup>
3+
<TargetFrameworks>net9.0;</TargetFrameworks>
4+
<PackageId>Relay</PackageId>
5+
<Title>Relay - Adaptive Dependency Injection</Title>
6+
<Version>1.0.3</Version>
7+
<Authors>Taras Kovalenko</Authors>
8+
<Copyright>Copyright Taras Kovalenko</Copyright>
9+
<Product>Relay</Product>
10+
<Description>
1111
Relay your dependency injection to the next level. Fluent extensions for
1212
Microsoft.Extensions.DependencyInjection that simplify adapter patterns
1313
with conditional routing, multi-adapters, adapter chains, and dynamic
1414
service resolution.
1515
</Description>
16-
<Copyright>Copyright © Your Company 2024</Copyright>
17-
<PackageTags>dependency-injection;adapter-pattern;relay;routing;di;ioc;fluent-api;dotnet;aspnetcore;conditional;multi-adapter;adapter-chain;legacy-integration</PackageTags>
18-
<PackageProjectUrl>https://github.com/TarasKovalenko/Relay</PackageProjectUrl>
19-
<RepositoryUrl>https://github.com/TarasKovalenko/Relay</RepositoryUrl>
20-
<RepositoryType>git</RepositoryType>
21-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
22-
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
23-
<IncludeSymbols>true</IncludeSymbols>
24-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
25-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
26-
<EmbedUntrackedSources>true</EmbedUntrackedSources>
27-
<Deterministic>true</Deterministic>
28-
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
29-
<!-- Code Quality -->
30-
<LangVersion>latest</LangVersion>
31-
<Nullable>enable</Nullable>
32-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
33-
<WarningsAsErrors />
34-
<WarningsNotAsErrors>NU1605;CS1591</WarningsNotAsErrors>
35-
<GenerateDocumentationFile>true</GenerateDocumentationFile>
36-
<ImplicitUsings>enable</ImplicitUsings>
37-
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
38-
<EnableNETAnalyzers>true</EnableNETAnalyzers>
39-
<AnalysisLevel>latest</AnalysisLevel>
40-
</PropertyGroup>
41-
<ItemGroup>
42-
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
43-
<PackageReference Include="Microsoft.Extensions.Options" />
44-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
45-
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
46-
</ItemGroup>
47-
<ItemGroup>
48-
<None Include="../README.md" Pack="true" PackagePath="\" />
49-
</ItemGroup>
50-
<ItemGroup>
51-
<InternalsVisibleTo Include="Relay.Tests" />
52-
</ItemGroup>
53-
</Project>
16+
<PackageTags>dependency-injection;adapter-pattern;relay;routing;di;ioc;fluent-api;dotnet;aspnetcore;conditional;multi-adapter;adapter-chain;legacy-integration</PackageTags>
17+
<PackageProjectUrl>https://github.com/TarasKovalenko/Relay</PackageProjectUrl>
18+
<RepositoryUrl>https://github.com/TarasKovalenko/Relay</RepositoryUrl>
19+
<RepositoryType>git</RepositoryType>
20+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
21+
<IncludeBuildOutput>true</IncludeBuildOutput>
22+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
23+
<IncludeSymbols>true</IncludeSymbols>
24+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
25+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
26+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
27+
<PackageOutputPath>./nupkg</PackageOutputPath>
28+
<Deterministic>true</Deterministic>
29+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
30+
<!-- Code Quality -->
31+
<LangVersion>latest</LangVersion>
32+
<Nullable>enable</Nullable>
33+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
34+
<WarningsAsErrors/>
35+
<WarningsNotAsErrors>NU1605;CS1591</WarningsNotAsErrors>
36+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
37+
<ImplicitUsings>enable</ImplicitUsings>
38+
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
39+
<EnableNETAnalyzers>true</EnableNETAnalyzers>
40+
<AnalysisLevel>latest</AnalysisLevel>
41+
<PackageReadmeFile>README.md</PackageReadmeFile>
42+
</PropertyGroup>
43+
<ItemGroup>
44+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions"/>
45+
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All"/>
46+
</ItemGroup>
47+
<ItemGroup>
48+
<None Include="..\README.md" Pack="true" PackagePath="\"/>
49+
</ItemGroup>
50+
<ItemGroup>
51+
<InternalsVisibleTo Include="Relay.Tests"/>
52+
</ItemGroup>
53+
</Project>

tests/Relay.Tests/Relay.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net8.0;net9.0;</TargetFrameworks>
3+
<TargetFrameworks>net9.0;</TargetFrameworks>
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
66
<IsPackable>false</IsPackable>
@@ -25,4 +25,4 @@
2525
<ItemGroup>
2626
<ProjectReference Include="..\..\src\Relay.csproj" />
2727
</ItemGroup>
28-
</Project>
28+
</Project>

0 commit comments

Comments
 (0)