diff --git a/app/core/src/main/java/stirling/software/SPDF/controller/api/EditTableOfContentsController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/EditTableOfContentsController.java index 38ddc8715..3cdf7fa2b 100644 --- a/app/core/src/main/java/stirling/software/SPDF/controller/api/EditTableOfContentsController.java +++ b/app/core/src/main/java/stirling/software/SPDF/controller/api/EditTableOfContentsController.java @@ -46,8 +46,8 @@ public class EditTableOfContentsController { @Operation( summary = "Extract PDF Bookmarks", description = "Extracts bookmarks/table of contents from a PDF document as JSON.") - public ResponseEntity>> extractBookmarks(@RequestParam("file") MultipartFile file) - throws Exception { + public ResponseEntity>> extractBookmarks( + @RequestParam("file") MultipartFile file) throws Exception { try (PDDocument document = pdfDocumentFactory.load(file)) { PDDocumentOutline outline = document.getDocumentCatalog().getDocumentOutline(); diff --git a/app/core/src/main/java/stirling/software/SPDF/model/api/misc/AddPageNumbersRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/misc/AddPageNumbersRequest.java index c4b907465..46006c8dc 100644 --- a/app/core/src/main/java/stirling/software/SPDF/model/api/misc/AddPageNumbersRequest.java +++ b/app/core/src/main/java/stirling/software/SPDF/model/api/misc/AddPageNumbersRequest.java @@ -40,7 +40,8 @@ public class AddPageNumbersRequest extends PDFWithPageNums { private String fontColor; @Schema( - description = "Zero-padding width for page numbers (Bates Stamping). Set to 0 to disable padding", + description = + "Zero-padding width for page numbers (Bates Stamping). Set to 0 to disable padding", minimum = "0", defaultValue = "0", requiredMode = RequiredMode.NOT_REQUIRED) diff --git a/app/core/src/test/java/stirling/software/SPDF/controller/api/EditTableOfContentsControllerTest.java b/app/core/src/test/java/stirling/software/SPDF/controller/api/EditTableOfContentsControllerTest.java index 0a0e8c4dc..e07090e7a 100644 --- a/app/core/src/test/java/stirling/software/SPDF/controller/api/EditTableOfContentsControllerTest.java +++ b/app/core/src/test/java/stirling/software/SPDF/controller/api/EditTableOfContentsControllerTest.java @@ -85,7 +85,8 @@ class EditTableOfContentsControllerTest { when(mockOutlineItem.getNextSibling()).thenReturn(null); // When - ResponseEntity>> response = editTableOfContentsController.extractBookmarks(mockFile); + ResponseEntity>> response = + editTableOfContentsController.extractBookmarks(mockFile); // Then assertNotNull(response); @@ -109,7 +110,8 @@ class EditTableOfContentsControllerTest { when(mockCatalog.getDocumentOutline()).thenReturn(null); // When - ResponseEntity>> response = editTableOfContentsController.extractBookmarks(mockFile); + ResponseEntity>> response = + editTableOfContentsController.extractBookmarks(mockFile); // Then assertNotNull(response); @@ -145,7 +147,8 @@ class EditTableOfContentsControllerTest { when(childItem.getNextSibling()).thenReturn(null); // When - ResponseEntity>> response = editTableOfContentsController.extractBookmarks(mockFile); + ResponseEntity>> response = + editTableOfContentsController.extractBookmarks(mockFile); // Then assertNotNull(response); @@ -183,7 +186,8 @@ class EditTableOfContentsControllerTest { when(mockOutlineItem.getNextSibling()).thenReturn(null); // When - ResponseEntity>> response = editTableOfContentsController.extractBookmarks(mockFile); + ResponseEntity>> response = + editTableOfContentsController.extractBookmarks(mockFile); // Then assertNotNull(response); diff --git a/build.gradle b/build.gradle index f473cdf8f..0f871f360 100644 --- a/build.gradle +++ b/build.gradle @@ -67,7 +67,7 @@ springBoot { allprojects { group = 'stirling.software' - version = '2.4.3' + version = '2.4.4' configurations.configureEach { exclude group: 'commons-logging', module: 'commons-logging' diff --git a/frontend/src-tauri/tauri.conf.json b/frontend/src-tauri/tauri.conf.json index 40df48da2..ebcba59e4 100644 --- a/frontend/src-tauri/tauri.conf.json +++ b/frontend/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "Stirling-PDF", - "version": "2.4.3", + "version": "2.4.4", "identifier": "stirling.pdf.dev", "build": { "frontendDist": "../dist", diff --git a/frontend/src/core/testing/serverExperienceSimulations.ts b/frontend/src/core/testing/serverExperienceSimulations.ts index 800da47d9..d2c034b56 100644 --- a/frontend/src/core/testing/serverExperienceSimulations.ts +++ b/frontend/src/core/testing/serverExperienceSimulations.ts @@ -38,7 +38,7 @@ const FREE_LICENSE_INFO: LicenseInfo = { const BASE_NO_LOGIN_CONFIG: AppConfig = { enableAnalytics: true, - appVersion: '2.4.3', + appVersion: '2.4.4', serverCertificateEnabled: false, enableAlphaFunctionality: false, serverPort: 8080, diff --git a/frontend/src/proprietary/testing/serverExperienceSimulations.ts b/frontend/src/proprietary/testing/serverExperienceSimulations.ts index 64a995a20..dfffcaf13 100644 --- a/frontend/src/proprietary/testing/serverExperienceSimulations.ts +++ b/frontend/src/proprietary/testing/serverExperienceSimulations.ts @@ -48,7 +48,7 @@ const FREE_LICENSE_INFO: LicenseInfo = { const BASE_NO_LOGIN_CONFIG: AppConfig = { enableAnalytics: true, - appVersion: '2.4.3', + appVersion: '2.4.4', serverCertificateEnabled: false, enableAlphaFunctionality: false, enableDesktopInstallSlide: true,