Skip to content

Commit 3b41670

Browse files
Merge branch 'master' into serialization-strategy-issue-2603
2 parents d82780a + bb067fe commit 3b41670

30 files changed

Lines changed: 356 additions & 81 deletions

File tree

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"csharpasyncgenerator.tool": {
6-
"version": "0.22.0",
6+
"version": "0.23.0",
77
"commands": [
88
"async-generator"
99
]

.github/renovate.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
4-
"config:recommended"
4+
"config:recommended",
5+
"helpers:pinGitHubActionDigests"
56
],
67
"configMigration": true,
78
"pruneStaleBranches": false,

.github/workflows/GenerateAsyncCode.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
has_changes: ${{ steps.check_changes.outputs.has_changes }}
1616

1717
steps:
18-
- uses: actions/checkout@v5
18+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1919
with:
2020
ref: ${{ github.event.pull_request.head.ref }}
2121
repository: ${{ github.event.pull_request.head.repo.full_name }}
@@ -47,7 +47,7 @@ jobs:
4747
4848
- name: Upload patch
4949
if: steps.check_changes.outputs.has_changes == 'true'
50-
uses: actions/upload-artifact@v4
50+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
5151
with:
5252
name: async-changes
5353
path: changes.patch
@@ -61,13 +61,13 @@ jobs:
6161
contents: write
6262

6363
steps:
64-
- uses: actions/checkout@v5
64+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
6565
with:
6666
ref: ${{ github.event.pull_request.head.ref }}
6767
repository: ${{ github.event.pull_request.head.repo.full_name }}
6868

6969
- name: Download patch
70-
uses: actions/download-artifact@v4
70+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
7171
with:
7272
name: async-changes
7373

.github/workflows/NetCoreTests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ jobs:
88
fail-fast: false
99
matrix:
1010
DB: [SQLite]
11-
OS: [ubuntu-latest, windows-latest, macos-13]
11+
# macos: System.Data.SQLite.Core 1.x lacks an arm64 interop lib and so requires an intel macos image. There are
12+
# no latest such images, excepted -large but they require a paying GitHub account. https://github.com/actions/runner-images
13+
# Switching to System.Data.SQLite 2 (without .Core suffix) might allow to run on arm64. See https://system.data.sqlite.org
14+
OS: [ubuntu-latest, windows-latest, macos-26-intel]
1215
include:
1316
- DB: SqlServer2008
1417
CONNECTION_STRING: "Server=localhost;initial catalog=nhibernate;User Id=sa;Password=P@ssw0rd;packet size=4096;"
@@ -64,7 +67,7 @@ jobs:
6467
run: ${{matrix.DB_INIT}}
6568

6669
- name: Checkout
67-
uses: actions/checkout@v5
70+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
6871
with:
6972
show-progress: false
7073

ShowBuildMenu.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ testSetupMenu() {
172172
}
173173

174174
testRun(){
175-
dotnet test ./src/NHibernate.Test/NHibernate.Test.csproj -f net8.0
176-
dotnet test ./src/NHibernate.Test.VisualBasic/NHibernate.Test.VisualBasic.vbproj -f net8.0
175+
dotnet test ./src/NHibernate.Test/NHibernate.Test.csproj -f net10.0
176+
dotnet test ./src/NHibernate.Test.VisualBasic/NHibernate.Test.VisualBasic.vbproj -f net10.0
177177
mainMenu
178178
}
179179

Tools/BuildTool/BuildTool.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
</PropertyGroup>
66
</Project>

appveyor.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,14 @@ environment:
1212
- DB: MySQL
1313
CONNECTION_STRING: Server=127.0.0.1;Uid=root;Pwd=Password12!;Database=nhibernate;Old Guids=True;SslMode=none;CharSet=utf8;
1414
init:
15-
# Required for having windows endlines in sources zip
16-
- git config --global core.autocrlf true
15+
# Required for having windows endlines in sources zip
16+
- git config --global core.autocrlf true
17+
install:
18+
# Install .NET 10, see https://github.com/appveyor/ci/issues/3984 for checking if it remains needed.
19+
# Install script recommended here: https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script#recommended-version
20+
- ps: |
21+
Invoke-WebRequest -Uri 'https://dot.net/v1/dotnet-install.ps1' -UseBasicParsing -OutFile "$env:temp\dotnet-install.ps1"
22+
& $env:temp\dotnet-install.ps1 -Channel 10.0 -InstallDir "$env:ProgramFiles\dotnet"
1723
build: off
1824
before_test:
1925
- ps: |-

