Skip to content

Update enigo requirement from 0.1.3 to 0.3.0 #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 21, 2024

Updates the requirements on enigo to permit the latest version.

Changelog

Sourced from enigo's changelog.

0.3.0

Changed

  • all: The keys Print and Snapshot were deprecated because Print had the wrong virtual key associated with it on Windows. Use Key::PrintScr instead
  • macOS: The simulated input is no longer effected by the state of the physical keyboard. This default behavior can be changed via the Settings (independent_of_keyboard_state)
  • macOS: Do not coalesce mouse events to allow precise control
  • win: Fallback to entering a Key::Unicode as unicode if there is no key with that character
  • macOS: Removed setting and functions related to the delay on macOS because a sleep is no longer necessary

Added

  • all: Key::PrintScr
  • all: There finally are some tests in the CI to increase the development speed and prevent regressions
  • win, macOS: Allow marking events that were created by enigo. Have a look at the additional field of the Settings struct and the new method get_marker_value of the Enigo struct (only available on Windows and macOS)
  • macOS: Fallback to ASCII-capable keyboard layout for handling non-standard input sources
  • macOS: Check if the application has the necessary permissions. If they are missing, enigo will ask the user to grant them. You can change this default behavior with the Settings when constructing an Enigo struct.
  • all: Added Token::Location and Token::MainDisplay mostly for debugging purposes. They allow you to check if your expectations are correct
  • win: Added a setting to take the mouse speed and acceleration level into account for relative mouse movement or reliably move the mouse to the expected location.

Removed

Fixed

  • macOS: No more sleeps!! (Only when the Enigo struct is dropped) (#105)
  • win: Respect the language of the current window to determine which scancodes to send
  • win: Send the virtual key and its scan code in the events to work with programs that only look at one of the two
  • macOS: Moving the mouse no longer breaks simulating input
  • win: Fix being unable to enter text containing multiple newline chars
  • macOS: Switched keycodes of Key::Launchpad and Key::MissionControl
  • macOS: CapsLock works (#163)
  • macOS: Moving the mouse works also if it is the only function (#182)
  • linux: libei: Typing is much faster now

0.2.1

Changed

  • all: Use serde(default) to make the serialized strings less verbose

Added

  • all: Serialized tokens can be less verbose because serde aliases were added
  • win, macOS: Allow marking events that were created by enigo. Have a look at the additional field of the Settings struct and the new method get_marker_value of the Enigo struct (only available on Windows and macOS)
  • all: The enums Button, Direction, Axis and Coordinate implement Default

Fixed

  • windows: The move_mouse function moves the mouse to the correct absolute coordinates again

0.2.0

Changed

  • All: A new Enigo struct is now always created with some settings
  • Rust: MSRV is 1.75
  • All held keys are released when Enigo is dropped
  • win: Don't panic if it was not possible to move the mouse
  • All: Never panic! All functions return Results now

... (truncated)

Commits
  • 34a4d16 Bump version to 0.3.0
  • 4713ea7 win: Added setting to chose if the mouse speed and acceleration should influe...
  • 91dc725 linux: libei: Improve the typing speed dramatically
  • 018ec0d linux: libei: Replace pollster with tokio
  • aaefef3 libei: bump ashpd from 0.9.1 to 0.10
  • 1fcc7a4 build(deps): update reis requirement from 0.3.0 to 0.4.0
  • 7d5cf06 build(deps): update pollster requirement from 0.3.0 to 0.4.0
  • 2cae879 macos: Only sleep when needed
  • c7af768 macOS: Fix debug strings
  • 3ac1b37 macos: Enter the additional chunks with fast_text
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [enigo](https://github.com/enigo-rs/enigo) to permit the latest version.
- [Changelog](https://github.com/enigo-rs/enigo/blob/main/CHANGES.md)
- [Commits](enigo-rs/enigo@v0.1.3...v0.3.0)

---
updated-dependencies:
- dependency-name: enigo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants