diff --git a/AGENTS.md b/AGENTS.md index a9feabf..97bbacb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -19,6 +19,9 @@ AngleSharp.Wasm extends AngleSharp with WebAssembly execution and a DOM/JavaScri - The solution is `src/AngleSharp.Wasm.sln`. - The library and test projects target `net8.0` and `net10.0`. - The library references AngleSharp 1.x and Wasmtime 44.0.0. +- The library sets `IsAotCompatible`, so a trim or AOT analyzer warning breaks the build. Avoid + reflection over runtime types; the analyzers only see this assembly, so publishing a small + `PublishAot` console app against it is the end-to-end check. - The default runtime is `WasmtimeWasmRuntime`, registered through `Configuration.WithWasm()`. - `global.json`, when present, controls the SDK version used by the build wrapper. diff --git a/CHANGELOG.md b/CHANGELOG.md index ffd4982..5245b8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 1.1.1 + +- Added trimming and Native AOT compatibility (`IsAotCompatible`) for the .NET 8 and .NET 10 targets (#17) @michaelthyregod + # 1.1.0 Released on Friday, August 21 2026. diff --git a/src/AngleSharp.Wasm/AngleSharp.Wasm.csproj b/src/AngleSharp.Wasm/AngleSharp.Wasm.csproj index 8bd909b..868bf5f 100644 --- a/src/AngleSharp.Wasm/AngleSharp.Wasm.csproj +++ b/src/AngleSharp.Wasm/AngleSharp.Wasm.csproj @@ -4,8 +4,22 @@ AngleSharp.Wasm net8.0;net10.0 true + + true + + + + + https://anglesharp.github.io MIT