Added

  • BadDataException.BadDataException(IReadingContext)

  • Configuration.InjectionCharacters

  • Configuration.SanitizeForInjection

  • CsvFieldReader.SetRawRecordStart(int)

  • CsvHelperException.CsvHelperException(IReadingContext)

  • CsvHelperException.CsvHelperException(IWritingContext)

  • CsvSerializer.SanitizeForInjection(string)

  • CsvWriter.GetTypeForRecord<T>(T)

  • DynamicRecordCreator

  • DynamicRecordWriter

  • ExpandoObjectRecordWriter

  • ExpressionManager

  • IFieldReader.SetRawRecordStart(int)

  • IReadingContext

  • ISerializerConfiguration.InjectionCharacters

  • ISerializerConfiguration.Quote

  • ISerializerConfiguration.SanitizeForInjection

  • IWritingContext

  • MemberMapCollection.AddMembers(ClassMap)

  • MissingFieldException.MissingFieldException(IReadingContext)

  • ObjectRecordCreator

  • ObjectRecordWriter

  • ParserException.ParserException(IReadingContext)

  • PrimitiveRecordCreator

  • PrimitiveRecordWriter

  • ReaderException.ReaderException(IReadingContext)

  • ReadingContext.CreateRecordFuncs

  • ReadingContext.FieldBuilder

  • ReadingContext.HydrateRecordActions

  • ReadingContext.NamedIndexCache

  • ReadingContext.NamedIndexes

  • ReadingContext.RawRecordBuilder

  • ReadingContext.ReadingContext(TextReader, Configuration, bool)

  • ReadingContext.RecordBuilder

  • ReadingContext.ReusableMemberMapData

  • ReadingContext.TypeConverterOptionsCache

  • RecordCreator

  • RecordCreatorFactory

  • RecordHydrator

  • RecordManager

  • RecordWriter

  • RecordWriterFactory

  • ValidationException.ValidationException(IReadingContext)

  • WriterException.WriterException(IWritingContext)

  • WritingContext.ReusableMemberMapData

  • WritingContext.TypeActions

  • WritingContext.TypeConverterOptionsCache

  • WritingContext.WritingContext(TextWriter, Configuration, bool)

