Skip to content

NextRush v4.0.2

Choose a tag to compare

@0xTanzim 0xTanzim released this 01 Sep 06:50
27b64ee

NextRush v4.0.2

Highlights

  • Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

Packages

Package Version
nextrush 4.0.2
@nextrush/adapter-bun 1.0.1
@nextrush/adapter-deno 1.0.1
@nextrush/adapter-edge 1.0.1
@nextrush/adapter-nextjs 1.0.1
@nextrush/adapter-node 4.0.2
@nextrush/adapter-serverless 1.0.1
@nextrush/body-parser 4.0.1
@nextrush/class 1.0.2
@nextrush/compression 3.0.7
@nextrush/cookies 1.0.1
@nextrush/core 4.0.2
@nextrush/cors 4.0.1
@nextrush/csrf 1.0.1
@nextrush/dev 1.1.3
@nextrush/di 4.0.2
@nextrush/errors 4.0.2
@nextrush/events 1.0.1
@nextrush/express-bridge 0.1.1
@nextrush/form-data 1.0.1
@nextrush/health 1.0.1
@nextrush/helmet 4.0.1
@nextrush/logger 2.0.0
@nextrush/openapi 1.0.3
@nextrush/rate-limit 1.0.1
@nextrush/request-id 1.0.1
@nextrush/router 4.0.2
@nextrush/runtime 4.0.2
@nextrush/security 1.0.1
@nextrush/static 1.0.1
@nextrush/stream 1.0.2
@nextrush/template 1.0.1
@nextrush/testing 1.0.2
@nextrush/timer 1.0.1
@nextrush/types 4.0.2
@nextrush/validation 1.0.2
@nextrush/websocket 1.0.1
create-nextrush 1.3.1

Changes

nextrush

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e, b2a5e2c]:

    • @nextrush/adapter-nextjs@1.0.1
    • @nextrush/adapter-node@4.0.2
    • @nextrush/errors@4.0.2
    • @nextrush/router@4.0.2
    • @nextrush/class@1.0.2
    • @nextrush/types@4.0.2
    • @nextrush/core@4.0.2
    • @nextrush/di@4.0.2

@nextrush/adapter-bun

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/runtime@4.0.2
    • @nextrush/errors@4.0.2
    • @nextrush/stream@1.0.2
    • @nextrush/types@4.0.2
    • @nextrush/core@4.0.2

@nextrush/adapter-deno

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/runtime@4.0.2
    • @nextrush/errors@4.0.2
    • @nextrush/stream@1.0.2
    • @nextrush/types@4.0.2
    • @nextrush/core@4.0.2

@nextrush/adapter-edge

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/runtime@4.0.2
    • @nextrush/errors@4.0.2
    • @nextrush/stream@1.0.2
    • @nextrush/types@4.0.2
    • @nextrush/core@4.0.2

@nextrush/adapter-nextjs

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/adapter-edge@1.0.1
    • @nextrush/types@4.0.2
    • @nextrush/core@4.0.2

@nextrush/adapter-node

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/runtime@4.0.2
    • @nextrush/errors@4.0.2
    • @nextrush/stream@1.0.2
    • @nextrush/types@4.0.2
    • @nextrush/core@4.0.2

@nextrush/adapter-serverless

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/adapter-edge@1.0.1
    • @nextrush/runtime@4.0.2
    • @nextrush/errors@4.0.2
    • @nextrush/stream@1.0.2
    • @nextrush/types@4.0.2
    • @nextrush/core@4.0.2

@nextrush/body-parser

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2

@nextrush/class

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e, b2a5e2c]:

    • @nextrush/errors@4.0.2
    • @nextrush/router@4.0.2
    • @nextrush/types@4.0.2
    • @nextrush/core@4.0.2
    • @nextrush/di@4.0.2

@nextrush/compression

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2

@nextrush/cookies

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/runtime@4.0.2
    • @nextrush/errors@4.0.2
    • @nextrush/types@4.0.2

@nextrush/core

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/errors@4.0.2
    • @nextrush/types@4.0.2

@nextrush/cors

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2

@nextrush/csrf

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2

@nextrush/dev

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

@nextrush/di

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2

