Skip to content

v0.2.5 Beta

Pre-release
Pre-release

Choose a tag to compare

@electrikmilk electrikmilk released this 11 Feb 02:33
· 1263 commits to main since this release

New Contributors

  • @mst-mkt made their first contribution in #74 (Thank you! This was an important fix for custom actions when the device language is not English! That never happens 🤪)

What's Changed

New

  • Adds new float type! (e.g. 0.5). Now distinguished from the integer type, which previously allowed decimals. This became necessary to fix the implementation of some actions! It uses the plist data type <real>.
  • Adds a multiline argument to prompt().
  • Adds True Tone and Night Shift actions.
  • Adds a ton of accessibility actions (background sounds, auto-answer calls, etc.).
  • We now generate toggle and set actions, making them easier to add.

Changes

  • Refactors the way we define action identifiers, making it easier to add stock actions that don't have the Shortcut action bundle identifier, as some actions are getting moved to their respective apps as Siri Intents or most new actions are implemented this way.
  • HubSign credit sticks out more.
  • Adds new ASCII logo.
  • Slightly revises argument descriptions.

Bugfixes

  • bugfix #73: Fix custom actions to work in any language by @mst-mkt in #74
  • bugfix #75: Output Shortcut at --output path by @NoelTautges in #76
  • bugfix #77: Fix error and debug line/columns by @NoelTautges in #78
  • bugfix #71: Fix modifying variables using other variables by @NoelTautges in #79
  • Sets "New Line" as the default for splitText() and joinText().
  • Important fixes for raw actions:
    • Makes raw action params optional.
    • Removes coercing the type of raw param values.
    • Refactors to allow for interpolation in parameters.
    • Fixes unable to use --action to search for raw action.
  • Fixes issues with toggle and set actions.
  • Now allows whitespace around values and action arguments, allowing arguments to be on separate lines.
  • Only tries to import Shortcut if signed.
  • Fixes actions like setBrightness() with the new float type.

Full Changelog: v0.2.4-beta...v0.2.5-beta

What's Next?

  • Currently still working on decompilation, but much much closer to completion! I'm hoping this can be done by the next release.
  • Working on actions being self-documenting, primarily so it's easier to document actions on the website.

Thanks for using Cherri!