Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"rollForward": false
},
"dotnet-inspect": {
"version": "0.27.0",
"version": "0.28.0",
"commands": [
"dotnet-inspect"
],
"rollForward": false
},
"purview.build": {
"version": "0.9.1",
"version": "0.9.2",
"commands": [
"purview-build"
],
Expand Down
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Purview.BuildSdk 2.0.1 - managed file, do not edit
# Purview.BuildSdk 2.1.0 - managed file, do not edit
#
# This file is written by Purview.BuildSdk and is replaced whenever the SDK version changes. The version
# on the first line is how the SDK recognises a file it owns: a .editorconfig without that marker is
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ just test # dotnet test --project src/ZodSharp.slnx -c Debug --treen
just lint-check # dotnet csharpier check .
just lint-fix # dotnet csharpier format .
just pack # dotnet pack src/ZodSharp.slnx -c Debug -o artifacts
just perf-tests # dotnet run --project src/src/Benchmarks/Benchmarks.csproj -c Debug
just perf-tests # dotnet run --project src/src/Benchmarks/Benchmarks.csproj -c Release -f net10.0
just pipeline-pr # PR pipeline via Purview.Build (restore, build, lint, tests)
just pipeline-release # Release pipeline (pack, publish, GitHub release)
just bump patch # bump package.json's version (major|minor|patch); --dry-run prints only
Expand Down
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<RoslynCompilerVersion>5.9.0</RoslynCompilerVersion>
<RoslynAnalyzersVersion>5.9.0</RoslynAnalyzersVersion>
<TUnitVersion>1.83.0</TUnitVersion>
<PurviewSourceGenFramework>2.0.0</PurviewSourceGenFramework>
<PurviewSourceGenFramework>2.1.0</PurviewSourceGenFramework>
<DotnetRuntimeVersion>10.0.15</DotnetRuntimeVersion>
<!--
Microsoft.Extensions.Options and ...DependencyInjection.Abstractions are real dependencies of
Expand Down Expand Up @@ -68,7 +68,7 @@
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="$(RoslynAnalyzersVersion)" />
<PackageVersion Include="TUnit" Version="$(TUnitVersion)" />
<PackageVersion Include="TUnit.Mocks" Version="$(TUnitVersion)" />
<PackageVersion Include="Purview.Skills.Testing" Version="2.0.0" />
<PackageVersion Include="Purview.Skills.Testing" Version="2.1.0" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.4" />
<PackageVersion Include="System.Text.Json" Version="$(DotnetRuntimeVersion)" />
<PackageVersion Include="BenchmarkDotNet" Version="0.16.0-preview.2" />
Expand Down
3 changes: 1 addition & 2 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,10 @@ verify-pack-rules *args: ensure-tools
scan-compiler-host-leaks +paths:
pwsh -NoProfile -File scripts/assert-no-compiler-host-assemblies.ps1 -Path {{ paths }}

# Run the performance benchmarks with the specified configuration, defaulting to "Debug"
# Run the performance benchmarks in Release for net10.0; pass `-f net11.0` to run them on .NET 11
[group('Build and Test')]
perf-tests *args:
echo "Running performance tests for {{ BLUE }}{{ perf_tests_project }}{{ NORMAL }}"
# Benchmarks multi-target net10.0/net11.0; default to net10.0. Pass `-f net11.0` to run on .NET 11.
dotnet run --project {{ perf_tests_project }} -c Release -f net10.0 {{ args }}

# The CI `aot-sample` job runs the same publish for linux-x64. Windows needs the MSVC C++ build tools, Linux clang.
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ dotnet add package Purview.ZodSharp.Blazor
### PackageReference

```xml
<PackageReference Include="Purview.ZodSharp" Version="3.0.0-prerelease.5" />
<PackageReference Include="Purview.ZodSharp.SystemTextJson" Version="3.0.0-prerelease.5" />
<PackageReference Include="Purview.ZodSharp.NewtonsoftJson" Version="3.0.0-prerelease.5" />
<PackageReference Include="Purview.ZodSharp.Http" Version="3.0.0-prerelease.5" />
<PackageReference Include="Purview.ZodSharp.AspNetCore" Version="3.0.0-prerelease.5" />
<PackageReference Include="Purview.ZodSharp.Extensions.Validation" Version="3.0.0-prerelease.5" />
<PackageReference Include="Purview.ZodSharp.AspNetCore.OpenApi" Version="3.0.0-prerelease.5" />
<PackageReference Include="Purview.ZodSharp.Blazor" Version="3.0.0-prerelease.5" />
<PackageReference Include="Purview.ZodSharp" Version="3.0.0" />
<PackageReference Include="Purview.ZodSharp.SystemTextJson" Version="3.0.0" />
<PackageReference Include="Purview.ZodSharp.NewtonsoftJson" Version="3.0.0" />
<PackageReference Include="Purview.ZodSharp.Http" Version="3.0.0" />
<PackageReference Include="Purview.ZodSharp.AspNetCore" Version="3.0.0" />
<PackageReference Include="Purview.ZodSharp.Extensions.Validation" Version="3.0.0" />
<PackageReference Include="Purview.ZodSharp.AspNetCore.OpenApi" Version="3.0.0" />
<PackageReference Include="Purview.ZodSharp.Blazor" Version="3.0.0" />
```

- **Purview.ZodSharp** — Core validation library, source generator (`[ZodSchema]`) and JSON Schema export. See its [package README](src/src/ZodSharp/Sdk/README.md).
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"rollForward": "latestFeature"
},
"msbuild-sdks": {
"Purview.BuildSdk": "2.0.1"
"Purview.BuildSdk": "2.1.0"
},
"test": {
"runner": "Microsoft.Testing.Platform"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zodsharp",
"version": "3.0.0-prerelease.6",
"version": "3.0.0",
"private": true,
"license": "MIT",
"author": {
Expand Down
12 changes: 6 additions & 6 deletions skills-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"source": "purview-dev/purview-dev.github.io",
"sourceType": "github",
"skillPath": "skills/add-project-intake/SKILL.md",
"computedHash": "7bbdebc825ad435e35ebd350585dec218da32d44005b87b1949005e5356045ec"
"computedHash": "407e6ede1873adf3e933dfb402a0536eb1bfd4c9bd587af68408ec49b1ae6604"
},
"audit-catalogue-projects": {
"source": "purview-dev/purview-dev.github.io",
Expand All @@ -29,7 +29,7 @@
"source": "purview-dev/purview-dev.github.io",
"sourceType": "github",
"skillPath": "skills/github-repo-metadata/SKILL.md",
"computedHash": "94429f2e0a07fbccbb2af8316759768ce86759ea9557e9118ae3a686f04a3c23"
"computedHash": "29b2c46599846f57a15dc63d440c808e4f90f84056f73c7d1d1be2fed71ec18d"
},
"project-manifest-reference": {
"source": "purview-dev/purview-dev.github.io",
Expand Down Expand Up @@ -155,19 +155,19 @@
"source": "purview-dev/purview-dev.github.io",
"sourceType": "github",
"skillPath": "skills/purview-site-assessment/SKILL.md",
"computedHash": "6112f08130fda26f0ef5fafbb7084d20b758c1cd5edd70d7a689d7933c6b2afa"
"computedHash": "f5277c639e5beb6f781625307de26329eb91f548928cfe6aefdd37d9ddb73045"
},
"purview-site-docs": {
"source": "purview-dev/purview-dev.github.io",
"sourceType": "github",
"skillPath": "skills/purview-site-docs/SKILL.md",
"computedHash": "b11f8d1d71e5c07b978dd8308a15896890a2384f3545075d582a935565fb1ca1"
"computedHash": "9c1aa10adf8e6a3fe1de89f6509f88b3f76875b30574299454b9c0903c50db1a"
},
"purview-site-integration": {
"source": "purview-dev/purview-dev.github.io",
"sourceType": "github",
"skillPath": "skills/purview-site-integration/SKILL.md",
"computedHash": "56ed9760a93e60a2abae8d790eb6405b93950d9de010e22ce3d5cf9e10e25802"
"computedHash": "4f79ec42946f295526a70742b1ee42be51f4a3dd3d955b2101cb87fa6a3a5bcb"
},
"purview-sourcegenerator-attribute-data-models": {
"source": "purview-dev/sourcegenerator-framework",
Expand Down Expand Up @@ -227,7 +227,7 @@
"source": "purview-dev/purview-dev.github.io",
"sourceType": "github",
"skillPath": "skills/site-validation-loop/SKILL.md",
"computedHash": "fbeadc96c6cf59d54cd037b5084aa3d0fb1dd89542705dd1c3a8ca5704b5b5da"
"computedHash": "cee0c49a7737b88f2367a4a3052c19584dbf12da639cf22f110942be8fa44284"
},
"use-case-authoring": {
"source": "purview-dev/purview-dev.github.io",
Expand Down
Loading