- Merged PR Add support for nestjs 11
- Added "engines" section and
.nvmrc
file
- Resolved Issue 55
- Added test cases for
Exposed
decorated fields
- Resolved Issue 60
- Added test cases for
enableImplicitConversion
field in theclass-validator
transform options - Modified
IsFile
validator to handleenableImplicitConversion
param - Some other test cases were improved
- Updated
README.md
, clarifiedclass-validator
pipe configuration
autoDeleteFile
config field separated to two fields:cleanupAfterSuccessHandle
andcleanupAfterFailedHandle
- Extended
HasMimeType
validator, added regex support and asterisk match - Extended tests for cover a new functionality
- Resolved Issue 56
- Resolved Issue 57
- Updated README.md - described additional information about the usage of new config fields and validations
- Updated peer deps:
reflect-metadata^0.2.0
- Resolved Issue 58
- Added missed exports:
MetaFieldSource
and MetaSource - Resolved Issue 52
- Minor npm publish fix
- Added missed exports:
MetaFieldSource
and MetaSource - Resolved Issue 52
- Resolved Issue 47
- Fixed issue with mappings files to same field
- Removed
node-append-field
library from dependencies and placed in the project (for modification) - Added tests for reproduce Issue 49
- Added NestJs 10 support
- Resolved Issue 45
- Added support class-validator "^0.13.2" in peer dependencies
- Resolved Issue 41
- Added the
isGlobal
configuration parameter, which allows you to make the module global for all submodules. - Added tests to test the
isGlobal
parameter for future support. - Updated readme
- Updated
peerDependencies
to version^0.14.0
- fix issue 35, added missing field
buffer: Buffer
in classMemoryStoredFile
in version 1.8.0 - Fix link to changelog in README.md
- fix issue 29
- Cleared the default error handling, which duplicated the standard error handling. Custom error handlers work again
- Fixed errors when deleting files after processing requests if there is no delete method
- fix issue 34
- removed 'node:stream' imports to ensure compatibility
- Changed incoming arguments for the factory method
StoredFile.create()
Your custom classes for saving files will be broken, they will need to be fixed, example insrc/classes/storage/MemoryStoredFile.ts
- Added file-type dependency as a reliable source for getting file mime-type and extension.
- Changed
HasMimeType
validator, added second argument to strictly check mime-type source - Added
HasExtension
validator, to check file extension, uses file-type - Added tests to test validators
- Modified README.md, added more information about validators and their usage
- Added CHANGELOG.md