The workos-node library now supports various JavaScript environments, including Deno, Bun, Cloudflare Workers, Vercel, and Node.js. This enables easier API requests across these platforms. Updates to the latest version allow for seamless integration with Cloudflare Workers and Edge Middleware. Sessions, a new feature in WorkOS, enable secure session management in applications and can now be used in Edge runtime environments like Next.js middleware. The compatibility of workos-node with modern JavaScript runtimes is achieved by upgrading core dependencies to Fetch API and Web Crypto API, which are designed for use in both browser and server environments.