Skip to content

Commit 7816ab4

Browse files
authored
Merge pull request #14 from janb84/feature/update_to_dotnet_10
Feature/update to dotnet 10
2 parents 8c98854 + d9dbe52 commit 7816ab4

11 files changed

Lines changed: 28 additions & 24 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest, macos-latest]
16-
dotnet-version: ['9.0.x']
16+
dotnet-version: ['10.0.x']
1717
fail-fast: false
1818

1919
steps:
2020
- name: Checkout code
21-
uses: actions/checkout@v5
21+
uses: actions/checkout@v6
2222

2323
- name: Setup .NET
2424
uses: actions/setup-dotnet@v5
@@ -47,12 +47,12 @@ jobs:
4747

4848
steps:
4949
- name: Checkout code
50-
uses: actions/checkout@v5
50+
uses: actions/checkout@v6
5151

5252
- name: Setup .NET
5353
uses: actions/setup-dotnet@v5
5454
with:
55-
dotnet-version: '9.0.x'
55+
dotnet-version: '10.0.x'
5656

5757
- name: Restore dependencies
5858
run: dotnet restore
@@ -66,12 +66,12 @@ jobs:
6666

6767
steps:
6868
- name: Checkout code
69-
uses: actions/checkout@v5
69+
uses: actions/checkout@v6
7070

7171
- name: Setup .NET
7272
uses: actions/setup-dotnet@v5
7373
with:
74-
dotnet-version: '9.0.x'
74+
dotnet-version: '10.0.x'
7575

7676
- name: Restore dependencies
7777
run: dotnet restore
@@ -102,12 +102,12 @@ jobs:
102102

103103
steps:
104104
- name: Checkout code
105-
uses: actions/checkout@v5
105+
uses: actions/checkout@v6
106106

107107
- name: Setup .NET
108108
uses: actions/setup-dotnet@v5
109109
with:
110-
dotnet-version: '9.0.x'
110+
dotnet-version: '10.0.x'
111111

112112
- name: Build conformance handler
113113
run: |

.github/workflows/pr-validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111

1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v5
14+
uses: actions/checkout@v6
1515
with:
1616
fetch-depth: 0
1717

1818
- name: Setup .NET
1919
uses: actions/setup-dotnet@v5
2020
with:
21-
dotnet-version: '9.0.x'
21+
dotnet-version: '10.0.x'
2222

2323
- name: Restore dependencies
2424
run: dotnet restore

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.3.0] - 2026-05-26
9+
10+
### Breaking Changes
11+
- Retargeted the published package and all repo projects from `net9.0` to `net10.0`; consumers must build and run on .NET 10 SDK/runtime or stay on `0.2.x`
12+
13+
### Changed
14+
- Removed the handler's redundant `System.Text.Json` package reference now that it is provided by the framework target
15+
816
## [0.2.0] - 2026-03-03
917

1018
### Breaking Changes

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This library uses [libbitcoinkernel](https://github.com/bitcoin/bitcoin/tree/mas
1010

1111
| Package | Version | Description |
1212
|---------|---------|-------------|
13-
| **BitcoinKernel** | 0.2.0 | Managed wrappers and native bindings |
13+
| **BitcoinKernel** | 0.3.0 | Managed wrappers and native bindings |
1414

1515
```bash
1616
dotnet add package BitcoinKernel
@@ -82,7 +82,7 @@ dotnet run --project tools/kernel-bindings-test-handler
8282

8383
### Prerequisites
8484

85-
- .NET 9.0 SDK or later
85+
- .NET 10.0 SDK or later
8686

8787
### Build
8888

examples/BasicUsage/BasicUsage.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>

examples/BlockProcessing/BlockProcessing.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>

src/BitcoinKernel.Interop/BitcoinKernel.Interop.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

src/BitcoinKernel/BitcoinKernel.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
88

99
<!-- NuGet Package Metadata -->
1010
<PackageId>BitcoinKernel</PackageId>
11-
<Version>0.2.0</Version>
11+
<Version>0.3.0</Version>
1212
<Authors>JanB84</Authors>
1313
<Description>.NET bindings and managed wrappers for libbitcoinkernel. Provides direct access to Bitcoin Core consensus and validation logic with automatic memory management.</Description>
1414
<PackageLicenseExpression>MIT</PackageLicenseExpression>

tests/BitcoinKernel.Tests/BitcoinKernel.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>

tools/kernel-bindings-test-handler/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Clone the repo and build.
108108

109109
Execute the test:
110110
```bash
111-
./build/runner --handler /Users/arjan/Projects/BitcoinKernel.NET/tools/kernel-bindings-test-handler/bin/kernel-bindings-test-handler
111+
./build/runner --handler BitcoinKernel.NET/tools/kernel-bindings-test-handler/bin/kernel-bindings-test-handler
112112
```
113113

114114
## Testing

0 commit comments

Comments
 (0)