v40 (2025-01-24)
Highlights for this release
This release markedly improves accessibility and keyboard support in addition to other features and fixes. The most notable include:
- A new command menu (using the keyboard shortcut Ctrl/Cmd + K or from the help menu), that allows running a large set of commands from the UI.
- A large number of keyboard shortcuts are added (the list can be opened from the help menu or the command menu).
- Keyboard navigation for the app is significantly improved, including menus, tabs and modals.
- A new starter template for shadcn/ui is added.
- Relative line numbers support is added in code editors (can be configured in editors settings screen). This can be useful in vim mode.
- The SDK can hide a specific editor while still running its code using the new
hideTitle
option.
Edit: a fix from v41 regarding invalid cache for codemirror editor has been back-ported to this release.
Credits
@zyf722 provided significant contributions.
Many features and fixes in this release were suggested by:
@dai-shi , @sharno , @Mohmed-Refaay & @ibrahimSP
Thank you ❤️
Features
- Accessibility: allow switching tabs in modals using keyboard (9bb17cc)
- Accessibility: allow toggle tab focus mode (bf93fb6)
- Accessibility: improve focus on opening and closing modal (992b456)
- Accessibility: show outline for focusable elements (0230afe)
- App: add keyboard shortcuts (2972855)
- App: add keyboard shortcuts screen (a4491ee)
- Code-to-Image: add share/copy image menu (3b0491f)
- Code-to-Image: copy image on desktop (de60e72)
- CommandMenu: add command menu (9cba67a)
- CommandMenu: add command menu items (b08aabc)
- CommandMenu: add keyboard shortcuts menu (2d60494)
- Config: add the property
hideTitle
for editors. (43f25b0) - Editor: allow relative line numbers in code editors (c88ad99)
- Templates: add shadcn-ui starter template (ac31801)
- Templates: add themes for shadcn-ui starter template (1a89ffb)
- UI: allow keyboard navigation for menus (d9fad50)
- UI: show keyboard shortcuts in UI (8860f67)
Bug Fixes
- App: fix copy to clipboard (87ab701)
- avoid trapping focus in tags input (19531b6)
- ci: fix false positive in lokalise json files (df9e114)
- ci: make locale exclusion in base tsconfig and include in full tsconfig (4fa8db7)
- Editor: fix autocompleting TS generics as JSX (81402c8)
- Editor: fix losing multicursor on pressing ctrl in monaco (601a517)
- fix typos in CHANGELOG (7fb3e58)
- i18n: fix i18n-export (prop indexing vs getAttribute) (a3e83d4)
- i18n: rename 'lang-info' to 'language-info' for consistency (35174d0)
- Import-maps: avoid duplicate react instances (f3f0607)
- Result: fix result mode drawer reappearing after closure (34fed4f)
- services: fix auth service bug for undefined user (9daa9a5)
- Templates: fix loading diagrams template (feb14ed)
- UI: fix loading spinner colors (7659a3f)
- UI: fix styles for search box and tags (66caeed)