Changed

  • BadDataException.BadDataException(IReadingContext, string)Breaking

    The parameters changed from (ReadingContext, string) to (IReadingContext, string).

  • BadDataException.BadDataException(IReadingContext, string, Exception)Breaking

    The parameters changed from (ReadingContext, string, Exception) to (IReadingContext, string, Exception).

  • Configuration.BadDataFoundCallbackBreaking

    The type changed from Action<ReadingContext> to Action<IReadingContext>.

  • Configuration.HeaderValidatedCallbackBreaking

    The type changed from Action<bool, string[], int, ReadingContext> to Action<bool, string[], int, IReadingContext>.

  • Configuration.MissingFieldFoundCallbackBreaking

    The type changed from Action<string[], int, ReadingContext> to Action<string[], int, IReadingContext>.

  • CsvFieldReader.ContextBreaking

    The type changed from IFieldReaderContext to IReadingContext.

  • CsvHelperException.CsvHelperException(IReadingContext, string)Breaking

    The parameters changed from (ReadingContext, string) to (IReadingContext, string).

  • CsvHelperException.CsvHelperException(IReadingContext, string, Exception)Breaking

    The parameters changed from (ReadingContext, string, Exception) to (IReadingContext, string, Exception).

  • CsvHelperException.CsvHelperException(IWritingContext, string)Breaking

    The parameters changed from (WritingContext, string) to (IWritingContext, string).

  • CsvHelperException.CsvHelperException(IWritingContext, string, Exception)Breaking

    The parameters changed from (WritingContext, string, Exception) to (IWritingContext, string, Exception).

  • CsvHelperException.ReadingContextBreaking

    The type changed from ReadingContext to IReadingContext.

  • CsvHelperException.WritingContextBreaking

    The type changed from WritingContext to IWritingContext.

  • CsvParser.ContextBreaking

    The type changed from IParserContext to IReadingContext.

  • CsvReader.CanRead(MemberMap)Breaking

    The signature changed.

  • CsvReader.CanRead(MemberReferenceMap)Breaking

    The signature changed.

  • CsvReader.ContextBreaking

    The type changed from IReaderContext to IReadingContext.

  • CsvSerializer.ContextBreaking

    The type changed from WritingContext to IWritingContext.

  • CsvWriter.CanWrite(MemberMap)Breaking

    The signature changed.

  • CsvWriter.ContextBreaking

    The type changed from WritingContext to IWritingContext.

  • IFieldReader.ContextBreaking

    The type changed from IFieldReaderContext to IReadingContext.

  • IParser.ContextBreaking

    The type changed from IParserContext to IReadingContext.

  • IParserConfiguration.BadDataFoundCallbackBreaking

    The type changed from Action<ReadingContext> to Action<IReadingContext>.

  • IReaderConfiguration.HeaderValidatedCallbackBreaking

    The type changed from Action<bool, string[], int, ReadingContext> to Action<bool, string[], int, IReadingContext>.

  • IReaderConfiguration.MissingFieldFoundCallbackBreaking

    The type changed from Action<string[], int, ReadingContext> to Action<string[], int, IReadingContext>.

  • IReaderRow.ContextBreaking

    The type changed from IReaderContext to IReadingContext.

  • ISerializer.ContextBreaking

    The type changed from WritingContext to IWritingContext.

  • IWriterRow.ContextBreaking

    The type changed from WritingContext to IWritingContext.

  • MissingFieldException.MissingFieldException(IReadingContext, string)Breaking

    The parameters changed from (ReadingContext, string) to (IReadingContext, string).

  • MissingFieldException.MissingFieldException(IReadingContext, string, Exception)Breaking

    The parameters changed from (ReadingContext, string, Exception) to (IReadingContext, string, Exception).

  • ParserException.ParserException(IReadingContext, string)Breaking

    The parameters changed from (ReadingContext, string) to (IReadingContext, string).

  • ParserException.ParserException(IReadingContext, string, Exception)Breaking

    The parameters changed from (ReadingContext, string, Exception) to (IReadingContext, string, Exception).

  • ReaderException.ReaderException(IReadingContext, string)Breaking

    The parameters changed from (ReadingContext, string) to (IReadingContext, string).

  • ReaderException.ReaderException(IReadingContext, string, Exception)Breaking

    The parameters changed from (ReadingContext, string, Exception) to (IReadingContext, string, Exception).

  • ReadingContextBreaking

    The type no longer implements IFieldReaderContext, IParserContext, IReaderContext. The type now implements IReadingContext.

  • ReadingContext.Buffer

    The property now has a set accessor.

  • ReadingContext.BufferPosition

    The property now has a set accessor.

  • ReadingContext.BytePosition

    The property now has a set accessor.

  • ReadingContext.C

    The property now has a set accessor.

  • ReadingContext.CharPosition

    The property now has a set accessor.

  • ReadingContext.CharsRead

    The property now has a set accessor.

  • ReadingContext.ClearCache(Caches)

    Now virtual.

  • ReadingContext.ColumnCount

    The property now has a set accessor.

  • ReadingContext.CurrentIndex

    The property now has a set accessor.

  • ReadingContext.FieldEndPosition

    The property now has a set accessor.

  • ReadingContext.FieldStartPosition

    The property now has a set accessor.

  • ReadingContext.HasBeenRead

    The property now has a set accessor.

  • ReadingContext.HeaderRecord

    The property now has a set accessor.

  • ReadingContext.IsFieldBad

    The property now has a set accessor.

  • ReadingContext.LeaveOpen

    The property now has a set accessor.

  • ReadingContext.RawRecordEndPosition

    The property now has a set accessor.

  • ReadingContext.RawRecordStartPosition

    The property now has a set accessor.

  • ReadingContext.RawRow

    The property now has a set accessor.

  • ReadingContext.Record

    The property now has a set accessor.

  • ReadingContext.Row

    The property now has a set accessor.

  • ValidationException.ValidationException(IReadingContext, string)Breaking

    The parameters changed from (ReadingContext, string) to (IReadingContext, string).

  • ValidationException.ValidationException(IReadingContext, string, Exception)Breaking

    The parameters changed from (ReadingContext, string, Exception) to (IReadingContext, string, Exception).

  • WriterException.WriterException(IWritingContext, string)Breaking

    The parameters changed from (WritingContext, string) to (IWritingContext, string).

  • WriterException.WriterException(IWritingContext, string, Exception)Breaking

    The parameters changed from (WritingContext, string, Exception) to (IWritingContext, string, Exception).

  • WritingContextBreaking

    The type no longer implements ISerializerContext, IWriterContext. The type now implements IWritingContext.

  • WritingContext.HasHeaderBeenWritten

    The property now has a set accessor.

  • WritingContext.HasRecordBeenWritten

    The property now has a set accessor.

  • WritingContext.LeaveOpen

    The property now has a set accessor.

  • WritingContext.Row

    The property now has a set accessor.

