Migration guide
Migrating to v3.0.0-rc02
Moving to v3.0.0-rc02 from v3.0.0-rc01. Changelog.
Breaking changes
CsvHelper
CsvReaderclass4 breaking4 removed
Removed
IReaderRowinterface1 breaking1 removed
Removed
CsvHelper.Configuration
ClassMapclass3 breaking3 changed
AutoMap(Configuration)Breaking
The parameters changed from (AutoMapOptions) to (Configuration).
public virtual void AutoMap(AutoMapOptions options)public virtual void AutoMap(Configuration configuration)AutoMapConstructorParameters(ClassMap, Configuration, LinkedList<Type>, int)Breaking
The parameters changed from (ClassMap, AutoMapOptions, LinkedList<Type>, int) to (ClassMap, Configuration, LinkedList<Type>, int).
protected virtual void AutoMapConstructorParameters(ClassMap map, AutoMapOptions options, LinkedList<Type> mapParents, int indexStart = 0)protected virtual void AutoMapConstructorParameters(ClassMap map, Configuration configuration, LinkedList<Type> mapParents, int indexStart = 0)AutoMapMembers(ClassMap, Configuration, LinkedList<Type>, int)Breaking
The parameters changed from (ClassMap, AutoMapOptions, LinkedList<Type>, int) to (ClassMap, Configuration, LinkedList<Type>, int).
protected virtual void AutoMapMembers(ClassMap map, AutoMapOptions options, LinkedList<Type> mapParents, int indexStart = 0)protected virtual void AutoMapMembers(ClassMap map, Configuration configuration, LinkedList<Type> mapParents, int indexStart = 0)ClassMapCollectionclass1 breaking1 changed
ClassMapCollection(Configuration)Breaking
The parameters changed from () to (Configuration).
public ClassMapCollection()public ClassMapCollection(Configuration configuration)Configurationclass7 breaking6 removed1 changed
ReadingExceptionCallbackBreaking
The type changed from Action<CsvHelperException, IReader> to Action<CsvHelperException>.
public virtual Action<CsvHelperException, IReader> ReadingExceptionCallback { get; set; }public virtual Action<CsvHelperException> ReadingExceptionCallback { get; set; }Removed
IParserConfigurationinterface2 breaking2 removed
Removed
IReaderConfigurationinterface5 breaking4 removed1 changed
ReadingExceptionCallbackBreaking
The type changed from Action<CsvHelperException, IReader> to Action<CsvHelperException>.
Action<CsvHelperException, IReader> ReadingExceptionCallback { get; set; }Action<CsvHelperException> ReadingExceptionCallback { get; set; }Removed
Removed types (1)
CsvHelper.TypeConversion
NullableConverterclass1 breaking1 changed
NullableConverter(Type, TypeConverterFactory)Breaking
The parameters changed from (Type) to (Type, TypeConverterFactory).
public NullableConverter(Type type)public NullableConverter(Type type, TypeConverterFactory typeConverterFactory)TypeConverterFactoryclass1 breaking1 removed
Removed