This is an automated email from the ASF dual-hosted git repository. robertlazarski pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git
commit ed3d5de85c420e4a7f305994b3f4a2104b5c7373 Author: Robert Lazarski <[email protected]> AuthorDate: Sun Oct 11 06:15:33 2026 -1000 Note json field filtering fix in 2.0.2 release notes Co-Authored-By: Claude Opus 5.5 <[email protected]> --- src/site/markdown/release-notes/2.0.2.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/site/markdown/release-notes/2.0.2.md b/src/site/markdown/release-notes/2.0.2.md index 08c28b5a6e..a74581fe13 100644 --- a/src/site/markdown/release-notes/2.0.2.md +++ b/src/site/markdown/release-notes/2.0.2.md @@ -342,3 +342,10 @@ in `SECURITY.md`. Content-Security-Policy with a per-response script nonce, and the published `servers[].url` is relative rather than derived from the request Host. `openapi.serverBaseUrl` pins an absolute URL where a deployment needs one. + +- **JSON field filtering only narrows a response.** The `?fields=` selector read + fields by reflection, so it could name one the serializer never writes: the + synthetic `this$0` of a non-static inner class, which returned the enclosing + object, or with Moshi a field marked `@Json(ignore = true)`. Those fields are now + skipped at the top level and in dot paths alike, so a filtered response holds + only fields the unfiltered one already contains.
