Skip to content

Commit 3fac732

Browse files
author
mbt1
committed
Created new tSQLtOfficialSigningKey
Improved InstallSigningKey.bat
1 parent adb1903 commit 3fac732

File tree

4 files changed

+37
-3
lines changed

4 files changed

+37
-3
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@
2323
/Build_Artifact
2424
/tSQLtCLR/OfficialSigningKey/tSQLtOfficialSigningKey.b64.txt
2525
.DS_Store
26+
/Build_Output
27+
/tSQLtCLR/OfficialSigningKey/KeyInfo.txt
28+
/tSQLtCLR/OfficialSigningKey/KeyInfoC.txt

Build/ReleaseNotes.txt

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,43 @@ Release: VLATEST-BUILD-NUMBER
99

1010
BUG FIXES:
1111

12-
1. Fixed error message in tSQLt.FakeTable
13-
14-
2. tSQLt.DropClass now handles already quoted names correctly
12+
N/A
1513

1614
NEW FEATURES:
1715

1816
1. The tSQLt CLR is now signed with a new key:
1917

18+
Public key (hash algorithm: sha1):
19+
0024000004800000940000000602000000240000525341310004000001000100b9af416ad8dfed
20+
ec08a5652fa257f1242bf4ed60ef5a7b84a429604d62c919c5663a9c7710a7c5df9953b69ec89f
21+
ce85d71e051140b273f4c9bf890a2bc19c48f22d7b1f1d739f90eebc5729555f7f8b63ed088bbb
22+
083b336f7e38b92d44cfe1c842f09632b85114772ff2122bc638c78d497c4e88c2d656c166050d
23+
6e1ef394
24+
25+
Public key token is e8fff6f136d7b53e
26+
27+
2. Several improvements to the build process, including switching from NAnt to Ant
28+
29+
3. New prepare server process (this fixes all installation issues with 2017 and 2019)
30+
31+
Before installing tSQLt, you can now run the PrepareServer.sql that is part of the tSQLt.zip download.
32+
It automatically enables CLR and installs a server certificate that allows the installation of the CLR.
33+
There is no need to disable strict CLR security on the server nor do you need to modify database security settings.
34+
Executing the script requires SA permissions, but needs to be done only once per server.
35+
36+
Reminder: If you are using the tSQLt.NewConnection feature,
37+
you need to execute tSQLt.EnableExternalAccess after each installation of tSQLt.
38+
39+
4. Annotations
40+
41+
tSQLt now allows for test case annotations to modify test behavior. The annotations implemented so far are:
42+
43+
--[@tSQLt:MaxSqlMajorVersion](@MaxVersion) <-- Skips the test if the major version of SQL Server is > @MaxVersion
44+
--[@tSQLt:MinSqlMajorVersion](@MinVersion) <-- Skips the test if the major version of SQL Server is < @MinVersion
45+
--[@tSQLt:Skip](@SkipReason) <-- Skips the test and reports @SkipReason as reason in the output
46+
47+
5. Implemented a CI pipeline for tSQLt itself in Azure DevOps
48+
2049
---------------------------
2150
Release: V1.0.5873.27393
2251

tSQLtCLR/OfficialSigningKey/InstallSigningKey.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ REM This is only needed if you want to build tSQLt yourself.
55
REM
66

77
cd /d "%~dp0"
8+
DEL KeyInfo.txt
9+
DEL KeyInfoC.txt
810
ECHO --------------------------------------------------------------------------------------------------------------------
911
ECHO Deleting existing container (might fail)
1012
ECHO --------------------------------------------------------------------------------------------------------------------
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)