Skip to content

3.1.2

Choose a tag to compare

@MarcosMeli MarcosMeli released this 02 Aug 22:49
· 571 commits to master since this release

Hi everyone again !!

The FileHelpers has reached a big Milestone today we are releasing the 3.1 version! Now with full support for .NET 4.0, 4.5 and Mono and with a ton of news and enhancements. After some time off for different reasons we are now trying to update the library in a more regular fashion. We redesigned the HomeSite with a Material Design Template from GeeksLabs

Main changes

  • NEW: Full .NET 2.0, 4.0 & 4.5 support.
  • NEW: Added support for MONO !!
  • NEW: FileHelpers.Analyzer is a Roslyn Analyzer with best practices and quicks fixes
  • NEW: A ton of new examples, autogenerated from FileHelpers.Examples project
  • NEW: Partial support to use Autoproperties
  • NEW: Async Methods returns IDisposable to allow using() statements that autoclose files on ends or exception.
  • NEW: Events for the Async engines.
  • NEW: The events args now have TotalBytes and CurrentBytes to allow you show progress while reading or writing.
  • NEW: FieldIndexers you can now get the values in the AsyncEngine like in the DataReader of ADO.NET =) You can access them via index or fieldName (at the moment case sensitive). This also completes the RunTime records support
  • NEW: BigFileSorter: if you need to sort big files, you can use this feature that implements External Sorting
  • NEW: SmartFormatDetector: A class designed to discover the format of delimited and flat files based on sample files. It is integrated with the wizzard
  • NEW: FieldOrder: a new attribute to override the default order of fields.
  • NEW: Better Delimited validations to make sure that the file contains the right number of fields
  • NEW: [FieldValueDiscarted]: a new attribute to allow the value of a particular field to be read but not stored in the record class (this was a very requested feature)
  • NEW: [FieldNotEmpty]: Indicates whether the target field needs to be populated with a non-empty value.
  • MOD: The error messages have been made more meaningful. In all exceptions you get: FieldName, ColumnNumber, LineNumber etc.
  • DOCS: rewritten thanks to the work of Ken Foskey and Matthias Cavigelli

Breaking Changes

  • Removed support for .NET Compact Framework
  • [FieldIgnored] => [FieldHidden]
  • IComparableRecord => IComparable

Minor Changes

  • Better caching of internal classes
  • The core code of the library was refactored to make easier to extend it.
  • Better performance.
  • ADD: UpdateLinks properties, allow to specify how the library must handle Workbook links (thanks to Stefan Schälle)
  • FIX: A little problem with the quoted fields in the wizard
  • More documentation has been added to the Library source code. It is now even easier to get involved in development!