Skip to content

Recent API changes #8

@moomiji

Description

@moomiji

Unreleased changes

v5.1.0

v5.0.0-preview

  • chore: update interop to framework v5.0.3
    5fa097e 2d03003 cd0a0ae

  • feat: override image
    78d9a3b

  • feat: forward callback to the agent server
    bcd3b76

  • [Breaking change] chore: method ToControllerWith() instead of null check in ToController()
    f31de20

  • [Breaking change] feat: controller features
    5bcbcfb

  • [Breaking change] refactor: split win32 mouse and keyboard
    9bc9b2f 1a9ae04

  • [Breaking change] feat: LoadPlugin() & rename IMaaUtility -> IMaaGlobal
    dc11ff8

  • [Breaking change] chore: remove MaaToolkitProjectInterface
    0c515e6

Obsolete from v5

06aae2a b067797 9cb1727 4f2506e

v4.5.0

  • feat: IMaaAgentClient.DetachDisposeToResource()
    ab24436

  • chore: resupport win-arm64
    f8d7e5c

  • [Breaking change] chore: rename event IMaaDisposable.Disposing & Disposed to Releasing & Released
    7a0b8db

  • chore: update interop to framework v4.5.3
    234ea5d ff93d31

    • b067797 feat: deprecated Recording
    • 9cb1727 refactor & feat: Controller.ClickKey() & KeyDown() & KeyUp()
    • ef4abf6 feat(Extensions): support param in Notification

v4.4.0

  • feat: agent client disposure attached to resource
    124808f

  • feat: event IMaaDisposable.Disposing & Disposed
    88e7c72

  • feat: IMaaResource.SetInference_xxx()
    e5cac3f

  • feat: register custom resources created by binding with new constraint
    e6e3e9a

  • feat: support fallback to use DllImportSearchPath
    528dbe3

  • feat: IMaaContext & IMaaResource .GetNodeData()
    034ce0d

  • feat: IMaaAgentClient.IsAlive & SetTimeout() & Cancel() & CancelWith()
    3466460

  • chore: update interop to framework 4.4.1
    7b8eeae 3dbef4f

    • 034ce0d feat: IMaaContext & IMaaResource .GetNodeData()
    • 3466460 feat: IMaaAgentClient.IsAlive & SetTimeout()

v4.2.0

v4.0.0

  • [Breaking change] feat(IMaaCustomAction): add results parameter to Run method
    9a205b0

  • [Breaking change] refactor(IMaaContext): make pipelineOverride an optional trailing parameter
    3cfc08d

  • refactor: NativeBindingContext
    e28c1ba

  • [Breaking change] chore: improve readability for methods of MaaOptionExtensions
    01ca7db

  • feat: support env variable "MAAFW_BINARY_PATH"
    2131c6b

  • feat: add wrapper of MaaAgent
    f441a6a afeb799 c072638 b43fb27 7d13468

  • chore: update interop to framework 4.0.0
    cb8e35e

