From 3d0fea54aed37a08f058ba27d848cfa438ab373f Mon Sep 17 00:00:00 2001 From: marmegh <30842915+marmegh@users.noreply.github.com> Date: Wed, 31 Aug 2022 14:26:17 -0700 Subject: [PATCH 1/4] Preparing to release BinSkim 2.0.0, including updating sarif-sdk. --- SetCurrentVersion.cmd | 8 ++++---- src/BinaryParsers/VersionConstants.cs | 4 ++-- src/ReleaseHistory.md | 3 ++- src/sarif-sdk | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/SetCurrentVersion.cmd b/SetCurrentVersion.cmd index 00a909f72..99fa7e69b 100644 --- a/SetCurrentVersion.cmd +++ b/SetCurrentVersion.cmd @@ -1,9 +1,9 @@ set MAJOR_PREVIOUS=1 set MINOR_PREVIOUS=9 -set PATCH_PREVIOUS=4 +set PATCH_PREVIOUS=5 set PRERELEASE_PREVIOUS= -set MAJOR=1 -set MINOR=9 -set PATCH=5 +set MAJOR=2 +set MINOR=0 +set PATCH=0 set PRERELEASE= diff --git a/src/BinaryParsers/VersionConstants.cs b/src/BinaryParsers/VersionConstants.cs index 223769ce7..f293f8f4b 100644 --- a/src/BinaryParsers/VersionConstants.cs +++ b/src/BinaryParsers/VersionConstants.cs @@ -5,8 +5,8 @@ namespace Microsoft.CodeAnalysis.IL public static class VersionConstants { public const string Prerelease = ""; - public const string AssemblyVersion = "1.9.5" + ".0"; - public const string FileVersion = "1.9.5" + ".0"; + public const string AssemblyVersion = "2.0.0" + ".0"; + public const string FileVersion = "2.0.0" + ".0"; public const string Version = AssemblyVersion + Prerelease; } } diff --git a/src/ReleaseHistory.md b/src/ReleaseHistory.md index 0ee755045..e20a5c71f 100644 --- a/src/ReleaseHistory.md +++ b/src/ReleaseHistory.md @@ -1,10 +1,11 @@ # BinSkim Release History -## Unreleased +## **v2.0.0** [NuGet Package](https://www.nuget.org/packages/Microsoft.CodeAnalysis.BinSkim/2.0.0) * BUGFIX: Fix `error ERR997.ExceptionLoadingPdb : '[filename]' was not evaluated because its PDB could not be loaded (E_PDB_NOT_FOUND).` when reading PE file built with `PDBPageSize:8192` or greater, by upgrading msdia140.dll from `14.27.28826.96` to `14.32.31326.0`. [685](https://github.com/microsoft/binskim/pull/685) * FEATURE: Add BA3031.EnableClangSafeStack, rename BA3030.UseCheckedFunctionsWithGcc to BA3030.UseGccCheckedFunctions [#663](https://github.com/microsoft/binskim/pull/663) * Bump Sarif.Sdk by updating submodule from [fc9a9df to 698adb6](https://github.com/microsoft/sarif-sdk/compare/fc9a9dfb865096b5aaa9fa3651854670940f7459...698adb6365a242c6bb75adde56e3bd4be39c21d7). [#674](https://github.com/microsoft/binskim/pull/674) +* Bump Sarif.Sdk by updating submodule from [698adb6 to 025f64c] (https://github.com/microsoft/sarif-sdk/compare/698adb6365a242c6bb75adde56e3bd4be39c21d7...025f64caf6603d5cc800ce1b4139641cd286ebee). [#xxx](https://github.com/microsoft/binskim/pull/xxx) ## **v1.9.5** [NuGet Package](https://www.nuget.org/packages/Microsoft.CodeAnalysis.BinSkim/1.9.5) diff --git a/src/sarif-sdk b/src/sarif-sdk index 698adb636..025f64caf 160000 --- a/src/sarif-sdk +++ b/src/sarif-sdk @@ -1 +1 @@ -Subproject commit 698adb6365a242c6bb75adde56e3bd4be39c21d7 +Subproject commit 025f64caf6603d5cc800ce1b4139641cd286ebee From 16fc2263b6c6b3796493c6c5429a9232eee2a7a7 Mon Sep 17 00:00:00 2001 From: marmegh <30842915+marmegh@users.noreply.github.com> Date: Wed, 31 Aug 2022 14:27:45 -0700 Subject: [PATCH 2/4] Updating release history. --- src/ReleaseHistory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReleaseHistory.md b/src/ReleaseHistory.md index e20a5c71f..ed0d43ee1 100644 --- a/src/ReleaseHistory.md +++ b/src/ReleaseHistory.md @@ -5,7 +5,7 @@ * BUGFIX: Fix `error ERR997.ExceptionLoadingPdb : '[filename]' was not evaluated because its PDB could not be loaded (E_PDB_NOT_FOUND).` when reading PE file built with `PDBPageSize:8192` or greater, by upgrading msdia140.dll from `14.27.28826.96` to `14.32.31326.0`. [685](https://github.com/microsoft/binskim/pull/685) * FEATURE: Add BA3031.EnableClangSafeStack, rename BA3030.UseCheckedFunctionsWithGcc to BA3030.UseGccCheckedFunctions [#663](https://github.com/microsoft/binskim/pull/663) * Bump Sarif.Sdk by updating submodule from [fc9a9df to 698adb6](https://github.com/microsoft/sarif-sdk/compare/fc9a9dfb865096b5aaa9fa3651854670940f7459...698adb6365a242c6bb75adde56e3bd4be39c21d7). [#674](https://github.com/microsoft/binskim/pull/674) -* Bump Sarif.Sdk by updating submodule from [698adb6 to 025f64c] (https://github.com/microsoft/sarif-sdk/compare/698adb6365a242c6bb75adde56e3bd4be39c21d7...025f64caf6603d5cc800ce1b4139641cd286ebee). [#xxx](https://github.com/microsoft/binskim/pull/xxx) +* Bump Sarif.Sdk by updating submodule from [698adb6 to 025f64c] (https://github.com/microsoft/sarif-sdk/compare/698adb6365a242c6bb75adde56e3bd4be39c21d7...025f64caf6603d5cc800ce1b4139641cd286ebee). [#701 ](https://github.com/microsoft/binskim/pull/701) ## **v1.9.5** [NuGet Package](https://www.nuget.org/packages/Microsoft.CodeAnalysis.BinSkim/1.9.5) From 90279db09f20112c582e3353e3e26c658915315d Mon Sep 17 00:00:00 2001 From: marmegh <30842915+marmegh@users.noreply.github.com> Date: Wed, 31 Aug 2022 14:29:16 -0700 Subject: [PATCH 3/4] Remove whitespace from ReleaseHistory --- src/ReleaseHistory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReleaseHistory.md b/src/ReleaseHistory.md index ed0d43ee1..175cc1af5 100644 --- a/src/ReleaseHistory.md +++ b/src/ReleaseHistory.md @@ -5,7 +5,7 @@ * BUGFIX: Fix `error ERR997.ExceptionLoadingPdb : '[filename]' was not evaluated because its PDB could not be loaded (E_PDB_NOT_FOUND).` when reading PE file built with `PDBPageSize:8192` or greater, by upgrading msdia140.dll from `14.27.28826.96` to `14.32.31326.0`. [685](https://github.com/microsoft/binskim/pull/685) * FEATURE: Add BA3031.EnableClangSafeStack, rename BA3030.UseCheckedFunctionsWithGcc to BA3030.UseGccCheckedFunctions [#663](https://github.com/microsoft/binskim/pull/663) * Bump Sarif.Sdk by updating submodule from [fc9a9df to 698adb6](https://github.com/microsoft/sarif-sdk/compare/fc9a9dfb865096b5aaa9fa3651854670940f7459...698adb6365a242c6bb75adde56e3bd4be39c21d7). [#674](https://github.com/microsoft/binskim/pull/674) -* Bump Sarif.Sdk by updating submodule from [698adb6 to 025f64c] (https://github.com/microsoft/sarif-sdk/compare/698adb6365a242c6bb75adde56e3bd4be39c21d7...025f64caf6603d5cc800ce1b4139641cd286ebee). [#701 ](https://github.com/microsoft/binskim/pull/701) +* Bump Sarif.Sdk by updating submodule from [698adb6 to 025f64c](https://github.com/microsoft/sarif-sdk/compare/698adb6365a242c6bb75adde56e3bd4be39c21d7...025f64caf6603d5cc800ce1b4139641cd286ebee). [#701 ](https://github.com/microsoft/binskim/pull/701) ## **v1.9.5** [NuGet Package](https://www.nuget.org/packages/Microsoft.CodeAnalysis.BinSkim/1.9.5) From 88b1ad7537e8d44a87fae56f5953b380be6831d5 Mon Sep 17 00:00:00 2001 From: marmegh <30842915+marmegh@users.noreply.github.com> Date: Wed, 31 Aug 2022 14:52:08 -0700 Subject: [PATCH 4/4] Releasing version 1.10.0 --- SetCurrentVersion.cmd | 4 ++-- src/BinaryParsers/VersionConstants.cs | 4 ++-- src/ReleaseHistory.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SetCurrentVersion.cmd b/SetCurrentVersion.cmd index 99fa7e69b..71c0a29e3 100644 --- a/SetCurrentVersion.cmd +++ b/SetCurrentVersion.cmd @@ -3,7 +3,7 @@ set MINOR_PREVIOUS=9 set PATCH_PREVIOUS=5 set PRERELEASE_PREVIOUS= -set MAJOR=2 -set MINOR=0 +set MAJOR=1 +set MINOR=10 set PATCH=0 set PRERELEASE= diff --git a/src/BinaryParsers/VersionConstants.cs b/src/BinaryParsers/VersionConstants.cs index f293f8f4b..ccd265177 100644 --- a/src/BinaryParsers/VersionConstants.cs +++ b/src/BinaryParsers/VersionConstants.cs @@ -5,8 +5,8 @@ namespace Microsoft.CodeAnalysis.IL public static class VersionConstants { public const string Prerelease = ""; - public const string AssemblyVersion = "2.0.0" + ".0"; - public const string FileVersion = "2.0.0" + ".0"; + public const string AssemblyVersion = "1.10.0" + ".0"; + public const string FileVersion = "1.10.0" + ".0"; public const string Version = AssemblyVersion + Prerelease; } } diff --git a/src/ReleaseHistory.md b/src/ReleaseHistory.md index 175cc1af5..c37928af8 100644 --- a/src/ReleaseHistory.md +++ b/src/ReleaseHistory.md @@ -1,6 +1,6 @@ # BinSkim Release History -## **v2.0.0** [NuGet Package](https://www.nuget.org/packages/Microsoft.CodeAnalysis.BinSkim/2.0.0) +## **v1.10.0** [NuGet Package](https://www.nuget.org/packages/Microsoft.CodeAnalysis.BinSkim/1.10.0) * BUGFIX: Fix `error ERR997.ExceptionLoadingPdb : '[filename]' was not evaluated because its PDB could not be loaded (E_PDB_NOT_FOUND).` when reading PE file built with `PDBPageSize:8192` or greater, by upgrading msdia140.dll from `14.27.28826.96` to `14.32.31326.0`. [685](https://github.com/microsoft/binskim/pull/685) * FEATURE: Add BA3031.EnableClangSafeStack, rename BA3030.UseCheckedFunctionsWithGcc to BA3030.UseGccCheckedFunctions [#663](https://github.com/microsoft/binskim/pull/663)