Skip to content

Commit 1246a7f

Browse files
authored
Merge branch 'main' into taefi/log-validation-error-messages
2 parents 74629e5 + 56e1ab8 commit 1246a7f

File tree

146 files changed

+5249
-4513
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+5249
-4513
lines changed

.github/workflows/validation.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ defaults:
66

77
on:
88
push:
9-
branches: [ main, '24.5', '24.4', '2.5', '1.5', '1.4' ]
9+
branches: [ main, '24.6', '24.5', '24.4', '2.5', '1.5', '1.4' ]
1010
paths-ignore:
1111
- 'hilla-logo.svg'
1212
- 'README.md'
@@ -291,6 +291,8 @@ jobs:
291291
TB_LICENSE=${{secrets.TB_LICENSE}}
292292
mkdir -p ~/.vaadin/
293293
echo '{"username":"'`echo $TB_LICENSE | cut -d / -f1`'","proKey":"'`echo $TB_LICENSE | cut -d / -f2`'"}' > ~/.vaadin/proKey
294+
- name: publish plugin to Maven Local
295+
run: ./packages/java/gradle-plugin/gradlew --info -p packages/java/gradle-plugin build publishToMavenLocal -x functionalTest
294296
- name: Test gradle-plugin's functional tests
295297
run: ./packages/java/gradle-plugin/gradlew --info -p packages/java/gradle-plugin functionalTest
296298
- name: Gradle ITs

package-lock.json

+1,098-858
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+17-17
Original file line numberDiff line numberDiff line change
@@ -34,44 +34,44 @@
3434
},
3535
"devDependencies": {
3636
"@nx/js": "^18.0.4",
37-
"@preact/signals-react-transform": "^0.3.1",
38-
"@remcovaes/web-test-runner-vite-plugin": "^1.2.1",
39-
"@types/karma": "^6.3.8",
40-
"@types/node": "^20.11.19",
37+
"@preact/signals-react-transform": "^0.4.0",
38+
"@remcovaes/web-test-runner-vite-plugin": "^1.2.2",
39+
"@types/karma": "^6.3.9",
40+
"@types/node": "^22.10.1",
4141
"@vaadin/react-components": "24.6.0-rc1",
42-
"@vitejs/plugin-react": "^4.3.1",
42+
"@vitejs/plugin-react": "^4.3.4",
4343
"@web/test-runner": "^0.19.0",
4444
"chai-dom": "^1.12.0",
45-
"compare-versions": "^6.1.0",
45+
"compare-versions": "^6.1.1",
4646
"concurrently": "^8.2.2",
4747
"cssnano": "^6.0.3",
48-
"esbuild": "^0.20.1",
48+
"esbuild": "^0.24.0",
4949
"eslint": "^8.56.0",
5050
"eslint-config-vaadin": "1.0.0-alpha.18",
5151
"eslint-plugin-mocha": "^10.3.0",
5252
"eslint-plugin-prettier": "^5.1.3",
5353
"eslint-plugin-tsdoc": "^0.2.17",
5454
"glob": "^10.3.10",
55-
"karma": "^6.4.3",
55+
"karma": "^6.4.4",
5656
"karma-chrome-launcher": "^3.2.0",
5757
"karma-coverage": "^2.2.1",
5858
"karma-mocha": "^2.0.1",
5959
"karma-spec-reporter": "^0.0.36",
6060
"karma-viewport": "^1.0.9",
6161
"karma-vite": "^1.0.5",
62-
"lint-staged": "^15.2.2",
63-
"magic-string": "^0.30.7",
62+
"lint-staged": "^15.2.10",
63+
"magic-string": "^0.30.14",
6464
"meow": "^13.2.0",
65-
"micromatch": "^4.0.5",
65+
"micromatch": "^4.0.8",
6666
"mocha": "^10.3.0",
6767
"nx": "^18.0.4",
68-
"postcss": "^8.4.35",
68+
"postcss": "^8.4.49",
6969
"prettier": "^3.2.5",
70-
"simple-git-hooks": "^2.9.0",
70+
"simple-git-hooks": "^2.11.1",
7171
"sync-request": "^6.1.0",
72-
"tsx": "^4.16.2",
73-
"type-fest": "^4.28.1",
74-
"typescript": "5.6.2",
75-
"vite": "5.4.6"
72+
"tsx": "^4.19.2",
73+
"type-fest": "^4.30.0",
74+
"typescript": "5.7.2",
75+
"vite": "^5.4.11"
7676
}
7777
}

