diff --git a/.nuget/directxtex_desktop_2019.nuspec b/.nuget/directxtex_desktop_2019.nuspec index 447f3a1..397a8af 100644 --- a/.nuget/directxtex_desktop_2019.nuspec +++ b/.nuget/directxtex_desktop_2019.nuspec @@ -10,7 +10,7 @@ This version is for Windows desktop applications using Visual Studio 2019 (16.11) or Visual Studio 2022 on Windows 8.1 or later. DirectXTex, a shared source library for reading and writing .DDS files, and performing various texture content processing operations including resizing, format conversion, mip-map generation, block compression for Direct3D runtime texture resources, and height-map to normal-map conversion. This library makes use of the Windows Image Component (WIC) APIs. It also includes simple .TGA and .HDR readers and writers since these image file format are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec. - Matches the March 24, 2025 release on GitHub. + Matches the July 9, 2025 release on GitHub. http://go.microsoft.com/fwlink/?LinkId=248926 images\icon.jpg diff --git a/.nuget/directxtex_desktop_win10.nuspec b/.nuget/directxtex_desktop_win10.nuspec index 56da03d..50437b5 100644 --- a/.nuget/directxtex_desktop_win10.nuspec +++ b/.nuget/directxtex_desktop_win10.nuspec @@ -10,7 +10,7 @@ This version is for Windows desktop applications using Visual Studio 2022 on Windows 10 / Windows 11 including both DirectX 11 and DirectX 12. DirectXTex, a shared source library for reading and writing .DDS files, and performing various texture content processing operations including resizing, format conversion, mip-map generation, block compression for Direct3D runtime texture resources, and height-map to normal-map conversion. This library makes use of the Windows Image Component (WIC) APIs. It also includes simple .TGA and .HDR readers and writers since these image file format are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec. - Matches the March 24, 2025 release on GitHub. + Matches the July 9, 2025 release on GitHub. http://go.microsoft.com/fwlink/?LinkId=248926 images\icon.jpg diff --git a/.nuget/directxtex_uwp.nuspec b/.nuget/directxtex_uwp.nuspec index 3e4471c..48b9b19 100644 --- a/.nuget/directxtex_uwp.nuspec +++ b/.nuget/directxtex_uwp.nuspec @@ -10,7 +10,7 @@ This version is for Universal Windows Platform apps on Windows 10 / Windows 11 using Visual Studio 2022. DirectXTex, a shared source library for reading and writing .DDS files, and performing various texture content processing operations including resizing, format conversion, mip-map generation, block compression for Direct3D runtime texture resources, and height-map to normal-map conversion. This library makes use of the Windows Image Component (WIC) APIs. It also includes simple .TGA and .HDR readers and writers since these image file format are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec. - Matches the March 24, 2025 release on GitHub. + Matches the July 9, 2025 release on GitHub. http://go.microsoft.com/fwlink/?LinkId=248926 images\icon.jpg diff --git a/CHANGELOG.md b/CHANGELOG.md index ce3cf11..a6c0a4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ Release available for download on [GitHub](https://github.com/microsoft/DirectXT ## Release History +### July 9, 2025 +* Reformat source using updated .editorconfig settings and general lint cleanup +* Minor code review +* CMake project updates + ### March 24, 2025 * C++17 `std::byte` support for `FromMemory` functions * Added **ComputeTileShape** method to compute Direct3D Tiled Resource standard dimensions diff --git a/CMakeLists.txt b/CMakeLists.txt index 6dcb690..d622f96 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required (VERSION 3.20) -set(DIRECTXTEX_VERSION 2.0.7) +set(DIRECTXTEX_VERSION 2.0.8) if(XBOX_CONSOLE_TARGET STREQUAL "durango") set(CMAKE_TRY_COMPILE_TARGET_TYPE "STATIC_LIBRARY") diff --git a/DirectXTex/DirectXTex.h b/DirectXTex/DirectXTex.h index d35cedc..9cdacb7 100644 --- a/DirectXTex/DirectXTex.h +++ b/DirectXTex/DirectXTex.h @@ -47,7 +47,7 @@ struct IWICImagingFactory; struct IWICMetadataQueryReader; #endif -#define DIRECTX_TEX_VERSION 207 +#define DIRECTX_TEX_VERSION 208 #if defined(_WIN32) && defined(DIRECTX_TEX_EXPORT) #ifdef __GNUC__ diff --git a/README.md b/README.md index 0a9069c..23da6a7 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ http://go.microsoft.com/fwlink/?LinkId=248926 Copyright (c) Microsoft Corporation. -## March 24, 2025 +## July 9, 2025 This package contains DirectXTex, a shared source library for reading and writing ``.DDS`` files, and performing various texture content processing operations including resizing, format conversion, mip-map generation, block compression for Direct3D runtime texture resources, and height-map to normal-map conversion. This library makes use of the Windows Image Component (WIC) APIs. It also includes ``.TGA`` and ``.HDR`` readers and writers since these image file formats are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec. diff --git a/build/preparerelease.ps1 b/build/preparerelease.ps1 index fea3a65..bae8312 100644 --- a/build/preparerelease.ps1 +++ b/build/preparerelease.ps1 @@ -69,11 +69,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 @@ -102,7 +102,7 @@ if($UpdateVersion) { (Get-Content $header).Replace("#define DIRECTX_TEX_VERSION $rawversion","#define DIRECTX_TEX_VERSION $newrawversion") | Set-Content $header } -(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