Added

  • Configuration.BadDataFoundCallback

  • Configuration.HeaderValidatedCallback

  • Configuration.MissingFieldFoundCallback

  • IParserConfiguration.BadDataFoundCallback

  • IReaderConfiguration.HeaderValidatedCallback

  • IReaderConfiguration.MissingFieldFoundCallback

Changed

  • ClassMap.AutoMap(Configuration)Breaking

    The parameters changed from (AutoMapOptions) to (Configuration).

  • ClassMap.AutoMapConstructorParameters(ClassMap, Configuration, LinkedList<Type>, int)Breaking

    The parameters changed from (ClassMap, AutoMapOptions, LinkedList<Type>, int) to (ClassMap, Configuration, LinkedList<Type>, int).

  • ClassMap.AutoMapMembers(ClassMap, Configuration, LinkedList<Type>, int)Breaking

    The parameters changed from (ClassMap, AutoMapOptions, LinkedList<Type>, int) to (ClassMap, Configuration, LinkedList<Type>, int).

  • ClassMapCollection.ClassMapCollection(Configuration)Breaking

    The parameters changed from () to (Configuration).

  • Configuration.ReadingExceptionCallbackBreaking

    The type changed from Action<CsvHelperException, IReader> to Action<CsvHelperException>.

  • IReaderConfiguration.ReadingExceptionCallbackBreaking

    The type changed from Action<CsvHelperException, IReader> to Action<CsvHelperException>.

  • NullableConverter.NullableConverter(Type, TypeConverterFactory)Breaking

    The 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. Josh Close ·
  • 29b8a9a5 Fixed issues with constants other than strings not working when writing. Josh Close ·
  • 13dbb61c Changed some configuration flags to callback functions to let the user handle the functionality. Josh Close ·
  • f9e5f10b Removed TypeConverterFactory.Current so only the Configuration.TypeConverterFactory is used. Josh Close ·
  • 78a0338d Updated the T4 templates with the changes that went into the generated files. Josh Close ·
  • 22ceba10 Fixed spelling error in comment. Josh Close ·
  • 538307ce Fixed header validation to ignore members that have a mapping ignore specified. Josh Close ·
  • 080138aa Added check for index < 0 on GetField. Josh Close ·
  • d86694cf Fixed header validation to work with private setters. Josh Close ·

Compare on GitHub