Repository navigation
Expand file tree
/
Copy pathDirectory.Packages.props
More file actions
61 lines (56 loc) · 3.77 KB
/
Copy pathDirectory.Packages.props
File metadata and controls
61 lines (56 loc) · 3.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<!--
Versions of packages the published libraries (src/) depend on follow ADR-0004. Tests and tooling always take the latest version.
* Abstractions (API contracts under semantic versioning): the LOWEST version that provides the API we use,
i.e. x.0.0 of the major matching our oldest .NET target (currently 8.0.0); a later patch only for a known vulnerability.
It is a minimum for every app, so a higher one would force upgrades on them.
* Implementations (code that runs): the LATEST PATCH of the chosen minor, to get bug and security fixes. Dependabot
proposes patches only; a minor or major raise is a deliberate change (ADR-0004, 2026-10-29 note).
* Microsoft.Extensions.* used by OpenUrzednik.Nbp.DependencyInjection: per target, the latest patch of the major that
matches the target, so a .NET 8 app isn't moved to Microsoft.Extensions 10.x (ADR-0004, 2026-10-17 note): a normal
10.0.x row plus a net8.0-only Update override (2026-10-29 note).
Raising an abstraction above its minimum (e.g. a Dependabot PR) needs the maintainer's explicit answer first (CLAUDE.md).
-->
<!-- Abstractions: lowest supported version. -->
<ItemGroup>
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
</ItemGroup>
<!-- Implementations: latest patch of the chosen minor. -->
<ItemGroup>
<!-- netstandard2.0 only (ADR-0005): types .NET has built in. -->
<PackageVersion Include="Microsoft.Bcl.HashCode" Version="6.0.0" />
<PackageVersion Include="Microsoft.Bcl.TimeProvider" Version="10.0.14" />
<PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="10.0.14" />
<PackageVersion Include="System.Text.Json" Version="10.0.14" />
<PackageVersion Include="System.Net.Http.Json" Version="10.0.14" />
<!-- net10.0 and netstandard2.0 get 10.0.x, the LTS line that still supports .NET Framework; net8.0 is overridden below. -->
<PackageVersion Include="Microsoft.Extensions.Http" Version="10.0.14" />
<PackageVersion Include="Microsoft.Extensions.Options" Version="10.0.14" />
<!-- The resilience engine the app runs (maintainer, 2026-10-04), even though we only use its exception types. -->
<PackageVersion Include="Polly.Core" Version="8.8.1" />
</ItemGroup>
<!-- net8.0 only (ADR-0004): the 8.0.x line, so a .NET 8 app stays on Microsoft.Extensions 8.x. Kept apart from the rows
above so Dependabot updates those normally; these are patched by hand (8.0.x gets no patches after 2026-11-10). -->
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageVersion Update="Microsoft.Extensions.Http" Version="8.0.1" />
<PackageVersion Update="Microsoft.Extensions.Options" Version="8.0.2" />
</ItemGroup>
<!-- Build tooling and tests: latest version. -->
<ItemGroup>
<PackageVersion Include="Bogus" Version="35.6.5" />
<PackageVersion Include="Microsoft.Extensions.TimeProvider.Testing" Version="10.11.0" />
<PackageVersion Include="NSubstitute" Version="6.2.0" />
<PackageVersion Include="Shouldly" Version="4.3.0" />
<PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="10.11.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.11.0" />
<PackageVersion Include="WireMock.Net" Version="2.21.0" />
<PackageVersion Include="xunit.v3" Version="4.0.2" />
<PackageVersion Include="xunit.v3.extensibility.core" Version="4.0.2" />
<PackageVersion Include="xunit.runner.visualstudio" Version="4.0.1" />
<PackageVersion Include="Microsoft.Testing.Extensions.CodeCoverage" Version="18.12.0" />
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.10.94" />
</ItemGroup>
</Project>