Today weโre excited to share a set of improvements to our JavaScript SDKs that make them more flexible, modern, and easier to work with across environments.
Our @knocklabs/react
package now has support for React Sever Components. This unlocks full compatibility with Next.js App Router and other frameworks, allowing you to use the SDK in both server and client components.
We migrated our internal store from zustand
to @tanstack/store
. This means finer control over state updates, better TypeScript support, and a smaller overall bundle size. It also unifies store logic across packages, reducing the surface area for bugs and improving long-term maintainability.
Finally, weโve revamped our release pipeline to support canary and release candidate (RC) versions. Teams can now opt into early versions of our SDKs, test upcoming changes, and provide feedback before a stable release. With this change, we will now ship fixes and features more confidently, with a clear and gradual path to general availability.
Fixes and improvements
- ๐ [Dashboard] We fixed an issue where the "Alerts" workflow template was broken.
- ๐ [Dashboard] We fixed an issue with the search input when interacting with it from the Command+K menu.
- ๐ [Dashboard] We fixed an issue where the "Discard changes" button didnโt work in the translations editor.
- ๐ [Dashboard] We fixed an issue where the diff viewer was cut off in Safari.