Skip to content

Commit f345e4f

Browse files
authored
Merge pull request #308 from xdev-software/develop
4.1.0
2 parents 1d13cef + 549dfe3 commit f345e4f

File tree

15 files changed

+148
-45
lines changed

15 files changed

+148
-45
lines changed

.github/workflows/checkBuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 }}

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
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'

.github/workflows/sonar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
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

.github/workflows/test-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
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'

.github/workflows/update-from-template.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,8 @@ jobs:
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"

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
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

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ We also encourage you to read the [contribution instructions by GitHub](https://
1919
### Software Requirements
2020
You 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

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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>

vaadin-maps-leaflet-flow-demo/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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>
@@ -26,9 +26,9 @@
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>

vaadin-maps-leaflet-flow-demo/src/main/java/software/xdev/vaadin/maps/leaflet/flow/DemoView.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
import software.xdev.vaadin.maps.leaflet.flow.demo.ComplexDemo;
1717
import software.xdev.vaadin.maps.leaflet.flow.demo.FreeingUpResourceBenchmarkDemo;
18+
import software.xdev.vaadin.maps.leaflet.flow.demo.InitialResizeDemo;
1819
import 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",

0 commit comments

Comments
 (0)