Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
564 commits
Select commit Hold shift + click to select a range
c40c6cc
Cleanup.
JoshClose Oct 5, 2022
6fdff30
Merge branch 'augustoproiete-forks-check-csvparser-parameter-for-null'
JoshClose Oct 5, 2022
fb4b04a
Merge branch 'configuration-functions-comment-typo-patch' of github.c…
JoshClose Oct 5, 2022
b077c5a
Merge branch 'mxashlynn-configuration-functions-comment-typo-patch'
JoshClose Oct 5, 2022
aa84807
Merge branch 'getfield_ignoreblank_missingfield' of github.com:Stefan…
JoshClose Oct 5, 2022
e05b843
Merge branch 'StefanBertels-getfield_ignoreblank_missingfield'
JoshClose Oct 5, 2022
ff46bea
Update issue templates
JoshClose Oct 5, 2022
62dd759
Merge branch 'patch-2' of github.com:lechu445/CsvHelper into lechu445…
JoshClose Oct 5, 2022
5ef8a88
Changed GetFieldIndex(string[] names...) to GetFieldIndex(IEnumerable…
JoshClose Oct 5, 2022
1c6e240
Merge branch 'lechu445-patch-2'
JoshClose Oct 5, 2022
fef1e0b
Merge branch 'master' of github.com:JoshClose/CsvHelper
JoshClose Oct 5, 2022
4eea243
Merge branch 'patch-1' of github.com:lechu445/CsvHelper into lechu445…
JoshClose Oct 5, 2022
52ce5d6
Merge branch 'lechu445-patch-1'
JoshClose Oct 5, 2022
1dbe3d3
Merge branch 'master' of github.com:mcciesla/CsvHelper into mcciesla-…
JoshClose Oct 5, 2022
5aec4ba
Added EnumConverterFactory and CollectionConverterFactory. Changed fa…
JoshClose Oct 6, 2022
387b712
Merge branch 'mcciesla-master'
JoshClose Oct 6, 2022
46bde1f
Updated changed log and migration docs.
JoshClose Oct 6, 2022
ea2581e
Added Field and RawRecord to BadDataException.
JoshClose Oct 6, 2022
9dbd4de
Pass IWriterConfiguration into CsvWriter instead of CsvConfiguration.
JoshClose Oct 7, 2022
d5bd592
Removed all MethodImplOptions.AggressiveInlining from CsvParser.
JoshClose Oct 8, 2022
33382ec
Removed unneeded in params and ref struct from CsvParser.
JoshClose Oct 8, 2022
5eee5eb
Made ShouldUseConstructorParameters logic a little more clear.
JoshClose Oct 8, 2022
6de465b
Merge branch 'master' of github.com:sirideain/CsvHelper into sirideai…
JoshClose Oct 8, 2022
f302d59
Cleaned up writing methods.
JoshClose Oct 8, 2022
c103267
Merge branch 'sirideain-master'
JoshClose Oct 8, 2022
8e7eed3
Merge branch 'master' of github.com:vdailly/CsvHelper into vdailly-ma…
JoshClose Oct 9, 2022
51019f3
Added prefix inheritance option and made it false by default.
JoshClose Oct 9, 2022
d08dfed
Merge branch 'vdailly-master'
JoshClose Oct 9, 2022
3f5bfd9
Merge branch 'issue_1500_dynamic_mappings' of github.com:ruslanss/Csv…
JoshClose Oct 9, 2022
0e06ec1
Cleanup.
JoshClose Oct 9, 2022
2f4fc34
Merge branch 'ruslanss-issue_1500_dynamic_mappings'
JoshClose Oct 9, 2022
931f374
Merge branch 'patch-1' of github.com:RyanSinfield/CsvHelper into Ryan…
JoshClose Oct 9, 2022
7458d1e
Merge branch 'RyanSinfield-patch-1'
JoshClose Oct 9, 2022
49b7872
Merge branch 'add_member_name_in_conversion_exception' of github.com:…
JoshClose Oct 9, 2022
597cf77
Merge branch 'valeriob-add_member_name_in_conversion_exception'
JoshClose Oct 9, 2022
97598bb
Merge branch 'custom_uri_converter_test_fails' of github.com:StefanBe…
JoshClose Oct 9, 2022
499acd8
Fixed constructor mapping issue where parameter has a type converter …
JoshClose Oct 9, 2022
48a84c8
Merge branch 'StefanBertels-custom_uri_converter_test_fails'
JoshClose Oct 9, 2022
b6c0ac1
Merge branch 'MaxFieldSize' of github.com:laurensknoll/CsvHelper into…
JoshClose Oct 10, 2022
37e92e7
Merge branch 'laurensknoll-MaxFieldSize'
JoshClose Oct 10, 2022
736bcb9
Add constructorArgs params argument to TypeConverterAttribute
KonH Oct 10, 2022
283d68f
Merge branch 'master' of github.com:GrumpyBusted/CsvHelper into Grump…
JoshClose Oct 10, 2022
ace91bd
Merge branch 'GrumpyBusted-master'
JoshClose Oct 10, 2022
f43d2d1
Return CsvConfiguration from ApplyAttributes to allow chaining.
JoshClose Oct 10, 2022
852f039
Added generic overload for CsvConfiguration.ApplyAttributes.
JoshClose Oct 11, 2022
d714192
Merge branch 'feature/add_type_converter_constructor_args' of github.…
JoshClose Oct 11, 2022
d2f66a7
Added CLS compliant constructor. Added unit test.
JoshClose Oct 11, 2022
6ce93f4
Merge branch 'KonH-feature/add_type_converter_constructor_args'
JoshClose Oct 11, 2022
9a089f8
Merge branch 'feature-1198' of github.com:micheleissa/CsvHelper into …
JoshClose Oct 11, 2022
8311abf
Merge branch 'micheleissa-feature-1198'
JoshClose Oct 11, 2022
b76f3f7
Merge branch 'master' of github.com:marcrocny/CsvHelper into marcrocn…
JoshClose Oct 11, 2022
060b3be
Merge branch 'marcrocny-master'
JoshClose Oct 11, 2022
f103543
1.fix ReadHeader bug in CsvDataReader
Oct 24, 2022
dd59283
Add clickable NuGet badges to README
randyburden Oct 27, 2022
9e0c9b4
Add documentation for type converter options
lokeshkumarbalu Oct 30, 2022
04834b5
Updated change log and migration docs.
JoshClose Oct 30, 2022
73eb0d4
Merge branch 'master' of github.com:lokeshkumarbalu/csv-helper into l…
JoshClose Oct 30, 2022
251c720
Cleanup.
JoshClose Oct 30, 2022
af69137
Merge branch 'lokeshkumarbalu-master'
JoshClose Oct 30, 2022
2644a8e
Merge branch 'master' of github.com:randyburden/CsvHelper into randyb…
JoshClose Oct 30, 2022
701ede5
Merge branch 'randyburden-master'
JoshClose Oct 30, 2022
a204040
Update Migrations index.html
enkodellc Nov 2, 2022
91780cd
fix(CsvWriter): fix 'leaveOpen' parameter does not work
luber Nov 9, 2022
72db5e1
Added missing links for migration.
JoshClose Nov 10, 2022
b80837b
Add leaveOpen parameter to the CsvReader constructor IReaderConfigura…
crozone Nov 10, 2022
90dcb88
Escape the escape char when writing.
JoshClose Nov 10, 2022
7a7a83d
Merge pull request #2072 from luber/bugfix/#2066
JoshClose Nov 10, 2022
141ad25
Merge pull request #2075 from crozone/master
JoshClose Nov 10, 2022
d25c426
Merge pull request #2063 from enkodellc/patch-1
JoshClose Nov 10, 2022
a676f56
Fixed issue with TypeConverter being assigned to a member that has a …
JoshClose Nov 11, 2022
7634db3
Updated change log.
JoshClose Nov 11, 2022
6f2b343
Update CsvParser.cs
MarcelVersteeg Nov 16, 2022
9d0ed68
Update CsvReader.cs
MarcelVersteeg Nov 16, 2022
8d1ebbb
Update CsvWriter.cs
MarcelVersteeg Nov 16, 2022
372f0dc
Repairs "This Operation is only valid on generic types." error caused…
Nov 17, 2022
9848510
Merge branch 'MarcelVersteeg-documentation'
JoshClose Dec 14, 2022
b6b6b79
Add check for hasHeaderRecord in CsvWriter.WriteHeader(IEnumerable).
Rob-Hague Jan 15, 2023
e23787c
Ensure the ConvertToStringArgs are constructed with the correct gener…
Rob-Hague Feb 2, 2023
c118c58
Set default true for boolean-valued attributes
Rob-Hague Feb 24, 2023
bae9f34
Add additional constructor to EncodingAttribute taking int codepage
Rob-Hague Feb 25, 2023
f3c3179
Allow using static CultureInfo properties via CultureInfoAttribute by…
Rob-Hague Feb 25, 2023
e9d0923
Allow CultureInfoAttribute on classes
Rob-Hague Feb 25, 2023
b028207
HasHeaderRecord = False now loads Datatable
Apr 7, 2023
7b3ed4d
Changed .NET build versions to MS supported versions.
JoshClose Apr 25, 2023
0cd65ab
Deal with line break in quoted field during Read
Rob-Hague May 3, 2023
8f74d8d
Always update CsvReader.ColumnCount
Rob-Hague Jun 16, 2023
cd11ca4
Merge branch 'JoshClose:master' into bugfix-2081-generic-types-error
MiblaCz Jul 17, 2023
8c7f8a2
Strengthen test
Rob-Hague Jul 31, 2023
22a73c7
Rename columnCount member to prevColumnCount
Rob-Hague Jul 31, 2023
2785114
Fixed GetDelimiter not properly detecting the delimiter when there's …
Aug 2, 2023
b410409
Added test for the empty lines fix
Aug 11, 2023
9cbd2a9
Change order of checks in default ShouldQuote implementation
Sep 27, 2023
0bf0b45
Use indexer
Sep 27, 2023
31615d6
Use StartsWith & EndsWith instead
alitas Oct 5, 2023
5cde6f6
remove-invalid-loop
MarkEnverus Oct 27, 2023
cace861
Updated Using and Dispose documentation.
alok-urmaliya Nov 15, 2023
b287885
Use NET6_0_OR_GREATER to detect support for DateOnly and TimeOnly
AustinWise Jan 21, 2024
009b0f1
Merge pull request #2221 from AustinWise/austin/Net6IfDef
JoshClose Jan 22, 2024
feaf76d
Removing net462 and net47 in favor of using netstandard2.0.
JoshClose Jan 22, 2024
3f6b434
Added CI workflow.
JoshClose Jan 22, 2024
fdbcd33
Merge branch 'master' of github.com:JoshClose/CsvHelper
JoshClose Jan 22, 2024
45dfbba
Workflow.
JoshClose Jan 22, 2024
9e09860
Workflow.
JoshClose Jan 22, 2024
cc9e88f
Workflow.
JoshClose Jan 22, 2024
892bcf1
Workflow.
JoshClose Jan 22, 2024
7076885
Workflow.
JoshClose Jan 22, 2024
50b8cb5
Updated output assemblies and fixed preprocessor directives.
JoshClose Jan 23, 2024
02233b5
Updated license headers.
JoshClose Jan 23, 2024
6be308a
Removed all nullable code until it's turned on.
JoshClose Jan 23, 2024
9f04f9c
Workflow.
JoshClose Jan 23, 2024
95c6558
Docs build.
JoshClose Jan 23, 2024
5d1d0fa
Workflow.
JoshClose Jan 23, 2024
0dc1584
Workflow.
JoshClose Jan 23, 2024
94601ac
Workflow.
JoshClose Jan 23, 2024
a698ddc
Workflow.
JoshClose Jan 23, 2024
ad1236e
Workflow.
JoshClose Jan 23, 2024
029e3e3
Workflow.
JoshClose Jan 23, 2024
39c10d0
Workflow.
JoshClose Jan 23, 2024
9face76
Docks build.
JoshClose Jan 23, 2024
c206405
Merge pull request #2209 from alok-urmaliya/master
JoshClose Jan 24, 2024
2a9aea0
Removed unnecessary .NET 5 code.
JoshClose Jan 24, 2024
3924fa6
Docs build.
JoshClose Jan 24, 2024
52f2c9e
Merge pull request #2203 from MarkEnverus/hfix/issue-2202
JoshClose Jan 24, 2024
c3b50cd
Fixed doc errors. Docs build.
JoshClose Jan 24, 2024
4787314
Merge branch 'patch-1' of github.com:alitas/CsvHelper into alitas-pat…
JoshClose Jan 24, 2024
2aaad88
Cleanup.
JoshClose Jan 24, 2024
1af75c6
Merge branch 'alitas-patch-1'
JoshClose Jan 24, 2024
7bc20a6
Fixed issue with [^1] not available on all versions of .NET.
JoshClose Jan 24, 2024
8773742
Merge branch 'fix-autodetect-delimiter' of github.com:ManelBH/CsvHelp…
JoshClose Jan 24, 2024
1415c93
Merge branch 'ManelBH-fix-autodetect-delimiter'
JoshClose Jan 24, 2024
4814452
Merge branch 'columncount' of github.com:Rob-Hague/CsvHelper into Rob…
JoshClose Jan 24, 2024
356f84e
Merge branch 'Rob-Hague-columncount'
JoshClose Jan 24, 2024
1cdd821
Merge branch 'fix-empty-dataframe-when-loading-HasHeaderRecord-false'…
JoshClose Jan 24, 2024
efb7211
Cleanup.
JoshClose Jan 24, 2024
7eae7d2
Merge branch 'Soulrein-fix-empty-dataframe-when-loading-HasHeaderReco…
JoshClose Jan 24, 2024
4f4766f
Merge branch 'attributeqol' of github.com:Rob-Hague/CsvHelper into Ro…
JoshClose Jan 24, 2024
2970fb0
Merge branch 'master' of https://github.com/JoshClose/CsvHelper
Jan 25, 2024
8744765
Changed CultureInfoAttribute to use IClassMapper.
JoshClose Jan 25, 2024
764c090
Cleanup.
JoshClose Jan 25, 2024
4deab1a
Merge branch 'Rob-Hague-attributeqol'
JoshClose Jan 25, 2024
1632ecd
Merge branch 'master' of github.com:DKStudio/CsvHelper into DKStudio-…
JoshClose Jan 25, 2024
c4a49d4
Added Unit test.
JoshClose Jan 25, 2024
2b3ca3b
Merge branch 'DKStudio-master'
JoshClose Jan 25, 2024
de89c6b
Merge branch 'bugfix-2081-generic-types-error' of github.com:MiblaCz/…
JoshClose Jan 25, 2024
16bf2b0
Cleanup.
JoshClose Jan 25, 2024
644a570
Merge branch 'MiblaCz-bugfix-2081-generic-types-error'
JoshClose Jan 25, 2024
2758f5c
Merge branch 'fix-nongeneric-has-header' of github.com:Rob-Hague/CsvH…
JoshClose Jan 26, 2024
bf460ac
Cleanup.
JoshClose Jan 26, 2024
3f5054a
Merge branch 'Rob-Hague-fix-nongeneric-has-header'
JoshClose Jan 26, 2024
3aea6a0
Changed name of CsvConfiguration.FromType to FromAttributes.
JoshClose Jan 26, 2024
c9fdeb2
Merge branch 'converttostringtypearg' of github.com:Rob-Hague/CsvHelp…
JoshClose Jan 26, 2024
53a709b
Merge branch 'Rob-Hague-converttostringtypearg'
JoshClose Jan 26, 2024
0c59831
Fixed compatibility issues.
JoshClose Jan 26, 2024
b69baaf
Merge branch 'linebreakinquotes' of github.com:Rob-Hague/CsvHelper in…
JoshClose Jan 26, 2024
f9a43d9
Merge branch 'Rob-Hague-linebreakinquotes'
JoshClose Jan 26, 2024
a9d9f7b
Change log update. Docs build.
JoshClose Jan 26, 2024
29b0669
add generic TypeConverter
StefanBertels Feb 9, 2024
6b5955a
add helper function for TypeConverterGeneric
StefanBertels Feb 9, 2024
1d85f7f
add tests showing TypeConverterGeneric<T> is working when used withou…
StefanBertels Feb 9, 2024
99c591c
add tests showing issue #2153 (fails)
StefanBertels Feb 9, 2024
bc57b3f
solve #2153 by giving priority to custom TypeConverterFactory
StefanBertels Feb 9, 2024
f1e2bfc
exclude files automatically created by Jetbrains IDE (Rider)
StefanBertels Feb 9, 2024
0b2d22c
refactor (dummy) Type-TypeConverter to NotSupportedTypeConverter<Type>
StefanBertels Feb 9, 2024
ed08fb9
rename TypeConverterGeneric<T> to TypeConverter<T>
StefanBertels Feb 9, 2024
253c785
Cleanup.
JoshClose Feb 9, 2024
1b585eb
Merge branch 'StefanBertels-fix-2153-TypeConverterFactory'
JoshClose Feb 9, 2024
4e99e5b
Updated change log.
JoshClose Feb 9, 2024
4623ef4
add some (working) test for number reading (mixed culture format)
StefanBertels Feb 16, 2024
644f863
Added AWS FOSS sponsorship info.
JoshClose Feb 26, 2024
1bc5abc
Made AWS a link.
JoshClose Feb 26, 2024
1ce0c85
Updated documentation building instructions.
JoshClose Feb 26, 2024
b7a8235
Added AWS funding to docs.
JoshClose Feb 26, 2024
cfd40cd
Updated github git-version workflow.
JoshClose Feb 29, 2024
50f413d
Added InformationalVersion to build of NuGet package.
JoshClose Feb 29, 2024
5106090
Workflow fix.
JoshClose Feb 29, 2024
0f72966
Updated change log.
JoshClose Feb 29, 2024
5055256
Removed Microsoft.Bcl.AsyncInterfaces dependency.
JoshClose Feb 29, 2024
2efe3a4
Removed dependency on System.Linq.Async.
JoshClose Feb 29, 2024
8599e80
Updated change log.
JoshClose Feb 29, 2024
9a7f093
Fixed issue with `TypeConverter<T>` where `T` is `Nullable` did not w…
JoshClose Apr 3, 2024
f0af168
Updated change log.
JoshClose Apr 3, 2024
25626ce
Fixed typo in change log.
JoshClose Apr 3, 2024
f85b1a2
Updated docs for configuration attributes.
JoshClose Apr 16, 2024
d50510e
🔨 GuidConverter should be consistent
chrish619 Apr 17, 2024
73f2c52
Merge pull request #2246 from chrish619/master
JoshClose Apr 17, 2024
9da7834
Updated change log.
JoshClose Apr 17, 2024
183d47b
- caching of writer action for collections
snaumenko-st Apr 19, 2024
f6ba629
Added same performance optimizations to reader.
JoshClose Apr 25, 2024
4c5fe74
Merge branch 'snaumenko-st-writer-performance-1'
JoshClose Apr 25, 2024
d3852d3
Created a fast dynamic object to use when reading.
JoshClose Apr 25, 2024
249efdf
Change log update.
JoshClose Apr 25, 2024
83d3951
Implement the rest of the IDictionary<string, object> methods.
JoshClose Apr 26, 2024
78a0ac9
Fixed issue with FastDynamicObject.CopyTo.
JoshClose Apr 26, 2024
0b6fa0a
Updated change log.
JoshClose Apr 26, 2024
ce6c8e6
Fixed issue with writing where an IEnumerable was getting projected t…
JoshClose May 7, 2024
d2ccb61
Dispose of IEnumerator in CsvWriter.
JoshClose May 13, 2024
d0b6e3b
Added nullable.
JoshClose May 19, 2024
4d68c72
Updating Validate
jcaruso001 May 23, 2024
6c723a3
fix: error CS1061: 'ReadingContext' does not contain a definition for…
RobTranquillo Jun 4, 2024
fa60ff0
Changed package reference for Microsoft.Bcl.AsyncInterfaces to 8.0.0.
JoshClose Jun 17, 2024
004c285
Change log updated.
JoshClose Jun 17, 2024
7dbb3fe
Added more nullability.
JoshClose Jun 19, 2024
f9e5fa4
Added nullable to FastDynamicObject.
JoshClose Jun 21, 2024
dc3f8af
Updated donations/sponsors on website.
JoshClose Jul 3, 2024
c2ed3dd
Updated readme.
JoshClose Jul 3, 2024
7c067f1
Updated readme.
JoshClose Jul 3, 2024
852bd46
Updated readme.
JoshClose Jul 3, 2024
1b521a6
Fixed typo in type-conversion example
alexanderluettig Jul 31, 2024
435ff7c
Add benchmarking project and remove allocations
Aug 20, 2024
f6683d0
Fix UseDefaultOnConversionFailure behavior for nullable types when de…
twinee Jul 23, 2024
db2fce5
fix: dispose enumerator in CsvWriter.WriteRecordsAsync
vchirikov Nov 2, 2024
302d297
Update docs/getting-started/index.html to fix a typo
marijnz0r Nov 7, 2024
d19f38e
DisposeAsync async enumerators in CsvWriter
CaringDev Jun 11, 2024
1d0227c
Remove extra slashes
Keboo Dec 21, 2024
e065930
Remove accidental paste
Keboo Dec 21, 2024
f215ed8
Use a CacheKey struct for the ObjectCreator cache
scottfavre Jan 22, 2025
d194397
small perf improvements for CacheKey:
scottfavre Feb 17, 2025
dd15dbe
Use IsDefined to check the presence of attributes
jnyrup May 25, 2025
9178c66
Xml comments and ncrunch setting.
JoshClose May 30, 2025
12c8630
Merge branch 'IsDefined' of github.com:jnyrup/CsvHelper into jnyrup-I…
JoshClose May 30, 2025
0112ccf
Merge branch 'jnyrup-IsDefined'
JoshClose May 30, 2025
9ca22a6
Removed out of support frameworks.
JoshClose May 30, 2025
5d36c11
Updated change log.
JoshClose May 30, 2025
847ec30
Merge branch 'scottfavre/thread-safe-object-resolver' of github.com:s…
JoshClose May 31, 2025
f54ec00
Cleanup.
JoshClose Jun 1, 2025
08060f6
Merge branch 'scottfavre-scottfavre/thread-safe-object-resolver'
JoshClose Jun 1, 2025
6db13be
Merge branch 'patch-1' of github.com:Keboo/CsvHelper into Keboo-patch-1
JoshClose Jun 1, 2025
06736aa
Merge branch 'Keboo-patch-1'
JoshClose Jun 1, 2025
031ade8
Docs build.
JoshClose Jun 1, 2025
2c5ba53
Merge pull request #2299 from marijnz0r/patch-1
JoshClose Jun 1, 2025
e759294
Docs changes and build.
JoshClose Jun 1, 2025
2a7076c
Merge branch 'fix-csvwriter' of github.com:vchirikov/CsvHelper into v…
JoshClose Jun 1, 2025
2757754
Merge branch 'vchirikov-fix-csvwriter'
JoshClose Jun 1, 2025
f3817a9
Merge branch 'master' of github.com:karpinsn/CsvHelper into karpinsn-…
JoshClose Jun 1, 2025
b695103
Cleanup.
JoshClose Jun 1, 2025
e8e9e15
Merge branch 'karpinsn-master'
JoshClose Jun 1, 2025
944093d
Merge pull request #2276 from alexanderluettig/patch-1
JoshClose Jun 1, 2025
34edcc6
Docs typo fix and build.
JoshClose Jun 1, 2025
2c95a02
Merge branch 'patch-1' of github.com:twinee/CsvHelper into twinee-pat…
JoshClose Jun 1, 2025
4bb46f4
Merge branch 'twinee-patch-1'
JoshClose Jun 1, 2025
deb5ccf
Merge pull request #2261 from RobTranquillo/patch-1
JoshClose Jun 1, 2025
5745ceb
Merge pull request #2258 from jcaruso001/master
JoshClose Jun 1, 2025
aa8adec
Docs typo fix and build.
JoshClose Jun 1, 2025
511c158
Merge branch 'just-another-working-test' of github.com:StefanBertels/…
JoshClose Jun 1, 2025
bf15714
Merge branch 'StefanBertels-just-another-working-test'
JoshClose Jun 1, 2025
5dad8b8
Updated docs change log and build.
JoshClose Jun 1, 2025
2be6b6e
Merge branch 'patch-1' of github.com:CaringDev/CsvHelper into CaringD…
JoshClose Jun 2, 2025
8d2986d
Merge branch 'CaringDev-patch-1'
JoshClose Jun 2, 2025
707a9b3
simplify async enumerator disposal
CaringDev Jun 2, 2025
33970e5
Merge pull request #2344 from CaringDev/async
JoshClose Jun 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
115 changes: 115 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,118 @@ indent_style = tab
end_of_line = crlf
trim_trailing_whitespace = true
insert_final_newline = true
csharp_indent_labels = one_less_than_current
csharp_space_around_binary_operators = before_and_after
csharp_using_directive_placement = outside_namespace:silent
csharp_prefer_simple_using_statement = true:suggestion
csharp_prefer_braces = true:silent
csharp_style_namespace_declarations = file_scoped:warning
csharp_style_expression_bodied_methods = false:silent
csharp_style_expression_bodied_constructors = false:silent
csharp_style_expression_bodied_operators = false:silent
csharp_style_expression_bodied_properties = true:silent
csharp_style_expression_bodied_indexers = true:silent
csharp_style_expression_bodied_accessors = true:silent
csharp_style_expression_bodied_lambdas = true:silent
csharp_style_expression_bodied_local_functions = false:silent
csharp_style_throw_expression = true:suggestion
csharp_style_prefer_null_check_over_type_check = true:suggestion
csharp_prefer_simple_default_expression = true:suggestion
csharp_style_prefer_local_over_anonymous_function = true:suggestion
csharp_style_prefer_index_operator = true:suggestion
csharp_style_prefer_range_operator = true:suggestion
csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
csharp_style_prefer_tuple_swap = true:suggestion
csharp_style_inlined_variable_declaration = true:suggestion
csharp_style_deconstructed_variable_declaration = true:suggestion
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
csharp_style_var_for_built_in_types = true:silent
csharp_style_var_when_type_is_apparent = true:silent
csharp_style_var_elsewhere = true:silent
csharp_style_prefer_method_group_conversion = true:silent
csharp_style_prefer_top_level_statements = true:silent
csharp_style_prefer_utf8_string_literals = true:suggestion
csharp_prefer_static_local_function = true:suggestion
csharp_style_allow_embedded_statements_on_same_line_experimental = true:suggestion
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true:silent
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true:suggestion
csharp_style_prefer_primary_constructors = true:suggestion

[*.yml]
indent_style = space
indent_size = 2

[*.{cs,vb}]
dotnet_style_operator_placement_when_wrapping = beginning_of_line
tab_width = 4
indent_size = 4
end_of_line = crlf
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
dotnet_style_prefer_auto_properties = true:silent
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
dotnet_style_prefer_conditional_expression_over_return = true:silent
dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_prefer_inferred_tuple_names = true:suggestion
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_compound_assignment = true:suggestion
dotnet_style_prefer_simplified_interpolation = true:suggestion
dotnet_style_namespace_match_folder = true:suggestion
dotnet_style_readonly_field = true:suggestion
[*.{cs,vb}]
#### Naming styles ####

# Naming rules

dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i

dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case

dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case

# Symbol specifications

dotnet_naming_symbols.interface.applicable_kinds = interface
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.interface.required_modifiers =

dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.types.required_modifiers =

dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.non_field_members.required_modifiers =

# Naming styles

dotnet_naming_style.begins_with_i.required_prefix = I
dotnet_naming_style.begins_with_i.required_suffix =
dotnet_naming_style.begins_with_i.word_separator =
dotnet_naming_style.begins_with_i.capitalization = pascal_case

dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case

dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_style_predefined_type_for_locals_parameters_members = true:silent
dotnet_style_predefined_type_for_member_access = true:silent
dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
dotnet_style_allow_multiple_blank_lines_experimental = true:suggestion
dotnet_style_allow_statement_immediately_after_block_experimental = true:suggestion
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: [JoshClose]
open_collective: [csvhelper]
6 changes: 1 addition & 5 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ assignees: ''
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
Provide a small working example that shows the issue.

**Expected behavior**
A clear and concise description of what you expected to happen.
Expand Down
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
blank_issues_enabled: false
contact_links:
- name: Questions
url: https://stackoverflow.com/questions/tagged/csvhelper
about: All questions should be directed to StackOverflow.
Please only submit a question if no one has been able to answer your question on StackOverflow.
I have very limited time to work on this project, and would prefer to use that time for bugs and features.
Thanks.
- name: Unanswered Questions
url: https://github.com/JoshClose/CsvHelper/discussions?discussions_q=category%3AQ%26A
about: If StackOverflow has failed you, you can ask a question on the disucssions board.
Please add a link to your StackOverflow question so we can answer it in both places.
14 changes: 0 additions & 14 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI
on: [push, pull_request]
jobs:
ci:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
- name: Display .NET Version
run: dotnet --version
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --configuration Release --no-restore --no-build
33 changes: 33 additions & 0 deletions .github/workflows/git-version.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Check Git Version
on:
workflow_dispatch:
jobs:
git-version:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check Git Semantic Version
id: gitversion
uses: PaulHatch/semantic-version@v5.3.0
with:
tag_prefix: ""
- name: Output Version Info
run: |
echo "major: ${{ steps.gitversion.outputs.major }}"
echo "minor: ${{ steps.gitversion.outputs.minor }}"
echo "patch: ${{ steps.gitversion.outputs.patch }}"
echo "increment: ${{ steps.gitversion.outputs.increment }}"
echo "version_type: ${{ steps.gitversion.outputs.version_type }}"
echo "version: ${{ steps.gitversion.outputs.version }}"
echo "version_tag: ${{ steps.gitversion.outputs.version_tag }}"
echo "changed: ${{ steps.gitversion.outputs.changed }}"
echo "is_tagged: ${{ steps.gitversion.outputs.is_tagged }}"
echo "authors: ${{ steps.gitversion.outputs.authors }}"
echo "current_commit: ${{ steps.gitversion.outputs.current_commit }}"
echo "previous_commit: ${{ steps.gitversion.outputs.previous_commit }}"
echo "previous_version: ${{ steps.gitversion.outputs.previous_version }}"
echo "debug_output: ${{ steps.gitversion.outputs.debug_output }}"

33 changes: 33 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish NuGet Package
on:
workflow_dispatch:
jobs:
publish:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Git Semantic Version
id: gitversion
uses: PaulHatch/semantic-version@v5.3.0 # https://github.com/marketplace/actions/git-semantic-version
with:
tag_prefix: ""
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
- name: Display .NET Version
run: dotnet --version
- name: Create NuGet Package
run: >
dotnet pack src/CsvHelper
--configuration Release
-o output
-p:AssemblyVersion=${{ steps.gitversion.outputs.major }}.0.0.0
-p:FileVersion=${{ steps.gitversion.outputs.version }}.${{ github.run_number }}
-p:InformationalVersion=${{ steps.gitversion.outputs.version }}
-p:PackageVersion=${{ steps.gitversion.outputs.version }}
- name: Display Output
run: dir output
- name: Publish NuGet Package
run: dotnet nuget push output/CsvHelper.${{ steps.gitversion.outputs.version }}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
.vs/
bin/
obj/
_NCrunch_*/
*NCrunch*/
artifacts/
.tmp/
cache/
.idea/

*.user
*.psess
*.log
1 change: 0 additions & 1 deletion .nuke

This file was deleted.

62 changes: 49 additions & 13 deletions CsvHelper.sln
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29411.108
# Visual Studio Version 17
VisualStudioVersion = 17.8.34330.188
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6445B2A3-9E05-4ABF-AE2E-C875773B277A}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.gitignore = .gitignore
build-docs.cmd = build-docs.cmd
CsvHelper.sln.licenseheader = CsvHelper.sln.licenseheader
.github\FUNDING.yml = .github\FUNDING.yml
GitVersion.yml = GitVersion.yml
README.markdown = README.markdown
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CsvHelper", "src\CsvHelper\CsvHelper.csproj", "{ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CsvHelper.Tests", "tests\CsvHelper.Tests\CsvHelper.Tests.csproj", "{6859ECD8-81AE-4E74-A926-5726AAD7EE81}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "_build", "build\_build.csproj", "{B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CsvHelper.Website", "src\CsvHelper.Website\CsvHelper.Website.csproj", "{3E59CA52-D248-4CBB-BB06-270FA942C4B8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CsvHelper.Benchmarks", "performance\CsvHelper.Benchmarks\CsvHelper.Benchmarks.csproj", "{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -70,16 +76,46 @@ Global
{6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Release|x64.Build.0 = Release|Any CPU
{6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Release|x86.ActiveCfg = Release|Any CPU
{6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Release|x86.Build.0 = Release|Any CPU
{B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Debug|ARM.ActiveCfg = Debug|Any CPU
{B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Debug|x64.ActiveCfg = Debug|Any CPU
{B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Debug|x86.ActiveCfg = Debug|Any CPU
{B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Release|ARM.ActiveCfg = Release|Any CPU
{B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Release|x64.ActiveCfg = Release|Any CPU
{B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Release|x86.ActiveCfg = Release|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|ARM.ActiveCfg = Debug|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|ARM.Build.0 = Debug|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|x64.ActiveCfg = Debug|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|x64.Build.0 = Debug|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|x86.ActiveCfg = Debug|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|x86.Build.0 = Debug|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|Any CPU.Build.0 = Release|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|ARM.ActiveCfg = Release|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|ARM.Build.0 = Release|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|x64.ActiveCfg = Release|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|x64.Build.0 = Release|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|x86.ActiveCfg = Release|Any CPU
{3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|x86.Build.0 = Release|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Debug|ARM.ActiveCfg = Debug|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Debug|ARM.Build.0 = Debug|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Debug|x64.ActiveCfg = Debug|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Debug|x64.Build.0 = Debug|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Debug|x86.ActiveCfg = Debug|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Debug|x86.Build.0 = Debug|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Release|Any CPU.Build.0 = Release|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Release|ARM.ActiveCfg = Release|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Release|ARM.Build.0 = Release|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Release|x64.ActiveCfg = Release|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Release|x64.Build.0 = Release|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Release|x86.ActiveCfg = Release|Any CPU
{4DAB88D4-56B0-C42A-25BB-3E5BBCBB5F1B}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
32 changes: 32 additions & 0 deletions CsvHelper.sln.licenseheader
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
extensions: designer.cs generated.cs
extensions: .cs .cpp .h
// Copyright 2009-2024 Josh Close
// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
// https://github.com/JoshClose/CsvHelper
extensions: .aspx .ascx
<%--
Copyright 2009-2024 Josh Close
This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
https://github.com/JoshClose/CsvHelper
--%>
extensions: .vb
' Copyright 2009-2024 Josh Close
' This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
' See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
' https://github.com/JoshClose/CsvHelper
extensions: .xml .config .xsd
<!--
Copyright 2009-2024 Josh Close
This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
https://github.com/JoshClose/CsvHelper
-->
extenions: .tt
<#
// Copyright 2009-2024 Josh Close
// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
// https://github.com/JoshClose/CsvHelper
#>
4 changes: 3 additions & 1 deletion CsvHelper.v3.ncrunchsolution
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<SolutionConfiguration>
<Settings>
<AllowParallelTestExecution>False</AllowParallelTestExecution>
<AllowParallelTestExecution>True</AllowParallelTestExecution>
<InstrumentationMode>Optimised</InstrumentationMode>
<RdiConfigured>True</RdiConfigured>
<SolutionConfigured>True</SolutionConfigured>
</Settings>
</SolutionConfiguration>
Loading