v1.37.0
This version now depends on React 18. As part of this change, the @raycast/api
package now has strong dependencies on @types/react
and @types/node
so those 2 packages shall be removed from your extension's devDependencies (this will be done automatically by npx ray migrate
).
There are no breaking changes introduced in React 18 so all your extensions will still work properly. However, there are some breaking changes in @types/react
so you might have to do some minor tweaks if you use TypeScript.
We had a pass through all the extensions on the public repo. Notably, if you are using raycast-toolkit
or swr
, you will have to update them to their latest version.
React Suspense
You can now use Suspense in Raycast. We provide a top-level Suspense
fallback so you don't have to. This fallback simply turns on the isLoading
on the top level view.
Last updated