Skip to content

v3.0.0

Compare
Choose a tag to compare
@epiphone epiphone released this 20 Mar 08:23
· 24 commits to master since this release

Breaking changes

  • Peer dependencies ugraded to class-validator: ^0.13.1 and class-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.