Skip to content

Releases: Clipy/Magnet

v3.4.0

09 Oct 02:30
Compare
Choose a tag to compare

Breaking Changes

  • Update Sauce.framework v2.4.0 ( #89 )
  • Update minimum deployment target to macOS 10.13 ( #89 )

Enhancements

  • Support Xcode15 ( #89 )

v3.3.0

16 May 09:05
Compare
Choose a tag to compare

Breaking Changes

Enhancements

  • Initialize NSEvent.ModifierFlags from carbon modifiers. ( #63 )
  • Add public extension NSEvent.keyCombo. ( #67 )
  • Replace deprecated converter calls. ( #71 )

Bugfixes

  • Fix dependencies target version. ( #76 )

Thanks @DivineDominion for contributing!

v3.2.0

23 May 15:35
Compare
Choose a tag to compare

Breaking Changes

  • None.

v3.x Migration Guide

Enhancements

  • Update Sauce.framework v2.1.0. ( #57 )
  • Change the save to KeyCode or Key to support special keys. ( #59 )

Bugfixes

  • Change ModifierEventHandler access control. ( #55 )
  • Fix so that modifiers are not reflected in non-alphabetic keys. ( #58 )

v3.1.0

14 May 08:20
Compare
Choose a tag to compare

Breaking Changes

  • None.

v3.x Migration Guide

Enhancements

  • Publicated of Key and fix the decoding ( #51 )
  • Separated modifier event handling ( #52 )
  • Added more tests.

Bugfixes

  • None.

v3.0.4

06 May 08:15
Compare
Choose a tag to compare

Enhancements

  • Added keyEquivalent property to KeyCombo. ( #50 )
    • KeyCombo.characters returns the string that is entered when the modifier is actually pressed. (e.g.: ⌘Vv, ⇧VV, ⌥V )
    • KeyCombo.keyEquivalent returns a string which takes into account only the Shift key. (e.g.: ⌘Vv, ⇧VV, ⌥Vv, ⌥⇧VV)

To make keyEquivalent case-sensitive, use keyEquivalent.uppercased() if you want to use it in uppercase.

Bugfixes

  • Renamed convertSupportCococaModifiers to convertSupportCocoaModifiers. ( #50 )

v3.0.3

02 May 06:34
Compare
Choose a tag to compare

Enhancements

  • Added keyEquivalentModifierMask, keyEquivalentModifierMaskString properties to KeyCombo for NSMenuItem. ( #48 )

Bugfixes

  • None.

v3.0.2

30 Apr 14:09
Compare
Choose a tag to compare

Enhancements

  • None.

Bugfixes

  • Fix dependency framework settings.

v3.0.1

30 Apr 13:58
Compare
Choose a tag to compare

Enhancements

  • Change Int extension access control. ( #46 )

Bugfixes

  • None.

v3.0.0

30 Apr 13:54
Compare
Choose a tag to compare

Breaking Changes

  • Added Sauce.framework to dependency library. ( #42 )
  • Added KeyCombo(key:carbonModifiers:) KeyCombo(key:cocoaModifiers:). ( #44 )
  • Renamed KeyCombo(keyCode:carbonModifiers:) KeyCombo(keyCode:cocoaModifiers:) to KeyCombo(QWERTYKeyCode:carbonModifiers:) KeyCombo(QWERTYKeyCode:cocoaModifiers:). ( #44 )
  • Renamed KeyCombo.keyCode to KeyCombo.QWERTYKeyCode. ( #44 )
  • Removed KeyTransformer.swift ( #44 )
  • KeyCombo.characters now returns a string with a modifier. (e.g.: ⌘Vv, ⇧VV, ⌥V )
  • Drop support macOS 10.9 Mavericks.

v3.x Migration Guide

Enhancements

  • Supported for keyboard layouts other than the QWERTY keyboard. ( #44 )
  • Supported Key enum case initializer. ( #44 ) ( #16 )

Bugfixes

  • Fixed a problem where characters could not be generated with modifiers correctly. ( #44 ) ( #10 )
  • Fixed double-tap shortcuts being disabled if accessibility is not enabled since macOS 10.14 Mojave. ( #45 )

v2.3.1

30 Oct 08:26
Compare
Choose a tag to compare

Enhancements

  • HotKey inherits NSObject. ( #9 )

Bugfixes

  • None.