Skip to content

Commit a2a9f98

Browse files
Docs: Add changelog for windows (#21695)
* Docs: Add changelog for windows * fix typo
1 parent d6f7146 commit a2a9f98

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

docs/api-reference/keyboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ If the shortcut contains some "ambiguous" modifiers (eg. `ctrl`, or `cmd`, or `w
6060
```js
6161
{
6262
macOS: { modifiers: ["cmd", "shift"], key: "c" },
63-
windows: { modifiers: ["ctrl", "shift"], key: "c" },
63+
Windows: { modifiers: ["ctrl", "shift"], key: "c" },
6464
}
6565
```
6666

docs/changelog.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# Changelog
22

3+
## 1.103.0 - 2025-09-15
4+
5+
Over the past few releases, we've made some additions to the API to better support it:
6+
7+
- there's a new `platforms` field in the manifest. We’ve intentionally chosen to release only extensions that we are tested on Windows. This is the field that allow extensions to be available on Windows. By default, if not specified, the field's value is `["macOS"]`. If you want to make an extension available on Windows, you can set it to `["macOS", "Windows"]`
8+
- Keyboard Shortcuts are tricky. If you use the `Common` shortcuts, then they will be cross-platform. However, if you use shortcuts and specify a modifier like `cmd`, the shortcut will be ignored on Windows (and vice-versa, if you specify a modifier like `windows`, it won't be available on macOS). So we've added a new syntax where you can nest shortcuts per platform:
9+
10+
```js
11+
{
12+
macOS: { modifiers: ["cmd", "shift"], key: "c" },
13+
Windows: { modifiers: ["ctrl", "shift"], key: "c" },
14+
}
15+
```
16+
17+
- Sometimes, you might want to change preferences depending on the platform (for example if it's a path). You can now specify the default as a object as well:
18+
19+
```json
20+
"default": {
21+
"macOS": "foo",
22+
"Windows": "bar"
23+
}
24+
```
25+
26+
- We've also updated the `@raycast/utils` to make it cross platform and added a `runPowerShellScript` function.
27+
328
## 1.98.0 - 2025-05-08
429

530
### ✨ New

0 commit comments

Comments
 (0)