[xwiki-contrib/application-releasenotes] 7ad7bc: RN-130: Add Importance#getName and Importance#from...
Branch: refs/heads/architecture-change-xclass-schema Home: https://github.com/xwiki-contrib/application-releasenotes Commit: 7ad7bc94df671e2734045a0d7342c37621129ebd https://github.com/xwiki-contrib/application-releasenotes/commit/7ad7bc94df6... Author: Vincent Massol <[email protected]> Date: 2026-09-30 (Wed, 30 Sep 2026) Changed paths: M application-releasenotes-api/pom.xml M application-releasenotes-api/src/main/java/org/xwiki/contrib/releasenotes/Audience.java M application-releasenotes-api/src/main/java/org/xwiki/contrib/releasenotes/Importance.java M application-releasenotes-api/src/main/java/org/xwiki/contrib/releasenotes/internal/ChangeSearcher.java A application-releasenotes-api/src/main/java/org/xwiki/contrib/releasenotes/internal/ChangeXObjects.java M application-releasenotes-api/src/main/java/org/xwiki/contrib/releasenotes/internal/DefaultChangeManager.java M application-releasenotes-api/src/main/java/org/xwiki/contrib/releasenotes/internal/DefaultChangeQueryParser.java M application-releasenotes-api/src/main/java/org/xwiki/contrib/releasenotes/internal/DefaultReleaseNoteManager.java M application-releasenotes-api/src/main/java/org/xwiki/contrib/releasenotes/internal/EntryPageAllocator.java A application-releasenotes-api/src/main/java/org/xwiki/contrib/releasenotes/internal/ReleaseNotesDocumentStore.java R application-releasenotes-api/src/main/java/org/xwiki/contrib/releasenotes/internal/ReleaseNotesDocumentWriter.java M application-releasenotes-api/src/main/java/org/xwiki/contrib/releasenotes/internal/ReleaseNotesReferences.java M application-releasenotes-api/src/main/resources/META-INF/components.txt M application-releasenotes-api/src/test/java/org/xwiki/contrib/releasenotes/ImportanceTest.java A application-releasenotes-api/src/test/java/org/xwiki/contrib/releasenotes/internal/ChangeXObjectsTest.java M application-releasenotes-api/src/test/java/org/xwiki/contrib/releasenotes/internal/DefaultChangeManagerTest.java M application-releasenotes-api/src/test/java/org/xwiki/contrib/releasenotes/internal/DefaultReleaseNoteManagerTest.java A application-releasenotes-api/src/test/java/org/xwiki/contrib/releasenotes/internal/ReleaseNotesDocumentStoreTest.java R application-releasenotes-api/src/test/java/org/xwiki/contrib/releasenotes/internal/ReleaseNotesDocumentWriterTest.java M application-releasenotes-rest/pom.xml M application-releasenotes-rest/src/main/java/org/xwiki/contrib/releasenotes/rest/internal/RepresentationFactory.java M application-releasenotes-ui/src/test/java/org/xwiki/contrib/releasenotes/ReleaseNotesApiComponentList.java Log Message: ----------- RN-130: Add Importance#getName and Importance#fromName so that callers stop parsing importance names themselves * Add `Importance#getName()` and `Importance#fromName(String)`, and use them in the change query parser and the REST representation factory instead of each looping over the values * Lower-case the stored audience with `Locale.ROOT` * Give the change schema one owner: the new internal `ChangeXObjects` holds the EntryClass/ChangeClass property names (also used by `ChangeSearcher`), reads a change, and writes it either over the template or as a replacement, with the "both objects or no change" check in one place * Rename `ReleaseNotesDocumentWriter` to `ReleaseNotesDocumentStore` and give it the page loading the two managers and the entry allocator each copied * Move the release note page layout (product + short version) to `ReleaseNotesReferences`, so that `EntryPageAllocator` no longer depends on `ReleaseNoteManager` * Test the storage format in `ChangeXObjectsTest`, and make the manager tests go through the create/read round trip * Raise the coverage thresholds of the api (0.96) and rest (0.98) modules 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...
participants (1)
-
XWiki Notifications