Skip to content

Releases: spyoungtech/ahk

v1.7.0

21 Apr 04:00
c6a8006
Compare
Choose a tag to compare

What's Changed

  • mouse_position, get_mouse_position, pixel_search, and image_search now return a Coordinates named tuple (typing.NamedTuple) type instead of just a plain tuple[int, int].
  • Refactored types shared between sync and async into a common, internal, _types module.
  • The Position type is now created using typing.NamedTuple rather than collections.namedtuple.
  • Exposes more types directly via __init__.py so they can be imported without reaching into internal modules.

If you were previously importing types from internal modules and are type-checking with mypy in --strict mode, you may have to adjust your import statements when upgrading to this version or later to ensure mypy checks pass.

Full Changelog: v1.6.3...v1.7.0

v1.6.3

19 Apr 22:38
64838ef
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.6.2...v1.6.3

v1.6.2

19 Apr 18:06
02d21dd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.6.1...v1.6.2

v1.6.1

05 Apr 07:16
c7c1747
Compare
Choose a tag to compare

What's Changed

  • Refactors exceptions to the exceptions module for easier access and code de-duplication. Both sync and async versions use the same exception classes now.

Full Changelog: v1.6.0...v1.6.1

v1.6.0

03 Apr 22:17
f1b19b7
Compare
Choose a tag to compare

What's Changed

This release includes a small potentially breaking change: the blocking keyword argument of some window methods is now keyword-only. Previously, these arguments were accidentally allowed to be supplied as a positional argument.

Full Changelog: v1.5.4...v1.6.0

v1.5.4

03 Apr 17:27
2e70f6f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.5.3...v1.5.4

v1.5.3

21 Mar 00:07
0ef89ef
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.5.2...v1.5.3

v1.5.2

09 Mar 22:44
35cf522
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.5.1...v1.5.2

v1.5.1

26 Feb 23:59
a89a5f5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.5.0...v1.5.1

v1.5.0

13 Feb 00:15
746d1f7
Compare
Choose a tag to compare

What's Changed

  • Add AHK process handling to exit if parent Python process dies unexpectedly by @spyoungtech in #258 -- resolves #257

This release includes a behavior improvement in scenarios where your Python process ends suddenly without the opportunity to run its registered cleanup handlers. Previously, in such cases, AutoHotkey processes created by Python would get orphaned and continue running (when using AHK v1) or produce an unusual error (when using AHK v2). Now, the AutoHotkey processes will be able to infer whether the parent Python process is still alive and will exit gracefully if the parent process has exited.

Full Changelog: v1.4.0...v1.5.0