github espanso/espanso v2.1.0-alpha

latest releases: v2.2.1, v2.2.0, v2.1.8...
pre-release2 years ago

⚠ ALPHA RELEASE ⚠

This alpha release ships with several new features, bug fixes and one breaking change:

Variable injection

With variable injection, you'll be able to freely use the value of a previous variable as a parameter for another.
For example, you can use the output of a shell command to populate a Form's choice/list control.

More info here: https://espanso.org/docs/next/matches/variables/

Form syntax [breaking change]

In previous versions, you could define Form's controls with the same curly-bracket syntax as variables:

  - trigger: ":greet"
    form: |
      Hey {{name}},
      Happy Birthday!

Since version 2.1.0-alpha, you'll need to use double square-brackets to define controls instead, such as:

  - trigger: ":greet"
    form: |
      Hey [[name]],
      Happy Birthday!

This breaking change was needed to support the new variable injection mechanism, for which the
curly-brackets syntax {{name}} is reserved.

Other changes/fixes

  • Add workaround to fix inconsistent state detection on macOS. Fix #825 #858
  • Form list/choice controls now accept a multiline string as input #855

If anyone wants to give it a try (and enjoy the Searchbar and Regex trigger goodies 😎), here are the main takeaways:

  • Documentation is still lacking, I just had the chance to write a migration guide. That should be enough to get started with the new version, but there is a lot more to cover. Feel free to ask here on GitHub or Reddit if you don't understand something :)
  • Packages from the Hub are currently not working. With the great help of @4lch4, we are setting up the CI for the new Hub, which brings several improvements compared to the previous edition. In the meanwhile, you will need to manually copy the YAML files into your configs if you want to install a package. Sorry for the inconvenience :)
  • Passive mode is currently not supported, though regex triggers might cover (and improve!) many of the possible use-cases
  • Some commands, such as espanso detect, are yet to be ported. If you need to create an app-specific config, please see this comment
  • The distribution format has changed for some platforms, please see the instructions for macOS, Windows and Linux. On macOS, Espanso is now a regular App bundle, which should make it much easier to deal with. On Linux, we still have a lot of work to do. For now, we have an AppImage available for X11 systems, with more formats and integrations (AUR, snap, etc) to come. Wayland users will need to compile Espanso from sources right now, I'm going to write a comment in the wayland thread with some instructions soon

Keep in mind that this is an alpha release, so things are likely to be buggy. Any feedback or bug report will be very helpful, so don't hesitate to let us know if you encounter any problems! :)

Happy expanding 🚀

Automatically released by CI

Don't miss a new espanso release

NewReleases is sending notifications on new releases.