From a2c1a16075fa96bc315e3d60a90deafb67d12d2f Mon Sep 17 00:00:00 2001 From: Javier Godoy <11554739+javier-godoy@users.noreply.github.com> Date: Thu, 26 Feb 2026 09:31:18 -0300 Subject: [PATCH 1/4] build(demo): upgrade commons-demo to 5.2.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index cd94e00..f86aa98 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ UTF-8 ${project.basedir}/drivers 11.0.26 - 4.1.0 + 5.2.0 true From 71a2a9e04e03fb3dc5893a5124537455c913dd8f Mon Sep 17 00:00:00 2001 From: Javier Godoy <11554739+javier-godoy@users.noreply.github.com> Date: Fri, 24 Oct 2025 16:48:10 -0300 Subject: [PATCH 2/4] ci: add Vaadin 25 profile --- pom.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pom.xml b/pom.xml index f86aa98..26d5304 100644 --- a/pom.xml +++ b/pom.xml @@ -491,6 +491,23 @@ + + v25 + + 21 + 21 + 25.0.3 + 11.0.26 + + + + com.vaadin + vaadin-dev + true + + + + From a096bcd8e4a7e3bd1c158dcda7d98ef467a41a87 Mon Sep 17 00:00:00 2001 From: Javier Godoy <11554739+javier-godoy@users.noreply.github.com> Date: Thu, 26 Feb 2026 11:25:04 -0300 Subject: [PATCH 3/4] build: set version to 1.1.0-SNPASHOT --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 26d5304..1da9eb5 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.flowingcode.vaadin.addons upload-helper-addon - 1.0.2-SNAPSHOT + 1.1.0-SNAPSHOT Upload Helper Add-on Upload Helper Add-on for Vaadin Flow https://www.flowingcode.com/en/open-source/ From baaeec4dba2f659e6d12e968268799b1297094c4 Mon Sep 17 00:00:00 2001 From: Javier Godoy <11554739+javier-godoy@users.noreply.github.com> Date: Thu, 26 Feb 2026 11:26:54 -0300 Subject: [PATCH 4/4] feat: add support for Vaadin 25 Close #5 --- pom.xml | 6 ++++++ .../flowingcode/vaadin/addons/uploadhelper/FileInfo.java | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 1da9eb5..90c689b 100644 --- a/pom.xml +++ b/pom.xml @@ -83,6 +83,12 @@ vaadin-core true + + com.flowingcode.vaadin + json-migration-helper + 0.9.2 + compile + org.projectlombok lombok diff --git a/src/main/java/com/flowingcode/vaadin/addons/uploadhelper/FileInfo.java b/src/main/java/com/flowingcode/vaadin/addons/uploadhelper/FileInfo.java index c7ee1c2..46524f7 100644 --- a/src/main/java/com/flowingcode/vaadin/addons/uploadhelper/FileInfo.java +++ b/src/main/java/com/flowingcode/vaadin/addons/uploadhelper/FileInfo.java @@ -7,9 +7,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -19,6 +19,7 @@ */ package com.flowingcode.vaadin.addons.uploadhelper; +import com.flowingcode.vaadin.jsonmigration.JsonMigration; import com.vaadin.flow.component.upload.FinishedEvent; import com.vaadin.flow.component.upload.Upload; import elemental.json.Json; @@ -26,9 +27,11 @@ import java.io.Serializable; import lombok.AccessLevel; import lombok.Getter; +import lombok.experimental.ExtensionMethod; /** Represents a file in the file list of an {@link Upload} component. */ @SuppressWarnings("serial") +@ExtensionMethod(value = JsonMigration.class, suppressBaseMethods = true) public final class FileInfo implements Serializable { private final String name;