Removed

  • BadDataException.BadDataException(ReadingContext)Breaking

  • CsvHelperException.CsvHelperException(ReadingContext)Breaking

  • CsvHelperException.CsvHelperException(WritingContext)Breaking

  • CsvReader.CreateConstructorArgumentExpressionsForMapping(ClassMap, List<Expression>)Breaking

  • CsvReader.CreateDynamic()Breaking

  • CsvReader.CreateFieldExpression(MemberMap)Breaking

  • CsvReader.CreateFillRecordAction<T>()Breaking

  • CsvReader.CreateFuncForObject(Type)Breaking

  • CsvReader.CreateFuncForPrimitive(Type)Breaking

  • CsvReader.CreateMemberBindingsForMapping(ClassMap, Type, List<MemberBinding>)Breaking

  • CsvReader.CreateReadRecordFunc(Type)Breaking

  • CsvReader.CreateRecord(Type)Breaking

  • CsvReader.CreateRecord<T>()Breaking

  • CsvReader.FillRecord<T>(T)Breaking

  • CsvReader.GetFillRecordAction<T>()Breaking

  • CsvReader.GetReadRecordFunc(Type)Breaking

  • CsvReader.GetReadRecordFunc<T>()Breaking

  • CsvWriter.AddMembers(MemberMapCollection, ClassMap)Breaking

  • CsvWriter.CombineDelegates<T>(IEnumerable<Action<T>>)Breaking

  • CsvWriter.CreateActionForDynamic<T>(IDynamicMetaObjectProvider)Breaking

  • CsvWriter.CreateActionForExpandoObject<T>(ExpandoObject)Breaking

  • CsvWriter.CreateActionForObject<T>(Type)Breaking

  • CsvWriter.CreateActionForPrimitive<T>(Type)Breaking

  • CsvWriter.CreateMemberExpression(Expression, ClassMap, MemberMap)Breaking

  • CsvWriter.CreateWriteRecordAction<T>(Type, T)Breaking

  • CsvWriter.GetWriteRecordAction<T>(T)Breaking

  • IFieldReaderContextBreaking

  • IParserContextBreaking

  • IReaderContextBreaking

  • ISerializerContextBreaking

  • IWriterConfiguration.QuoteBreaking

  • IWriterContextBreaking

  • MissingFieldException.MissingFieldException(ReadingContext)Breaking

  • ParserException.ParserException(ReadingContext)Breaking

  • ReaderException.ReaderException(ReadingContext)Breaking

  • ValidationException.ValidationException(ReadingContext)Breaking

  • WriterException.WriterException(WritingContext)Breaking

Commits

  • 65274e57 Version bump. Josh Close ·
  • a7fee65d Changed contexts to interfaces. Josh Close ·
  • 28a2e3f5 Updated comments. Josh Close ·
  • 6f8a6d5f Renamed injection code to remove Excel from naming. Josh Close ·
  • 43de8d3a Added license headers. Josh Close ·
  • 434e6ca6 Added Excel injection sanitization. Josh Close ·
  • c08cdaa2 Fixed issues with parsing when TrimOptions are enabled but there is no spaces to trim. Josh Close ·
  • eb50ebca Moved expression logic into separate classes. Josh Close ·

Compare on GitHub