Skip to content

Commit

Permalink
chore: update project and Vaadin to 24.6 (#1029)
Browse files Browse the repository at this point in the history
* chore: update project and Vaadin to 24.6

* test: fix signals tests

* test: set fixed autogrid columns order
  • Loading branch information
mcollovati authored Nov 1, 2024
1 parent 7e75988 commit 67b6c08
Show file tree
Hide file tree
Showing 22 changed files with 12,220 additions and 11,909 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ updates:
ignore:
- dependency-name: "com.vaadin.hilla:*"
- dependency-name: "com.vaadin:*"
- package-ecosystem: "maven"
directory: "/"
target-branch: "24.5"
schedule:
interval: "daily"
ignore:
- dependency-name: "com.vaadin.hilla:*"
update-types: [ "version-update:semver-major", "version-update:semver-minor"]
- dependency-name: "com.vaadin:*"
update-types: [ "version-update:semver-major", "version-update:semver-minor"]
- package-ecosystem: "maven"
directory: "/"
target-branch: "24.4"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
default: 'main'
options:
- "main"
- "24.5"
- "24.4"
- "2.5"
- "2.4"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-npm-deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
default: 'main'
options:
- "main"
- "24.5"
- "24.4"
- "2.5"
- "1.3"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validation-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
branch: ["main", "24.4", "2.5"]
branch: ["main", "25.5", "24.4", "2.5"]
java: [ 17, 21 ]
runs-on: ubuntu-latest
timeout-minutes: 30
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validation.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Quarkus Hilla Validation
on:
push:
branches: [main, '24.4', '2.5', '2.4', '2.3', '2.2', '2.1', '2.0', '1.3']
branches: [main, '24.5', '24.4', '2.5', '2.4', '2.3', '2.2', '2.1', '2.0', '1.3']
workflow_dispatch:
pull_request_target:
types: [opened, synchronize, reopened, edited]
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ or download the [starter project](https://github.com/mcollovati/quarkus-hilla-st
<dependency>
<groupId>com.github.mcollovati</groupId>
<artifactId>quarkus-hilla</artifactId>
<version>24.4.x</version>
<version>24.5.x</version>
</dependency>
```

Expand All @@ -135,14 +135,15 @@ or
<dependency>
<groupId>com.github.mcollovati</groupId>
<artifactId>quarkus-hilla-react</artifactId>
<version>24.4.x</version>
<version>24.5.x</version>
</dependency>
```

## Releases

| Quarkus-Hilla / Hilla | Quarkus | Vaadin |
|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| <picture><img alt="Maven Central 24.5" src="https://img.shields.io/maven-central/v/com.github.mcollovati/quarkus-hilla?style=for-the-badge&logo=apache-maven&versionPrefix=24.5" style="visibility: visible;"></picture> | <picture><img alt="Quarkus 3.12+" src="https://img.shields.io/badge/QUARKUS-v3.12%2B-blue?style=for-the-badge&logo=Quarkus" style="visibility: visible;"></picture> | <picture><img alt="Vaadin 24.5" src="https://img.shields.io/badge/VAADIN-v24.5-limegreen?style=for-the-badge&logo=Vaadin" style="visibility: visible;"></picture> |
| <picture><img alt="Maven Central 24.4" src="https://img.shields.io/maven-central/v/com.github.mcollovati/quarkus-hilla?style=for-the-badge&logo=apache-maven&versionPrefix=24.4" style="visibility: visible;"></picture> | <picture><img alt="Quarkus 3.12+" src="https://img.shields.io/badge/QUARKUS-v3.12%2B-limegreen?style=for-the-badge&logo=Quarkus" style="visibility: visible;"></picture> | <picture><img alt="Vaadin 24.4" src="https://img.shields.io/badge/VAADIN-v24.4-limegreen?style=for-the-badge&logo=Vaadin" style="visibility: visible;"></picture> |
| <picture><img alt="Maven Central 2.5" src="https://img.shields.io/maven-central/v/com.github.mcollovati/quarkus-hilla?style=for-the-badge&logo=apache-maven&versionPrefix=2.5" style="visibility: visible;"></picture> | <picture><img alt="Quarkus 3.1+" src="https://img.shields.io/badge/QUARKUS-v3.1%2B-blue?style=for-the-badge&logo=Quarkus" style="visibility: visible;"></picture> | <picture><img alt="Vaadin 24.2" src="https://img.shields.io/badge/VAADIN-v24.2-blue?style=for-the-badge&logo=Vaadin" style="visibility: visible;"></picture> |
| <picture><img alt="Maven Central 2.4" src="https://img.shields.io/maven-central/v/com.github.mcollovati/quarkus-hilla?style=for-the-badge&logo=apache-maven&versionPrefix=2.4" style="visibility: visible;"></picture> | <picture><img alt="Quarkus 3.1+" src="https://img.shields.io/badge/QUARKUS-v3.1%2B-blue?style=for-the-badge&logo=Quarkus" style="visibility: visible;"></picture> | <picture><img alt="Vaadin 24.2" src="https://img.shields.io/badge/VAADIN-v24.2-blue?style=for-the-badge&logo=Vaadin" style="visibility: visible;"></picture> |
Expand All @@ -155,9 +156,9 @@ or

## Development

<picture><img alt="Development 24.5-SNAPSHOT" src="https://img.shields.io/badge/GITHUB-24.5--SNAPSHOT-blue?style=for-the-badge&logo=github" style="visibility: visible;"></picture>
<picture><img alt="Quarkus 3.12+" src="https://img.shields.io/badge/QUARKUS-v3.12%2B-blue?style=for-the-badge&logo=Quarkus" style="visibility: visible;"></picture>
<picture><img alt="Vaadin 24.5" src="https://img.shields.io/badge/VAADIN-v24.5-blue?style=for-the-badge&logo=Vaadin" style="visibility: visible;"></picture>
<picture><img alt="Development 24.6-SNAPSHOT" src="https://img.shields.io/badge/GITHUB-24.6--SNAPSHOT-blue?style=for-the-badge&logo=github" style="visibility: visible;"></picture>
<picture><img alt="Quarkus 3.15+" src="https://img.shields.io/badge/QUARKUS-v3.12%2B-blue?style=for-the-badge&logo=Quarkus" style="visibility: visible;"></picture>
<picture><img alt="Vaadin 24.6" src="https://img.shields.io/badge/VAADIN-v24.6-blue?style=for-the-badge&logo=Vaadin" style="visibility: visible;"></picture>

## Build and test

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ private void doWithClient(TestUtils.User user, String methodName, Operation cons
SecureNumberSignalService.class.getSimpleName(),
methodName,
clientSignalId,
null,
null);
ClientEndpointConfig cec = ClientEndpointConfig.Builder.create()
.configurator(new BasicAuthConfigurator(user))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void subscribeSignal_signalWorking() throws Exception {
URI connectURI = HillaPushClient.createPUSHConnectURI(pushURI);
String clientSignalId = UUID.randomUUID().toString();
HillaPushClient client = new HillaPushClient(
"SignalsHandler", "subscribe", "NumberSignalService", "counter", clientSignalId, null);
"SignalsHandler", "subscribe", "NumberSignalService", "counter", clientSignalId, null, null);
try (Session ignored = ContainerProvider.getWebSocketContainer().connectToServer(client, null, connectURI)) {
assertThatClientIsConnected(client);
String serverSignalId = assertUpdateReceived(client, 3);
Expand All @@ -73,7 +73,7 @@ void updateSignal_signalWorking() throws Exception {
URI connectURI = HillaPushClient.createPUSHConnectURI(pushURI);
String clientSignalId = UUID.randomUUID().toString();
HillaPushClient client = new HillaPushClient(
"SignalsHandler", "subscribe", "NumberSignalService", "counter", clientSignalId, null);
"SignalsHandler", "subscribe", "NumberSignalService", "counter", clientSignalId, null, null);
try (Session ignored = ContainerProvider.getWebSocketContainer().connectToServer(client, null, connectURI)) {
assertThatClientIsConnected(client);
AtomicReference<String> serverSignalId = new AtomicReference<>();
Expand Down
Loading

0 comments on commit 67b6c08

Please sign in to comment.