Branch: refs/heads/architecture-release-note-sections Home: https://github.com/xwiki-contrib/application-releasenotes Commit: f3407a872df88d575fed6efe810b4f8b5361cd5c https://github.com/xwiki-contrib/application-releasenotes/commit/f3407a872df... Author: Vincent Massol <[email protected]> Date: 2026-09-30 (Wed, 30 Sep 2026) Changed paths: M application-releasenotes-api/src/main/java/org/xwiki/contrib/releasenotes/ChangeQuery.java A application-releasenotes-api/src/main/java/org/xwiki/contrib/releasenotes/ReleaseNoteSection.java M application-releasenotes-api/src/main/java/org/xwiki/contrib/releasenotes/script/ReleaseNotesScriptService.java A application-releasenotes-api/src/test/java/org/xwiki/contrib/releasenotes/ReleaseNoteSectionTest.java M application-releasenotes-api/src/test/java/org/xwiki/contrib/releasenotes/script/ReleaseNotesScriptServiceTest.java M application-releasenotes-ui/src/main/resources/ReleaseNotes/Code/Change/ReleaseNotesChangesMacro.xml M application-releasenotes-ui/src/test/java/org/xwiki/contrib/releasenotes/ReleaseNotesChangesMacroPageTest.java Log Message: ----------- RN-135: Define the sections of a release note in the Java API * New ReleaseNoteSection: for the query of a release note, its three sections in display order, each with its audience and the queries of its main and miscellaneous changes (screenshots for users and administrators, importance for developers) * New ChangeQuery copy constructor, and $services.releasenotes.getSections(query) * releasenotechanges loops over the sections instead of repeating three blocks: it builds its query with parseQuery, searches each part itself and keeps the forms and the rendering; the add-change condition is computed once * The changes are still published under the userChanges, userMiscChanges, ... variables; getChanges and displayChanges are unchanged * Verified on a wiki that the rendered release note is identical before and after Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/application-releasenotes/settings/notificat...