Changelog
v23.0.0
Released February 12, 2021. Previous release: v22.1.2. Migration guide.
Added
-
BadDataFoundArgs -
ConvertFromStringArgs -
ConvertToStringArgs<TClass> -
CsvWriter.FlushBuffer() -
CsvWriter.FlushBufferAsync() -
CsvWriter.WriteToBuffer(string) -
GetConstructorArgs -
GetDynamicPropertyNameArgs -
HeaderValidatedArgs -
MissingFieldFoundArgs -
PrepareHeaderForMatchArgs -
ReadingExceptionOccurredArgs -
ReferenceHeaderPrefixArgs -
ShouldQuoteArgs -
ShouldSkipRecordArgs -
ShouldUseConstructorParametersArgs -
ValidateArgs
Changed
-
BadDataFoundThe declaration changed.
-
ConfigurationFunctions.BadDataFound(BadDataFoundArgs)BreakingThe parameters changed from (CsvContext) to (BadDataFoundArgs).
-
ConfigurationFunctions.GetConstructor(GetConstructorArgs)BreakingThe parameters changed from (Type) to (GetConstructorArgs).
-
ConfigurationFunctions.GetDynamicPropertyName(GetDynamicPropertyNameArgs)BreakingThe parameters changed from (CsvContext, int) to (GetDynamicPropertyNameArgs).
-
ConfigurationFunctions.HeaderValidated(HeaderValidatedArgs)BreakingThe parameters changed from (InvalidHeader[], CsvContext) to (HeaderValidatedArgs).
-
ConfigurationFunctions.MissingFieldFound(MissingFieldFoundArgs)BreakingThe parameters changed from (string[], int, CsvContext) to (MissingFieldFoundArgs).
-
ConfigurationFunctions.PrepareHeaderForMatch(PrepareHeaderForMatchArgs)BreakingThe parameters changed from (string, int) to (PrepareHeaderForMatchArgs).
-
ConfigurationFunctions.ReadingExceptionOccurred(ReadingExceptionOccurredArgs)BreakingThe parameters changed from (CsvHelperException) to (ReadingExceptionOccurredArgs).
-
ConfigurationFunctions.ShouldQuote(ShouldQuoteArgs)BreakingThe parameters changed from (string, Type, IWriterRow) to (ShouldQuoteArgs).
-
ConfigurationFunctions.ShouldSkipRecord(ShouldSkipRecordArgs)BreakingThe parameters changed from (string[]) to (ShouldSkipRecordArgs).
-
ConfigurationFunctions.ShouldUseConstructorParameters(ShouldUseConstructorParametersArgs)BreakingThe parameters changed from (Type) to (ShouldUseConstructorParametersArgs).
-
ConvertFromString<TMember>The declaration changed.
-
ConvertToString<TClass>The declaration changed.
-
CsvConfiguration.AllowCommentsBreakingThe init accessor was removed.
-
CsvConfiguration.BadDataFoundBreakingThe init accessor was removed.
-
CsvConfiguration.BufferSizeBreakingThe init accessor was removed.
-
CsvConfiguration.CacheFieldsBreakingThe init accessor was removed.
-
CsvConfiguration.CommentBreakingThe init accessor was removed.
-
CsvConfiguration.CountBytesBreakingThe init accessor was removed.
-
CsvConfiguration.DelimiterBreakingThe init accessor was removed.
-
CsvConfiguration.DetectColumnCountChangesBreakingThe init accessor was removed.
-
CsvConfiguration.DynamicPropertySortBreakingThe init accessor was removed.
-
CsvConfiguration.EncodingBreakingThe init accessor was removed.
-
CsvConfiguration.EscapeBreakingThe init accessor was removed.
-
CsvConfiguration.GetConstructorBreakingThe init accessor was removed.
-
CsvConfiguration.GetDynamicPropertyNameBreakingThe init accessor was removed.
-
CsvConfiguration.HasHeaderRecordBreakingThe init accessor was removed.
-
CsvConfiguration.HeaderValidatedBreakingThe init accessor was removed.
-
CsvConfiguration.IgnoreBlankLinesBreakingThe init accessor was removed.
-
CsvConfiguration.IgnoreReferencesBreakingThe init accessor was removed.
-
CsvConfiguration.IncludePrivateMembersBreakingThe init accessor was removed.
-
CsvConfiguration.InjectionCharactersBreakingThe init accessor was removed.
-
CsvConfiguration.InjectionEscapeCharacterBreakingThe init accessor was removed.
-
CsvConfiguration.LeaveOpenBreakingThe init accessor was removed.
-
CsvConfiguration.LineBreakInQuotedFieldIsBadDataBreakingThe init accessor was removed.
-
CsvConfiguration.MemberTypesBreakingThe init accessor was removed.
-
CsvConfiguration.MissingFieldFoundBreakingThe init accessor was removed.
-
CsvConfiguration.ModeBreakingThe init accessor was removed.
-
CsvConfiguration.PrepareHeaderForMatchBreakingThe init accessor was removed.
-
CsvConfiguration.ProcessFieldBufferSizeBreakingThe init accessor was removed.
-
CsvConfiguration.QuoteBreakingThe init accessor was removed.
-
CsvConfiguration.ReadingExceptionOccurredBreakingThe init accessor was removed.
-
CsvConfiguration.ReferenceHeaderPrefixBreakingThe init accessor was removed.
-
CsvConfiguration.SanitizeForInjectionBreakingThe init accessor was removed.
-
CsvConfiguration.ShouldQuoteBreakingThe init accessor was removed.
-
CsvConfiguration.ShouldSkipRecordBreakingThe init accessor was removed.
-
CsvConfiguration.ShouldUseConstructorParametersBreakingThe init accessor was removed.
-
CsvConfiguration.TrimOptionsBreakingThe init accessor was removed.
-
CsvConfiguration.UseNewObjectForNullReferenceMembersBreakingThe init accessor was removed.
-
CsvConfiguration.WhiteSpaceCharsBreakingThe init accessor was removed.
-
CsvContext.TypeConverterCacheBreakingThe init accessor was removed.
-
CsvContext.TypeConverterOptionsCacheBreakingThe init accessor was removed.
-
GetConstructorThe declaration changed.
-
GetDynamicPropertyNameThe declaration changed.
-
HeaderValidatedThe declaration changed.
-
MissingFieldFoundThe declaration changed.
-
PrepareHeaderForMatchThe declaration changed.
-
ReadingExceptionOccurredThe declaration changed.
-
ReferenceHeaderPrefixThe declaration changed.
-
ShouldQuoteThe declaration changed.
-
ShouldSkipRecordThe declaration changed.
-
ShouldUseConstructorParametersThe declaration changed.
-
ValidateThe declaration changed.
Removed
-
CsvConfiguration.CsvConfiguration(CultureInfo, bool?, BadDataFound, int?, bool?, char?, bool?, string, bool?, IComparer<string>, Encoding, char?, GetConstructor, GetDynamicPropertyName, bool?, HeaderValidated, bool?, bool?, bool?, char[], char?, bool?, bool?, MemberTypes?, MissingFieldFound, CsvMode?, string, PrepareHeaderForMatch, int?, char?, ReadingExceptionOccurred, ReferenceHeaderPrefix, bool?, ShouldQuote, ShouldSkipRecord, ShouldUseConstructorParameters, TrimOptions?, bool?, char[])Breaking
Commits
- 60eda586 Fixed visibility of CsvWriter.FlushBufferAsync method.
- 2c45278b Changed all delegate parameters to take in an args object.
- 7de846f3 Changed CsvWriter.Flush and CsvWriter.FlushAsync to flush the underlying TextWriter.
- 68b49aa0 Made method WriteToBuffer protected so subclasses are able to override WriteField methods.
- 4d0f9ddb Changed all public init properties to set.
- 8e814c01 Added CsvDataReader test.
- 3f4d7e65 Docs build.
- 6f7772ff Updated change log.