packages/java/endpoint/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
<parent>
77
<groupId>com.vaadin</groupId>
88
<artifactId>hilla-project</artifactId>
9-
<version>24.6-SNAPSHOT</version>
9+
<version>24.7-SNAPSHOT</version>
1010
<relativePath>../../../pom.xml</relativePath>
1111
</parent>
1212

1313
<artifactId>hilla-endpoint</artifactId>
14-
<version>24.6-SNAPSHOT</version>
14+
<version>24.7-SNAPSHOT</version>
1515
<name>Hilla Endpoint</name>
1616
<packaging>jar</packaging>
1717

packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/ListSignal.java

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2000-2024 Vaadin Ltd.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
*/
16+
117
package com.vaadin.hilla.signals;
218

319
import com.fasterxml.jackson.databind.node.ObjectNode;

packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/NumberSignal.java

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2000-2024 Vaadin Ltd.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
*/
16+
117
package com.vaadin.hilla.signals;
218

319
import com.fasterxml.jackson.databind.node.ObjectNode;

packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/Signal.java

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2000-2024 Vaadin Ltd.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
*/
16+
117
package com.vaadin.hilla.signals;
218

319
import com.fasterxml.jackson.databind.ObjectMapper;

packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/ValueSignal.java

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2000-2024 Vaadin Ltd.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
*/
16+
117
package com.vaadin.hilla.signals;
218

319
import com.fasterxml.jackson.databind.node.ObjectNode;

packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/config/SignalsConfiguration.java

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2000-2024 Vaadin Ltd.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
*/
16+
117
package com.vaadin.hilla.signals.config;
218

319
import com.fasterxml.jackson.databind.ObjectMapper;

packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/core/event/InvalidEventTypeException.java

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2000-2024 Vaadin Ltd.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
*/
16+
117
package com.vaadin.hilla.signals.core.event;
218

319
/**

packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/core/event/ListStateEvent.java

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2000-2024 Vaadin Ltd.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
*/
16+
117
package com.vaadin.hilla.signals.core.event;
218

319
import com.fasterxml.jackson.databind.JsonNode;

packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/core/event/MissingFieldException.java

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2000-2024 Vaadin Ltd.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
*/
16+
117
package com.vaadin.hilla.signals.core.event;
218

319
/**

packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/core/event/StateEvent.java

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2000-2024 Vaadin Ltd.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
*/
16+
117
package com.vaadin.hilla.signals.core.event;
218

319
import com.fasterxml.jackson.databind.JsonNode;

packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/core/registry/SecureSignalsRegistry.java

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2000-2024 Vaadin Ltd.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
*/
16+
117
package com.vaadin.hilla.signals.core.registry;
218

319
import com.fasterxml.jackson.databind.node.ObjectNode;

packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/core/registry/SignalsRegistry.java

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2000-2024 Vaadin Ltd.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
*/
16+
117
package com.vaadin.hilla.signals.core.registry;
218

319
import com.vaadin.hilla.signals.Signal;

packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/handler/SignalsHandler.java

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2000-2024 Vaadin Ltd.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
*/
16+
117
package com.vaadin.hilla.signals.handler;
218

319
import com.fasterxml.jackson.databind.node.ObjectNode;

packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/operation/IncrementOperation.java

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2000-2024 Vaadin Ltd.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
*/
16+
117
package com.vaadin.hilla.signals.operation;
218

319
public record IncrementOperation(String operationId, Double value) implements ValueOperation<Double> {
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,25 @@
1+
/*
2+
* Copyright 2000-2024 Vaadin Ltd.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
*/
16+
117
package com.vaadin.hilla.signals.operation;
218

319
import com.vaadin.hilla.signals.core.event.ListStateEvent;
420

521
public record ListInsertOperation<T>(
622
String operationId,
723
ListStateEvent.InsertPosition position,
8-
T value) implements ValueOperation<T> {}
24+
T value
25+
) implements ValueOperation<T> {}

0 commit comments

Comments
 (0)