Novu changelog

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

changelog cover

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<string, unknown> 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 workflows 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.