PolarProduct update
@polar-sh/nextjs@1.0.0
Version 1.0.0 of @polar-sh/nextjs moves to the new Polar SDK (@polar-sh/sdk/2026-10) and its standalone functions, so app bundles carry only the API operations each adapter calls. Checkout requests now accept discount_code, which is applied before the redirect or the embedded checkout opens.
Discount codes must be enabled, and an explicit discount_id takes precedence.
Saved . A shortened excerpt from GitHub Releases; the original publisher retains authorship.