This is an automated email from the ASF dual-hosted git repository.

jamesbognar pushed a commit to branch docs
in repository https://gitbox.apache.org/repos/asf/juneau.git


The following commit(s) were added to refs/heads/docs by this push:
     new 4255d8b68d Add 10.0.0 release note for SerializerWriter CRTP 
conversion (TODO-278)
4255d8b68d is described below

commit 4255d8b68de4eec338a96bbc7da6436c7b556769
Author: James Bognar <[email protected]>
AuthorDate: Tue Jul 21 16:26:54 2026 -0400

    Add 10.0.0 release note for SerializerWriter CRTP conversion (TODO-278)
    
    Co-authored-by: Cursor <[email protected]>
---
 pages/release-notes/10.0.0.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pages/release-notes/10.0.0.md b/pages/release-notes/10.0.0.md
index 572e472e8f..215da1ab74 100644
--- a/pages/release-notes/10.0.0.md
+++ b/pages/release-notes/10.0.0.md
@@ -771,6 +771,7 @@ _TBD — to be filled in as development continues._
 - **`jsonschema` bean family converted to CRTP self-typing (TODO-275).** 
`JsonSchema` and `JsonSchemaProperty` are now self-typed roots 
(`JsonSchema<SELF extends JsonSchema<SELF>>`, `JsonSchemaProperty<SELF extends 
JsonSchemaProperty<SELF>>`); the ~185 covariant setter-narrowing overrides on 
`JsonSchemaProperty`/`JsonSchemaPropertySimpleArray`/`JsonSchemaRef` were 
removed. Fluent setters return the leaf type. Direct instantiation uses the 
diamond form (`new JsonSchema<>()`); marshalling  [...]
 - **`atom` bean family converted to CRTP self-typing (TODO-276).** 
`CommonEntry` is now a self-typed root `CommonEntry<SELF extends 
CommonEntry<SELF>>`; the 42 covariant setter-narrowing overrides on 
`Feed`/`Entry`/`Source` were removed (fluent setters return the leaf type). 
Marshalling is unchanged. Source-visible generification of this exported bean 
is a 10.0.0 change (raw declarations may warrant a `<?>` wildcard).
 - **`html5` bean family converted to CRTP self-typing (TODO-277).** 
`HtmlElement` and its 5 intermediates 
(`HtmlElementVoid`/`Text`/`RawText`/`Mixed`/`Container`) are now abstract 
self-typed roots (`HtmlElement<SELF extends HtmlElement<SELF>>`, etc.); ~7,282 
covariant setter-narrowing overrides were removed across the 108 leaf element 
beans, whose fluent setters now return the leaf type. Leaves stay 
concrete/non-generic, so `HtmlBuilder.a()` / `new Div()` and marshalling are 
unaffected.  [...]
+- **`SerializerWriter` family converted to CRTP self-typing (TODO-278).** 
`SerializerWriter` is now an abstract self-typed root (`SerializerWriter<SELF 
extends SerializerWriter<SELF>> extends Writer`); its fluent methods — 
including the `java.io.Writer` `append(...)` overloads — return `SELF`, and 
~330 covariant narrowing overrides were removed across the 13 format writers. 
The concrete-and-base writers `JsonWriter`/`XmlWriter`/`HtmlWriter` became 
abstract generic bases, each with a new  [...]
 
 _Other entries TBD — to be filled in before release. See also the major 
version bump note above._
 

Reply via email to