[xwiki-contrib/application-releasenotes] 653f0a: RN-127: Bound the limit of a change search from above
Branch: refs/heads/RN-127 Home: https://github.com/xwiki-contrib/application-releasenotes Commit: 653f0ae5d9f4fb7e1ed2570c23c81245446b7b9f https://github.com/xwiki-contrib/application-releasenotes/commit/653f0ae5d9f... Author: Vincent Massol <[email protected]> Date: 2026-10-12 (Mon, 12 Oct 2026) Changed paths: M application-releasenotes-api/src/main/java/org/xwiki/contrib/releasenotes/ChangeQuery.java M application-releasenotes-api/src/main/java/org/xwiki/contrib/releasenotes/ChangeQueryParser.java M application-releasenotes-api/src/main/java/org/xwiki/contrib/releasenotes/internal/DefaultChangeQueryParser.java A application-releasenotes-api/src/test/java/org/xwiki/contrib/releasenotes/ChangeQueryTest.java M application-releasenotes-api/src/test/java/org/xwiki/contrib/releasenotes/internal/DefaultChangeQueryParserTest.java M application-releasenotes-rest/src/main/java/org/xwiki/contrib/releasenotes/rest/ChangesResource.java Log Message: ----------- RN-127: Bound the limit of a change search from above * Add `ChangeQuery#MAX_LIMIT` (1000), to which `ChangeQuery#setLimit` lowers a higher limit * Move the replacement of a limit lower than 1 by the default one from the parser into `ChangeQuery#setLimit`, so that a query built by a script and passed to the script service is bounded too * Document the maximum on the REST `limit` parameter and on `ChangeQueryParser#parse` 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