Changelog
v3.0.0-rc02
Released September 19, 2017. Previous release: v3.0.0-rc01. Migration guide.
Added
-
Configuration.BadDataFoundCallback -
Configuration.HeaderValidatedCallback -
Configuration.MissingFieldFoundCallback -
IParserConfiguration.BadDataFoundCallback -
IReaderConfiguration.HeaderValidatedCallback -
IReaderConfiguration.MissingFieldFoundCallback
Changed
-
ClassMap.AutoMap(Configuration)BreakingThe parameters changed from (AutoMapOptions) to (Configuration).
-
ClassMap.AutoMapConstructorParameters(ClassMap, Configuration, LinkedList<Type>, int)BreakingThe parameters changed from (ClassMap, AutoMapOptions, LinkedList<Type>, int) to (ClassMap, Configuration, LinkedList<Type>, int).
-
ClassMap.AutoMapMembers(ClassMap, Configuration, LinkedList<Type>, int)BreakingThe parameters changed from (ClassMap, AutoMapOptions, LinkedList<Type>, int) to (ClassMap, Configuration, LinkedList<Type>, int).
-
ClassMapCollection.ClassMapCollection(Configuration)BreakingThe parameters changed from () to (Configuration).
-
Configuration.ReadingExceptionCallbackBreakingThe type changed from Action<CsvHelperException, IReader> to Action<CsvHelperException>.
-
IReaderConfiguration.ReadingExceptionCallbackBreakingThe type changed from Action<CsvHelperException, IReader> to Action<CsvHelperException>.
-
NullableConverter.NullableConverter(Type, TypeConverterFactory)BreakingThe parameters changed from (Type) to (Type, TypeConverterFactory).
Removed
-
AutoMapOptionsBreaking -
Configuration.BadDataCallbackBreaking -
Configuration.IgnoreReadingExceptionsBreaking -
Configuration.SkipEmptyRecordsBreaking -
Configuration.ThrowOnBadDataBreaking -
Configuration.ThrowOnBadHeaderBreaking -
Configuration.ThrowOnMissingFieldBreaking -
CsvReader.GetEmtpyStringMethod()Breaking -
CsvReader.IsRecordEmpty()Breaking -
CsvReader.IsRecordEmpty(bool)Breaking -
CsvReader.ShouldSkipRecord()Breaking -
IParserConfiguration.BadDataCallbackBreaking -
IParserConfiguration.ThrowOnBadDataBreaking -
IReaderConfiguration.IgnoreReadingExceptionsBreaking -
IReaderConfiguration.SkipEmptyRecordsBreaking -
IReaderConfiguration.ThrowOnBadHeaderBreaking -
IReaderConfiguration.ThrowOnMissingFieldBreaking -
IReaderRow.IsRecordEmpty()Breaking -
TypeConverterFactory.CurrentBreaking
Commits
- 9dd1bce8 Version bump.
- 29b8a9a5 Fixed issues with constants other than strings not working when writing.
- 13dbb61c Changed some configuration flags to callback functions to let the user handle the functionality.
- f9e5f10b Removed TypeConverterFactory.Current so only the Configuration.TypeConverterFactory is used.
- 78a0338d Updated the T4 templates with the changes that went into the generated files.
- 22ceba10 Fixed spelling error in comment.
- 538307ce Fixed header validation to ignore members that have a mapping ignore specified.
- 080138aa Added check for index < 0 on GetField.
- d86694cf Fixed header validation to work with private setters.