A NestJS utility module that provides “mapped types” helpers for transforming TypeScript classes into DTO variants. It’s useful with `@nestjs/graphql` and `@nestjs/swagger`, for example to generate create and update DTOs with optional fields or to build new types by picking, omitting, or intersecting properties.
Project status
- Active maintenance: The repository shows an upstream push on 2026-08-10, and there was a recent tagged update (2.1.1 on 2026-03-31), indicating the project is currently being maintained rather than dormant.
- Updates cadence: Tagged updates are irregular (not monthly or quarterly). Notable points include 2.1.1 (2026-03-31), then 2.1.0 (2025-01-17), then 2.0.6 (2024-11-08), suggesting intermittent release timing with more frequent activity around 2026.
AI summary generated
Recent updates
2.1.1
Release 2.1.1 primarily updates development dependencies, including class-validator to 0.15.1, as noted in the release notes. The code changes are mostly TypeScript-only adjustments (switching to `import type`) and documentation annotations, plus some tooling/CI and metadata updates.
2.1.0
Release 2.1.0 is primarily positioned as a dependency update for NestJS, specifically moving to @nestjs/common v11. Beyond that single documented change, the diff shows additional tooling and configuration updates, plus a change to the package peer dependency range for @nestjs/common.
2.0.6
Release 2.0.6 contains a small fix merged via PR #1523, described only as an intersection-type decorators issue. The code change specifically adjusts how transformer (class-transformer) metadata is inherited when building an IntersectionType from multiple classes.
2.0.5
Release 2.0.5 adds a new configuration option to PartialType that controls whether class-validator validations are applied to null values. In addition to that functional change, it bumps several development dependencies and updates CI to use a newer Node.js Docker image. Tests were extended to cover the new option behavior.
Features2.0.4
Release 2.0.4 includes a fix for incorrect inheritance of class-transformer metadata (related to issue #1224), along with a small internal refactor. It also bumps several development tooling dependencies (linting, formatting, commitlint) and corresponding lockfile entries.
2.0.3
Release 2.0.3 primarily updates development tooling and CI runtime versions. It also includes a fix for how transformer metadata is inherited during mapped-type generation (PickType), specifically addressing incorrect inheritance of transform metadata from ancestor classes.
2.0.2
Release 2.0.2 is a small maintenance update that merges a fix for the `RemoveFieldsWithType` utility type and bumps `@nestjs/common` from 10.0.2 to 10.0.3. The release notes only mention the types fix and the dependency update.
2.0.1
Release 2.0.1 contains a fix for incorrect inheritance of optional keys in the mapped types utilities. It also bumps several development dependencies (NestJS common, TypeScript ESLint tooling, and ESLint) and updates tests accordingly.
2.0.0
Release 2.0.0 updates the library to newer NestJS and tooling versions and introduces type-level utilities that remove function-valued properties from mapped type results. The code changes concentrate on mapped-type helper generics and on build/CI configuration.
Breaking1.2.2
Release 1.2.2 is primarily a maintenance release with extensive development tooling and dependency bumps. The code diff shows CI Node.js version upgrades and Husky hook wiring changes, alongside updates to linting and formatting configuration.
Security