File tree Expand file tree Collapse file tree 15 files changed +148
-45
lines changed
vaadin-maps-leaflet-flow-demo
src/main/java/software/xdev/vaadin/maps/leaflet/flow
src/main/java/software/xdev/vaadin/maps/leaflet Expand file tree Collapse file tree 15 files changed +148
-45
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ jobs:
21
21
22
22
strategy :
23
23
matrix :
24
- java : [17]
24
+ java : [17, 21 ]
25
25
distribution : [temurin]
26
26
27
27
steps :
28
28
- uses : actions/checkout@v4
29
29
30
30
- name : Set up JDK
31
- uses : actions/setup-java@v3
31
+ uses : actions/setup-java@v4
32
32
with :
33
33
distribution : ${{ matrix.distribution }}
34
34
java-version : ${{ matrix.java }}
Original file line number Diff line number Diff line change 19
19
- uses : actions/checkout@v4
20
20
21
21
- name : Set up JDK
22
- uses : actions/setup-java@v3
22
+ uses : actions/setup-java@v4
23
23
with :
24
24
java-version : ' 17'
25
25
distribution : ' temurin'
@@ -105,6 +105,9 @@ jobs:
105
105
<artifactId>${{ env.PRIMARY_MAVEN_MODULE }}</artifactId>
106
106
<version>${{ steps.version.outputs.release }}</version>
107
107
</dependency>
108
+
109
+ ### Additional notes
110
+ * [Spring-Boot] You may have to include ``software/xdev`` inside [``vaadin.whitelisted-packages``](https://vaadin.com/docs/latest/integrations/spring/configuration#configure-the-scanning-of-packages)
108
111
```
109
112
110
113
publish_central : # Publish the code to central
@@ -120,7 +123,7 @@ jobs:
120
123
git pull
121
124
122
125
- name : Set up JDK Apache Maven Central
123
- uses : actions/setup-java@v3
126
+ uses : actions/setup-java@v4
124
127
with : # running setup-java again overwrites the settings.xml
125
128
java-version : ' 17'
126
129
distribution : ' temurin'
@@ -152,7 +155,7 @@ jobs:
152
155
git pull
153
156
154
157
- name : Setup - Java
155
- uses : actions/setup-java@v3
158
+ uses : actions/setup-java@v4
156
159
with :
157
160
java-version : ' 17'
158
161
distribution : ' temurin'
Original file line number Diff line number Diff line change 31
31
fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
32
32
33
33
- name : Set up JDK
34
- uses : actions/setup-java@v3
34
+ uses : actions/setup-java@v4
35
35
with :
36
36
distribution : ' temurin'
37
37
java-version : 17
Original file line number Diff line number Diff line change 13
13
- uses : actions/checkout@v4
14
14
15
15
- name : Set up JDK OSSRH
16
- uses : actions/setup-java@v3
16
+ uses : actions/setup-java@v4
17
17
with : # running setup-java again overwrites the settings.xml
18
18
distribution : ' temurin'
19
19
java-version : ' 17'
Original file line number Diff line number Diff line change 86
86
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
87
87
run : |
88
88
gh_pr_up() {
89
- gh pr create "$ @" || gh pr edit "$@"
89
+ gh pr create -H "${{ env.UPDATE_BRANCH }}" "$ @" || (git checkout "${{ env.UPDATE_BRANCH }}" && gh pr edit "$@")
90
90
}
91
91
gh_pr_up -B "${{ steps.main.outputs.current_branch }}" \
92
- -H "${{ env.UPDATE_BRANCH }}" \
93
92
--title "Update from template" \
94
93
--body "An automated PR to sync changes from the template into this repo"
Original file line number Diff line number Diff line change
1
+ ## 4.1.0
2
+ * Provide a workaround that fixes a problem where certain methods didn't work instantly after the map was created #305
3
+ * Moved some container specific methods to `` MapContainer ``
4
+
1
5
## 4.0.1
2
6
* Added shortcut method `` invokeSelfReturn `` #282
3
7
* Updated dependencies
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ We also encourage you to read the [contribution instructions by GitHub](https://
19
19
### Software Requirements
20
20
You should have the following things installed:
21
21
* Git
22
- * Java 17 - should be as unmodified as possible (Recommended: [ Eclipse Adoptium] ( https://adoptium.net/temurin/releases/ ) )
22
+ * Java 21 - should be as unmodified as possible (Recommended: [ Eclipse Adoptium] ( https://adoptium.net/temurin/releases/ ) )
23
23
* Maven
24
24
25
25
### Recommended setup
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >com.xdev-software</groupId >
8
8
<artifactId >vaadin-maps-leaflet-flow-root</artifactId >
9
- <version >4.0.2 -SNAPSHOT</version >
9
+ <version >4.1.0 -SNAPSHOT</version >
10
10
<packaging >pom</packaging >
11
11
12
12
<organization >
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >com.xdev-software</groupId >
8
8
<artifactId >vaadin-maps-leaflet-flow-demo</artifactId >
9
- <version >4.0.2 -SNAPSHOT</version >
9
+ <version >4.1.0 -SNAPSHOT</version >
10
10
<packaging >jar</packaging >
11
11
12
12
<inceptionYear >2019</inceptionYear >
26
26
<mainClass >software.xdev.vaadin.Application</mainClass >
27
27
28
28
<!-- Dependency-Versions -->
29
- <vaadin .version>24.1.12 </vaadin .version>
29
+ <vaadin .version>24.2.5 </vaadin .version>
30
30
31
- <org .springframework.boot.version>3.1.4 </org .springframework.boot.version>
31
+ <org .springframework.boot.version>3.2.0 </org .springframework.boot.version>
32
32
</properties >
33
33
34
34
<dependencyManagement >
Original file line number Diff line number Diff line change 15
15
16
16
import software .xdev .vaadin .maps .leaflet .flow .demo .ComplexDemo ;
17
17
import software .xdev .vaadin .maps .leaflet .flow .demo .FreeingUpResourceBenchmarkDemo ;
18
+ import software .xdev .vaadin .maps .leaflet .flow .demo .InitialResizeDemo ;
18
19
import software .xdev .vaadin .maps .leaflet .flow .demo .MinimalisticDemo ;
19
20
20
21
@@ -55,6 +56,12 @@ protected void onAttach(final AttachEvent attachEvent)
55
56
"Minimalistic" ,
56
57
"Showcasing the simplest form of using the API"
57
58
),
59
+ new Example (
60
+ InitialResizeDemo .NAV ,
61
+ "Initial resize" ,
62
+ "Some map methods - when called instantly after the map is created - will not work correctly."
63
+ + " This example shows how to workaround this restriction."
64
+ ),
58
65
new Example (
59
66
ComplexDemo .NAV ,
60
67
"Complex" ,
You can’t perform that action at this time.
0 commit comments