Npgsql 2.2.0-beta1

Npgsql is a .Net data provider for Postgresql. It allows any program developed for .Net framework to access database server. It is implemented in 100% C# code. Works with Postgresql 8.4 and above.

This is a prerelease version of Npgsql.
There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package Npgsql -Version 2.2.0-beta1
dotnet add package Npgsql --version 2.2.0-beta1
paket add Npgsql --version 2.2.0-beta1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

https://github.com/npgsql/Npgsql/releases/tag/v2.2.0-beta1

Major highlights
Visual Studio DDEX support

Kenji Uno added support for DDEX. Now you can use Npgsql with Visual Studio data designer. This is a missing feature a lot of our users requested in the past. Kenji added a tutorial about how to use Npgsql with DDEX. You can find it here: https://github.com/npgsql/Npgsql/wiki/Visual-Studio-Design-Time-Support---DDEX-Provider#install-npgsqlddexprovidervsix
Entity Framework
David KarlaĆĄ added support for EFMigration and Database creation in EF6+

Now it is possible to start Code First projects without needing to create a database upfront. EntityFramework and Npgsql will take care of it.
Emil Lenngren added support for a lot of missing features of EntityFramework.

A list containing fixes from David and Emil as well as others for EntityFramework can be seen here: https://github.com/npgsql/Npgsql/issues?direction=desc&labels=entity+framework&milestone=2&page=1&sort=created&state=closed
SSLStream support

In this release, SSLStream is on by default.
If you want to use Mono.Security, you will need to use the following line in your code:

NpgsqlConnection.UseSslStream = false;

Note that in future releases, this option may not be available anymore as we are removing the dependency on Mono.Security assembly. Let us know in the forums if you have any problem with ssl when using SSLStream. This will help us check if we will be able to remove Mono.Security assembly.
Added support for JSON, JSONB and HSTORE datatypes

Shay added support for those datatypes.
Added GSSAPI support on Windows

Brian Crowell added support for GSSAPI on windows. [#170]
Removed support for protocol 2

Postgresql versions which use only protocol 2 are very old and don't receive support from postgresql group anymore. By removing this support, we removed a lot of code and can focus on functionalities provided by protocol 3.
Removed support for Postgresql 8.3 and below

In this thread, https://groups.google.com/forum/#!topic/npgsql-dev/omQ40Eq0HoA, we talked about making Npgsql support the officially supported postgresql versions. This means end of support for postgresql 8.3 and below in the Npgsql 2.2 and up. If you still need support for 7.x, please, use 2.0.x versions.

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
3.2.5 134,373 7/25/2017
3.2.4.1 47,987 6/22/2017
3.2.4 9,381 6/13/2017
3.2.3 22,073 6/1/2017
3.2.2 226,997 3/21/2017
3.2.1 51,960 2/14/2017
3.2.0 31,268 1/27/2017
3.2.0-beta1 1,386 1/11/2017
3.1.10 8,123 2/14/2017
3.1.9 285,806 11/20/2016
3.1.8 119,621 9/24/2016
3.1.7 87,820 8/6/2016
3.1.6 31,712 7/12/2016
3.1.5 136,896 6/28/2016
3.1.4 10,954 6/16/2016
3.1.3 87,089 5/30/2016
3.1.2 10,985 5/22/2016
3.1.1 2,821 5/19/2016
3.1.0 31,922 5/16/2016
3.1.0-beta0001 1,244 5/5/2016
3.1.0-alpha6 17,713 12/7/2015
3.1.0-alpha5 4,650 11/18/2015
3.1.0-alpha4 165 11/18/2015
3.1.0-alpha3 2,564 10/16/2015
3.1.0-alpha2 324 10/16/2015
3.1.0-alpha1 1,487 9/6/2015
3.0.8 3,771 6/16/2016
3.0.7 12,754 5/3/2016
3.0.6 1,939 5/1/2016
3.0.5 93,204 1/1/2016
3.0.4 12,738 12/6/2015
3.0.3 34,759 9/27/2015
3.0.2 10,410 9/4/2015
3.0.1 18,938 8/18/2015
3.0.0 10,786 8/7/2015
3.0.0-rc0002 906 7/17/2015
3.0.0-rc0001 370 7/12/2015
3.0.0-beta0001 987 5/25/2015
2.2.7 62,784 9/18/2015
2.2.6 9,688 8/27/2015
2.2.5 99,057 3/11/2015
2.2.4.3 15,108 2/6/2015
2.2.4.1 5,544 2/3/2015
2.2.3 74,179 11/26/2014
2.2.2 9,710 11/1/2014
2.2.1 16,480 9/24/2014
2.2.0 6,640 9/1/2014
2.2.0-rc2 1,691 8/17/2014
2.2.0-rc1 461 8/5/2014
2.2.0-beta1 (current version) 325 7/23/2014
2.1.3 20,843 4/9/2014
2.1.2 3,655 3/28/2014
2.1.1 9,630 3/21/2014
2.1.0 2,497 3/19/2014
2.1.0-rc1 893 2/9/2014
2.1.0-beta1 1,557 12/26/2013
2.0.14.3 28,784 12/21/2013
2.0.13-beta1 1,738 7/14/2013
2.0.12.1 34,648 12/17/2012
2.0.11 30,977 2/6/2011
Show less