Releases: martincostello/sqllocaldb
v3.4.0
What's Changed
- Update Microsoft.Data.SqlClient dependencies by @martincostello in #796
- Use trim-safe interop methods by @martincostello in #812
Full Changelog: v3.3.0...v3.4.0
v3.3.0
What's Changed
- Bump version by @martincostello in #504
- Commit SDK updates as costellobot by @martincostello in #507
- Enable colour output from .NET CLI by @martincostello in #512
- Support trimming by @martincostello in #519
- Add package source mappings by @martincostello in #520
- Refactor to fix trim warning by @martincostello in #525
- Add dependency review by @martincostello in #531
- Add PR labels by @martincostello in #538
- Use GITHUB_REF_NAME by @martincostello in #554
- Update TFMs by @martincostello in #556
- Use NativeLibrary class by @martincostello in #557
- Use floating tag by @martincostello in #565
- Bump Microsoft.Data.SqlClient to 5.0.1 by @martincostello in #567
- Update to .NET 7 by @martincostello in #483
- Add dotnet outdated by @martincostello in #604
- Fix-up workflow by @martincostello in #606
- Use net7.0 for ReportGenerator by @martincostello in #609
- Improve commit messages by @martincostello in #611
- Use MSBuild Report Generator by @martincostello in #612
- Use vars by @martincostello in #623
- Add OSSF Scorecard by @martincostello in #624
- Move permissions by @martincostello in #625
- Add PackageReadmeFile by @martincostello in #628
- Update CodeQL by @martincostello in #633
- Delete stale.yml by @martincostello in #634
- Add badges by @martincostello in #635
- Publish packages in their own jobs by @martincostello in #636
- Fix publish path by @martincostello in #637
- Remove redundant suppressions by @martincostello in #641
- Use reusable workflow by @martincostello in #644
- Enable CI for dotnet-vnext by @martincostello in #652
- .NET 8 preparation by @martincostello in #662
- Simplify condition by @martincostello in #692
- Bump Microsoft.Data.SqlClient by @martincostello in #695
- Remove ExcludeByAttribute by @martincostello in #698
- Disable MyGet publishing by @martincostello in #700
- Remove MyGet by @martincostello in #702
- Publish to feedz.io by @martincostello in #703
- Use actionlint docker image by @martincostello in #705
- Remove Moq by @martincostello in #712
- Delete update-dotnet-sdk.yml by @martincostello in #716
- Configure .NET SDK updates by @martincostello in #718
- Add schema by @martincostello in #719
- Use HTTPS for NuGet badge by @martincostello in #723
- Refactor workflow by @martincostello in #729
- Bump actionlint by @martincostello in #738
- Simplify [AssemblyMetadata] by @martincostello in #739
- Use SHA-256 for checksums by @martincostello in #740
- Create CODEOWNERS by @martincostello in #743
- Group xunit updates by @martincostello in #748
- Remove repo_token by @martincostello in #753
- Use MSBuild for assembly attributes by @martincostello in #754
- Pin .NET SDK version by @martincostello in #757
- Bump actions/dependency-review-action from 3.1.2 to 3.1.3 by @dependabot in #763
- Update to .NET 8 by @martincostello in #653
New Contributors
- @costellobot made their first contribution in #622
Full Changelog: v3.2.0...v3.3.0
SQL LocalDB Wrapper v3.2.0
SQL LocalDB Wrapper v3.1.0
SQL LocalDB Wrapper v3.0.1
SQL LocalDB Wrapper v3.0.0
SqlLocalDb v3.0.0
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 ofSystem.Data.SqlClient
. - Add nullable reference type annotations.
- Change constants in the
SqlLocalDbErrors
class to fields.
SQL LocalDB Wrapper v2.0.0
SqlLocalDb v2.0.0
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 theSqlLocalDbApi
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
- Added new
bool InstanceExists(string)
method toISqlLocalDbApi
. - Add support for registration with the built-in ASP.NET Core service container.
- Added new sample Todo list ASP.NET Core web application that uses SQL Server LocalDB.
- Continuous integration using Travis CI for Linux and macOS.
- Continuous integration using Azure Pipelines for Windows, Linux and macOS.
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
SqlLocalDb v2.0.0-beta1
First pre-release of SQL LocalDB Wrapper 2.0.0
.
SQL LocalDB Wrapper v1.15.0.0
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 ofLoadLibrary
.
SQL LocalDB Wrapper v1.14.0.0
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 theSqlLocalDbApi
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.