Changelog
v30.1.0
Released January 26, 2024. Previous release: v30.0.3. Migration guide.
Added
-
CsvConfiguration.CsvConfiguration(CultureInfo) -
CsvConfiguration.FromAttributes(Type) -
CsvConfiguration.FromAttributes(Type, CultureInfo) -
CsvConfiguration.FromAttributes<T>() -
CsvConfiguration.FromAttributes<T>(CultureInfo) -
CsvReader.EnumerateRecordsAsync<T>(T, CancellationToken)netstandard2.0, net47Added to netstandard2.0, net47.
-
CsvReader.GetRecordsAsync(Type, CancellationToken)netstandard2.0, net47Added to netstandard2.0, net47.
-
CsvReader.GetRecordsAsync<T>(CancellationToken)netstandard2.0, net47Added to netstandard2.0, net47.
-
CsvReader.GetRecordsAsync<T>(T, CancellationToken)netstandard2.0, net47Added to netstandard2.0, net47.
-
CsvWriter.DisposeAsync()netstandard2.0, net47Added to netstandard2.0, net47.
-
CsvWriter.DisposeAsync(bool)netstandard2.0, net47Added to netstandard2.0, net47.
-
CsvWriter.WriteRecordsAsync<T>(IAsyncEnumerable<T>, CancellationToken)netstandard2.0, net47Added to netstandard2.0, net47.
-
CultureInfoAttribute.ApplyTo(CsvConfiguration) -
EncodingAttribute.EncodingAttribute(int) -
IReader.EnumerateRecordsAsync<T>(T, CancellationToken)netstandard2.0, net47Added to netstandard2.0, net47.
-
IReader.GetRecordsAsync(Type, CancellationToken)netstandard2.0, net47Added to netstandard2.0, net47.
-
IReader.GetRecordsAsync<T>(CancellationToken)netstandard2.0, net47Added to netstandard2.0, net47.
-
IReader.GetRecordsAsync<T>(T, CancellationToken)netstandard2.0, net47Added to netstandard2.0, net47.
-
IWriter.WriteRecordsAsync<T>(IAsyncEnumerable<T>, CancellationToken)netstandard2.0, net47Added to netstandard2.0, net47.
Changed
-
AllowCommentsAttribute.AllowCommentsAttribute(bool)A default parameter value changed: callers that omit the argument get the new value once they recompile.
-
CacheFieldsAttribute.CacheFieldsAttribute(bool)A default parameter value changed: callers that omit the argument get the new value once they recompile.
-
CountBytesAttribute.CountBytesAttribute(bool)A default parameter value changed: callers that omit the argument get the new value once they recompile.
-
CsvConfiguration.CultureInfoBreakingThe signature changed.
-
CsvWriternetstandard2.0, net47The type now implements IAsyncDisposable.
-
CultureInfoAttributeThe type now implements IClassMapper.
-
CultureInfoAttribute.CultureInfoAttribute(string)Parameter culture is now named name (this only affects calls that name the argument).
-
DetectColumnCountChangesAttribute.DetectColumnCountChangesAttribute(bool)A default parameter value changed: callers that omit the argument get the new value once they recompile.
-
DetectDelimiterAttribute.DetectDelimiterAttribute(bool)A default parameter value changed: callers that omit the argument get the new value once they recompile.
-
EncodingAttribute.EncodingAttribute(string)Parameter encoding is now named name (this only affects calls that name the argument).
-
ExceptionMessagesContainRawDataAttribute.ExceptionMessagesContainRawDataAttribute(bool)A default parameter value changed: callers that omit the argument get the new value once they recompile.
-
HasHeaderRecordAttribute.HasHeaderRecordAttribute(bool)A default parameter value changed: callers that omit the argument get the new value once they recompile.
-
IWriternetstandard2.0, net47The type now implements IAsyncDisposable.
-
IgnoreBlankLinesAttribute.IgnoreBlankLinesAttribute(bool)A default parameter value changed: callers that omit the argument get the new value once they recompile.
-
IgnoreReferencesAttribute.IgnoreReferencesAttribute(bool)A default parameter value changed: callers that omit the argument get the new value once they recompile.
-
IncludePrivateMembersAttribute.IncludePrivateMembersAttribute(bool)A default parameter value changed: callers that omit the argument get the new value once they recompile.
-
InjectionCharactersAttributeThe declaration changed.
-
LineBreakInQuotedFieldIsBadDataAttribute.LineBreakInQuotedFieldIsBadDataAttribute(bool)A default parameter value changed: callers that omit the argument get the new value once they recompile.
-
UseNewObjectForNullReferenceMembersAttribute.UseNewObjectForNullReferenceMembersAttribute(bool)A default parameter value changed: callers that omit the argument get the new value once they recompile.
Deprecated
-
CsvConfiguration.CsvConfiguration(CultureInfo, Type)This constructor is deprecated and will be removed in the next major release. Use CsvConfiguration(CultureInfo) instead.
Commits
- a9d9f7b2 Change log update. Docs build.
- 0c59831e Fixed compatibility issues.
- 3aea6a06 Changed name of CsvConfiguration.FromType to FromAttributes.
- bf460ace Cleanup.
- 16bf2b06 Cleanup.
- c4a49d4c Added Unit test.
- 764c090b Cleanup.
- 8744765d Changed CultureInfoAttribute to use IClassMapper.
- efb7211f Cleanup.
- 7bc20a6d Fixed issue with [^1] not available on all versions of .NET.
- 2aaad884 Cleanup.
- c3b50cd5 Fixed doc errors. Docs build.
- 3924fa6d Docs build.
- 2a9aea03 Removed unnecessary .NET 5 code.
- 9face762 Docks build.
- 39c10d04 Workflow.
- 029e3e3d Workflow.
- ad1236ee Workflow.
- a698ddc4 Workflow.
- 94601ac5 Workflow.
- 0dc1584e Workflow.
- 5d1d0fad Workflow.
- cace861d Updated Using and Dispose documentation.
- 5cde6f60 remove-invalid-loop
- 31615d6b Use StartsWith & EndsWith instead
- 0bf0b459 Use indexer
- 9cbd2a9e Change order of checks in default ShouldQuote implementation
- b4104093 Added test for the empty lines fix
- 27851142 Fixed GetDelimiter not properly detecting the delimiter when there's blank lines
- 22a73c75 Rename columnCount member to prevColumnCount
- 8c7f8a25 Strengthen test
- 8f74d8dd Always update CsvReader.ColumnCount
- 0cd65ab7 Deal with line break in quoted field during Read
- b0282072 HasHeaderRecord = False now loads Datatable
- e9d09232 Allow CultureInfoAttribute on classes
- f3c31792 Allow using static CultureInfo properties via CultureInfoAttribute by passing their names
- bae9f34f Add additional constructor to EncodingAttribute taking int codepage
- c118c584 Set default true for boolean-valued attributes
- e23787cf Ensure the ConvertToStringArgs are constructed with the correct generic type
- b6b6b79b Add check for hasHeaderRecord in CsvWriter.WriteHeader(IEnumerable).
- 372f0dce Repairs "This Operation is only valid on generic types." error caused by calling type.GetGenericTypeDefinition on non generic types.
- f1035431 1.fix ReadHeader bug in CsvDataReader