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:
2121
2222 strategy :
2323 matrix :
24- java : [17]
24+ java : [17, 21 ]
2525 distribution : [temurin]
2626
2727 steps :
2828 - uses : actions/checkout@v4
2929
3030 - name : Set up JDK
31- uses : actions/setup-java@v3
31+ uses : actions/setup-java@v4
3232 with :
3333 distribution : ${{ matrix.distribution }}
3434 java-version : ${{ matrix.java }}
Original file line number Diff line number Diff line change 1919 - uses : actions/checkout@v4
2020
2121 - name : Set up JDK
22- uses : actions/setup-java@v3
22+ uses : actions/setup-java@v4
2323 with :
2424 java-version : ' 17'
2525 distribution : ' temurin'
@@ -105,6 +105,9 @@ jobs:
105105 <artifactId>${{ env.PRIMARY_MAVEN_MODULE }}</artifactId>
106106 <version>${{ steps.version.outputs.release }}</version>
107107 </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)
108111 ```
109112
110113 publish_central : # Publish the code to central
@@ -120,7 +123,7 @@ jobs:
120123 git pull
121124
122125 - name : Set up JDK Apache Maven Central
123- uses : actions/setup-java@v3
126+ uses : actions/setup-java@v4
124127 with : # running setup-java again overwrites the settings.xml
125128 java-version : ' 17'
126129 distribution : ' temurin'
@@ -152,7 +155,7 @@ jobs:
152155 git pull
153156
154157 - name : Setup - Java
155- uses : actions/setup-java@v3
158+ uses : actions/setup-java@v4
156159 with :
157160 java-version : ' 17'
158161 distribution : ' temurin'
Original file line number Diff line number Diff line change 3131 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
3232
3333 - name : Set up JDK
34- uses : actions/setup-java@v3
34+ uses : actions/setup-java@v4
3535 with :
3636 distribution : ' temurin'
3737 java-version : 17
Original file line number Diff line number Diff line change 1313 - uses : actions/checkout@v4
1414
1515 - name : Set up JDK OSSRH
16- uses : actions/setup-java@v3
16+ uses : actions/setup-java@v4
1717 with : # running setup-java again overwrites the settings.xml
1818 distribution : ' temurin'
1919 java-version : ' 17'
Original file line number Diff line number Diff line change 8686 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8787 run : |
8888 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 "$@")
9090 }
9191 gh_pr_up -B "${{ steps.main.outputs.current_branch }}" \
92- -H "${{ env.UPDATE_BRANCH }}" \
9392 --title "Update from template" \
9493 --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+
15## 4.0.1
26* Added shortcut method `` invokeSelfReturn `` #282
37* 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://
1919### Software Requirements
2020You should have the following things installed:
2121* 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/ ) )
2323* Maven
2424
2525### Recommended setup
Original file line number Diff line number Diff line change 66
77 <groupId >com.xdev-software</groupId >
88 <artifactId >vaadin-maps-leaflet-flow-root</artifactId >
9- <version >4.0.2 -SNAPSHOT</version >
9+ <version >4.1.0 -SNAPSHOT</version >
1010 <packaging >pom</packaging >
1111
1212 <organization >
Original file line number Diff line number Diff line change 66
77 <groupId >com.xdev-software</groupId >
88 <artifactId >vaadin-maps-leaflet-flow-demo</artifactId >
9- <version >4.0.2 -SNAPSHOT</version >
9+ <version >4.1.0 -SNAPSHOT</version >
1010 <packaging >jar</packaging >
1111
1212 <inceptionYear >2019</inceptionYear >
2626 <mainClass >software.xdev.vaadin.Application</mainClass >
2727
2828 <!-- Dependency-Versions -->
29- <vaadin .version>24.1.12 </vaadin .version>
29+ <vaadin .version>24.2.5 </vaadin .version>
3030
31- <org .springframework.boot.version>3.1.4 </org .springframework.boot.version>
31+ <org .springframework.boot.version>3.2.0 </org .springframework.boot.version>
3232 </properties >
3333
3434 <dependencyManagement >
Original file line number Diff line number Diff line change 1515
1616import software .xdev .vaadin .maps .leaflet .flow .demo .ComplexDemo ;
1717import software .xdev .vaadin .maps .leaflet .flow .demo .FreeingUpResourceBenchmarkDemo ;
18+ import software .xdev .vaadin .maps .leaflet .flow .demo .InitialResizeDemo ;
1819import software .xdev .vaadin .maps .leaflet .flow .demo .MinimalisticDemo ;
1920
2021
@@ -55,6 +56,12 @@ protected void onAttach(final AttachEvent attachEvent)
5556 "Minimalistic" ,
5657 "Showcasing the simplest form of using the API"
5758 ),
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+ ),
5865 new Example (
5966 ComplexDemo .NAV ,
6067 "Complex" ,
You can’t perform that action at this time.
0 commit comments