Changelog
v3.0.0-beta10
Prerelease
Released April 21, 2017. Previous release: v3.0.0-beta1.
API
The API of v3.0.0-beta10 could not be built: v3.0.0-beta10 targets none of net10.0, netstandard2.1, netstandard2.0, net47.
Commits
- f68d48db Fixed project version number.
- 7ee6b4d8 Updated nuget push script.
- 2963e6c8 Only supporting netstandard1.3 now. Updated to VS2017.
- ec32a436 Changed default delmiter to current cultures list separator.
- c8c7e049 Removed un-used code.
- 339996aa Added tests for TypeConverterOptionsFactory using different cultures.
- 1864343a Cleanup.
- 71abe8a0 Allow partially trusted callers for scenarios such as using this assembly within SQL CLR.
- 448cb71d Added CLSCompliant( true ) attribute to assembly.
- 17a0dd7c Fixed issue with type converter options set in factory not working with auto mapping or explicit map.
- 4e8beca8 Allow mapping to fields. By default, only properties will work when auto mapping. You can change a config value to choose properties, fields, or both.
- 7ff98447 Allow resuming reading of more data is written to the steram.
- 78b193ca Added ability for ConstructUsing to use initializers.
- e4c76386 Made ConstructUsing work with Reference maps.
- 941fac99 Changed DateTime and DateTimeOffset converters to not work whent the string is spaces to match what all the other converters do. The .NET Framework DateTime and DateTimeOffset converters will convert a string of all spaces into MinValue, so we are diverging from that a little.
- abe1a6fe Cleaned up warnings. Bumped version.
- 179c1a85 When comments are on and a field is being written that is the first field in the record and the first char is a comment char, quote the field because it's not a comment.
- 5e96918b Moved detection of column count changes into the reader. The parser shouldn't care and should just return whatever data it finds.
- 307a440a Cleanup.
- b6be3950 Added interfaces for configuration so you can tell what options are availabe in your current context.
- 0e21c881 Removed header matching manipulation configuration IsHeaderCaseSensitive, IgnoreHeaderWhiteSpace, and TrimHeaders and added a config for PrepareHeaderForMatch that is a function. Both the header field name and the property name are ran through this method before matching against eachother.
- 57a8af01 Fixed but where ignoring header whitespace wouldn't work if a named property had the same whitespace in it.
- db3547bc Exposed the underlying TextReader as a property.
- cca123a2 Throw exception with useful message when a type is created without a public parameterless constructor. Specifically mappings in this case.
- 69c0df10 Added ability to map the same property more than once.
- ca1ebec6 Changed reading exception callback to send a CsvHelperException.
- 18ac5f16 Added unit test for empty TextReader.
- 14a60c93 Ability to read more than 1 header row. This helps with having several CSV files in one file.
- 640fe242 Added ability to specify values that resolve to null when reading.
- ba3bd1c0 Changed config setting name from IgnorePrivateAccessor to IncludePrivateProperties to be more clear on intention.
- 7a006772 Added ability to write fields not mapped to a property.
- 6c6e41e5 Update comments for constant property map.
- 86380991 Added ability to specify a constant value for a mapped property. When reading, the same value gets set for every record for the property. When writing, the same value gets written for every record for the property.
- fd2b8034 Forgot this file in the last commit.
- 8904f512 Created a separate writing action for ExpandoObject due to an issue in ExpandoClass where it thinks two aren't equal when they have the same property keys.
- e885ef69 Fixed issue with dynamic expression getting stuck in an infinite loop.
- c5e7ba10 Changed enumerable converters to use header value if one is set. Updated exceptions to throw a more specific exception than CsvHelperException.
- d7ad9e72 Fixes issue #575 where setting a Configuration.ShouldSkipRecord method always overrides the Configuration.SkipEmptyRecords setting.
- c6f74719 Version bump.
- c08d5aa2 Fixed issue with CsvClassMapCollection[type] choosing the wrong type when multiple types on the inheritance tree are mapped.
- 892ea4b1 Ability to write comments. Changed WriteRecord to not call NextRecord. This allows the possibility to write fields or records after a record has been written. This also matches the reader no calling read on GetRecord.
- 823bd802 Speed up mappings that use ConvertUsing by caching the named indexes.
- 25f8dbde Cleaned up build compatibility.
- 7223ece9 Add Gitter badge
- d082cc9e Speed improvement for CsvSerializer.
- b1c871c5 Added properties to CsvHelperException and removed the string data.
- 5f5b69ad Added leaveOpen flag to constructors to not dispose of underlying TextReader and TextWriter.
- a75ead6c Made TypeConverterOptionsFactory an instance inside CsvConfiguration instead of static.
- 3a8fa4f9 Parser speed improvements.
- 139efdb4 Updated version.
- d17cbd25 Removed CanConvertTo and CanConvertFrom from the type converters because there is no need for them.
- 5ec6d965 Added dictionary type converters.
- f9b49173 Removed debug type from build.
- aae105a0 Updated pushed to require it be done via the command line.
- efbec2ea Updated version to 3.0.0-beta3
- cacf28e3 Ability to map child properties so multiple maps aren't needed.
- 9007ffff Ability to write IDynamicMetaObjectProvider objects. DynamicObject and ExpandoObject are the 2 most common.
- 202cdffe Fixed all warnings.
- a2a8798d Throw an exception if the return type from a ConvertUsing expression isn't assignable to the property type.