File Release Notes and Changelog

Release Name: Npgsql2.0.10

Release Notes


    Npgsql 2.0.10
    Important Notice:
        Possible breaking change: This release adds support for NpgsqlParameter.NpgsqlValue. This means that Npgsql specific types will be returned by this property. NpgsqlParameter.Value will return *only* CLR types. So, if you are expecting to work with Npgsql specific types, please use NpgsqlParameter.NpgsqlValue property. Sorry for this problem. This change will help Npgsql to conform better with ADO.NET DataSet and other helper classes.
        This version fixes a multithread problem where even using a different connection for each thread it was possible to corrupt data received by Npgsql. This bug was introduced in 2.0.9 and it is now fixed. If you are getting "The backend sent an unrecognized response" exceptions, there is a high probability that this bug is causing it. Please, upgrade.
    Fixed bugs:
        [#1010796] Notification thread not released after copy from stdin.
        Fixed problems when updating data with DataTable. See
        [#1010804] Endless loop in BitString? 
        Fix multi-level join generated sql
        [#1010829] Fix support for CommandBehavior.SequentialAccess with multiple columns.
        [#1010825] support derive parameters for parameterless functions
        support null items in arrays
        NpgsqlSchema.ssdl: provide default value during model generation
        [#1010776] for a prepared command, ExecuteNonQuery() does not return.
        [#1010787] Inserting an array does not work in a prepared statement.
        [#1010798] Cast-Exception with NpgsqlTimeStamp to System.DateTime.
    New Features:
        Added VS2010 project file
        Support for Time types and DateTimeOffset types in Entity Framework
        Josh Cooley ported a lot of Mono tests so we may expect to have more conformance versions of Npgsql on next releases.
        This version adds NpgsqlParameter.NpgsqlValue property. Now, developers who want to work with Npgsql specific types can use this property. See Important Notice about possible breaking change this might cause.

Change Log

2010-08-01 17:47  fxjr

	  Added release notes for 2.0.10 release.

2010-08-01 17:41  jbcooley

	* src/policy.2.0.Npgsql.config: target policy file for redirect to

2010-08-01 17:41  jbcooley

	* src/Npgsql2010.csproj: Added NET40 define so the .NET 4.0 code
	  gets compiled in.

2010-08-01 17:24  fxjr

	* src/Npgsql/AssemblyInfo.cs:
	  Updated AssemblyInfo generated info for

2010-07-18 20:51  fxjr

	* src/NpgsqlTypes/NpgsqlTypesHelper.cs:
	  Added UInt16 type mapping.

2010-07-10 00:42  fxjr

	* src/Npgsql/NpgsqlParameter.cs:
	  Fixed more bugs about ResetDbType() and null values. Now, Npgsql
	  is a little bit more conformant to sqlclient.

2010-07-10 00:17  fxjr

	* src/Npgsql/NpgsqlParameter.cs:
	  Fixed bug where Npgsql was returning DBNull for a fresh
	  NpgsqlParameter. According to tests based on sqlclient, Npgsql
	  should return null.

2010-07-10 00:01  jbcooley

	* testsuite/noninteractive/NUnit20/NpgsqlParameterTests.cs: Fix an
	  additional broken tests

2010-07-09 23:52  jbcooley

	* testsuite/noninteractive/NUnit20/NpgsqlParameterTests.cs: Fix
	  some of the broken tests

2010-07-09 23:47  jbcooley

	* testsuite/noninteractive/NUnit20/NpgsqlParameterTests.cs: Ported
	  more tests.  Test validation still needs to be done.

2010-07-09 23:13  jbcooley

	* testsuite/noninteractive/NUnit20/: NpgsqlParameterTests.cs,
	  NpgsqlTests2008.csproj, NpgsqlTests2010.csproj: Update and
	  include tests for NpgsqlValue in NpgsqlParameter

2010-07-09 22:46  jbcooley

	* src/NpgsqlTypes/NpgsqlTypesHelper.cs: Fix build for .NET 2.0

2010-07-09 22:34  fxjr

	* src/: Npgsql/NpgsqlParameter.cs,
	  [#1010798] Cast-Exception with NpgsqlTimeStamp to
	  System.DateTime. Fixed.  Also fixed another problem where Npgsql
	  was mapping DbType.DateTime to NpgsqlDbType.TimestampTZ.

2010-06-24 22:38  jbcooley

	* src/: Npgsql/NpgsqlCommand.cs, Npgsql/NpgsqlDataReader.cs,
	  NpgsqlTypes/NpgsqlTypesHelper.cs: Support for Time types and
	  DateTimeOffset types in Entity Framework

2010-06-24 22:27  jbcooley

	* src/Npgsql/NpgsqlDataAdapter.cs: changes to be compatible with
	  various versions of mono's implementation of DbDataAdapter.

2010-06-24 02:00  fxjr

	* src/NpgsqlTypes/ArrayHandling.cs,
	  [#1010787] Inserting an array does not work in a prepared
	  statement. Fixed. Changed delegator definition responsible to
	  handle conversion from CLR type to server to take a
	  ForExtendedQuery parameter so the function can handle correctly
	  when to return a plain query representation or when return a
	  representation used for extended query. Until now, the types were
	  simple and representation was the same. This changes with array
	  handling where the representation is different for each case.
	  Added testcase too. More testcases needed.

2010-06-16 22:50  jbcooley

	* src/Npgsql/NpgsqlCommand.cs: Cleanup extra lines and newline

2010-06-13 17:09  fxjr

	* src/Npgsql/NpgsqlCommand.cs:

	  [#1010776] for a prepared command, ExecuteNonQuery() does not
	  return. Npgsql wasn't handling correctly errors while in extended
	  query processing. Now it returned correctly and throws

2010-05-31 23:02  jbcooley

	* src/Npgsql/NpgsqlCommand.cs: cleaned up UpdatedRowSource code and
	  added value validation rather than type validation.

2010-05-31 22:59  jbcooley

	* src/Npgsql/NpgsqlSchema.ssdl: provide default value during model

2010-05-31 21:30  jbcooley

	* src/NpgsqlTypes/ArrayHandling.cs: support null items in arrays

2010-05-31 21:27  jbcooley

	* src/Npgsql/NpgsqlCommandBuilder.cs,
	  testsuite/noninteractive/NUnit20/CommandTests.cs: bug #1010825 -
	  support derive parameters for parameterless functions

2010-05-31 18:27  jbcooley

	* testsuite/noninteractive/NUnit20/DataAdapterTests.cs: bug
	  #1010768 - test for Mono regression

2010-05-31 18:00  jbcooley

	* src/Npgsql/NpgsqlRow.cs,
	  testsuite/noninteractive/NUnit20/DataReaderTests.cs: bug #1010829
	  - Fix support for CommandBehavior.SequentialAccess with multiple

2010-05-30 11:28  jbcooley

	* src/Npgsql/SqlGenerators/: SqlBaseGenerator.cs,
	  VisitedExpression.cs: Fix multi-level join generated sql

2010-05-29 12:36  jbcooley

	* testsuite/noninteractive/NUnit20/NpgsqlParameterTests.cs: Mono
	  unit tests for SqlClient partially ported to Npgsql.

2010-05-23 15:13  fxjr

	* src/Npgsql/PGUtil.cs:
	  Reverted back previous optimization with Int32 and Int16
	  readbuffers. They were having concurrency problems. Thanks
	  Matthew Gabeler-Lee for heads up and testing.

2010-05-14 11:18  fxjr

	* testsuite/noninteractive/NUnit20/CommandTests.cs:
	  Added missing tests for bug 1010788 and array handling of
	  doubles. Prepared statements with array of doubles still hang.
	  Needs fixing.

2010-05-10 22:42  fxjr

	* src/NpgsqlTypes/DateDatatypes.cs:
	  Changed line endings to Windows Format.

2010-05-09 20:53  fxjr

	* src/NpgsqlTypes/BitString.cs:
	  [#1010804] Endless loop in BitString? Thanks Gildas for testing
	  and fix.

2010-05-02 23:38  jbcooley

	* src/Npgsql/NpgsqlCommandBuilder.cs: Support full Npgsql parameter
	  types when building parameters (this specifically fixed arrays).
	  help msg 1006026.

2010-05-02 12:31  fxjr

	* src/Npgsql/NpgsqlCopyIn.cs:
	  [#1010796] Notification thread not released after copy from
	  stdin. Thanks Stelian Dumitrascu (stelian @nospam@ for patch and Gildas (prime.gildas @nospam@ for testing. I also added this patch to Cancel method
	  which may suffer from the same problem.

2010-04-15 00:16  jbcooley

	* src/Npgsql2010.csproj, src/Npgsql2010.sln,
	  testsuite/noninteractive/NUnit20/NpgsqlTests2010.csproj: vs 2010
Powered By FusionForge