Skip to content

Version 3.0.0

Compare
Choose a tag to compare
@SolalPirelli SolalPirelli released this 28 Jul 18:25
· 38 commits to master since this release

General

  • Vastly improved serialization and deserialization performance
  • Improved error handling when parsing attributes
  • ThriftCommunication can now be used with custom protocols and transports; the ThriftSharp.Models, ThriftSharp.Protocols and ThriftSharp.Transport namespaces are now public.
  • Minor bugfixes and improvements

Breaking changes

  • Support for Windows Phone Silverlight was dropped
  • Thrift lists are now represented by IList<T> rather than ICollection<T>
  • IThriftValueConverter is now IThriftValueConverter<TFrom, TTo>, and ThriftValueConverter<TFrom, TTo> was removed
  • Thrift{Field, Method, Throws, Parameter}Attribute now have a Converter optional parameter, and ThriftConverterAttribute was removed
  • ThriftFieldAttribute now has a DefaultValue optional parameter, and ThriftDefaultValueAttribute was removed
  • IsOneWay is now an optional parameter on ThriftMethodAttribute rather than on its constructor
  • The built-in date converters now return UTC dates rather than local ones

Internals

  • C# 6 is now used internally
  • Benchmarks are now done with BenchmarkDotNet
  • Unit tests use xUnit.net rather than MSTest
  • 100% code coverage in unit tests