For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
HUMAN DashboardHUMAN WebsiteRequest a Demo
Product GuidesEnforcer GuidesMobile SDKAPI ReferenceCustomer support
Product GuidesEnforcer GuidesMobile SDKAPI ReferenceCustomer support
  • General
    • About Enforcers
    • Support first-party HUMAN calls
    • Troubleshoot Enforcer configurations
  • Enforcer frameworks
    • Akamai ESI
    • Apache - C Module
    • ASP.NET
    • Callout Enforcer
    • Envoy Proxy
    • F5 BIGIP
    • Fastly JavaScript Compute@Edge
    • Google Cloud Platform (GCP) Callout Enforcer
    • Kong Plugin
      • What's New
      • Installation (Next.js 16)
      • Installation (Next.js 15 and lower)
      • Configuration
    • NGINX - C Module
    • NGINX - LUA Module
    • PHP
    • Python
    • Ruby
    • Salesforce Commerce Cloud Cartridge
LogoLogo
Login
Login
HUMAN DashboardHUMAN WebsiteRequest a Demo
On this page
  • Version 0.2.3
  • Version 0.2.2
  • Version 0.2.1
  • Version 0.2.0
  • Version 0.1.6
  • Version 0.1.5
  • Version 0.1.4
  • Version 0.1.3
  • Version 0.1.2
  • Version 0.1.1
  • Version 0.1.0
Enforcer frameworksNextJS

What's new

Was this page helpful?
Previous

Installation (Next.js 16)

Next
Built with

Version 0.2.3

Released 2025-12-04

  • onResponse signature updated for accuracy (changed response parameter to be type NextResponse)
  • Fixed Next.js peer dependency vulnerability (Next.js version 15.1.7 -> 15.5.7)

Version 0.2.2

Released 2025-02-24

  • Upgraded JS Core to 0.24.2
  • Updated to support NextJS versions ^14.2.7 || ^15.0.0
  • Changed NextJS to be a peer dependency

Version 0.2.1

Released 2024-08-28

  • Using CryptoJS to read _px3
  • Supporting NextJS

Version 0.2.0

Released 2024-08-07

  • Upgraded to js-core 0.21.4
  • Added ci e2e tests
  • Upgraded next js to 13.4.4

Version 0.1.6

Released 2023-05-31

  • Fixed context overriding between 2 different requests.

Version 0.1.5

Released 2023-05-24

  • Using hostheader to construct url, the default implementation (by Next.js) does not do that.

Version 0.1.4

Released 2023-05-18

  • Upgrade js-core version

Version 0.1.3

Released 2023-04-10

  • Added README

Version 0.1.2

Released 2023-04-10

  • Using ConsoleLogger, which uses console.error to log the error messages instead of DefaultLogger.

Version 0.1.1

Released 2023-04-04

  • Fixed package json
  • Configuration type instead of interface

Version 0.1.0

Released 2023-04-03

  • First version.