Click or drag to resize

Version 3.0.0

Release date: September 03, 2012

Changes
  • Introduced new fluent API.
  • General: Added experimental support for running under the Mono runtime (tested with Mono 2.10.x).
  • General: Upgraded Common.Logging to version 2, which adds support for recent releases of NLog, log4net etc.
  • General: SphinxConnector.NET can now be run in medium-trust environments (needs SocketPermission granted manually).
  • General: Fixed a bug when converting a .NET DateTime object to a Sphinx timestamp during daylight saving time.
  • SphinxQL: When logging the command text of a parameterized SphinxQLCommand, the values of each parameter are now logged after the command e.g. Executing command: INSERT INTO `foo` (id, title, content) VALUES (@p0, @p1, @p2) with @p0 = 1, @p1 = 'Title', @p2 = 'Content'
  • SphinxQL: To allow the use of user variables (e.g. in a SET statement), SphinxConnector.NET will not throw an exception any more if a parameter is not defined (because it could be a user variable).
  • SphinxQL: The SphinxQLParameter class now accepts IEnumerables that contain numeric values as a valid value for a parameter. The values from the enumerables will be treated as values for a multi-value attribute, i.e. they will be written to the statement as (x, y, z).
  • SphinxQL: The GetDecimal, GetDouble and GetValue methods of SphinxQLDataReader were missing an overload that takes a column name as parameter.
  • SphinxQL: Several small optimizations when executing SphinxQL statements.
  • SphinxQL: Calling the GetMvaValues method of the SphinxQLDataReader class when no values were present caused a FormatException to be thrown.
  • Native API: Added property for Sphinx version 2.0.5 to helper class SphinxVersion.
  • Native API: Removed method overloads by introducing optional parameters.
Breaking Changes
  • The root namespace is now called 'SphinxConnector'.
  • The native API has been moved to its own namespace.
  • The License Property of the SphinxClient class has been removed. A new class SphinxConnectorLicensing with a SetLicense method has been added as a replacement.
  • Types that are used in more than one kind of API have been moved to the namespace named ‘Common’.
  • Removed all methods and properties that were marked a obsolete in 2.x.
  • Support for Sphinx versions < 2.0.1 has been dropped.