From 3da01547d300c690bad276f59f311bd1a1b4d8e8 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Wed, 9 Jul 2025 14:10:10 -0700 Subject: [PATCH] July 2, 2025 --- .nuget/directxtk_desktop_2019.nuspec | 2 +- .nuget/directxtk_desktop_win10.nuspec | 2 +- .nuget/directxtk_uwp.nuspec | 2 +- CHANGELOG.md | 7 +++++++ CMakeLists.txt | 2 +- README.md | 2 +- build/preparerelease.ps1 | 6 +++--- 7 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.nuget/directxtk_desktop_2019.nuspec b/.nuget/directxtk_desktop_2019.nuspec index a925cf88e..92b2879b3 100644 --- a/.nuget/directxtk_desktop_2019.nuspec +++ b/.nuget/directxtk_desktop_2019.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 March 20, 2025 release on GitHub. + Matches the July 9, 2025 release on GitHub. DirectX Tool Kit for Audio in this package uses XAudio 2.8 to support Windows 8.1. http://go.microsoft.com/fwlink/?LinkId=248929 diff --git a/.nuget/directxtk_desktop_win10.nuspec b/.nuget/directxtk_desktop_win10.nuspec index e1cd4e06b..8d9ca055f 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 March 20, 2025 release on GitHub. + Matches the July 9, 2025 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 db167e1fb..f6bc6f29c 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 March 20, 2025 release on GitHub. + Matches the July 9, 2025 release on GitHub. http://go.microsoft.com/fwlink/?LinkId=248929 images\icon.jpg diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ea267fee..5f93bce42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ Release available for download on [GitHub](https://github.com/microsoft/DirectXT ## Release History +### July 9, 2025 +* GamePad, Keyboard, and Mouse _GameInput_ implementation now supports v0, v1, and v2 of the API +* Additional bounds checking for CMO and SDKMESH readers +* Reformat source using updated .editorconfig settings and general lint cleanup +* Minor code review +* CMake project updates + ### March 20, 2025 * C++17 `std::byte` support for `FromMemory` functions * GamePad, Keyboard, and Mouse _GameInput_ implementation now supports both v0 and v1 of the API diff --git a/CMakeLists.txt b/CMakeLists.txt index e23817ee1..434edf535 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required (VERSION 3.20) -set(DIRECTXTK_VERSION 1.9.1) +set(DIRECTXTK_VERSION 1.9.2) if(XBOX_CONSOLE_TARGET STREQUAL "durango") set(CMAKE_TRY_COMPILE_TARGET_TYPE "STATIC_LIBRARY") diff --git a/README.md b/README.md index ab817689b..4a6d8c6b2 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ http://go.microsoft.com/fwlink/?LinkId=248929 Copyright (c) Microsoft Corporation. -# March 20, 2025 +## July 9, 2025 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. diff --git a/build/preparerelease.ps1 b/build/preparerelease.ps1 index c7c7b078e..bef95a6ac 100644 --- a/build/preparerelease.ps1 +++ b/build/preparerelease.ps1 @@ -68,11 +68,11 @@ else { $newversion = $newrawversion[0] + "." + $newrawversion[1] + "." + $newrawversion[2] -$rawreleasedate = $(Get-Content $readme) | Select-String -Pattern "\*\*[A-Z][a-z]+\S.\d+,?\S.\d\d\d\d\*\*" +$rawreleasedate = $(Get-Content $readme) | Select-String -Pattern "\#\#\s.[A-Z][a-z]+\S.\d+,?\S.\d\d\d\d" if ([string]::IsNullOrEmpty($rawreleasedate)) { Write-Error "ERROR: Failed to current release date!" -ErrorAction Stop } -$releasedate = $rawreleasedate -replace '\*','' +$releasedate = $rawreleasedate -replace '## ','' if($releasedate -eq $newreleasedate) { Write-Error ("ERROR: Release "+$releasedate+" already exists!") -ErrorAction Stop @@ -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