Added

  • Configuration.Escape

  • Configuration.LineBreakInQuotedFieldIsBadData

  • FieldValidationException

  • HeaderValidationException

  • IParserConfiguration.Escape

  • IParserConfiguration.LineBreakInQuotedFieldIsBadData

  • ISerializerConfiguration.Escape

Changed

  • Configuration.PrepareHeaderForMatchBreaking

    The type changed from Func<string, string> to Func<string, int, string>.

  • Configuration.ReadingExceptionOccurredBreaking

    The type changed from Action<CsvHelperException> to Func<CsvHelperException, bool>.

  • ConfigurationFunctions.PrepareHeaderForMatch(string, int)Breaking

    The parameters changed from (string) to (string, int).

  • ConfigurationFunctions.ReadingExceptionOccurred(CsvHelperException)Breaking

    The return type changed from void to bool.

  • IReaderConfiguration.PrepareHeaderForMatchBreaking

    The type changed from Func<string, string> to Func<string, int, string>.

  • IReaderConfiguration.ReadingExceptionOccurredBreaking

    The type changed from Action<CsvHelperException> to Func<CsvHelperException, bool>.

  • ReadingContext.NamedIndexCacheBreaking

    The type changed from Dictionary<string, Tuple<string, int>> to Dictionary<string, (string, int)>.

  • ValidationExceptionBreaking

    The type is now abstract.

Commits

  • 4a5bd3d0 Version bump to 10.0.0. Josh Close ·
  • 3fd1a8d1 Added IDataReader implementation. This allows for easily loading a DataTable. Josh Close ·
  • 618362da Write ExpandoObject and IDynamicMetaObjectProvider object properties in ascending order to ensure order of property creation doesn't matter. Josh Close ·
  • f5a0d26d PrepareHeaderForMatch now passes in the header name and index. Dynamic records will now have null properties for missing fields. Josh Close ·
  • 18d49050 Changed delimiter default value from ',' to CultureInfo.CurrentCulture.TextInfo.ListSeparator. Josh Close ·
  • c78029d3 Updated T4 for CsvParser. Josh Close ·
  • bc801f8b Config option to consider a line break in a quoted field as bad data. Josh Close ·
  • 89551097 Changed NamedIndexCache Tuple<string, int> to (string, int). Josh Close ·
  • 8b8d27e8 Added more friendly header validation message. Separated header and field validation exceptions. Added data properties to validation classes. Josh Close ·
  • aeadf825 Version bump to 10.0.0-beta01. Josh Close ·
  • 9af9eb14 Added escape character configuration. Josh Close ·
  • 90fe88e7 Changed Configuration.ReadingExceptionOccurred to not throw an exception and return a boolean whether it should throw an exception. The caller will throw if true. Josh Close ·

Compare on GitHub