v3.0.0
Breaking changes
- Peer dependencies ugraded to
class-validator: ^0.13.1
andclass-transformer: ^0.4.0
class-transformer
default metadata storage import changes as follows:
-import { defaultMetadataStorage } from 'class-transformer/storage';
+const { defaultMetadataStorage } = require('class-transformer/cjs/storage');
See typestack/class-transformer#563 for alternatives to avoid the CommonJS require
.