Releases: Clipy/Magnet
Releases · Clipy/Magnet
v3.4.0
v3.3.0
Breaking Changes
- Update Sauce.framework v2.2.0. ( #74 )
- See v2.2.0 release page for more information.
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
v3.1.0
v3.0.4
Enhancements
- Added
keyEquivalent
property toKeyCombo
. ( #50 )KeyCombo.characters
returns the string that is entered when the modifier is actually pressed. (e.g.:⌘V
→v
,⇧V
→V
,⌥V
→√
)KeyCombo.keyEquivalent
returns a string which takes into account only the Shift key. (e.g.:⌘V
→v
,⇧V
→V
,⌥V
→v
,⌥⇧V
→V
)
To make keyEquivalent
case-sensitive, use keyEquivalent.uppercased()
if you want to use it in uppercase.
Bugfixes
- Renamed
convertSupportCococaModifiers
toconvertSupportCocoaModifiers
. ( #50 )
v3.0.3
v3.0.2
v3.0.1
v3.0.0
Breaking Changes
- Added
Sauce.framework
to dependency library. ( #42 ) - Added
KeyCombo(key:carbonModifiers:)
KeyCombo(key:cocoaModifiers:)
. ( #44 ) - Renamed
KeyCombo(keyCode:carbonModifiers:)
KeyCombo(keyCode:cocoaModifiers:)
toKeyCombo(QWERTYKeyCode:carbonModifiers:)
KeyCombo(QWERTYKeyCode:cocoaModifiers:)
. ( #44 ) - Renamed
KeyCombo.keyCode
toKeyCombo.QWERTYKeyCode
. ( #44 ) - Removed
KeyTransformer.swift
( #44 ) KeyCombo.characters
now returns a string with a modifier. (e.g.:⌘V
→v
,⇧V
→V
,⌥V
→√
)- Drop support macOS 10.9 Mavericks.
Enhancements
- Supported for keyboard layouts other than the QWERTY keyboard. ( #44 )
- Supported Key enum case initializer. ( #44 ) ( #16 )