From 7967b831433c12812265656f270f303c62ce367a Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Tue, 31 Mar 2026 13:00:20 -0700 Subject: [PATCH] March 31, 2026 --- .nuget/directxtk_desktop_win10.nuspec | 2 +- .nuget/directxtk_uwp.nuspec | 2 +- CHANGELOG.md | 7 +++++ CMakeLists.txt | 2 +- README.md | 4 +-- SECURITY.md | 41 +++++---------------------- build/preparerelease.ps1 | 2 +- 7 files changed, 20 insertions(+), 40 deletions(-) diff --git a/.nuget/directxtk_desktop_win10.nuspec b/.nuget/directxtk_desktop_win10.nuspec index f51dbd0cb..ae0d6d66f 100644 --- a/.nuget/directxtk_desktop_win10.nuspec +++ b/.nuget/directxtk_desktop_win10.nuspec @@ -30,7 +30,7 @@ SpriteBatch - simple & efficient 2D sprite rendering SpriteFont - bitmap based text rendering VertexTypes - structures for commonly used vertex data formats WICTextureLoader - WIC-based image file texture loader - Matches the October 27, 2025 release on GitHub. + Matches the March 31, 2026 release on GitHub. DirectX Tool Kit for Audio in this package uses XAudio 2.9 which requires Windows 10 or later. http://go.microsoft.com/fwlink/?LinkId=248929 diff --git a/.nuget/directxtk_uwp.nuspec b/.nuget/directxtk_uwp.nuspec index daa96c2bb..788948a27 100644 --- a/.nuget/directxtk_uwp.nuspec +++ b/.nuget/directxtk_uwp.nuspec @@ -30,7 +30,7 @@ SpriteBatch - simple & efficient 2D sprite rendering SpriteFont - bitmap based text rendering VertexTypes - structures for commonly used vertex data formats WICTextureLoader - WIC-based image file texture loader - Matches the October 27, 2025 release on GitHub. + Matches the March 31, 2026 release on GitHub. http://go.microsoft.com/fwlink/?LinkId=248929 images\icon.jpg diff --git a/CHANGELOG.md b/CHANGELOG.md index ccf4326f8..1cebe5a6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ Release available for download on [GitHub](https://github.com/microsoft/DirectXT ## Release History +### March 31, 2026 +* Added SpriteFont **SetPixelAlignment** method for opt-in pixel snapping support +* VS 2026 support +* Retire VS 2019 projects +* CMake project updates +* MakeSpriteFont, xbwtool: updated to support feedback + ### October 27, 2025 * GamePad, Keyboard, and Mouse _GameInput_ implementation now supports v0 - v3 of the API * Code review, particularly for invalid args validation diff --git a/CMakeLists.txt b/CMakeLists.txt index 917bc9f11..36342db36 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ if(POLICY CMP0162) cmake_policy(SET CMP0162 NEW) endif() -set(DIRECTXTK_VERSION 1.9.2) +set(DIRECTXTK_VERSION 1.9.3) if(XBOX_CONSOLE_TARGET STREQUAL "durango") set(CMAKE_TRY_COMPILE_TARGET_TYPE "STATIC_LIBRARY") diff --git a/README.md b/README.md index b25e3b806..771bca22a 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ http://go.microsoft.com/fwlink/?LinkId=248929 Copyright (c) Microsoft Corporation. -# October 27, 2025 +## March 31, 2026 This package contains the "DirectX Tool Kit", a collection of helper classes for writing Direct3D 11 C++ code for Win32 desktop applications for Windows 8.1 or later, Xbox One, and Universal Windows Platform (UWP) apps for Windows 10 and Windows 11. @@ -110,7 +110,7 @@ For a full change history, see [CHANGELOG.md](https://github.com/microsoft/Direc * As of the October 2024 release, the xwbtool command-line tool also supports GNU-style long options using ``--``. All existing switches continue to function. MakeSpriteFont supports only `--version` and ``--help`` for POSIX-style parameters. -* Xbox One support for DirectX 11 requires the legacy Xbox One XDK. See February 2023 or earlier releases of _DirectX Tool Kit_ for the required MSBuild project files. It can also be built using the current CMake project from an _Xbox One XDK Developer Command Prompt_ with the addition of CMake 3.20 or later to the path via the `x64-Debug-Durango` or `x64-Release-Durango` CMake preset. +* Xbox One support for DirectX 11 requires the legacy Xbox One XDK. See February 2023 or earlier releases of _DirectX Tool Kit_ for the required MSBuild project files. It can also be built using the current CMake project from an _Xbox One XDK Developer Command Prompt_ with the addition of CMake 3.21 or later to the path via the `x64-Debug-Durango` or `x64-Release-Durango` CMake preset. ## Support diff --git a/SECURITY.md b/SECURITY.md index 167c4b408..e751608fc 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,41 +1,14 @@ - + ## Security -Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet) and [Xamarin](https://github.com/xamarin). - -If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/security.md/definition), please report it to us as described below. - -## Reporting Security Issues +Microsoft takes the security of our software products and services seriously, which +includes all source code repositories in our GitHub organizations. **Please do not report security vulnerabilities through public GitHub issues.** -Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/security.md/msrc/create-report). - -If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/security.md/msrc/pgp). - -You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc). - -Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: - -* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) -* Full paths of source file(s) related to the manifestation of the issue -* The location of the affected source code (tag/branch/commit or direct URL) -* Any special configuration required to reproduce the issue -* Step-by-step instructions to reproduce the issue -* Proof-of-concept or exploit code (if possible) -* Impact of the issue, including how an attacker might exploit the issue - -This information will help us triage your report more quickly. - -If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/security.md/msrc/bounty) page for more details about our active programs. - -## Preferred Languages - -We prefer all communications to be in English. - -## Policy - -Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/security.md/cvd). +For security reporting information, locations, contact information, and policies, +please review the latest guidance for Microsoft repositories at +[https://aka.ms/SECURITY.md](https://aka.ms/SECURITY.md). - + \ No newline at end of file diff --git a/build/preparerelease.ps1 b/build/preparerelease.ps1 index bef95a6ac..261c6896e 100644 --- a/build/preparerelease.ps1 +++ b/build/preparerelease.ps1 @@ -100,7 +100,7 @@ if($UpdateVersion) { (Get-Content $cmake).Replace("set(DIRECTXTK_VERSION $version)","set(DIRECTXTK_VERSION $newversion)") | Set-Content $cmake } -(Get-Content $readme).Replace("$rawreleasedate", "# $newreleasedate") | Set-Content $readme +(Get-Content $readme).Replace("$rawreleasedate", "## $newreleasedate") | Set-Content $readme Get-ChildItem -Path ($reporoot + "\.nuget") -Filter *.nuspec | Foreach-Object { (Get-Content -Path $_.Fullname).Replace("$releasedate", "$newreleasedate") | Set-Content -Path $_.Fullname -Encoding utf8