Automatically released by CI
espanso v2.3.0
β¨ New Features
- Timezone Selection in {date} Extension
- You can now generate dates and times in any timezone using the new tz parameter. For example:
- trigger: ":today"
replace: "{{mytime}}"
vars:
- name: mytime
type: date
params:
format: "%H:%M"
locale: en-AG
tz: America/Los_Angeles
- Choose from the database of IANA timezones such as "UTC", "Europe/Paris", "Asia/Tokyo", etc.
- Configurable Regex Buffer Size
- Advanced users can now adjust the maximum number of characters stored for regex-based triggers. The default (previously not editable) is 50. We recommend to set a reasonable low number.
- Add max_regex_buffer_size: to your default.yml
- Empty Triggers are Safely Ignored
- will automatically filter out empty triggers in YAML match files and log a warning, preventing accidental errors and confusion.
- Support for Both .yml and .yaml Config Files
- now recognizes configuration files with either extension. For compatibility purposes, .yml is still the preferred value if the user has a file with both extensions.
- We would like to switch to prefer yaml in the future
π οΈ Improvements
- Markdown Rendering Overhaul
- switched to the pulldown-cmark engine for markdown conversion, providing faster, more reliable rendering of your markdown snippets.
- Better Search Results Display
- Search popups now correctly escape HTML characters in labels and triggers, preventing visual glitches and accidental HTML interpretation.
- More Flexible Config Includes
- The configuration engine can now aggregate both .yml and .yaml match files, reducing troubleshooting and making structure more flexible.
- Enhanced CLI Help and Error Handling
- Improved command-line help: if no subcommand is given, espanso now gracefully prints help instructions.
- Version and help flags work more consistently across platforms.
π Bug Fixes
- Search results now handle HTML special characters correctly.
- Enter key (including numpad) works as expected in search.
- Date extension now gracefully handles invalid formats and unsupported timezones.
- Improved error messages for missing default configuration.
π Dependencies & CI
- Added timezone and markdown libraries.
- Removed deprecated dependencies and scripts.
- CI workflow improvements.
Detailed commits:
What's Changed