v3.0.4

  • feat: IMaaRectBuffer.Deconstruct()
    0e7fa84

  • chore: refactor controller constructors
    63264ec
    From v3.0.4, controllers can be constructed from AdbDeviceInfo DesktopWindowInfo, and the constructors of MaaDbgController and MaaCustomController start accepting LinkOption CheckStatusOption parameters.

  • feat(Binding.Extensions): NotificationHandlerRegistry
    751027d 230eb01(document)

  • refactor: generic Handle class
    6f7ff7f
    Replacing generic interface constraints with concrete types

  • [Breaking change] refactor: modify member naming
    c3c3330 5e59d13

    • IMaaResource.Loaded -> IsLoaded
    • IMaaTasker.Initialized -> IsInitialized
    • IMaaTasker.Running -> IsRunning
    • IMaaController.LinkStop() -> IsConnected
  • [Breaking change] refactor: buffer wrapper
    8d74097 a0e72c8 04080cd 4377c0e 55f3fb6 e90bba7

    • Feat
      • record RectInfo
      • method RectInfo IMaaRectBuffer.GetValues()
      • MaaImage.TryCache()
      • IMaaDisposable.ThrowOnInvalid
    • Breaking change
      • static Maa*Buffer.Get() -> static TryGet*()
      • static Maa*Buffer.Set() -> static TrySet*()
      • IMaaImageBuffer.Info -> GetInfo()
      • IMaaBuffer.CopyTo() -> TryCopyTo()
      • IMaaImageBuffer.Clear() -> TryClear()
      • IMaaImageBuffer.EncodedDataStream -> TryGetEncodedData()
      • IMaaImageBuffer.GetEncodedData() -> TryGetEncodedData()
      • IMaaImageBuffer.SetEncodedData() -> TrySetEncodedData()
      • IMaaStringBuffer.Clear() -> TryClear()
      • IMaaStringBuffer.GetValue() -> TryGetValue()
      • IMaaStringBuffer.SetValue() -> TrySetValue()
      • IMaaRectBuffer.GetValues() -> TryGetValues()
      • IMaaRectBuffer.SetValues() -> TrySetValues()
      • IMaaListBuffer.Add() -> TryAdd()
      • IMaaListBuffer.RemoveAt() -> TryRemoveAt()
      • IMaaListBuffer.Clear() -> TryClear()
  • chore: update interop to framework 3.0.4
    ed9a51b

  • feat: modify target framework net8.0 -> net9.0
    7602030

  • [Breaking change] chore: update interop to framework 3.0.1
    079a875

2.3.1

  • chore: update interop to framework 2.3.1
    2f18e8a

  • feat: support ResourceOption.InferenceExecutionProvider
    86feb58

  • feat: support ControllerOption.ScreenshotUseRawSize
    77c3655

  • feat: MaaWin32Controller allows hWnd to be Zero
    1c9bb6d

  • [Breaking change] feat: add MaaStatus to MaaTaskerGetTaskDetail
    5e5769c

  • [Breaking change] feat: MaaTaskerPostStop return MaaTaskId
    f4b1a92

  • [Breaking change] unify namespaces to Notification / feat: add notification extensions
    a9dac99 af9ebea 4b66d14
    The following namespaces are renamed to MaaFramework.Binding.Notification

    • MaaFramework.Binding.Extensions.Notification
    • MaaFramework.Binding.Messages
  • feat: MaaTaskJob MaaTaskJob.WaitFor()
    98845e1

v2.1.2

  • chore: update interop to framework 2.1.2
    f5609ad 28833c3

  • feat: add NodeDetail.QueryLatest()
    66cd853

  • [Breaking change] chore(UnitTests): update
    9530695

  • feat: add MaaMarshallingExtensions
    c0e7d6b

  • [Breaking change] feat: MaaInteroperationException
    2be4f03

  • feat: standardized v2 interface design
    ce47fb0

  • [Breaking change] chore: append s to Extension class
    d924f51

    • DeviceInfoExtension -> DeviceInfoExtensions
    • RecognitionDetailExtension -> RecognitionDetailExtensions
    • WindowInfoExtension -> WindowInfoExtensions
    • IMaaCustomResourceExtension -> MaaCustomExtensions
    • MaaJobStatusThrow -> MaaJobStatusExtensions
    • NodeDetailExtension -> NodeDetailExtensions
    • TaskDetailExtension -> TaskDetailExtensions
  • [Breaking change] refactor: add MaaImage class as return value instead of generic IMaaImageBuffer
    227ccdd

  • feat: make RecognitionDetail include hit
    b363faa

  • feat: support ResourceOption.InferenceDevice
    bd034d0

  • [Breaking change] refactor: rename to MaaMarshaller from MaaDefConverter
    e243edb af83af7 4b45591 d06f692 bd80475

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions