[PTRun][ValueGenerator]Add support for UUIDv7 (#35757)

* add Run support for UUIDv7 generation

* simplify comments and maybe satisfy spell check

* fix endianess

* prefer stack allocation for temporary fixed-size buffer

* perhaps the async test caused the pipeline to hang

* switch to .NET 9 BCL implementation of UUIDv7

* add UUIDv7 to input query suggestions + update exception messages to include v7

* simplify Guid description switch + update devdocs
This commit is contained in:
Frederik Höft
2024-11-28 16:52:16 +01:00
committed by GitHub
parent 3dc491339a
commit fc29fc7426
9 changed files with 98 additions and 62 deletions

View File

@@ -94,7 +94,7 @@ namespace Community.PowerToys.Run.Plugin.ValueGenerator
if (!int.TryParse(versionQuery, null, out version))
{
throw new FormatException("Could not determine requested GUID version. Supported versions are 1, 3, 4 and 5");
throw new FormatException("Could not determine requested GUID version. Supported versions are 1, 3, 4, 5, and 7");
}
}