Major Changes
Schema validation now sends a serialized stub message to GCP's validateMessage API instead of comparing raw schema definitions. This correctly validates compatibility across all schema revisions and respects the configured encoding (Binary/JSON).
avsc and @protobuf-ts/runtime are now optional peer dependencies — install only what your schema type requires.
batchManagerOptions.maxWaitTimeInMillis has been removed from subscription configuration. Wait time is now derived automatically from maxMessages using an adaptive formula (50–500ms range).
Breaking change: remove maxWaitTimeInMillis from any batchManagerOptions configuration.
Minor Changes
Support NestJS 12. The @nestjs/common and @nestjs/core peer ranges widen from ^11.1.24 to ^11.1.24 || ^12.0.0, so installing alongside NestJS 12 no longer needs legacy-peer-deps.
NestJS 12 is ESM-only, and its exports map does not resolve directory imports. The published type declarations of nestjs-common, nestjs-modules and nestjs-webhooks imported @nestjs/common/interfaces, which fails with TS2307 for consumers on node16/nodenext/bundler module resolution. They now import from the @nestjs/common root, or from @nestjs/common/interfaces/index.js for the two types the root does not export (RouteInfo, HttpArgumentsHost). Both forms resolve on NestJS 11 and 12.
Patch Changes
- Updated dependencies:
@golevelup/nestjs-discovery@7.1.0