Changelog
v30.0.0
Released October 30, 2022. Previous release: v29.0.0. Migration guide.
API
The API of v30.0.0 could not be built: Could not read the target frameworks of C:\Users\runneradmin\AppData\Local\Temp\csvhelper-docs\04834b58ddbe\src/CsvHelper/CsvHelper.csproj: 8.0.132 [C:\Program Files\dotnet\sdk]
Commits
- 04834b58 Updated change log and migration docs.
- d2f66a75 Added CLS compliant constructor. Added unit test.
- 852f0394 Added generic overload for CsvConfiguration.ApplyAttributes.
- f43d2d1f Return CsvConfiguration from ApplyAttributes to allow chaining.
- 736bcb90 Add constructorArgs params argument to TypeConverterAttribute
- 499acd87 Fixed constructor mapping issue where parameter has a type converter but would still try and use constructor mapping.
- 0e06ec1a Cleanup.
- 51019f3b Added prefix inheritance option and made it false by default.
- f302d593 Cleaned up writing methods.
- 5eee5eb4 Made ShouldUseConstructorParameters logic a little more clear.
- 33382ec2 Removed unneeded in params and ref struct from CsvParser.
- d5bd5929 Removed all MethodImplOptions.AggressiveInlining from CsvParser.
- 9dbd4de4 Pass IWriterConfiguration into CsvWriter instead of CsvConfiguration.
- ea2581e7 Added Field and RawRecord to BadDataException. Breaking change.
- 416d15d7 Add null check for WriteRecords.
- 2a429157 allow inherited prefix headers
- 331a493d [Issue 1500] CsvReader - allow mapping to dynamic properties
- fbf46c48 add member name in TypeConverterException message
- 43b1943b adds a test showing that a custom typeconverter for Uri fails
- 58b2c4bb Validate method now takes another param of type Expression
- f0af112b Fixed a bug: The length check now uses the raw record end position.
- a1db1d66 Fixed whitespaces
- 31536d41 Added MaxFieldSize configuration property to timely abort parsing of large/invalid fields.
- b474e47d Added class level attribute for using annotation to create configuration
- 245af165 Add validation msg to Validate Func
- be041977 relax Default and Constant type constraints to "assignable from"
- c1a2b566 Fix printing '{expression}' using interpolation