Skip to content

Commit eae96fd

Browse files
Copilotnanotaboada
andcommitted
Pin AutoMapper to 14.x line to avoid commercial v15.x upgrades
Co-authored-by: nanotaboada <[email protected]>
1 parent df626e0 commit eae96fd

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ updates:
99
commit-message:
1010
include: scope
1111
prefix: "chore(deps): "
12+
ignore:
13+
- dependency-name: "AutoMapper"
14+
update-types: ["version-update:semver-major"]
1215
groups:
1316
serilog:
1417
patterns:
@@ -21,6 +24,9 @@ updates:
2124
commit-message:
2225
include: scope
2326
prefix: "chore(deps): "
27+
ignore:
28+
- dependency-name: "AutoMapper"
29+
update-types: ["version-update:semver-major"]
2430
groups:
2531
xunit:
2632
patterns:

src/Dotnet.Samples.AspNetCore.WebApi/Dotnet.Samples.AspNetCore.WebApi.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.22" />
1717
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="9.0.11" />
1818
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.10" />
19-
<PackageReference Include="AutoMapper" Version="14.0.0" />
19+
<PackageReference Include="AutoMapper" Version="[14.0.0,15.0.0)" />
2020
<PackageReference Include="FluentValidation" Version="12.1.0" />
2121
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="12.1.0" />
2222
<PackageReference Include="Serilog.AspNetCore" Version="9.0.0" />

src/Dotnet.Samples.AspNetCore.WebApi/packages.lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"net8.0": {
55
"AutoMapper": {
66
"type": "Direct",
7-
"requested": "[14.0.0, )",
7+
"requested": "[14.0.0, 15.0.0)",
88
"resolved": "14.0.0",
99
"contentHash": "OC+1neAPM4oCCqQj3g2GJ2shziNNhOkxmNB9cVS8jtx4JbgmRzLcUOxB9Tsz6cVPHugdkHgCaCrTjjSI0Z5sCQ==",
1010
"dependencies": {

test/Dotnet.Samples.AspNetCore.WebApi.Tests/packages.lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@
598598
"dotnet.samples.aspnetcore.webapi": {
599599
"type": "Project",
600600
"dependencies": {
601-
"AutoMapper": "[14.0.0, )",
601+
"AutoMapper": "[14.0.0, 15.0.0)",
602602
"FluentValidation": "[12.1.0, )",
603603
"FluentValidation.DependencyInjectionExtensions": "[12.1.0, )",
604604
"Microsoft.AspNetCore.OpenApi": "[8.0.22, )",

0 commit comments

Comments
 (0)