summaryrefslogtreecommitdiff
path: root/ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v27/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v27/index.md')
-rw-r--r--ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v27/index.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v27/index.md b/ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v27/index.md
new file mode 100644
index 0000000..02db92b
--- /dev/null
+++ b/ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v27/index.md
@@ -0,0 +1,36 @@
+# Migrating from version 26 to 27
+
+## CsvConfiguration.WhiteSpaceChars
+
+- Removed `\t` from the array of default characters.
+
+If you are expecting `\t` to be trimmed, you will need to add this to the
+whitespace characters.
+
+```cs
+var config = new CsvConfiguration(CultureInfo.InvariantCulture)
+{
+ WhiteSpaceChars = new[] { ' ', '\t' },
+};
+```
+
+## IParserConfiguration
+
+- Added property `bool DetectDelimiter { get; }`.
+- Added property `string[] DetectDelimiterValues { get; }`.
+
+Any class that implements `IParserConfiguration` will need these changes
+applied to it.
+
+## IWriter
+
+- Added method `Task WriteRecordsAsync<T>(IAsyncEnumerable<T> records, CancellationToken cancellationToken = default)`.
+This does not apply to projects that reference the `net45` version of CsvHelper.
+
+Any class that implements `IWriter` will need these changes applied to it.
+
+## IParser
+
+- Added property `string Delimiter { get; }`.
+
+Any class that implements `IParser` will need these changes applied to it.