Skip to content

Releases: martincostello/sqllocaldb

v3.4.0

02 Feb 10:04
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.3.0...v3.4.0

v3.3.0

14 Nov 21:11
d434098
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.2.0...v3.3.0

SQL LocalDB Wrapper v3.2.0

01 Apr 13:11
edf1e9e
Compare
Choose a tag to compare

NuGet

Changes

  • Fix incorrect TFM condition (#502)

Full Changelog: v3.1.0...v3.2.0

SQL LocalDB Wrapper v3.1.0

08 Nov 10:53
4bf3f68
Compare
Choose a tag to compare

NuGet

Changes

  • Add net6.0 target framework (#385)

SQL LocalDB Wrapper v3.0.1

12 Jul 19:16
ec038fc
Compare
Choose a tag to compare

SqlLocalDb v3.0.1

NuGet

Changes

  • Support deterministics and reproducible builds (#234)
  • Publish symbol packages to NuGet.org (#164)
  • Use GitHub Actions for CI (#224)
  • Prepare for .NET 6 (#421)

SQL LocalDB Wrapper v3.0.0

10 Oct 09:41
14ce006
Compare
Choose a tag to compare

SqlLocalDb v3.0.0

NuGet

Version 3.0.0 of SQL LocalDB Wrapper is a major version update that moves the library to depend on the SQL Server types in the new Microsoft.Data.SqlClient NuGet package.

Changes

  • Depend on Microsoft.Data.SqlClient instead of System.Data.SqlClient.
  • Add nullable reference type annotations.
  • Change constants in the SqlLocalDbErrors class to fields.

SQL LocalDB Wrapper v2.0.0

01 Oct 17:35
428a2fc
Compare
Choose a tag to compare

SqlLocalDb v2.0.0

NuGet

Version 2.0.0 of SQL LocalDB Wrapper is a major rewrite of version 1.x.x which is now .NET Core compatible as it now targets netstandard2.0. It is available on NuGet as MartinCostello.SqlLocalDb.

This version is a breaking change, with the name of the package, its namespaces, and many of its types, renamed and refactored. The main motivation for this is to move the types and package out of System.Data and make it explicit that the package is not an official Microsoft package, which System.* implies.

The design for version 2.0.0 is intended to make the library more friendly for extensibility as well as dependency injection, particularly for scenarios such as .NET Core applications. A number of static types have been removed and various methods that used to be interface methods are now extension methods.

First-class support for Entity Framework-related concepts (such as parsing) entity connection strings has been removed to mainly give focus to just functionality of the SQL Server LocalDB Instance API itself.

To migrate a project from using a 1.x.x version follow the migration guide: Migrating to MartinCostello.SqlLocalDb from System.Data.SqlLocalDb

Changes

  • The NuGet package name is now MartinCostello.SqlLocalDb.
  • Types are now in the MartinCostello.SqlLocalDb namespace.
  • Core classes and interfaces are now:
    • ISqlLocalDbApi
    • ISqlLocalDbInstanceInfo
    • ISqlLocalDbInstanceManager
    • ISqlLocalDbVersionInfo
    • SqlLocalDbApi
    • SqlLocalDbException
    • SqlLocalDbInstanceManager
    • SqlLocalDbOptions
    • TemporarySqlLocalDbInstance
  • Various methods on previous classes and interfaces are now extension methods.
  • Configuration is now via the SqlLocalDbOptions class for use with the SqlLocalDbApi class.
  • Uses .NET Standard logging abstractions for logging rather than TraceSource.
  • Now compiled using the .NET Core SDK.
  • Tests now use xunit instead of MSTest.

Added

Fixed/Improved

  • Improved behaviour when testing for the existence of LocalDB instances.
  • The SQL Server LocalDB Instance API can now be unloaded from the process.
  • Logging now uses structured logging and specific event IDs.
  • Several types now override ToString() to return object names.
  • Improved behaviour if used in an application on Linux or macOS.
  • Simplified build infrastructure using the .NET Core SDK.
  • Use various new C# 7.2 language features to simplify the code.
  • Uses Version.TryParse() internally.
  • Added assets for working on the project in Visual Studio Code.

Removed

  • Removed the following types:
    • ISqlLocalDbInstance
    • SqlLocalDbApi (static class)
  • Configuration no longer via System.Configuration and .config files.
  • Removed old "Blog" sample application.
  • Removed Coverity scan integration.

SQL LocalDB Wrapper v2.0.0-beta1

12 Aug 15:25
e990a07
Compare
Choose a tag to compare
Pre-release

SqlLocalDb v2.0.0-beta1

First pre-release of SQL LocalDB Wrapper 2.0.0.

SQL LocalDB Wrapper v1.15.0.0

03 Jun 13:07
Compare
Choose a tag to compare

SqlLocalDb v1.15.0.0

Changes

  • The assembly now targets .NET 4.0 instead of .NET 3.5 SP1.
  • The HRESULT values from the SQL LocalDB Instance API logged in error messages are now formatted as hexadecimal values.
  • A warning is logged if the configured version of the SQL LocalDB Instance API to load instead of the latest version cannot be found.
  • Fixed TemporarySqlLocalDbInstance so it no longer throws an exception when disposed if the temporary SQL LocalDB instance could not be stopped or deleted.
  • The internals now use the Windows LoadLibraryEx function instead of LoadLibrary.

SQL LocalDB Wrapper v1.14.0.0

26 Mar 00:12
Compare
Choose a tag to compare

SqlLocalDb v1.14.0.0

New Features

  • Added support for specifying a custom ILogger implementation to use in the application configuration file.
  • Added new LanguageId property to the SqlLocalDbApi class to allow integrators to override the default behaviour used to select the language used to format error messages from the SQL LocalDB Instance API.
  • Added en-GB resources.

Bug Fixes

  • Fixed the HRESULT in an exception message not being formatted in hexadecimal.
  • Fixed some incorrect XML documentation.