Releases: martincostello/sqllocaldb
v4.0.0
What's Changed
Important
This release drops support for netstandard2.0 and net6.0, adds support for net462, continuing to support net8.0.
The dependency on Microsoft.Data.SqlClient is updated to 6.0.2.
- Attest artifacts by @martincostello in #891
- Attest packages by @martincostello in #892
- Add package publish automation by @martincostello in #910
- Add downloads badge by @martincostello in #992
- Add dedicated package README by @martincostello in #993
- Add markdownlint by @martincostello in #1002
- Lint PowerShell by @martincostello in #1009
- Update to .NET 9 by @martincostello in #820
- Migrate to xunit v3 by @martincostello in #1061
- Add package icon by @martincostello in #1083
- Add CodeQL analysis for GitHub Actions by @martincostello in #1114
- Use BuildKit by @martincostello in #1130
- Add SDK hint paths by @martincostello in #1158
- Add test analytics by @martincostello in #1171
- Improve code coverage by @martincostello in #1172
- Deflake tests by @martincostello in #1173
- Upgrade Microsoft.Data.SqlClient by @martincostello in #1181
Full Changelog: v3.4.0...v4.0.0
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.SqlClientinstead ofSystem.Data.SqlClient. - Add nullable reference type annotations.
- Change constants in the
SqlLocalDbErrorsclass 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.SqlLocalDbnamespace. - Core classes and interfaces are now:
ISqlLocalDbApiISqlLocalDbInstanceInfoISqlLocalDbInstanceManagerISqlLocalDbVersionInfoSqlLocalDbApiSqlLocalDbExceptionSqlLocalDbInstanceManagerSqlLocalDbOptionsTemporarySqlLocalDbInstance
- Various methods on previous classes and interfaces are now extension methods.
- Configuration is now via the
SqlLocalDbOptionsclass for use with theSqlLocalDbApiclass. - 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:
ISqlLocalDbInstanceSqlLocalDbApi(static class)
- Configuration no longer via
System.Configurationand.configfiles. - 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
TemporarySqlLocalDbInstanceso 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
LoadLibraryExfunction instead ofLoadLibrary.