# Framework 2.4.0 - ESM + CJS Bundles, Next.js 15 and more!

> Novu changelog: Framework 2.4.0 - ESM + CJS Bundles, Next.js 15 and more!. Learn about the latest updates, features, and improvements to the Novu notifi...

Canonical: https://novu.co/changelog/framework-240-esm-cjs-bundles-nextjs-15-and-more/

Markdown: https://novu.co/changelog/framework-240-esm-cjs-bundles-nextjs-15-and-more.md

Last updated: 2024-11-12T11:34:49.135Z

Published: 2024-11-12T11:34:49.135Z

The Novu Framework SDK is now more compatible than ever across bundles with added native ESM + CJS builds. This ensures you can manage your notifications across multiple js runtimes.

## Features

- Bundle native ESM + CJS builds

- Support Next.js 15, including Turbopack dev (`next dev --turbo`)

- Support a single package import for all Web Frameworks (for example in Next.js: `import { workflow, serve } from '@novu/framework/next`)

## Bug fixes

- Ensure missing schemas infer a `Record&lt;string, unknown&gt;` type for corresponding data to enforce consumer-type strictness.

- Remove the erroneous "Hydrate step failed" error log when previewing steps with more than one step.

- Replace all computed property keys for type inference with static declarations to improve compiler performance.

- Stop validating controls for non-previewed steps to prevent incorrect validation messages.

- Stop logging discovery of `workflow`s that weren't included in the `serve` function.

- Prevent specification of payload and control schemas for primitive types, allowing only object types to be specified.
