v1.3.0
Breaking changes
- [ ! ] File name argument MUST be the first argument. Previously, this could be any argument. This has been done for consistency of arguments.
- [ ! ] Custom actions are now called functions to differentiate them from action definitions. #118
- [ ! ] Action definitions have dropped the
#defineprefix.
Highlights
- Lots of clean-up, complexity reduction, single responsibility, etc.
- Optimized output file size - Shortcut/Plist files are now with fewer lines, with an optimization to remove some empty values at the top level.
- Search action definitions in a file - You can now run a Cherri file with the
--action=argument to search action definitions defined in that file. Keep in mind, this will also search any included files. - Glyphs search now outputs all glyphs when no input is provided.
Fixes
- Issues with some lines with slashes getting recognized as comments.
- Excluding comments from action include files. This was supposed to have been prevented in the past, but is now fixed.
- Adds alternate color codes to decompilation. Now that we have these codes, more Shortcut colors will decompile.
- Some incorrect file names and line numbers in compiler warnings and errors.
- Multiple Mac definitions being added to decompilations
- Spacing issues with decompilations
- Allow constants to be instantiated that are also assigned to variables later in decompilations
Signing
Signing seems to have been fixed in macOS 26 Tahoe, so you shouldn't be required to use HubSign if you are on a machine running macOS 26.
Everything else
- Added the Shazam logo with its corresponding code by @alexjmiller5 in #115
- Add ability to optionally use control flow output by @electrikmilk in #117
- Fix variable interpolation with UTF-16 multi-byte characters by @patrick204nqh in #121
New Contributors
- @alexjmiller5 made their first contribution in #115
- @patrick204nqh made their first contribution in #121
What's Next?
- Playground focus: I've noticed some serious usability issues on mobile that I missed before, and these issues will be addressed. Additionally, I will review the playground's usability experience, responsiveness, and address some known issues and any issues I discover along the way.
- Documentation site fixes: This has already happened, but much of the documentation has been updated for this release and has also been improved in usability.
- Continuing to test and fix issues with decompile/import. I use the iCloud Link of popular Shortcuts on RoutineHub to get their plist and compare the results when decompiled. There still seems to be some issues identifying when we should allow variables and constants to be declared.
Thanks so much!
Full Changelog: v1.2.0...v1.3.0