Skip to content

Commit 0120396

Browse files
committed
RELEASE: v5.4.0
1 parent bd9fed0 commit 0120396

10 files changed

Lines changed: 40 additions & 26 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
11
### NuGet Link
22

3-
[![](https://img.shields.io/badge/NuGet-Maa.Framework-%23004880)](https://www.nuget.org/packages/Maa.Framework/5.3.0) [![](https://img.shields.io/badge/NuGet-Maa.Framework.Native-%23004880)](https://www.nuget.org/packages/Maa.Framework.Native/5.3.0) [![](https://img.shields.io/badge/NuGet-Binding-%23004880)](https://www.nuget.org/packages/Maa.Framework.Binding/5.3.0) [![](https://img.shields.io/badge/NuGet-Native-%23004880)](https://www.nuget.org/packages/Maa.Framework.Binding.Native/5.3.0)
3+
[![](https://img.shields.io/badge/NuGet-Maa.Framework-%23004880)](https://www.nuget.org/packages/Maa.Framework/5.4.0) [![](https://img.shields.io/badge/NuGet-Maa.Framework.Native-%23004880)](https://www.nuget.org/packages/Maa.Framework.Native/5.4.0) [![](https://img.shields.io/badge/NuGet-Binding-%23004880)](https://www.nuget.org/packages/Maa.Framework.Binding/5.4.0) [![](https://img.shields.io/badge/NuGet-Native-%23004880)](https://www.nuget.org/packages/Maa.Framework.Binding.Native/5.4.0)
44

5-
## What's Changed in v5.3.0
5+
## What's Changed in v5.4.0
66

7-
**Full Changelog**: https://github.com/MaaXYZ/MaaFramework.Binding.CSharp/compare/v5.1.0...v5.3.0
7+
**Full Changelog**: https://github.com/MaaXYZ/MaaFramework.Binding.CSharp/compare/v5.3.0...v5.4.0
88

9-
### New features
9+
### Breaking changes
1010

11-
- feat: IMaaContext.IsCancellationRequested @moomiji
12-
- feat: IMaaTasker.AppendAction() support optional parameter @moomiji
13-
- feat: support null handle wrapper @moomiji
14-
- feat: support PlayCover controller @moomiji
15-
- feat: IMaaResource.Append OcrModel Pipeline Image @moomiji
16-
- feat: new global option @moomiji
17-
- feat: IMaaController.Shell & GetShellOutput @moomiji
18-
- feat: IMaaTasker.AppendRecognition & AppendAction @moomiji
11+
- [Breaking change] chore: change callback sender to current instance @moomiji
12+
- [Breaking change] perf: simple type use struct @moomiji
1913

2014
### Other
2115

22-
- chore: update interop to framework v5.3.3 @moomiji
16+
- chore: update interop to framework v5.4.3 @moomiji
17+
- Add missing C API bindings for MaaFramework (#22) @Copilot

README.md

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

55
# MaaFramework.Binding.CSharp
66

7-
_✨ C# Binding for [MaaFramework](https://github.com/MaaXYZ/MaaFramework/blob/v5.3.3) ✨_
7+
_✨ C# Binding for [MaaFramework](https://github.com/MaaXYZ/MaaFramework/blob/v5.4.3) ✨_
88

99
_💫 A universal interop API wrapper 💫_
1010

@@ -42,7 +42,7 @@ Required dependencies for `MaaFramework.Binding.CSharp`:
4242

4343
### Resource Setup
4444

45-
Refer to MaaFramework docs: [English](https://github.com/MaaXYZ/MaaFramework/blob/v5.3.3/docs/en_us/1.1-QuickStarted.md#prepare-resource-files) | [简体中文](https://github.com/MaaXYZ/MaaFramework/blob/v5.3.3/docs/zh_cn/1.1-快速开始.md#准备资源文件)
45+
Refer to MaaFramework docs: [English](https://github.com/MaaXYZ/MaaFramework/blob/v5.4.3/docs/en_us/1.1-QuickStarted.md#prepare-resource-files) | [简体中文](https://github.com/MaaXYZ/MaaFramework/blob/v5.4.3/docs/zh_cn/1.1-快速开始.md#准备资源文件)
4646

4747
See [SampleResource](./src/MaaFramework.Binding.UnitTests/SampleResource) for implementation.
4848

README.zh_cn.md

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

55
# MaaFramework.Binding.CSharp
66

7-
_[MaaFramework](https://github.com/MaaXYZ/MaaFramework/blob/v5.3.3) 的 C# 绑定 ✨_
7+
_[MaaFramework](https://github.com/MaaXYZ/MaaFramework/blob/v5.4.3) 的 C# 绑定 ✨_
88

99
_💫 一个通用的互操作 API 封装 💫_
1010

@@ -42,7 +42,7 @@ _💫 一个通用的互操作 API 封装 💫_
4242

4343
### 资源准备
4444

45-
参考 MaaFramework 文档:[English](https://github.com/MaaXYZ/MaaFramework/blob/v5.3.3/docs/en_us/1.1-QuickStarted.md#prepare-resource-files) | [简体中文](https://github.com/MaaXYZ/MaaFramework/blob/v5.3.3/docs/zh_cn/1.1-快速开始.md#准备资源文件)
45+
参考 MaaFramework 文档:[English](https://github.com/MaaXYZ/MaaFramework/blob/v5.4.3/docs/en_us/1.1-QuickStarted.md#prepare-resource-files) | [简体中文](https://github.com/MaaXYZ/MaaFramework/blob/v5.4.3/docs/zh_cn/1.1-快速开始.md#准备资源文件)
4646

4747
实现示例可查看 [SampleResource](./src/MaaFramework.Binding.UnitTests/SampleResource)
4848

docs/articles/changelog-all-version.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## v5.4.0
2+
3+
**Full Changelog**: https://github.com/MaaXYZ/MaaFramework.Binding.CSharp/compare/v5.3.0...v5.4.0
4+
5+
### Breaking changes
6+
7+
- [Breaking change] chore: change callback sender to current instance @moomiji
8+
- [Breaking change] perf: simple type use struct @moomiji
9+
10+
### Other
11+
12+
- chore: update interop to framework v5.4.3 @moomiji
13+
- Add missing C API bindings for MaaFramework (#22) @Copilot
14+
115
## v5.3.0
216

317
**Full Changelog**: https://github.com/MaaXYZ/MaaFramework.Binding.CSharp/compare/v5.1.0...v5.3.0

docs/articles/overview-of-wrapper-and-api.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Overview of Wrapper (v5.3.0) and Api ([v5.3.3](https://github.com/MaaXYZ/MaaFramework/tree/v5.3.3))
1+
# Overview of Wrapper (v5.4.0) and Api ([v5.4.3](https://github.com/MaaXYZ/MaaFramework/tree/v5.4.3))
22

33
## Enums
44

@@ -17,7 +17,6 @@
1717
| TaskerOption | `MaaTaskerOptionEnum` |
1818
| InferenceDevice | `MaaInferenceDeviceEnum` |
1919
| InferenceExecutionProvider | `MaaInferenceExecutionProviderEnum` |
20-
| ControllerFeatures | `` |
2120

2221
- Macro Definition
2322

@@ -28,6 +27,10 @@
2827
| Win32ScreencapMethod | `MaaWin32ScreencapMethod` |
2928
| Win32InputMethod | `MaaWin32InputMethod` |
3029
| DbgControllerType | `MaaDbgControllerType` |
30+
| GamepadType | `MaaGamepadType` |
31+
| GamepadButton | `MaaGamepadButton` |
32+
| GamepadTouch | `MaaGamepadTouch` |
33+
| ControllerFeatures | `MaaControllerFeature` |
3134

3235
## MaaTaskJob : MaaJob
3336

@@ -86,11 +89,12 @@ IMaaDisposable Derived:
8689
| MaaCustomController.ctor() | `MaaCustomControllerCreate` <br> `MaaControllerAddSink` |
8790
| MaaDbgController.ctor() | `MaaDbgControllerCreate` <br> `MaaControllerAddSink` |
8891
| MaaPlayCoverController.ctor() | `MaaPlayCoverControllerCreate` <br> `MaaControllerAddSink` |
92+
| MaaGamepadController.ctor() | `MaaGamepadControllerCreate` <br> `MaaControllerAddSink` |
8993
| IDisposable.Dispose() | `MaaControllerDestroy` |
9094
| IMaaOption.SetOption() | `MaaControllerSetOption` |
9195
| IMaaController.LinkStart() | `MaaControllerPostConnection` |
92-
| IMaaController.Click() | `MaaControllerPostClick` |
93-
| IMaaController.Swipe() | `MaaControllerPostSwipe` |
96+
| IMaaController.Click() | `MaaControllerPostClickV2` |
97+
| IMaaController.Swipe() | `MaaControllerPostSwipeV2` |
9498
| IMaaController.PressKey() | `MaaControllerPostPressKey` |
9599
| IMaaController.InputText() | `MaaControllerPostInputText` |
96100
| IMaaController.StartApp() | `MaaControllerPostStartApp` |
@@ -107,6 +111,7 @@ IMaaDisposable Derived:
107111
| IMaaController.LinkStop() | `MaaControllerConnected` |
108112
| IMaaController.GetCachedImage() | `MaaControllerCachedImage` |
109113
| IMaaController.Uuid | `MaaControllerGetUuid` |
114+
| IMaaController.GetResolution() | `MaaControllerGetResolution` |
110115
| IMaaDisposableHandle.Handle | *The MaaControllerHandle.* |
111116

112117
## MaaTasker : IMaaTasker

sample/csharp/1.main.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/dotnet run
22

3-
#:package Maa.Framework@5.3.0
3+
#:package Maa.Framework@5.4.0
44

55
#nullable enable
66

sample/csharp/2.AgentChild.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/dotnet run
22

3-
#:package Maa.Framework.Binding.Native@5.3.0
3+
#:package Maa.Framework.Binding.Native@5.4.0
44

55
#nullable enable
66

sample/csharp/2.AgentMain.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/dotnet run
22

3-
#:package Maa.Framework@5.3.0
3+
#:package Maa.Framework@5.4.0
44

55
#nullable enable
66

sample/csharp/3.CSBinding README Example.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/dotnet run
22

3-
#:package Maa.Framework@5.3.0
3+
#:package Maa.Framework@5.4.0
44

55
#nullable enable
66

src/MaaFramework.Binding.Native/NativeBindingContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public static class NativeBindingContext
1111
/// <summary>
1212
/// Gets the version of NativeBinding.
1313
/// </summary>
14-
public static string BindingVersion => "v5.3.0";
14+
public static string BindingVersion => "v5.4.0";
1515

1616
/// <summary>
1717
/// Gets the version of MaaFramework.

0 commit comments

Comments
 (0)