What's Changed
Added
CancellationTokensupport across the public async API surface.PagedResult<T>plus paged query/get helpers for exposing pagination metadata without parsing headers manually.- First-class
IServiceCollectionregistration helpers forWordPressClient. - Opt-in structured logging diagnostics for the HTTP request/response lifecycle.
- Versioned reference docs for 3.x, while restoring dedicated 2.x and 1.x reference sets.
- Expanded documentation for endpoint coverage, custom fields, and updated HTTPS quickstart/auth examples.
Changed
- Retargeted the library, tests, and CI/tooling to .NET 10, dropping previous .NET Standard and .NET 6 test targets.
- Centralized shared .NET configuration via
Directory.Build.propsandDirectory.Packages.props. - Enabled nullable reference types across the public API and the full solution.
- Migrated serialization from
Newtonsoft.JsontoSystem.Text.Json. - Standardized
GetByIdAsyncnaming across the API surface and aligned remaining public async method names/signatures. - Modernized
HttpClientownership so DI-managed clients can be injected cleanly. - Cleaned build warnings and aligned analyzer usage with the .NET 10 SDK.
- Adopted GitHub Release-based publishing with tag-driven versioning and changelog-driven release notes.
- Updated GitHub Actions workflows for the
mainbranch, Docker Compose v2, and newer action runtimes.
Fixed
- Comment status updates now serialize correctly.
- Comment updates skip null-only meta payloads that should not be sent.
- Docker-based self-hosted integration test setup is more reliable.
- Documentation and examples were refreshed to match current API names and behavior.
Full Changelog: https://github.com/wp-net/WordPressPCL/blob/main/CHANGELOG.md#300