From 0e4db6e93e0731f51a2b1c3eaaf3eaab2a984f73 Mon Sep 17 00:00:00 2001 From: Simon Hofmann Date: Thu, 4 Apr 2024 06:44:10 +0100 Subject: [PATCH] Release/v4.1.0 (#576) * Removed un-used duplicated definition of window-element interface * Updated changelog * Version bump to v4.1.0 --- CHANGELOG.md | 5 +++++ core/configs/package.json | 2 +- core/nut.js/lib/window-element.interface.ts | 14 -------------- core/nut.js/package.json | 2 +- core/provider-interfaces/package.json | 2 +- core/shared/package.json | 2 +- e2e/window-test/package.json | 2 +- examples/jest-test/package.json | 2 +- examples/keyboard-test/package.json | 2 +- examples/mouse-test/package.json | 2 +- examples/screen-test/package.json | 2 +- examples/typescript-test/package.json | 2 +- package.json | 2 +- providers/clipboardy/package.json | 2 +- providers/libnut/package.json | 2 +- 15 files changed, 18 insertions(+), 27 deletions(-) delete mode 100644 core/nut.js/lib/window-element.interface.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index 30ef467b..aca6142d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to this project will be documented in this file. +## 4.1.0 + +- Enhancement: Extend `WindowProviderInterface` with `minimizeWindow` and `restoreWindow` functions +- Feature: Introduce `WindowElementQuery` type and extend `Window` class with `find`, `findAll`, `waitFor` and find hooks + ## 4.0.1 - Enhancement: Fix channel info for image loader to 4 to avoid processing errors diff --git a/core/configs/package.json b/core/configs/package.json index 9a6b5e37..298e7509 100644 --- a/core/configs/package.json +++ b/core/configs/package.json @@ -1,7 +1,7 @@ { "name": "@nut-tree/configs", "private": true, - "version": "4.0.1", + "version": "4.1.0", "description": "Shared configs for nut.js", "author": { "name": "dry Software UG (haftungsbeschränkt)", diff --git a/core/nut.js/lib/window-element.interface.ts b/core/nut.js/lib/window-element.interface.ts deleted file mode 100644 index 67542600..00000000 --- a/core/nut.js/lib/window-element.interface.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { Region } from "@nut-tree/shared"; - -export interface WindowElement { - type?: string; - region?: Region; - title?: string; - value?: string; - isFocused?: boolean; - selectedText?: string; - isEnabled?: boolean; - role?: string; - subRole?: string; - children?: WindowElement[] -} \ No newline at end of file diff --git a/core/nut.js/package.json b/core/nut.js/package.json index 23650c5a..fd786f0f 100644 --- a/core/nut.js/package.json +++ b/core/nut.js/package.json @@ -1,6 +1,6 @@ { "name": "@nut-tree/nut-js", - "version": "4.0.1", + "version": "4.1.0", "license": "Apache-2.0", "main": "dist/index", "typings": "dist/index", diff --git a/core/provider-interfaces/package.json b/core/provider-interfaces/package.json index 75fef09e..bb91da13 100644 --- a/core/provider-interfaces/package.json +++ b/core/provider-interfaces/package.json @@ -1,6 +1,6 @@ { "name": "@nut-tree/provider-interfaces", - "version": "4.0.1", + "version": "4.1.0", "description": "Public provider interfaces for @nut-tree/nut-js", "main": "dist/index", "typings": "dist/index", diff --git a/core/shared/package.json b/core/shared/package.json index 6ed116f9..cacf323b 100644 --- a/core/shared/package.json +++ b/core/shared/package.json @@ -1,6 +1,6 @@ { "name": "@nut-tree/shared", - "version": "4.0.1", + "version": "4.1.0", "description": "Shared objects, data types and functions for @nut-tree/nut-js", "main": "dist/index", "typings": "dist/index", diff --git a/e2e/window-test/package.json b/e2e/window-test/package.json index 75a1271d..08b3a2a8 100644 --- a/e2e/window-test/package.json +++ b/e2e/window-test/package.json @@ -1,6 +1,6 @@ { "name": "sample-window", - "version": "4.0.1", + "version": "4.1.0", "private": true, "description": "Integration tests to verify window handling", "main": "main.js", diff --git a/examples/jest-test/package.json b/examples/jest-test/package.json index 40230636..ab207d2f 100644 --- a/examples/jest-test/package.json +++ b/examples/jest-test/package.json @@ -1,6 +1,6 @@ { "name": "sample-jest", - "version": "4.0.1", + "version": "4.1.0", "private": true, "description": "A simple nut.js test example which demos Jest integration", "main": "index.js", diff --git a/examples/keyboard-test/package.json b/examples/keyboard-test/package.json index 9fe82f10..8fe5d194 100644 --- a/examples/keyboard-test/package.json +++ b/examples/keyboard-test/package.json @@ -1,6 +1,6 @@ { "name": "sample-keyboard", - "version": "4.0.1", + "version": "4.1.0", "private": true, "description": "A simple nut.js test example which tests keyboard control", "main": "index.js", diff --git a/examples/mouse-test/package.json b/examples/mouse-test/package.json index 664c4b64..621ae958 100644 --- a/examples/mouse-test/package.json +++ b/examples/mouse-test/package.json @@ -1,6 +1,6 @@ { "name": "sample-mouse", - "version": "4.0.1", + "version": "4.1.0", "private": true, "description": "A simple nut.js test example which tests mouse control", "author": { diff --git a/examples/screen-test/package.json b/examples/screen-test/package.json index 40dc1c78..2f766331 100644 --- a/examples/screen-test/package.json +++ b/examples/screen-test/package.json @@ -1,6 +1,6 @@ { "name": "sample-screen", - "version": "4.0.1", + "version": "4.1.0", "private": true, "description": "A simple nut.js test example which tests screen control", "main": "index.js", diff --git a/examples/typescript-test/package.json b/examples/typescript-test/package.json index f426d8f3..a3b147ec 100644 --- a/examples/typescript-test/package.json +++ b/examples/typescript-test/package.json @@ -1,6 +1,6 @@ { "name": "sample-typescript", - "version": "4.0.1", + "version": "4.1.0", "private": true, "description": "A simple nut.js test example which demos usage with TypeScript", "main": "index.ts", diff --git a/package.json b/package.json index 61d556fe..feae2c13 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nut-tree/monorepo", - "version": "4.0.1", + "version": "4.1.0", "private": true, "scripts": { "test": "pnpm -r test", diff --git a/providers/clipboardy/package.json b/providers/clipboardy/package.json index 3c2539c1..f4764f21 100644 --- a/providers/clipboardy/package.json +++ b/providers/clipboardy/package.json @@ -1,6 +1,6 @@ { "name": "@nut-tree/default-clipboard-provider", - "version": "4.0.1", + "version": "4.1.0", "description": "The @nut-tree/nut-js default clipboard provider based on clipboardy", "main": "dist/index", "typings": "dist/index", diff --git a/providers/libnut/package.json b/providers/libnut/package.json index 4439e6c5..5931df24 100644 --- a/providers/libnut/package.json +++ b/providers/libnut/package.json @@ -1,6 +1,6 @@ { "name": "@nut-tree/libnut", - "version": "4.0.1", + "version": "4.1.0", "description": "libnut is an N-API module for desktop automation with node", "main": "dist/index", "typings": "dist/index",