diff --git a/pom.xml b/pom.xml
index cd94e00..90c689b 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/
@@ -18,7 +18,7 @@
UTF-8
${project.basedir}/drivers
11.0.26
- 4.1.0
+ 5.2.0
true
@@ -83,6 +83,12 @@
vaadin-core
true
+
+ com.flowingcode.vaadin
+ json-migration-helper
+ 0.9.2
+ compile
+
org.projectlombok
lombok
@@ -491,6 +497,23 @@
+
+ v25
+
+ 21
+ 21
+ 25.0.3
+ 11.0.26
+
+
+
+ com.vaadin
+ vaadin-dev
+ true
+
+
+
+
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;