@nextrush/errors

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2

@nextrush/events

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/core@4.0.2

@nextrush/express-bridge

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/runtime@4.0.2
    • @nextrush/errors@4.0.2
    • @nextrush/types@4.0.2

@nextrush/form-data

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2

@nextrush/health

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2

@nextrush/helmet

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2

@nextrush/logger

Major Changes

  • 0eaed1b Thanks @0xTanzim! - Aligns @nextrush/logger with the @nextrush/log v0.3 public surface.

    BREAKING — removed ~40 stale re-exports that @nextrush/log v0.3.0 no longer
    exposes (audit-removed internal helpers): serializeError, safeSerialize,
    shouldLog, compareLevels, isValidLogLevel, parseLogLevel, LOG_LEVELS,
    LOG_LEVEL_PRIORITY, formatJSON, formatPrettyJSON, formatPrettyTerminal,
    formatPrettyTimestamp, formatTimestamp, detectRuntime, getRuntime,
    getEnvVar, getProcessId, isProductionBuild, scopedLogger,
    createConsoleTransport, createPredicateTransport,
    createNamespaceRateLimitedTransport, clearGlobalTransports,
    configureFromEnv, setGlobalLevel, resetGlobalConfig, enableNamespaces,
    disableNamespaces, DEFAULT_SENSITIVE_KEYS, mergeSensitiveKeys,
    redactSensitiveValues, containsSensitivePattern, sanitizeContext,
    shouldRedact, isError, and defaultLogger (use log). Also removed the old
    Logger value export — Logger is now type-only in v0.3 (use
    createLogger(name)).

    Migrate: import these directly from @nextrush/log where they survive, or
    use the surviving API (log, createLogger, configure, addGlobalTransport,
    transports, async-context helpers). See the README migration notes and RFC-036.

    Behavior: the logRequestStart default no longer calls the removed
    isProductionBuild(). It is now derived from a new explicit
    environment?: 'development' | 'production' option (default 'development'),
    which is edge-portable and never reads process.env. An explicit
    logRequestStart still overrides the default.

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2
    • @nextrush/core@4.0.2

@nextrush/openapi

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2

@nextrush/rate-limit

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2

@nextrush/request-id

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2

@nextrush/router

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • b2a5e2c Thanks @0xTanzim! - Routes mounted via mount()/use(prefix, router) now preserve their route metadata: request schemas from validate() and inline docs from endpoint() survive the copy, so getRoutes() (and @nextrush/openapi) documents mounted routes exactly like directly registered ones. Internal representation change only — no public API change, and the dispatch hot path is unaffected (verified by the hot-path guard suite and a CPU-pinned interleaved A/B benchmark). Implements the RFC-002 v5 amendment (mount-time metadata preservation).

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2
    • @nextrush/core@4.0.2

@nextrush/runtime

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/errors@4.0.2
    • @nextrush/types@4.0.2

@nextrush/security

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/rate-limit@1.0.1
    • @nextrush/cookies@1.0.1
    • @nextrush/helmet@4.0.1
    • @nextrush/csrf@1.0.1
    • @nextrush/types@4.0.2
    • @nextrush/core@4.0.2

@nextrush/static

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2
    • @nextrush/core@4.0.2

@nextrush/stream

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2

@nextrush/template

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2
    • @nextrush/core@4.0.2

@nextrush/testing

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e, b2a5e2c]:

    • @nextrush/router@4.0.2
    • @nextrush/class@1.0.2
    • @nextrush/types@4.0.2
    • @nextrush/core@4.0.2
    • @nextrush/di@4.0.2

@nextrush/timer

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2

@nextrush/types

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

@nextrush/validation

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/errors@4.0.2
    • @nextrush/types@4.0.2

@nextrush/websocket

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

  • Updated dependencies [826bd5e]:

    • @nextrush/types@4.0.2

create-nextrush

Patch Changes

  • 826bd5e Thanks @0xTanzim! - Prepare the NextRush v4 ecosystem patch release with updates across core, routing, adapters, middleware, utilities, OpenAPI, testing, development tooling, and the create-nextrush scaffolder.

Installation

pnpm add nextrush@4.0.2