Skip to content

Commit

Permalink
Merge branch 'team/github170' of https://msdata.visualstudio.com/Defa…
Browse files Browse the repository at this point in the history
  • Loading branch information
shueybubbles committed Jan 11, 2024
2 parents 0d57a1a + 4ac8c1d commit 78e207a
Show file tree
Hide file tree
Showing 150 changed files with 23,918 additions and 1,982 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,18 @@
Update this document for externally visible changes. Put most recent changes first.
Once we push a new version to nuget.org add a double hash header for that version.

## 170.23.0

- Upgraded SqlClient to 5.1.2 and removed direct Azure SDK dependencies from the nuget package
- Fix createdrop script error for versioned table in ledger database
- Improve scripting of dependency objects in Azure SQL database
- Added `ObjectId` parameter in User and Login create options
- Fix `Database.PrefetchObjects` not to throw for SQL version earlier than 2016

## 170.23.0, 161.48050.0
- Add ledger support in Database create options for MI in SSMS
- Fixed the `Database.AvailabilityDatabaseSynchronizationState` property to reflect the correct synchronization state of MI databases in Managed Instance Link
- Fix database scoped extended events enumeration on Azure SQL database instances having DATABASE_DEFAULT catalog collation

## 170.20.0
- Add `OwnerLoginName` property to `JobSchedule` per [issue 120](https://github.com/microsoft/sqlmanagementobjects/issues/120)
Expand Down
37 changes: 25 additions & 12 deletions Nuget/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
# Introduction

This file will log substantial changes made to SMO between public releases to nuget.org.
This file will no longer be updated. Changes will be logged to [CHANGELOG.md](../ChangeLog.md)

## 170.7.0-preview
## 161.48028.0

- Add SmoMetadataProvider preview package

## 170.5.0-preview

- Upgrade Microsoft.Data.SqlClient to version 5.0
- Upgrade build tools to VS2022
- Add certificate and asymmetric key user support for Azure DB
- Change the name of the XML file used by SSMS 19 to RegSrvr16.xml

## 161.47027.0

- Fix distribution columns on scripting for taking into consideration more than one distribution column
- Add new EXTGOV_OPERATION_GROUP audit action type
- Force [quoted identifier on](https://github.com/microsoft/sqlmanagementobjects/issues/96) for table scripts
- Fix EnumObjects sort by Schema
- Add new enumeration values for SQL Server 2022 permissions
- Script FIRST_ROW support for serverless Synapse
- Force [QUOTED_IDENTIFIER ON](https://github.com/microsoft/sqlmanagementobjects/issues/96) for all tables
- Change Databases enumeration on Azure DB to ignore `sys.databases` entries that don't have an entry in `sys.database_service_objectives`. Prevents attempted logins to user databases when enumerating databases on the logical master
- Update permissions enumeration for SQL Server 2022

## 161.47021.0

Expand All @@ -35,6 +30,24 @@ This file will log substantial changes made to SMO between public releases to nu
to workaround a bug where SQL Setup setup does not fully uninstall the SQL WMI Provider.
- Update `ConnectionManager.InternalConnect` to retry connection in response to error 42109 (serverless instance is waking up)

## 170.6.0-preview

- Add SmoMetadataProvider preview package

## 170.5.0-preview

- Upgrade Microsoft.Data.SqlClient to version 5.0
- Upgrade build tools to VS2022

## 161.47027.0

- Fix distribution columns on scripting for taking into consideration more than one distribution column
- Add new EXTGOV_OPERATION_GROUP audit action type
- Force [quoted identifier on](https://github.com/microsoft/sqlmanagementobjects/issues/96) for table scripts
- Fix EnumObjects sort by Schema
- Add new enumeration values for SQL Server 2022 permissions
- Script FIRST_ROW support for serverless Synapse

## 161.47008.0

- Fix an issue that caused `ServerConnection.SqlExecutionModes` property to be set to `ExecuteSql` during lazy property fetches of SMO objects despite being set to `CaptureSql` by the calling application.
Expand Down
28 changes: 16 additions & 12 deletions Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,25 @@
See https://github.com/Microsoft/MSBuildSdks/tree/main/src/CentralPackageVersions
This file lists every nuget package dependency and its required version.
Do not put Version attributes on PackageReference tags in individual projects.
Add explicit references to transitive package dependencies if the msbuild binlog shows there
are double writes due to multiple versions of a package being imported.
It's common that we could import packages A and B that both depend on package C but 2 different versions.
Without a PackageReference to C, our build could pick up either version of C in a non-deterministic manner.
The binlog viewer will show both versions being copied to the output folder as a double write.
-->
<Project>
<PropertyGroup>
<DotNetPackagesVersion>4.7.0</DotNetPackagesVersion>
<DotNetPackagesVersion>6.0.0</DotNetPackagesVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Update="Azure.Core" Version="1.24.0" />
<PackageReference Update="Azure.Identity" Version="1.6.0" />
<PackageReference Update="Azure.Core" Version="1.35.0" />
<PackageReference Update="Azure.Identity" Version="1.10.3" />
<PackageReference Update="Azure.Security.KeyVault.Secrets" Version="4.4.0" />
<!-- MDS 4+ has breaking changes SMO can't run with -->
<PackageReference Update="Microsoft.Data.SqlClient" Version="[$(SqlClientPackageVersion),4)" />
<PackageReference Update="Microsoft.Data.SqlClient" Version="[$(SqlClientPackageVersion),6)" />
<PackageReference Update="Microsoft.Data.Tools.StringResourceTool" Version="3.2.0" />
<PackageReference Update="Microsoft.Identity.Client" Version="4.39.0" />
<PackageReference Update="Microsoft.Identity.Client.Desktop" Version="4.39.0" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.4.1" />
<PackageReference Update="Microsoft.Identity.Client" Version="4.56.0" />
<PackageReference Update="Microsoft.Identity.Client.Desktop" Version="4.56.0" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.3.0" />
<PackageReference Update="Microsoft.SqlServer.Assessment" Version="1.1.9" />
<PackageReference Update="Microsoft.SqlServer.Management.SqlParser" Version="$(SqlParserPackageVersion)" />
<PackageReference Update="Moq" Version="4.16.1" />
Expand All @@ -26,13 +30,13 @@
<PackageReference Update="NUnit" Version="3.11.0" />
<PackageReference Update="System.Buffers" Version="4.5.1" />
<PackageReference Update="System.Data.OleDb" Version="$(DotNetPackagesVersion)" />
<PackageReference Update="System.Diagnostics.DiagnosticSource" Version="$(DotNetPackagesVersion)" />
<PackageReference Update="System.Diagnostics.DiagnosticSource" Version="6.0.1" />
<PackageReference Update="System.Management" Version="$(DotNetPackagesVersion)" />
<PackageReference Update="System.Memory" Version="4.5.4"/>
<PackageReference Update="System.Runtime.CompilerServices.Unsafe" Version="5.0.0" />
<PackageReference Update="System.Memory" Version="4.5.5"/>
<PackageReference Update="System.Runtime.CompilerServices.Unsafe" Version="$(DotNetPackagesVersion)" />
<PackageReference Update="System.Security.Cryptography.ProtectedData" Version="$(DotNetPackagesVersion)" />
<PackageReference Update="System.Security.Permissions" Version="$(DotNetPackagesVersion)" />
<PackageReference Update="System.Security.Principal.Windows" Version="$(DotNetPackagesVersion)" />
<PackageReference Update="System.Security.Principal.Windows" Version="5.0.0" />
<PackageReference Update="System.Threading.Tasks.Extensions" Version="4.5.4" />
<PackageReference Update="System.ValueTuple" Version="4.5.0" />
</ItemGroup>
Expand Down
Loading

0 comments on commit 78e207a

Please sign in to comment.