Skip to content

Commit 8061147

Browse files
committed
Upgrade dependencies
- upgrade to new versions of the PPWCode packages - fix code after upgrade to new major versions of PPWCode packages
1 parent f68a194 commit 8061147

7 files changed

Lines changed: 246 additions & 226 deletions

File tree

src/Directory.Packages.props

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,33 +18,38 @@
1818

1919
<!-- package versions -->
2020
<ItemGroup>
21+
<!-- jetbrains -->
22+
<PackageVersion Include="JetBrains.Annotations" Version="2025.2.4" />
23+
2124
<!-- ppwcode -->
25+
<PackageVersion Include="PPWCode.Vernacular.Contracts.I" Version="1.*" />
2226
<PackageVersion Include="PPWCode.Vernacular.Exceptions.IV" Version="2.*" />
23-
<PackageVersion Include="PPWCode.Vernacular.Persistence.IV" Version="2.*" />
2427
<PackageVersion Include="PPWCode.Vernacular.Semantics.IV" Version="2.*" />
25-
<PackageVersion Include="PPWCode.Vernacular.NHibernate.III" Version="3.*"/>
26-
<PackageVersion Include="PPWCode.API.Core" Version="1.*"/>
28+
<PackageVersion Include="PPWCode.Vernacular.Persistence.IV" Version="2.*" />
29+
<PackageVersion Include="PPWCode.Vernacular.NHibernate.III" Version="4.*"/>
30+
<PackageVersion Include="PPWCode.API.Core" Version="2.*"/>
2731

2832
<!-- system -->
2933
<PackageVersion Include="System.ComponentModel.Annotations" Version="5.0.0" />
30-
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="8.*"/>
31-
<PackageVersion Include="System.Data.SqlClient" Version="4.8.6"/>
32-
<PackageVersion Include="System.Drawing.Common" Version="5.0.3" />
33-
34-
<!-- jetbrains -->
35-
<PackageVersion Include="JetBrains.Annotations" Version="2025.2.4" />
34+
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="10.*"/>
35+
36+
<!-- SQL Server -->
37+
<!-- legacy! should upgrade to Microsoft.Data.SqlClient -->
38+
<PackageVersion Include="System.Data.SqlClient" Version="4.*" />
3639

3740
<!-- newtonsoft -->
3841
<PackageVersion Include="Newtonsoft.Json" Version="13.*" />
3942

4043
<!-- castle -->
41-
<PackageVersion Include="Castle.Core" Version="5.*" />
42-
<PackageVersion Include="Castle.Windsor" Version="5.1.1"/>
44+
<PackageVersion Include="Castle.Windsor" Version="[5.1.1, 5.1.2]"/>
45+
46+
<!-- Asp.Net Core - versioning apis -->
47+
<PackageVersion Include="Asp.Versioning.Mvc" Version="8.*"/>
4348

4449
<!-- nhibernate -->
45-
<PackageVersion Include="NHibernate" Version="5.5.2" />
46-
<PackageVersion Include="NHibernateProfiler.Appender" Version="6.0.6047"/>
47-
50+
<PackageVersion Include="NHibernate" Version="5.*" />
51+
<PackageVersion Include="NHibernateProfiler.Appender" Version="6.0.*"/>
52+
4853
<!-- nunit -->
4954
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
5055
<PackageVersion Include="NUnit" Version="4.4.0" />
@@ -57,20 +62,14 @@
5762
</ItemGroup>
5863

5964
<!-- microsoft: framework dependent -->
60-
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
61-
<PackageVersion Include="Asp.Versioning.Mvc" Version="6.*"/>
62-
</ItemGroup>
6365
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
6466
<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.*" />
65-
<PackageVersion Include="Asp.Versioning.Mvc" Version="8.*"/>
6667
</ItemGroup>
6768
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
6869
<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="9.*" />
69-
<PackageVersion Include="Asp.Versioning.Mvc" Version="8.*"/>
7070
</ItemGroup>
7171
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
7272
<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="10.*" />
73-
<PackageVersion Include="Asp.Versioning.Mvc" Version="8.*"/>
7473
</ItemGroup>
7574

7675
<!-- global package references -->

src/PPWCode.Server.Core/API/Exceptions/ContractViolationExceptionHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 by PeopleWare n.v..
1+
// Copyright 2026 by PeopleWare n.v..
22
// Licensed under the Apache License, Version 2.0 (the "License");
33
// you may not use this file except in compliance with the License.
44
// You may obtain a copy of the License at
@@ -15,7 +15,7 @@
1515
using Microsoft.AspNetCore.Mvc;
1616
using Microsoft.AspNetCore.Mvc.Filters;
1717

18-
using PPWCode.API.Core.Contracts;
18+
using PPWCode.Vernacular.Contracts.I;
1919

2020
namespace PPWCode.Server.Core.API.Exceptions
2121
{

src/PPWCode.Server.Core/Mappers/Implementations/ComponentMapper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 by PeopleWare n.v..
1+
// Copyright 2026 by PeopleWare n.v..
22
// Licensed under the Apache License, Version 2.0 (the "License");
33
// you may not use this file except in compliance with the License.
44
// You may obtain a copy of the License at
@@ -15,8 +15,8 @@
1515
using JetBrains.Annotations;
1616

1717
using PPWCode.API.Core;
18-
using PPWCode.API.Core.Exceptions;
1918
using PPWCode.Server.Core.Mappers.Interfaces;
19+
using PPWCode.Vernacular.Exceptions.IV;
2020
using PPWCode.Vernacular.Persistence.IV;
2121

2222
namespace PPWCode.Server.Core.Mappers.Implementations

src/PPWCode.Server.Core/Mappers/Implementations/ToDtoPersistentObjectMapper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 by PeopleWare n.v..
1+
// Copyright 2026 by PeopleWare n.v..
22
// Licensed under the Apache License, Version 2.0 (the "License");
33
// you may not use this file except in compliance with the License.
44
// You may obtain a copy of the License at
@@ -16,9 +16,9 @@
1616
using JetBrains.Annotations;
1717

1818
using PPWCode.API.Core;
19-
using PPWCode.API.Core.Exceptions;
2019
using PPWCode.Server.Core.Mappers.Interfaces;
2120
using PPWCode.Server.Core.RequestContext.Interfaces;
21+
using PPWCode.Vernacular.Exceptions.IV;
2222
using PPWCode.Vernacular.NHibernate.III.Async.Interfaces;
2323
using PPWCode.Vernacular.NHibernate.III.Async.Interfaces.Providers;
2424
using PPWCode.Vernacular.Persistence.IV;

src/PPWCode.Server.Core/Mappers/Implementations/ToModelPersistentObjectMapper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 by PeopleWare n.v..
1+
// Copyright 2026 by PeopleWare n.v..
22
// Licensed under the Apache License, Version 2.0 (the "License");
33
// you may not use this file except in compliance with the License.
44
// You may obtain a copy of the License at
@@ -16,9 +16,9 @@
1616
using JetBrains.Annotations;
1717

1818
using PPWCode.API.Core;
19-
using PPWCode.API.Core.Exceptions;
2019
using PPWCode.Server.Core.Mappers.Interfaces;
2120
using PPWCode.Server.Core.RequestContext.Interfaces;
21+
using PPWCode.Vernacular.Exceptions.IV;
2222
using PPWCode.Vernacular.NHibernate.III.Async.Interfaces;
2323
using PPWCode.Vernacular.NHibernate.III.Async.Interfaces.Providers;
2424
using PPWCode.Vernacular.Persistence.IV;

0 commit comments

Comments
 (0)