Releases: kasper/phoenix
Phoenix 2.6.1
This release includes a couple of new useful features.
What is New?
- support for one-time managed handlers for both keys and events, see
Key.once
andEvent.once
See the full Changelog.
SHA-256: 5ac0b9592f54045a86a49a8a628f4c94e5c0afd032ca3c67444dfc01d4b9a294 phoenix-2.6.1.tar.gz
Phoenix 2.6
Hello, do you remember me? This release includes a couple of bug fixes and improvements. Sorry for the wait!
What is New?
- support for closing windows
See the full Changelog.
SHA-256: a4635be6cfa92e0ee5db3e8b46edd6886e65f9c3b116b03f8892140c6286b72c phoenix-2.6.tar.gz
Phoenix 2.5
This release includes a couple of new useful features. If you did not already know, macOS Sierra (10.12) has full support for the ECMAScript 6 standard and you can now use it with Phoenix! Read a quick overview of the new features added to the language.
What is New?
- “Edit configuration” status menu item for conveniently accessing your configuration
- support for getting the topmost window at a specified point
- support for mouse drag events
- upgraded Lodash
See the full Changelog.
SHA-256: da5a3c580e028e70ed3fd3cf325f4a1ae40366d6cf2b25e6a151c65b525ec828 phoenix-2.5.tar.gz
Phoenix 2.4
This release contains some general fixes and improvements. Happy Holidays! 🎄
What is New?
- Breaking: Underscore.js is replaced with Lodash (4.17.3)
- a few additions and improvements to the API
- several bug fixes to some annoying issues
See the full Changelog.
SHA-256: 837c6c182ee40d274e09d70fe9dbca60533135dead1a450cf58900e979c64f4b phoenix-2.4.tar.gz
Phoenix 2.3
This release includes a new improved “vibrant” appearance for modals. Modals can now display icons as well as text. We also added a few options so you can customise the look and feel of your modals — a nice way to implement visual cues for apps and windows!
Phoenix 2.2 had some breaking changes to the API. If you have not updated yet, follow this guide to upgrade your configuration. Sorry for the trouble!
What is New?
- modals have a new improved “vibrant” appearance and are more versatile with the ability to display icons as well as text
- callbacks for keys now repeat when the key combination is held down
- you can access the current space for a specific screen
- a few additions and improvements to the API
- a few performance and behavioural related fixes and improvements
See the full Changelog.
SHA-256: f04e567a947123155ebfea56c6f9b9f27e6bc0c80e6fadc734a3774900ed39ef phoenix-2.3.tar.gz
Phoenix 2.2.1
A couple of bugs got caught in the previous release. Sorry about that, this release should fix them! Phoenix 2.2 is out! Heads up, this is a big one and will need some changes to your configuration! The focus of this release has been to make Phoenix event better while improving on the existing behaviour based on feedback.
What is New?
- API is now more stylistic, consistent and flexible
- a key–value storage that can be used to store values across reloads and reboots as JSON
- run tasks asynchronously and retrieve their status, standard output and standard error
- implements support for mouse events
- performance improvements
See the full Changelog.
SHA-256: 5249a136a5e4101552621b6945b397b4cfb7d36714546bbd6303d39cb59ba526 phoenix-2.2.1.tar.gz
Phoenix 2.2
Phoenix 2.2 is out! Heads up, this is a big one and will need some changes to your configuration! The focus of this release has been to make Phoenix event better while improving on the existing behaviour based on feedback.
What is New?
- API is now more stylistic, consistent and flexible
- a key–value storage that can be used to store values across reloads and reboots as JSON
- run tasks asynchronously and retrieve their status, standard output and standard error
- implements support for mouse events
- performance improvements
See the full Changelog.
SHA-256: 79f351dbec3c7424bfb9cef2c91984ffb59ab4b31f1e4444f05aeea2949a7d1d phoenix-2.2.tar.gz
Phoenix 2.1.2
This release includes a new API to automatically manage handlers for you — in addition to some minor improvements and bug fixes.
New
- Phoenix can now manage handlers for you. Instead of
Phoenix.bind
,Phoenix.on
,Phoenix.after
orPhoenix.every
— useKey.on
,Event.on
,Timer.after
andTimer.every
. For more, see the API (#107).
Improvements
- Implement
setTimeout
,setInterval
,clearTimeout
andclearInterval
. This also adds support for timing related functions from Underscore (#92). - Make require throw an error if a file cannot be resolved (#93).
- Add support for ISO section
§
-key (#102).
Bug Fixes
- Disable key handlers immediately to ensure that keys are unregistered before setting up a new context (#94).
- Fix crash caused by moving or deleting configuration directory while app is running (#105).
SHA-256: 62ca4018d49a2369f6ae28964c909d802776d0ad115ac1fe0920b06f465fb6f9 phoenix-2.1.2.tar.gz
Phoenix 2.1.1
This release includes some minor improvements and bug fixes. For everything in 2.1, see the full Changelog.
Improvements
- Notify when preprocessing failed.
Bug Fixes
- Fix an issue that prevented preprocessing due to incompatible paths between different shells (#88).
SHA-256: 055bf76fb091ec8124b9cb8284333ad2bae5a242892bb91061fa2cee3ad4f9d4 phoenix-2.1.1.tar.gz
Phoenix 2.1
This release includes some exiting new features: including support for Spaces, creating timers to achieve delays or timed events and support for running Phoenix completely in the background! We also added some nice additions to the API, made various other improvements and fixed a few annoying bugs. Thanks for using Phoenix and do not hesitate to provide feedback!
New
- Phoenix now supports Spaces! These features are only supported on El Capitan (10.11) and upwards. A new global
Space
-object has been created to control spaces, see the API (#60). - Preferences can now be set programmatically through the API (#67).
- Phoenix can be run completely in the background, this also removes the status bar menu, see the
daemon
-preference in the API (#68). - You can now create timers to achieve delays and timed events. A new
TimerHandler
-object has been created to control timers, see its API. See the functionsPhoenix.after(double interval, Function callback)
andPhoenix.every(double interval, Function callback)
in the API to create timers (#77).
Changes
- Upgrade Sparkle to 1.14.0. This also fixes the HTTP MITM-vulnerability discovered in Sparkle — though Phoenix was never vulnerable since we use HTTPS to secure updates.
Improvements
- Adjust latency of context reloads on configuration file changes to limit race conditions (#83).
- Objects that implement
Iterable
can be traversed. Namely,Screen
andSpace
. - All handlers now receive their handlers as the last argument for the callback function.
- Improvements to memory management and other small improvements.
Bug Fixes
- Improve error handling in preprocessing (#65).
- Fix an issue that prevented an exception raised in a handler callback to be caught and reported (#70).
- Fix an issue that prevented setting the frame for a window correctly while moving it to a smaller screen (#84).
API
Events
- New: Event
spaceDidChange
is triggered when the active space has changed.
Phoenix
- New: Function
after(double interval, Function callback)
creates a timer that fires the callback once after the given interval (in seconds) and returns the handler, you must keep a reference to the handler in order for your callback to get called, the callback function receives its handler as the only argument. - New: Function
every(double interval, Function callback)
creates a timer that fires the callback repeatedly until stopped using the given interval (in seconds) and returns the handler, you must keep a reference to the handler in order for your callback to get called, the callback function receives its handler as the only argument. - New: Function
set(Map<String, AnyObject> preferences)
sets the preferences from the given key–value map, any previously set preferences with the same key will be overridden. - Change: The callback for function
bind(String key, Array<String> modifiers, Function callback)
now receives its handler as the only argument, previously the callback received no arguments. - Change: The callback for function
on(String event, Function callback)
now receives its handler as the last argument.
Screen
- New: Function
identifier()
returns the UUID for the screen (#79). - New: Function
spaces()
returns all spaces for the screen (OS X 10.11+, returns an empty list otherwise).
Window
- New: Function
isFullScreen()
returnstrue
if the window is a full screen window (#60, #80). - New: Function
spaces()
returns the spaces where the window is currently present (OS X 10.11+, returns an empty list otherwise). - New: Function
setFullScreen(boolean value)
sets whether the window is full screen (#60, #80).
SHA-256: 77dfc73e900678f3c22c17c689c334a7147c0c0ab1d3073e7a98ad2ae98e74ed phoenix-2.1.tar.gz