---
title: "Node SDK v8: PKCE Support and Improved Runtime Compatibility"
description: "The WorkOS Node SDK now supports PKCE authentication for public clients and improved runtime compatibility."
url: https://workos.com/changelog/node-sdk-v8-pkce-support-and-improved-runtime-compatibility
---

# Node SDK v8: PKCE Support and Improved Runtime Compatibility

The [WorkOS Node SDK](https://github.com/workos/workos-node) now supports PKCE authentication for public clients, enabling secure authentication in mobile apps, desktop apps, and single-page applications without exposing API keys. Version 8 also introduces compile-time type safety with a new `createWorkOS()` factory, improves compatibility with modern JavaScript runtimes and edge environments, and ships with optimized dual ESM/CJS builds.

Read the [v8 migration guide](https://github.com/workos/workos-node/blob/main/docs/V8_MIGRATION_GUIDE.md) for detailed upgrade instructions.