build-common/NHibernate.props

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<PropertyGroup>
55
<NhVersion Condition="'$(NhVersion)' == ''" >5.6</NhVersion>
6-
<VersionPatch Condition="'$(VersionPatch)' == ''">0</VersionPatch>
6+
<VersionPatch Condition="'$(VersionPatch)' == ''">1</VersionPatch>
77
<!-- Clear VersionSuffix for making release and set it to dev for making development builds -->
88
<VersionSuffix Condition="'$(VersionSuffix)' == ''"></VersionSuffix>
99
<LangVersion Condition="'$(MSBuildProjectExtension)' != '.vbproj'">12.0</LangVersion>
@@ -14,8 +14,8 @@
1414
<FileVersion Condition="'$(VersionSuffix)' != '' AND '$(BuildNumber)' != ''">$(VersionPrefix).$(BuildNumber)</FileVersion>
1515
<FileVersion Condition="'$(FileVersion)' == ''">$(VersionPrefix).0</FileVersion>
1616

17-
<NhAppTargetFrameworks Condition ="$(NhAppTargetFrameworks) == ''">net48;net8.0</NhAppTargetFrameworks>
18-
<NhLibTargetFrameworks Condition ="$(NhLibTargetFrameworks) == ''">net461;net48;netcoreapp2.0;netstandard2.0;netstandard2.1;net6.0;net8.0</NhLibTargetFrameworks>
17+
<NhAppTargetFrameworks Condition ="$(NhAppTargetFrameworks) == ''">net48;net10.0</NhAppTargetFrameworks>
18+
<NhLibTargetFrameworks Condition ="$(NhLibTargetFrameworks) == ''">net461;net48;netcoreapp2.0;netstandard2.0;netstandard2.1;net6.0;net8.0;net10.0</NhLibTargetFrameworks>
1919
<RuntimeFrameworkVersion Condition="'$(TargetFramework)' == 'netcoreapp2.0'">2.0.3</RuntimeFrameworkVersion>
2020
<NhNetFx>false</NhNetFx>
2121
<NhNetFx Condition="$(TargetFramework.StartsWith('net4'))">true</NhNetFx>
@@ -25,6 +25,7 @@
2525
<NoWarn>$(NoWarn);NU1903</NoWarn>
2626
<NoWarn Condition="'$(TargetFramework)' == 'net6.0'">$(NoWarn);SYSLIB0011</NoWarn>
2727
<NoWarn Condition="'$(TargetFramework)' == 'net8.0'">$(NoWarn);SYSLIB0011;SYSLIB0050;SYSLIB0051</NoWarn>
28+
<NoWarn Condition="'$(TargetFramework)' == 'net10.0'">$(NoWarn);SYSLIB0011;SYSLIB0050;SYSLIB0051</NoWarn>
2829

2930
<Product>NHibernate</Product>
3031
<Company>NHibernate.info</Company>

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.100",
3+
"version": "10.0.100",
44
"rollForward": "latestFeature"
55
}
66
}

psake.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Task Test -depends Build {
132132
'NHibernate.Test',
133133
'NHibernate.Test.VisualBasic'
134134
) | ForEach-Object {
135-
$assembly = [IO.Path]::Combine("src", $_, "bin", "Release", "net8.0", "$_.dll")
135+
$assembly = [IO.Path]::Combine("src", $_, "bin", "Release", "net10.0", "$_.dll")
136136
Exec {
137137
dotnet $assembly --labels=before --nocolor "--result=$_-TestResult.xml"
138138
}

0 commit comments

Comments
 (0)