Branch: refs/heads/master Home: https://github.com/xwiki-contrib/application-releasenotes Commit: fad102cdcfcaff94500078da14e75c34b458b8c4 https://github.com/xwiki-contrib/application-releasenotes/commit/fad102cdcfc... Author: Vincent Massol <[email protected]> Date: 2026-09-09 (Wed, 09 Sep 2026) Changed paths: M application-releasenotes-rest/src/main/java/org/xwiki/contrib/releasenotes/rest/ChangesResource.java M application-releasenotes-rest/src/main/java/org/xwiki/contrib/releasenotes/rest/ReleaseNotesResource.java M application-releasenotes-rest/src/main/java/org/xwiki/contrib/releasenotes/rest/internal/DefaultChangesResource.java M application-releasenotes-rest/src/main/java/org/xwiki/contrib/releasenotes/rest/internal/DefaultReleaseNotesResource.java M application-releasenotes-rest/src/test/java/org/xwiki/contrib/releasenotes/rest/internal/DefaultChangesResourceTest.java M application-releasenotes-rest/src/test/java/org/xwiki/contrib/releasenotes/rest/internal/DefaultReleaseNotesResourceTest.java M application-releasenotes-test/application-releasenotes-test-docker/src/test/it/org/xwiki/contrib/releasenotes/test/ui/ReleaseNotesRestIT.java Log Message: ----------- RN-115: Add REST endpoints to create and list release notes and changes The two endpoints that create something answered 201 with a body built from the request rather than from the page they had just written, so a client was told values the wiki does not hold. Creation is template-driven, and a property the caller leaves out holds the value its template gives it, so every such default was reported as null. * Answer POST /releasenotes and POST .../changes with the created page read back, through the getReleaseNote and getChange methods the roles already carry, rather than with the request bean. A change posted without an importance now reports the medium the change template gives it, and a release note posted without a product reports the product configured for the wiki. * Say in the Javadoc of both endpoints that the answer is the stored value and not the posted one. * Assert the body of the 201 in DefaultChangesResourceTest and DefaultReleaseNotesResourceTest, which is the assertion nobody had, and add a change posted without an importance to ReleaseNotesRestIT so the template default is proven end to end on a real wiki. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Commit: 6a22669a2894422b5ee664046da945488f1605b7 https://github.com/xwiki-contrib/application-releasenotes/commit/6a22669a289... Author: Vincent Massol <[email protected]> Date: 2026-09-09 (Wed, 09 Sep 2026) Changed paths: M application-releasenotes-rest/src/main/java/org/xwiki/contrib/releasenotes/rest/ChangesResource.java M application-releasenotes-rest/src/main/java/org/xwiki/contrib/releasenotes/rest/ReleaseNotesResource.java M application-releasenotes-rest/src/main/java/org/xwiki/contrib/releasenotes/rest/internal/DefaultChangesResource.java M application-releasenotes-rest/src/main/java/org/xwiki/contrib/releasenotes/rest/internal/DefaultReleaseNotesResource.java M application-releasenotes-rest/src/test/java/org/xwiki/contrib/releasenotes/rest/internal/DefaultChangesResourceTest.java M application-releasenotes-rest/src/test/java/org/xwiki/contrib/releasenotes/rest/internal/DefaultReleaseNotesResourceTest.java M application-releasenotes-test/application-releasenotes-test-docker/src/test/it/org/xwiki/contrib/releasenotes/test/ui/ReleaseNotesRestIT.java Log Message: ----------- Merge pull request #61 from xwiki-contrib/RN-115-response-body RN-115: Add REST endpoints to create and list release notes and changes Compare: https://github.com/xwiki-contrib/application-releasenotes/compare/d5a15b371e... To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/application-releasenotes/settings/notificat...