You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tools/sqlpackage/release-notes-sqlpackage.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ This article lists the features and fixes delivered by the released versions of
33
33
| :------ | :------ |
34
34
|Platform|Changes connections to use encryption and not trust the server certificate by default. This is a breaking change for connections using self-signed certificates or without encryption by default. For more information, see [this dedicated article](https://aka.ms/dacfx-connection).|
|Platform|SqlPackage is now available for [installation](sqlpackage-download.md) as a `dotnet tool` for Windows, macOS, and Linux platforms.|
36
37
|Always Encrypted|Adds support for VBS (Virtualization-based security) with [secure enclaves](/sql/relational-databases/security/encryption/always-encrypted-enclaves).|
37
38
|Connectivity|Adds support for TDS 8.0 and parameters for `/SourceHostNameInCertificate` and `/TargetHostNameInCertificate` to SqlPackage operations.|
38
39
|Replication|Adds support for [sp_addpublication](/sql/relational-databases/replication/transactional/peer-to-peer-conflict-detection-in-peer-to-peer-replication#automatically-handle-conflicts-with-last-write-wins) with peer-to-peer replication.|
@@ -203,7 +204,7 @@ This article lists the features and fixes delivered by the released versions of
203
204
### Fixes
204
205
| Feature | Details |
205
206
| :------ | :------ |
206
-
| Deployment | Fixed an issue where external user deployment to Managed Instance would fail |
207
+
| Deployment | Fixed an issue where external user deployment to Azure SQL Managed Instance would fail |
207
208
| Deployment | Fix for deployment order involving temporal tables to drop dependencies before turning system versioning off |
208
209
| Deployment | Fix for Always Encrypted deployment bug with error "Invalid object name '#tmpErrors'" |
209
210
| Export | Validation for SqlPackage parameters ExcludeObjectType(s) and DoNotDropObjectType(s) |
@@ -362,7 +363,7 @@ This article lists the features and fixes delivered by the released versions of
362
363
| Deployment | Add Azure Synapse Analytics support for ordered clustered column store index |
363
364
| Deployment | Add support for External Data Source (Oracle, Teradata, MongoDB/CosmosDB, ODBC, Big Data Cluster) and External Table for SQL Server 2019 Big Data Cluster |
| Deployment | Support Managed Instance server names of the form '\<server>.\<dnszone>.database.windows.net' |
366
+
| Deployment | Support Azure SQL Managed Instance server names of the form '\<server>.\<dnszone>.database.windows.net' |
366
367
| Deployment | Add support for copy command in Azure Synapse Analytics |
367
368
| Deployment | Add deployment option 'IgnoreTablePartitionOptions' during Publish to avoid table recreation when there is change in partition function on table for Azure Synapse Analytics |
368
369
| .NET Core | Add support for Microsoft.Data.SqlClient in .NET Core version of SqlPackage |
@@ -424,7 +425,7 @@ This article lists the features and fixes delivered by the released versions of
424
425
| Platform | SqlPackage .NET Core generally available for macOS, Linux, and Windows. |
425
426
| Security | Remove SHA1 code signing. |
426
427
| Deployment | Add support for new Azure database editions: GeneralPurpose, BusinessCritical, Hyperscale |
427
-
| Deployment | Add Managed Instance support for Azure Active Directory user and groups. |
428
+
| Deployment | Add Azure SQL Managed Instance support for Azure Active Directory user and groups. |
428
429
| Deployment | Support the /AccessToken parameter for SqlPackage on .NET Core. |
429
430
430
431
### Known Issues
@@ -547,7 +548,7 @@ Build: 15.0.4200.1
547
548
| Feature | Details |
548
549
| :------ | :------ |
549
550
| Deployment | Added support for database compatibility level 150. |
550
-
| Deployment | Added support for Managed Instances. |
551
+
| Deployment | Added support for Azure SQL Managed Instances. |
551
552
| Performance | Added MaxParallelism command-line parameter to specify the degree of parallelism for database operations. |
552
553
| Security | Added AccessToken command-line parameter to specify an authentication token when connecting to SQL Server. |
553
554
| Import | Added support to stream BLOB/CLOB data types for imports. |
For details about the latest release, see the [release notes](release-notes-sqlpackage.md). To download additional languages, see the [Available Languages](#available-languages) section.
25
+
For details about the latest release, see the [release notes](release-notes-sqlpackage.md).
31
26
32
27
> [!NOTE]
33
28
> SqlPackage version numbering has been adjusted to better reflect the DacFx build number it is associated with. Previously, SqlPackage had a distinct version number (19) and build number (160.x). Beginning with version 161, the version number of SqlPackage will match the DacFx version number it is associated with (eg 161.6374.0).
34
29
35
-
## DacFx
30
+
## Installation, cross-platform
36
31
37
-
SqlPackage is a command-line interface for the DacFx framework, exposing some of the public DacFx APIs. DacServices ([Microsoft.SqlServer.Dac](/dotnet/api/microsoft.sqlserver.dac.dacservices)) is a related mechanism for integrating database deployment into your application pipeline. The DacServices API is available in a package through NuGet, [Microsoft.SqlServer.DacFx](https://www.NuGet.org/packages/Microsoft.SqlServer.DacFx). The current DacFx version is 161.6374.0.
32
+
Installing SqlPackage as a [dotnet tool](/dotnet/core/tools/global-tools) requires the [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet/6.0) v6.0 or later to be installed on your machine. Installing SqlPackage as a global tool will make it available on your path as `sqlpackage` and is the recommended way to install SqlPackage for Windows, macOS, and Linux.
38
33
39
-
Installing the NuGet package via the .NET CLI is accomplished with this command:
34
+
To install SqlPackage as a global .NET tool, run the following command:
40
35
41
-
```cmd
42
-
dotnet add package Microsoft.SqlServer.DacFx
43
-
```
36
+
```bash
37
+
dotnet tool install -g microsoft.sqlpackage
38
+
```
44
39
45
-
> [!NOTE]
46
-
> Additional NuGet packages were published under the DacFx name, "Microsoft.SqlServer.DacFx.x64" and "Microsoft.SqlServer.DacFx.x86". Support for both platforms is covered under the "Microsoft.SqlServer.DacFx" package. New references should be made to this package, not the x64 or x86 variants.
40
+
More information on the options available with the `dotnet tool install` command can be found in the [dotnet tool install documentation](/dotnet/core/tools/dotnet-tool-install).
41
+
42
+
43
+
To update SqlPackage to the latest version, run the following command:
44
+
45
+
```bash
46
+
dotnet tool update -g microsoft.sqlpackage
47
+
```
48
+
49
+
50
+
To uninstall SqlPackage, run the following command:
51
+
52
+
```bash
53
+
dotnet tool uninstall -g microsoft.sqlpackage
54
+
```
47
55
48
-
## Automated environments
49
56
50
-
Evergreen links are available for downloading the latest Sqlpackage versions:
51
-
- Linux ([https://aka.ms/sqlpackage-linux](https://aka.ms/sqlpackage-linux))
SqlPackage is a command-line interface for the DacFx framework, exposing some of the public DacFx APIs. DacServices ([Microsoft.SqlServer.Dac](/dotnet/api/microsoft.sqlserver.dac.dacservices)) is a related mechanism for integrating database deployment into your application pipeline. The DacServices API is available in a package through NuGet, [Microsoft.SqlServer.DacFx](https://www.NuGet.org/packages/Microsoft.SqlServer.DacFx). The current DacFx version is 161.6374.0.
173
+
174
+
Adding the NuGet package to a .NET project is accomplished via the .NET CLI with this command:
175
+
176
+
```cmd
177
+
dotnet add package Microsoft.SqlServer.DacFx
178
+
```
179
+
180
+
> [!NOTE]
181
+
> Additional NuGet packages were published under the DacFx name, "Microsoft.SqlServer.DacFx.x64" and "Microsoft.SqlServer.DacFx.x86". Support for both platforms is covered under the "Microsoft.SqlServer.DacFx" package. New references should be made to this package, not the x64 or x86 variants.
182
+
183
+
150
184
## Supported Operating Systems
151
185
152
186
SqlPackage runs on Windows, macOS, and Linux and is built using .NET 6. The [.NET 6 OS requirements](https://github.com/dotnet/core/blob/main/release-notes/6.0/supported-os.md) are minimum requirements for SqlPackage, which has additional requirements due to its dependencies.
0 commit comments