instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
v2fly__v2ray-core__2446 | v2fly/v2ray-core | 2,446 | defect | 9b5262855fd5bf432c5abdd24152a9089bbb874f | 6c8ae32da20f2b195c02f92c2a6e4812a288baa0 | proxy/trojan: fix writing UDP packet | #2440 #1795
Every UDP packet should have some headers. | diff --git a/proxy/trojan/protocol.go b/proxy/trojan/protocol.go
index 21e6a5a84cd..6ca5eba3ad7 100644
--- a/proxy/trojan/protocol.go
+++ b/proxy/trojan/protocol.go
@@ -21,7 +21,6 @@ var (
)
const (
- maxLength = 8192
commandTCP byte = 1
commandUDP byte = 3
)
@@ -101,11 +100,11 @@ type PacketWriter struc... | 3 | 3 | 3 | [{"id": "G0", "claim": "The pull request cannot handle UDP payloads larger than 2048 bytes, since the MultiBuffer passed to the outbound may contain payload of more than one UDP packet and cause misbehaviour, and the author asks whether it can be fixed by making Trojan's PacketWriter and PacketReader use buf.NewWithSiz... | null |
v2fly__v2ray-core__3406 | v2fly/v2ray-core | 3,406 | defect | 28f558601fb8b6ab1bf4cdbdd3b8848047393e77 | 374176de3c33f18c8cbfbc4dbb77409397f50162 | QUIC sniffer: Fix potential slice panic | From https://github.com/XTLS/Xray-core/issues/3914
概述:
一些奇怪的数据包 读出的 packet number length 有可能会大于 length 本身 导致切片读取错误(b[17:15]这样) 样例数据在原issue有 可自行验证 想了一下比较简单的粗暴的方法大概就是检验后直接返回错误
先发到这里的原因是Xray的是从fly这copy的(其实这个错误从最开始的旧QUIC嗅探嗅探器就存在的样子)
CC: @Vigilans | diff --git a/common/protocol/quic/sniff.go b/common/protocol/quic/sniff.go
index ca1a91de0cd..c3a683920df 100644
--- a/common/protocol/quic/sniff.go
+++ b/common/protocol/quic/sniff.go
@@ -166,6 +166,10 @@ func SniffQUIC(b []byte) (*SniffHeader, error) {
}
extHdrLen := hdrLen + int(packetNumberLength)
+ // ver... | 3 | 2 | 0 | [{"id": "G0", "claim": "The comment added above the new packet-length guard in SniffQUIC misspells \"strange\" as \"stange\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "If the data after a fake QUIC header is too short, reading b[hdrLen+4:hdrL... | null |
v2fly__v2ray-core__417 | v2fly/v2ray-core | 417 | defect | 2952492eb8c910eddeba54f5f8a78cffddf3e094 | d5c6f70dae4fcd34ac6e3009c85ead2ebb1dc222 | Optimize rand.Intn(65536) to rand.Int63() >> 47, before:22.6ns/op, after:18.6ns/op | Heavily inspired by math/rand. with ~20% performance improvement (BenchmarkInt31 vs. BenchmarkIntn).
\# go test -bench=. -benchmem -run=none
goos: darwin
goarch: amd64
pkg: v2ray.com/core/common/dice
BenchmarkRoll1-4 1000000000 0.329 ns/op 0 B/op 0 allocs/op
BenchmarkRoll20-4 43471... | diff --git a/common/dice/dice.go b/common/dice/dice.go
index 150a761344d..e9c8d52ece7 100644
--- a/common/dice/dice.go
+++ b/common/dice/dice.go
@@ -25,7 +25,7 @@ func RollDeterministic(n int, seed int64) int {
// RollUint16 returns a random uint16 value.
func RollUint16() uint16 {
- return uint16(rand.Intn(65536))... | 2 | 2 | 0 | [{"id": "G0", "claim": "Suggest skipping the intermediate Int31 call and shifting Int63 directly in one step.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly added benchmark functions in dice_test.go should not call rand.Seed again since di... | null |
v2fly__v2ray-core__534 | v2fly/v2ray-core | 534 | defect | ff7e9e1261b29ade039da7703748b7439ff14f37 | f31e6f8678bb29fd0820b2f66313bff6ba18947c | Add DNS over QUIC support | 增加DNS over QUIC支持。
配置样例:
``` json
"dns": {
"servers": [
{
"address": "quic://dns.adguard.com"
}
]
}
```
目前只有dns.adguard.com支持quic协议。另,DNS over QUIC的查询方式不经过路由 | diff --git a/app/dns/nameserver.go b/app/dns/nameserver.go
index aafecb5f5bb..22058510922 100644
--- a/app/dns/nameserver.go
+++ b/app/dns/nameserver.go
@@ -53,6 +53,8 @@ func NewServer(dest net.Destination, dispatcher routing.Dispatcher) (Server, err
return NewDoHNameServer(u, dispatcher)
case u.Scheme == "http... | 4 | 3 | 2 | [{"id": "G0", "claim": "The new DNS-over-QUIC server should be reached under the scheme `quic+local` (matching the existing `https+local` convention for a local-only resolver) instead of plain `quic`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The co... | null |
v2ray__v2ray-core__2037 | v2ray/v2ray-core | 2,037 | defect | 7f40be7567650957c5dbe1094da0afb4181a831b | e916a3b29da85fd2acc3791fcb5b9a45433557ba | add ip match feature for dns | ## 背景
- 在透明代理的模式下,会有一个独立DNS服务提供服务,按现在geosite:cn匹配模式,因为不能完全枚举国内的域名,不能完全解决DNS就近访问的问题
- 对不想再搭建chinadns或者overture的,可以直接使用v2ray dns的方案解决上面的场景
## 添加的功能逻辑
- 在DNS配置中,新增了ip配置项,配置格式与路由中的IP配置方式一致
- 如果`有IP配置`项,当解析到域名返回的IP都不在当前IP段时,继续下一个DNS解析
- 如果`没有IP配置`项,和原来逻辑一致
## 添加配置示例:
```json
{
"dns": {
"servers": [
... | diff --git a/app/dns/config.pb.go b/app/dns/config.pb.go
index 06361f9bd9..a62051be75 100644
--- a/app/dns/config.pb.go
+++ b/app/dns/config.pb.go
@@ -4,6 +4,7 @@ import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
+ router "v2ray.com/core/app/router"
net "v2ray.com/core/common/net"
)
@@ ... | 6 | 5 | 2 | [{"id": "G0", "claim": "The new config option for the IP match list is ambiguously named and should be renamed (reviewer first suggests skipIP/ignoreIP, then settles on expectIP).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The mistakenly com... | null |
v6d-io__v6d__1797 | v6d-io/v6d | 1,797 | defect | 3e4738f156d160a0e0f990e9f6aee6d559aeebe0 | 1edb37cd14461bd0411fef4b26d54cd8a9fc16ae | Improve the query API of llm cache and use vector<uint8_t> as payload object. | What do these changes do?
-------------------------
- Improve the `query` API, users only input a token list and will get the kv_cache with the longest prefix.
- Use vector<uint8_t> as payload object.
- Replace the alias of KV_STATE_WITH_LAYER with std::map<int, std::pair<K_STATE, V_STATE>>.
- Rename the `Dimens... | diff --git a/modules/basic/ds/dataframe.cc b/modules/basic/ds/dataframe.cc
index ebfdbdbf3..baa2cb346 100644
--- a/modules/basic/ds/dataframe.cc
+++ b/modules/basic/ds/dataframe.cc
@@ -85,6 +85,9 @@ const std::shared_ptr<arrow::RecordBatch> DataFrame::AsBatch(bool copy) const {
} else if (auto tensor =
... | 7 | 6 | 2 | [{"id": "G0", "claim": "The new Tensor<uint8_t> branch in DataFrame::AsBatch should also add a condition for int8_t so Tensor<int8_t> columns set num_rows too.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Client &client should be a member of KVSta... | null |
v6d-io__v6d__1805 | v6d-io/v6d | 1,805 | defect | 9a3cc54f41f4ba7cba81336610c5850c3d9c8bf9 | c3d6d1cbbba9d99e1155030dfeedfa964a4e471a | Update the token list type from int* to vector<int> to avoid copying in radix tree. | What do these changes do?
-------------------------
- Update the token list type from int* to vector<int> to avoid copying in the radix tree.
- Reduce the memory usage in the merge tree function.
Related issue number
--------------------
Fixes https://github.com/v6d-io/v6d/issues/1802
| diff --git a/modules/llm-cache/ds/kv_state_cache_manager.cc b/modules/llm-cache/ds/kv_state_cache_manager.cc
index 0c478ddd1..4fb4ed737 100644
--- a/modules/llm-cache/ds/kv_state_cache_manager.cc
+++ b/modules/llm-cache/ds/kv_state_cache_manager.cc
@@ -158,13 +158,15 @@ Status KVStateCacheManager::Query(
return re... | 1 | 1 | 1 | [{"id": "G0", "claim": "Displaying the backtrace info in raxShow is costly, so please wrap it in a `#ifndef _NDEBUG` block so it is compiled out in non-debug builds.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
v6d-io__v6d__1862 | v6d-io/v6d | 1,862 | defect | 90483409dd0a2e63e71db09b6b145fd2add2b534 | c2147122469458b9a7cee2b73ff0688b83d0afec | Add gc for file storage. | <!--
Thanks for your contribution! please review https://github.com/v6d-io/v6d/blob/main/CONTRIBUTING.rst before opening a pull request.
-->
What do these changes do?
-------------------------
- Add file storage gc for each client.
- Add global storage to scan dir and delete outdated files.
- Fix bugs in Upd... | diff --git a/modules/llm-cache/ds/config.h b/modules/llm-cache/ds/config.h
index 2307c0cb0..616ff87a6 100644
--- a/modules/llm-cache/ds/config.h
+++ b/modules/llm-cache/ds/config.h
@@ -22,6 +22,10 @@ limitations under the License.
namespace vineyard {
+enum CacheType {
+ BLOB,
+ FILE,
+};
struct KVCacheConfig {... | 5 | 5 | 5 | [{"id": "G0", "claim": "Use lexical scope for the lock_guard on gcMutex in FileStorage::Update instead of calling the explicit destructor lock.~lock_guard().", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Implement StartGlobalGCThread (and StopGloba... | null |
v6d-io__v6d__1966 | v6d-io/v6d | 1,966 | defect | 388fcafa8633a4c598ebdb0fb20adbdfb6bfccdd | 35d8cbc8401da78b54adf418af09652e51abacc1 | Add the benchmark test for vineyard clients. | What do these changes do?
-------------------------
As titled.
Related issue number
--------------------
Fixes https://github.com/v6d-io/v6d/issues/1946
| diff --git a/test/benchmark_test.cc b/test/benchmark_test.cc
new file mode 100644
index 000000000..0a7b1fcc5
--- /dev/null
+++ b/test/benchmark_test.cc
@@ -0,0 +1,827 @@
+/** Copyright 2020-2023 Alibaba Group Holding Limited.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Move the new benchmark test file out of `test/` into the `benchmarks/` directory.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
v6d-io__v6d__892 | v6d-io/v6d | 892 | defect | 1bfae065a3a50af1e7b672660271aa30994d5e36 | 0f3d666cac75b492b2995bf8b544a53ea115487d | Add mimalloc for shared memory | <!--
Thanks for your contribution! please review https://github.com/v6d-io/v6d/blob/main/CONTRIBUTING.rst before opening a pull request.
-->
What do these changes do?
-------------------------
The pr is to add mimalloc for shared memory in vineyard. Once the CI pass, I will add some benchmark results.
Rel... | diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
index 2d19a21bc..9ce47bc61 100644
--- a/.github/workflows/build-test.yml
+++ b/.github/workflows/build-test.yml
@@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
- malloc: [dlmalloc, jemalloc]
+ ... | 2 | 2 | 1 | [{"id": "G0", "claim": "Dependencies that come with CMake support, such as mimalloc, should be included via the `add_subdirectory_static` macro instead of the hand-written ExternalProject_Add block in find_mimalloc.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "... | null |
v8__web-tooling-benchmark__56 | v8/web-tooling-benchmark | 56 | defect | 164db6717e9a4f6867f8bbfee1aeeb5b8b67a0e7 | 6b882cb1a757a43936c627ddbdd7989adbedf6bf | add babel-minify to benchmarks suite | + add babel-minify aka babili to the suite list.
+ fixed the uglify benchmark in the readme which was pointing to wrong file.
+ fixes #55
/cc @mathiasbynens @bmeurer
Should i keep the same license format on top of the files that I have created as well? | diff --git a/docs/in-depth.md b/docs/in-depth.md
index a31466af..24f234f1 100644
--- a/docs/in-depth.md
+++ b/docs/in-depth.md
@@ -38,6 +38,12 @@ Note that this explicitly excludes the [Babylon](https://github.com/babel/babylo
and only measures the throughput of the actual transformations. The parser is tested
separa... | 3 | 3 | 0 | [{"id": "G0", "claim": "Add the license header to the files created by this pull request, since every file in the repository needs one.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "nit: in the new babel-minify docs section, replace 'ES6' with 'E... | null |
vaadin__flow__19488 | vaadin/flow | 19,488 | defect | 135bcfee830218beac025b175536c81f5278f5cc | c6f5f92a4b0be9a4760da11addddadc066d2ac70 | feat:Improve Binder change detection | ## Description
Fixes #19260
## Type of change
- [ ] Bugfix
- [x] Feature
## Checklist
- [ ] I have read the contribution guide: https://vaadin.com/docs/latest/guide/contributing/overview/
- [ ] I have added a description following the guideline.
- [ ] The issue is created in the corresponding reposito... | diff --git a/flow-data/src/main/java/com/vaadin/flow/data/binder/Binder.java b/flow-data/src/main/java/com/vaadin/flow/data/binder/Binder.java
index 618e0a7a487..30d245fe1ed 100644
--- a/flow-data/src/main/java/com/vaadin/flow/data/binder/Binder.java
+++ b/flow-data/src/main/java/com/vaadin/flow/data/binder/Binder.java... | 4 | 4 | 2 | [{"id": "G0", "claim": "Avoid changing the handleFieldValueChange method signature since it is a breaking change requiring a next major; instead deprecate the current one and, if it is used, skip the new change detection logic and function as before.", "category": "design", "verdict": "supported", "priority": "P1", "sc... | null |
vaadin__flow__23187 | vaadin/flow | 23,187 | defect | 88b9068677f9852eb170f3e7da8f6cbb9e2187ab | ec6416ab44a6e9bab6eba3721cc48e68c81e5894 | feat: Adds relevant API to allow drag and drop to a certain location | Exposes clientX/Y for all D&D events, to allow "repositioning" absolutely positioned drag and drop component. Also exposing offsets of the target and start element (if operation started on top of Vaadin component), so that one can build UIs where "things" are dragged on a specific location of another component.
Fixe... | diff --git a/flow-dnd/src/main/java/com/vaadin/flow/component/dnd/AbstractDnDEvent.java b/flow-dnd/src/main/java/com/vaadin/flow/component/dnd/AbstractDnDEvent.java
new file mode 100644
index 00000000000..a7dde9d9d1c
--- /dev/null
+++ b/flow-dnd/src/main/java/com/vaadin/flow/component/dnd/AbstractDnDEvent.java
@@ -0,0 ... | 2 | 2 | 1 | [{"id": "G0", "claim": "DropEvent.getDragStartOffsetX and getDragStartOffsetY should return plain int, defaulting to 0 when no drag-start offset data is stored, instead of Optional<Integer>.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a JUnit test... | null |
vaadin__flow__23544 | vaadin/flow | 23,544 | defect | 60707a417dba4fb7eace05484661f9407e22ffb7 | 9e1a5885a9c8c1d5d1ef883bee94e901381e7520 | feat: add content-hash cache busting for @Stylesheet URLs | Append ?v=<8-char-sha256> to stylesheet URLs in production mode so browsers reload only when file content changes, while allowing aggressive 1-year cache headers for versioned requests.
Both stylesheet paths are covered:
- AppShell path (AppShellRegistry.addStyleSheets)
- Component path (UidlWriter.dependencyToJso... | diff --git a/flow-server/src/main/java/com/vaadin/flow/internal/StylesheetContentHashUtil.java b/flow-server/src/main/java/com/vaadin/flow/internal/StylesheetContentHashUtil.java
new file mode 100644
index 00000000000..f69789bdcd4
--- /dev/null
+++ b/flow-server/src/main/java/com/vaadin/flow/internal/StylesheetContentH... | 7 | 6 | 2 | [{"id": "G0", "claim": "Instantiating StylesheetContentHashUtil at every call site makes its instance-level cache useless, because each new instance starts with an empty cache.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "getContentHash and append... | null |
vaadin__flow__23614 | vaadin/flow | 23,614 | defect | aed36bc631156822399dc4a03a39dddc595c82bb | 4b2b97b58770132e2acf31515ce04618f27a4b33 | feat: Add pageVisibilitySignal() to Page for tracking browser tab visibility | Add a read-only signal-based API on Page that tracks whether the browser tab is visible and focused, visible but not focused, or hidden. Uses the browser Page Visibility API combined with focus/blur events, with a Firefox workaround for deferred visibilitychange. Client-side logic lives in page-visibility.js loaded via... | diff --git a/flow-client/src/main/frontend/Flow.ts b/flow-client/src/main/frontend/Flow.ts
index 92f2c4aaa26..7033378a408 100644
--- a/flow-client/src/main/frontend/Flow.ts
+++ b/flow-client/src/main/frontend/Flow.ts
@@ -5,6 +5,7 @@ import {
type ConnectionStateStore
} from '@vaadin/common-frontend';
import './Geo... | 4 | 4 | 0 | [{"id": "G0", "claim": "The page-visibility client module should dispatch events on document.body instead of an arbitrary input element, since the Java side only calls it with UI.getElement() and Geolocation uses document.body, so there is no reason for different elements to listen and propagate page visibility changes... | null |
vaadin__flow__23732 | vaadin/flow | 23,732 | defect | 6e2f46926f7f1ad66b9d0836e3f62f9ff1716ce3 | 49c4fed05ec35cf17ab5db2eab6098e713ac1a4c | feat: allow setProperty if signal write callback is present | This pull request refines and extends the signal binding behavior for element properties. It introduces support for two-way (writable) signal bindings, allowing server-side property updates to propagate to signals via a write callback, and clarifies the distinction between read-only and writable bindings throughout the... | diff --git a/flow-html-components/src/main/java/com/vaadin/flow/component/html/NativeDetails.java b/flow-html-components/src/main/java/com/vaadin/flow/component/html/NativeDetails.java
index b8c5c0ce0ed..3917c960cfc 100644
--- a/flow-html-components/src/main/java/com/vaadin/flow/component/html/NativeDetails.java
+++ b/... | 2 | 2 | 0 | [{"id": "G0", "claim": "The @throws javadoc of bindOpen is incomplete: it says BindingActiveException is thrown only when there is already an existing binding, not also when the open state is set manually for a read-only binding.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introdu... | null |
vaadin__flow__23864 | vaadin/flow | 23,864 | defect | eb6d0a9339937af15d40b162fad603985d9af193 | c86377b7351b92402ba19c2974f528d2f5bfbbe3 | feat: Implement production mode license verification in VaadinServlet | Added license verification for production and development modes.
| diff --git a/flow-data/src/test/java/com/vaadin/flow/data/provider/DataCommunicatorAsyncTest.java b/flow-data/src/test/java/com/vaadin/flow/data/provider/DataCommunicatorAsyncTest.java
index 8b4a3583b29..360995012b1 100644
--- a/flow-data/src/test/java/com/vaadin/flow/data/provider/DataCommunicatorAsyncTest.java
+++ b/... | 3 | 3 | 1 | [{"id": "G0", "claim": "License validation already exists in VaadinServlet, so validation should live in a single place rather than being duplicated by the new check in VaadinServletService.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "With no pro key ... | null |
vaadin__flow__23972 | vaadin/flow | 23,972 | defect | b020facae76847f6a510a3c16dd72357b6f7fb60 | 0176137ccbc1847b467c178b13bfa6236a7c0693 | fix: Prevent computed signal from being evaluated twice during binding | Previously, when creating a signal binding (e.g., bindText, bindProperty), the signal was evaluated twice:
1. Once via signal.peek() to initialize the previousValue
2. Once via signal.get() during the first effect execution
This was inefficient, especially for expensive computed signals.
The fix removes the sig... | diff --git a/flow-server/src/main/java/com/vaadin/flow/dom/ElementEffect.java b/flow-server/src/main/java/com/vaadin/flow/dom/ElementEffect.java
index 9ba0efe98ee..4c8ddfb8674 100644
--- a/flow-server/src/main/java/com/vaadin/flow/dom/ElementEffect.java
+++ b/flow-server/src/main/java/com/vaadin/flow/dom/ElementEffect.... | 1 | 1 | 0 | [{"id": "G0", "claim": "Storing effect state in multiple arrays abused in the closure is getting out of hand; use a sentinel value in previousValue instead, or change the effect function to an anonymous subclass so it can have regular instance fields.", "category": "maintainability", "verdict": "supported", "priority":... | null |
vaadin__flow__24093 | vaadin/flow | 24,093 | defect | adc669423dfd040a250849f04b516edd0de91469 | 71279a29d646dff4ab3b6cffb0ca7c39a8a1e4dc | fix: Add popover attribute to system error container | E.g. Dialog can obscure the message
Fixes https://github.com/vaadin/flow/issues/24094
| diff --git a/flow-client/src/main/java/com/vaadin/client/SystemErrorHandler.java b/flow-client/src/main/java/com/vaadin/client/SystemErrorHandler.java
index b3d9556d4ab..d8c5526a275 100644
--- a/flow-client/src/main/java/com/vaadin/client/SystemErrorHandler.java
+++ b/flow-client/src/main/java/com/vaadin/client/SystemE... | 3 | 3 | 3 | [{"id": "G0", "claim": "Showing a popover also requires calling element.showPopover(); just setting the popover attribute does nothing on its own (and the element might need additional styling to override user agent styles).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ... | null |
vaadin__flow__24139 | vaadin/flow | 24,139 | defect | 2d312d28c8a00f0602fbaa0064dcfec8973bf3ad | d972fe0a64fe779658f85dd2bef18cbccb6d81d8 | feat: add support for accepting hidden fields in Binder | Adds setAcceptHiddenFields(boolean) to Binder. setAcceptHiddenFields(true) makes Binder apply bindings for hidden fields by default in same way as with pre-Vaadin 25.
PartOf: #24109
| diff --git a/flow-data/src/main/java/com/vaadin/flow/data/binder/Binder.java b/flow-data/src/main/java/com/vaadin/flow/data/binder/Binder.java
index e0c84b1d93a..aa3a1925d9e 100644
--- a/flow-data/src/main/java/com/vaadin/flow/data/binder/Binder.java
+++ b/flow-data/src/main/java/com/vaadin/flow/data/binder/Binder.java... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new setter should be named `setApplyBindingsToHiddenFields` instead of `setAcceptHiddenFields`, which does not hint at what is accepted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A test should also be added check... | null |
vaadin__flow__24167 | vaadin/flow | 24,167 | defect | b861b29f9b1e766c2fb7cb8e14ba56a85e838b6f | df7df9040a62cc7379a06d347e4ce9a85a5c8d0b | fix: Have Babel do the JSX dev transform so source locations stay accurate | There are three parts here
1. The react JSX transform records information where in the source an element is used, e.g. <div>hello</div>
2. We write location info for react components such as export default function HelloWorldView() { -> we add HelloWorldView.__debugSourceDefine= {...} with the source location of t... | diff --git a/flow-build-tools/src/test/java/com/vaadin/flow/server/frontend/NodeUpdaterTest.java b/flow-build-tools/src/test/java/com/vaadin/flow/server/frontend/NodeUpdaterTest.java
index 93f657b109a..10be440d37c 100644
--- a/flow-build-tools/src/test/java/com/vaadin/flow/server/frontend/NodeUpdaterTest.java
+++ b/flo... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the `jsxImportSource` setting from the react plugin call, since it does nothing now that it internally defaults to 'react' for the undefined option value.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vaadin__flow__24211 | vaadin/flow | 24,211 | defect | 29044c19505ff2eff77e8640a18adebdff898a0f | 1e432d2b0754e4d8e61491f3e0cf83ffa2aaf93c | feat: add GeolocationClient port for external test drivers | ## Summary
- Extract a `GeolocationClient` port behind the `Geolocation` facade and `GeolocationTracker`. Production wire behavior moves to a new `BrowserGeolocationClient`; `executeJs` expressions, DOM event names and target elements are unchanged.
- Add `Geolocation.setClient(GeolocationClient)` and `GeolocationTrac... | diff --git a/flow-server/src/main/java/com/vaadin/flow/component/geolocation/BrowserGeolocationClient.java b/flow-server/src/main/java/com/vaadin/flow/component/geolocation/BrowserGeolocationClient.java
new file mode 100644
index 00000000000..d18b46a9e8c
--- /dev/null
+++ b/flow-server/src/main/java/com/vaadin/flow/com... | 5 | 5 | 2 | [{"id": "G0", "claim": "The transient Registration availabilitySubscription field and its accompanying comment are redundant: since BrowserGeolocationClient.close() already clears listener lists, the field and the explicit removal should be dropped.", "category": "maintainability", "verdict": "supported", "priority": "... | null |
vaadin__flow__24230 | vaadin/flow | 24,230 | defect | ba49acd5625873a42ecdc6d553cf393053cdc5f9 | 376b93e7b312240dd2ce45fb6bf91776af6efc37 | fix(flow-client): loading state muting based on trigger events | Fixes #24075
This change reverts the eager removal of loading state introduced by #23229, as it causes the indication to disappear during ongoing loading. As a replacement, it re-introduces debouncing tracking of active requests, and adds event-based silencing of the loading indication to avoid flashing the indicator ... | diff --git a/flow-client/src/main/java/com/vaadin/client/ApplicationConnection.java b/flow-client/src/main/java/com/vaadin/client/ApplicationConnection.java
index b88f58a816a..98eb76f680b 100644
--- a/flow-client/src/main/java/com/vaadin/client/ApplicationConnection.java
+++ b/flow-client/src/main/java/com/vaadin/clien... | 3 | 2 | 2 | [{"id": "G0", "claim": "The reviewer asks the author to explain why the startRequest() calls can be removed from doSendInvocationsToServer() and from the send() method.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The silent check in processMessag... | null |
vaadin__flow__24249 | vaadin/flow | 24,249 | defect | 029810d01e5bcd9a7c473fba4d5698a5ef21c004 | 106de2b8bb7e7296521438cd1f0df6072174bb58 | refactor: remove FrontendDependenciesScanner parameter from TypeScriptBootstrapModifier (CP: 24.10) | The `FrontendDependenciesScanner` parameter in
`TypeScriptBootstrapModifier.modify()` is redundant since it can be obtained from `Options.getFrontendDependenciesScanner()`.
Deprecate the old three-parameter `modify()` method and introduce a new two-parameter overload. Callers and implementations are updated to use ... | diff --git a/flow-server/src/main/java/com/vaadin/flow/server/frontend/TaskGenerateBootstrap.java b/flow-server/src/main/java/com/vaadin/flow/server/frontend/TaskGenerateBootstrap.java
index 92a936e8754..3bbd99d7a45 100644
--- a/flow-server/src/main/java/com/vaadin/flow/server/frontend/TaskGenerateBootstrap.java
+++ b/... | 1 | 1 | 0 | [{"id": "G0", "claim": "The javadoc @deprecated annotation the PR adds to the old modify overload could be removed as well.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vaadin__flow__24268 | vaadin/flow | 24,268 | defect | 81e92819c18ec8538b52b9dfb33712ce115746fb | 759a6bb513ef47cb1c7d9802c00db676106296a6 | feat(geolocation): add addPositionListener to GeolocationTracker | Lets callers subscribe to tracking updates with plain callbacks instead of subscribing to valueSignal(), mirroring the W3C watchPosition(success, error) pair. Listeners persist across stop()/resume() cycles and never see the GeolocationPending state.
| diff --git a/flow-server/src/main/java/com/vaadin/flow/component/geolocation/GeolocationTracker.java b/flow-server/src/main/java/com/vaadin/flow/component/geolocation/GeolocationTracker.java
index 154fef8f7d1..a81e15611ba 100644
--- a/flow-server/src/main/java/com/vaadin/flow/component/geolocation/GeolocationTracker.ja... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a test to ensure position listeners are still active after the tracker is stopped and resumed.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vaadin__flow__24321 | vaadin/flow | 24,321 | defect | 126b8bcbc3de995640ebf09dbba04e9638ada218 | 65b0259c3932c95faad09953c29b47042e5a203b | fix: Package json hash difference between linux and windows | Windows and Linux generated a different
hash for the package json content
as jackson default indenter
used system line separator.
Fixes #24305
| diff --git a/flow-build-tools/src/test/java/com/vaadin/flow/server/frontend/TaskUpdatePackagesNpmTest.java b/flow-build-tools/src/test/java/com/vaadin/flow/server/frontend/TaskUpdatePackagesNpmTest.java
index 2e539f25414..4e8d116c378 100644
--- a/flow-build-tools/src/test/java/com/vaadin/flow/server/frontend/TaskUpdate... | 1 | 1 | 0 | [{"id": "G0", "claim": "JacksonUtilsTest.toFileJson() no longer needs to replace \"\\r\\n\" with \"\\n\" since toFileJson's output should now already use LF line endings, so the workaround should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vaadin__flow__24349 | vaadin/flow | 24,349 | defect | 371f6cddb600e0bb75ca8eb7b7bc0349ef93f943 | 45659cf49614929caf3ffd38590740d209dbf3bf | test: drop vaadin-upload-flow dep from test-spring-common | Rewrite UploadView to use flow-server's UploadHandler registered via VaadinSession.getResourceRegistry() with a plain <input type="file"> and a tiny change-listener that fetch-POSTs the selected file. Drop the vaadin-upload-flow and vaadin-upload-testbench dependencies as part of breaking the Flow <-> flow-components b... | diff --git a/flow-tests/vaadin-spring-tests/test-spring-common/pom.xml b/flow-tests/vaadin-spring-tests/test-spring-common/pom.xml
index fa2f69d4362..d23fbe3c917 100644
--- a/flow-tests/vaadin-spring-tests/test-spring-common/pom.xml
+++ b/flow-tests/vaadin-spring-tests/test-spring-common/pom.xml
@@ -50,18 +50,6 @@
... | 2 | 2 | 1 | [{"id": "G0", "claim": "UploadView uses IOUtils while commons-io is only a test-scoped dependency in flow, so uploading throws NoClassDefFoundError: org/apache/commons/io/IOUtils at runtime.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The hard-co... | null |
vaadin__flow__24351 | vaadin/flow | 24,351 | defect | 5abe3fe4b7ef2adcf6ab3167e31160f104a7aa6e | 0bfc51c1bb3fba988c6cf6cd3e8109b250f79502 | chore: prefer --min-release-age over --before for npm install | npm 11.10 added a dedicated --min-release-age flag for the minimum-package-age supply-chain mitigation. Use it when the active npm is new enough and fall back to --before=<date> for older versions, so the feature still works on installations stuck on the npm that ships with the minimum supported Node 24.0 (npm 11.0) up... | diff --git a/flow-build-tools/src/main/java/com/vaadin/flow/server/frontend/FrontendTools.java b/flow-build-tools/src/main/java/com/vaadin/flow/server/frontend/FrontendTools.java
index 6d113c47962..58e25649804 100644
--- a/flow-build-tools/src/main/java/com/vaadin/flow/server/frontend/FrontendTools.java
+++ b/flow-buil... | 1 | 1 | 1 | [{"id": "G0", "claim": "The javadoc of npmSupportsMinReleaseAge mistakenly mentions the method as used by Options (implying Options calls it, which it does not).", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vaadin__flow__24366 | vaadin/flow | 24,366 | defect | 3697241711b40a34227e91b37751ee5ce610a934 | 1a87829b34ab660a32625db1efc3647310c6f80b | feat: add Element.addJsInitializer for scoped client-side JS lifecycle | Application code that wires up client-side listeners on behalf of a server component had two failure modes: re-attach after a real detach produces a fresh DOM node and silently strips installed listeners, and cleanup from a detach listener cannot be sent because the element is leaving the tree.
addJsInitializer regi... | diff --git a/flow-client/src/main/java/com/vaadin/client/ExecuteJavaScriptElementUtils.java b/flow-client/src/main/java/com/vaadin/client/ExecuteJavaScriptElementUtils.java
index 379e4e80e42a..8442b546be3b 100644
--- a/flow-client/src/main/java/com/vaadin/client/ExecuteJavaScriptElementUtils.java
+++ b/flow-client/src/... | 12 | 12 | 3 | [{"id": "G0", "claim": "The javadoc phrase 'each time this element acquires a client-side DOM node' is confusing and should read more like 'each time a client-side DOM node is created for this element'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"... | null |
vaadin__framework__12514 | vaadin/framework | 12,514 | defect | f06186a58a463d83f4095e5327aa4d16c5826678 | 6a8ee2a267b3df79e2401b2d611291e4cd2eb0d5 | fix: Don't serve directories as static files | Adopted from (Java 8 -> Java 6 conversion and simplification)
https://github.com/vaadin/framework/pull/12325
| diff --git a/server/src/main/java/com/vaadin/server/VaadinServlet.java b/server/src/main/java/com/vaadin/server/VaadinServlet.java
index bfad1964b6e..73971339efe 100644
--- a/server/src/main/java/com/vaadin/server/VaadinServlet.java
+++ b/server/src/main/java/com/vaadin/server/VaadinServlet.java
@@ -28,6 +28,7 @@
impo... | 4 | 4 | 2 | [{"id": "G0", "claim": "A System.out.println debug statement was left in findEntry and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The war/jar ZipFile close calls should be in a finally block so resources are released on ex... | null |
vaadin__hilla__2833 | vaadin/hilla | 2,833 | defect | d9ac5cfc879fff0a880987e8985a514ddfacbc8b | 3667a6c51dc81c806bd0ae5961edf122339a1c54 | fix: show autoform non-rendered property errors | Show autoform non-rendered property errors
Make @Id and @Version annotations resolve as nullable fields
Fixes: #2217
Fixes: #2809 | diff --git a/packages/java/parser-jvm-plugin-nonnull/pom.xml b/packages/java/parser-jvm-plugin-nonnull/pom.xml
index fdabd6e64d..3ba281e4b8 100644
--- a/packages/java/parser-jvm-plugin-nonnull/pom.xml
+++ b/packages/java/parser-jvm-plugin-nonnull/pom.xml
@@ -54,5 +54,10 @@
<version>${project.version}</version>
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The @Id and @Version fields of NullableEndpoint look nullable by default already, so NullableEndpoint should probably be tested under a @NonNullApi annotation.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vaadin__hilla__2938 | vaadin/hilla | 2,938 | defect | ee206a97d6f4090c349ab20849a3369674f3689d | ea3909d7157f4c2434a0df2af7a5e23259c8f84d | feat: add endpoint detection | Add check for if endpoint generator needs to run
Fixes https://github.com/vaadin/flow/issues/20289
Fixes https://github.com/vaadin/flow/issues/18800 | diff --git a/packages/java/endpoint/src/main/java/com/vaadin/hilla/startup/EndpointUsageDetectorImpl.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/startup/EndpointUsageDetectorImpl.java
new file mode 100644
index 0000000000..89f624cf22
--- /dev/null
+++ b/packages/java/endpoint/src/main/java/com/vaadin/h... | 3 | 3 | 3 | [{"id": "G0", "claim": "The endpoint-usage check should exclude Hilla's own internal annotated classes such as SignalsHandler; without that, Flow would always try to generate the endpoints unless one completely excludes Hilla.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}... | null |
vaadin__hilla__2998 | vaadin/hilla | 2,998 | defect | ad2c774f5d5519e5b7b4cb3a0c189da34136dd10 | db8cfa7bb631c51e2be38ca4a90f03a2495ccd81 | fix: throw exception if feature flag is not enabled | ## Description
This also removes the client-side check for
the feature flag to let the UI being rendered
normally, and server-side get a chance to
evaluate the feature-flag while handling the
requests for subscribe or update.
Fixes #2937
## Type of change
- [x] Bugfix
- [ ] Feature
## Checklist
-... | diff --git a/packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/config/SignalsConfiguration.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/config/SignalsConfiguration.java
index 7d7493771b..e1010412c9 100644
--- a/packages/java/endpoint/src/main/java/com/vaadin/hilla/signals/config/Sign... | 1 | 1 | 0 | [{"id": "G0", "claim": "The commented-out @ConditionalOnFeatureFlag(\"fullstackSignals\") annotation in SignalsConfiguration should be removed rather than left commented out.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vaadin__hilla__3087 | vaadin/hilla | 3,087 | defect | 67be5edcbc3a57f1e191b2c12c5b8b04eeb68484 | 824da42ecfb2e43e5331990f3338d7920735cb31 | fix: restore endpoint registration after hotswap | After #2616, endpoints were not registered correctly after a hotswap event.
This PR completes the code update to keep that working. | diff --git a/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointCodeGenerator.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointCodeGenerator.java
index f1fc342927..90573d0f84 100644
--- a/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointCodeGenerator.java
+++ b/packages/java/... | 2 | 2 | 2 | [{"id": "G0", "claim": "As discussed internally, the PR needs to handle the duplicate endpoint generation and registration that can occur, e.g. when an endpoint class is renamed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Because the Vaadin endp... | null |
vaadin__hilla__3165 | vaadin/hilla | 3,165 | defect | 3078d48c91616d8a702d119e4985915d91ad41f3 | 2e67bb0b60aef050e190db134896e0798250773f | feat(controller): support receiving `MultipartFile`s | Multipart requests are supposed to contain some files (with name) and one JSON part named "hilla_body_part", which contains the ordinary data.
The part names for files must be named according to the JSON syntax for accessing a JSON object. So, for example, if a method has a parameter named `uploadedFile`, the corres... | diff --git a/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointController.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointController.java
index 517b833a3a..1b5f448757 100644
--- a/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointController.java
+++ b/packages/java/endpoint/... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add another test that verifies that having multiple files as endpoint's parameters also works.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vaadin__hilla__3224 | vaadin/hilla | 3,224 | defect | c70d3c65b58025840cc647fdf4b8b7ba78ba34ac | 441b909d73fd17f4b442db45275e6a2ed946bace | feat(crud): support configured max page size | When using `ListRepositoryService` and its subclasses, one can pass an arbitrary page size, potentially querying many lines. This is also true in Hilla, where the client side decides.
This PR uses the existing `spring.data.rest.pageable.max-page-size` property, if defined, and silently caps the maximum page size.
Clo... | diff --git a/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/ListRepositoryService.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/ListRepositoryService.java
index 8ebfb63f31..fb2ba815cf 100644
--- a/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/ListRepositoryService.java
+++ b... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new test's two assertions on the returned objects' names assume an order the repository may not guarantee and could make the test flaky; the reviewer suggests removing them since asserting the size is enough for testing this functionality.", "category": "testing", "verdict": "supported", "pr... | null |
vaadin__hilla__3252 | vaadin/hilla | 3,252 | defect | 318237c02b0f515f2335e6a83cb1316cc6874644 | 661fab8b8a588014c7c655611d6f1b2825936e18 | feat: useGridDataProvider for connecting Grid to a service | Differs from useDataProvider in the way that it does not assume you have a `Filter` parameter and it does not assume you have a separate count method. Currently it only supports infinite scrolling but once #703 is implemented, it can take the returned count information into account also. | diff --git a/packages/java/tests/spring/react-grid-test/frontend/views/GridUseGridDataProviderHook.tsx b/packages/java/tests/spring/react-grid-test/frontend/views/GridUseGridDataProviderHook.tsx
new file mode 100644
index 0000000000..dc3655aaea
--- /dev/null
+++ b/packages/java/tests/spring/react-grid-test/frontend/vie... | 2 | 2 | 0 | [{"id": "G0", "claim": "The @Service annotation on PersonCustomService is not needed and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "useGridDataProvider should be exported properly from the react-crud package and imported i... | null |
vaadin__hilla__3257 | vaadin/hilla | 3,257 | defect | 44cefec59cf1cdf5bf54874951f46be39b404c3c | 0aab8418a9f3a038cb5a1b9dde8eab3565aa52fc | fix(parser): check for misuse of `MultipartFile` | Fixes #3244 | diff --git a/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/ParserConfiguration.java b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/ParserConfiguration.java
index b94f510f1e..702a60ad2a 100644
--- a/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/ParserConfiguration.j... | 3 | 2 | 1 | [{"id": "G0", "claim": "The repeated misuse-check code in enter() should be extracted into another method or code block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The exception thrown when a MultipartFile is used as an endpoint return type ... | null |
vaadin__hilla__3295 | vaadin/hilla | 3,295 | defect | 805da95c7bc77577b0ee35b9c9d6906489b6919a | e268723827338b9ead841d4d1830edbc3f6e346b | feat(endpoint): Add constructors for filter classes | These were added to the Flow versions but not copied back to Hilla. They still are useful when you work with the filter classes yourself
| diff --git a/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/AndFilter.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/AndFilter.java
index bd1b1a2bc6..d9b955de9c 100644
--- a/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/AndFilter.java
+++ b/packages/java/... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request's new filter constructors need tests; a unit test exercising the constructors within the outlined use case would be enough.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vaadin__hilla__3314 | vaadin/hilla | 3,314 | defect | 2f8256d85a7dea663521a35e080be24d8f7e2cc0 | bad42f69f4950c5482e8c3af73478e1c48154f9d | fix(parser): add a fallback if AOT fails | While AOT has proved to be reliable in most cases, it can fail on some projects and we don't want users to have to struggle with it just to compile their apps for production.
This PR adds a fallback in case of AOT failure. All browser-callable services found in the classpath will be reported, which could lead to gen... | diff --git a/packages/java/engine-core/pom.xml b/packages/java/engine-core/pom.xml
index f56bac3d07..8dd756d258 100644
--- a/packages/java/engine-core/pom.xml
+++ b/packages/java/engine-core/pom.xml
@@ -93,6 +93,11 @@
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
+ <depen... | 1 | 1 | 0 | [{"id": "G0", "claim": "The fallback log message should be improved so that it either tells the user to run with DEBUG log level to learn where the report is, or reveals the report file path directly.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vaadin__hilla__3363 | vaadin/hilla | 3,363 | defect | 08d06307058fa665cee7e0229ac8e91995b550a3 | 57802c919e74c7b156655e4a3768b4634081212e | feat: Support UUID filtering in PropertyStringFilter | ## Description
Allow users to pass a PropertyStringFilter for a UUID field.
Fixes #3362
## Type of change
- [ ] Bugfix
- [x] Feature
## Checklist
- [x] I have read the contribution guide: https://vaadin.com/docs/latest/guide/contributing/overview/
- [x] I have added a description following the guide... | diff --git a/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/PropertyStringFilterSpecification.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/PropertyStringFilterSpecification.java
index e06c843f5e..4d271421b3 100644
--- a/packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/Property... | 3 | 3 | 0 | [{"id": "G0", "claim": "Make sure the new UUID-matching switch in PropertyStringFilterSpecification is compliant with Java 17.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Run `mvn formatter:format` before committing so the one-line getter/setter ... | null |
vaadin__hilla__3401 | vaadin/hilla | 3,401 | defect | 19ca57c7749da86c63a6ca96c9dd72431b7e1c71 | 76f21a466462c6bc70f01bb023df3752eeba0a58 | feat(endpoint): add custom HTTP exception | Introduce a new `EndpointHttpException` class to handle HTTP status codes in endpoint invocations, allowing for more granular error handling.
Other exceptions become subclasses of this one, which simplifies the handling of those exceptions around the code.
Both `EndpointHttpException` and its subclasses can be th... | diff --git a/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointController.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointController.java
index 602c2b9911..716269a450 100644
--- a/packages/java/endpoint/src/main/java/com/vaadin/hilla/EndpointController.java
+++ b/packages/java/endpoint/... | 2 | 1 | 1 | [{"id": "G1", "claim": "Consider providing a default error message for EndpointNotFoundException instead of passing null, to improve clarity when this exception is thrown.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G3", "claim": "Disallow throwing 2xx st... | null |
vaadin__hilla__3559 | vaadin/hilla | 3,559 | defect | c67bb726dcb2ff73fc46e3320c024567ed5ca6e5 | 3af90650afa2906d48bec809f3ffd559c81fe6a2 | fix: implement `translateDynamic` | Allows to use `key` in `ViewConfig`.
Allows to request single keys to the server.
Implements a `translateDynamic` function that accepts a string as key and returns a signal. To be used in `ViewConfig`-related code. Can also be used when a dynamic key is needed, although at a performance cost.
Requires https://... | diff --git a/packages/java/tests/spring/react-i18n/src/main/frontend/types/detail.ts b/packages/java/tests/spring/react-i18n/src/main/frontend/types/detail.ts
new file mode 100644
index 0000000000..8067ca6e25
--- /dev/null
+++ b/packages/java/tests/spring/react-i18n/src/main/frontend/types/detail.ts
@@ -0,0 +1,5 @@
+im... | 1 | 1 | 0 | [{"id": "G0", "claim": "The multi-line template-literal console.warn that reports keys translated by an extra server call should be simplified to a single-line array join, as in the suggested console.warn(['A server call was made to translate keys those were not loaded', ...batchedKeys].join('\\n - ')).", "category": "... | null |
vaadin__hilla__3913 | vaadin/hilla | 3,913 | defect | 309a7eef976b3c011a3eee03f3f4b778b85b045c | 0d0107a81b188a449172fe7757227ee034cac133 | fix(engine-core): always consume Process output | Fixes #3696
| diff --git a/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/GeneratorProcessor.java b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/GeneratorProcessor.java
index e32b2ce206..2f7d65305d 100644
--- a/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/GeneratorProcessor.java... | 1 | 1 | 1 | [{"id": "G0", "claim": "The tests seem to run forever, meaning that something keeps waiting.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
vaadin__hilla__4373 | vaadin/hilla | 4,373 | defect | e57ee891a6a09b902db72733334f45a7fdbc7b2c | a6dc1a3c48590146bc006a36bb6e7ee5f3438a22 | Prepare RouteUtil for changes in FileRouterRequestUtil | This prepares `RouteUtil` for changes in https://github.com/vaadin/flow/pull/22753
- [x] Implement `FileRouterRequestUtil::isAnonymousRoute`
- [x] Adds a flag to reuse the common logic needed for the new `isAnonymousRoute` and the deprecated `isRouteAllowed`, ensuring that the former does not invoke `request.getUse... | diff --git a/packages/java/endpoint/src/main/java/com/vaadin/hilla/route/RouteUtil.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/route/RouteUtil.java
index 8c6bd2e8dd..d6c995f78e 100644
--- a/packages/java/endpoint/src/main/java/com/vaadin/hilla/route/RouteUtil.java
+++ b/packages/java/endpoint/src/main/... | 1 | 1 | 1 | [{"id": "G0", "claim": "FileRouterRequestUtil is an internal API that users should not be able to override with custom behavior, so the @ConditionalOnMissingBean(FileRouterRequestUtil.class) condition on the RouteUtil bean should be removed.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "in... | null |
vaadin__hilla__4581 | vaadin/hilla | 4,581 | defect | d0cdac020abe4ef96dd093daee77359e77da58f1 | 1818115f0f634ec6402de2987de4433a7dc5fdbe | fix: support route parameters in RouteUtil | Fixes #4440
| diff --git a/packages/java/endpoint/src/main/java/com/vaadin/hilla/route/RouteUtil.java b/packages/java/endpoint/src/main/java/com/vaadin/hilla/route/RouteUtil.java
index ae8d923d87..ef532e3ef3 100644
--- a/packages/java/endpoint/src/main/java/com/vaadin/hilla/route/RouteUtil.java
+++ b/packages/java/endpoint/src/main/... | 1 | 1 | 0 | [{"id": "G0", "claim": "With the pattern `/test/:testId?/inner`, the request path `/test` appears to be considered a valid pattern even if there might be no index file in that directory.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vaadin__hilla__4705 | vaadin/hilla | 4,705 | defect | 98518d7b4542ccf5df85842035137fc4acf5a1ce | d1530d9d14e65a872f495c40a64dc0630bafcba4 | fix: handle null loadingCount in grid test waitForLoading method | The waitForLoading method in AbstractGridTest was causing NullPointerException when globalThis.Vaadin.connectionState.loadingCount was undefined or null. This occurred when the Vaadin object or connectionState wasn't initialized yet during test execution.
Changes:
- Add optional chaining (?.) in JavaScript to safel... | diff --git a/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/AbstractGridTest.java b/packages/java/tests/spring/react-grid-test/src/test/java/com/vaadin/hilla/test/reactgrid/AbstractGridTest.java
index c98049d7fe..fafb110748 100644
--- a/packages/java/tests/spring/react-grid-tes... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test should assert on the connection state (e.g. `connectionState?.state !== 'loading'`) instead of reading `loadingCount`, which is private.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vaadin__hilla__4859 | vaadin/hilla | 4,859 | defect | 39e6b0d918649b7b07fa6a6287214505480e897e | f7853f36fb37e43907eb1bb5f1ff86e68a9bdead | feat: add explicit sourceClasses setting for Maven plugin | Fixes #4793
| diff --git a/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/AotBrowserCallableFinder.java b/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/AotBrowserCallableFinder.java
index bf28f3f662..2766a5fd0a 100644
--- a/packages/java/engine-core/src/main/java/com/vaadin/hilla/engine/AotBrowserC... | 3 | 3 | 0 | [{"id": "G0", "claim": "The new debug log sentence is missing a subject/verb.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The sourceClasses builder setter should store a defensive copy of the list to prevent mutations after building.", "categor... | null |
vaadin__platform__7056 | vaadin/platform | 7,056 | defect | afc357c90ded769959e53f607015fb0c38f394bb | 1c85f0814de03adaf11f04cbba31c3df9b26a357 | feat: Add test for mixed flowLayout and deep tree | Add tests for testing use of
flowLayout as both true and false
in same layout path.
Add test for hilla view with a deep
path that should get a Flow layout.
| diff --git a/vaadin-platform-react-hybrid-test/src/main/frontend/views/flow/hello-hilla.tsx b/vaadin-platform-react-hybrid-test/src/main/frontend/views/flow/hello-hilla.tsx
index 0910f8214..0332a1382 100644
--- a/vaadin-platform-react-hybrid-test/src/main/frontend/views/flow/hello-hilla.tsx
+++ b/vaadin-platform-react-... | 1 | 1 | 1 | [{"id": "G0", "claim": "Both new tests added by this pull request are failing in CI, suggesting something may be missing.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
vaadin__platform__8066 | vaadin/platform | 8,066 | defect | 84b09be3dc296565292de96c4a5d9420f54b2c42 | d0fb0b572df24cf697af995c01ed340ee45b4d64 | feat: remove @vaadin/bundles from versions.json | ## Description
This PR removes `@vaadin/bundles` from the platform build, as it no longer provides a noticeable performance benefit compared to Vite's built-in prebundling:
https://github.com/user-attachments/assets/4ede9a11-2886-4bcc-b331-4ea078c64812
## Type of change
- [x] Feature
| diff --git a/scripts/generator/templates/template-vaadin-pom.xml b/scripts/generator/templates/template-vaadin-pom.xml
index 25d38f75b..fff1f0be7 100644
--- a/scripts/generator/templates/template-vaadin-pom.xml
+++ b/scripts/generator/templates/template-vaadin-pom.xml
@@ -114,30 +114,6 @@
</executi... | 1 | 1 | 0 | [{"id": "G0", "claim": "If the bundles block is not needed, the empty \"bundles\" property should be removed from versions.json entirely rather than left as an empty object.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vaadin__router__900 | vaadin/router | 900 | defect | 842b6f72e0a8603b2bdc9f4cc5789e60aa5542cc | 9971370d07fe50d0ac2605c9690f98d5c60bee3a | fix: use es2021 as a target for TypeScript | Fixes #897 | diff --git a/src/resolver/matchPath.ts b/src/resolver/matchPath.ts
index 1783fabb..6361619d 100644
--- a/src/resolver/matchPath.ts
+++ b/src/resolver/matchPath.ts
@@ -79,7 +79,7 @@ function matchPath(
const key = regexp.keys[i - 1];
const prop = key.name;
const value = m[i];
- if (value !== undefined ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Keep the error.cause assertion in the resolver spec and add the cause back to ResolutionError so it can be tested.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vaadin__spreadsheet__699 | vaadin/spreadsheet | 699 | defect | bfc81177e871aca775fde08070f2db0066bfb103 | becde2dfd840d0d051dfbd04fa646222c43ad5d1 | Misc. updates/fixes/enhancements for extensibility and useability | Interested to see what you think of these.
Some of these are enabling simpler/cleaner extension and modification
in consuming apps, others are widening of support or cleanup of
behaviors I've been using. Much of it is replacing custom logic that
evaluates things that ultimately map to Excel formulas with POI for... | diff --git a/vaadin-spreadsheet/src/main/java/com/vaadin/addon/spreadsheet/CellValueManager.java b/vaadin-spreadsheet/src/main/java/com/vaadin/addon/spreadsheet/CellValueManager.java
index e455714f5..8ba44a4d6 100644
--- a/vaadin-spreadsheet/src/main/java/com/vaadin/addon/spreadsheet/CellValueManager.java
+++ b/vaadin-... | 9 | 9 | 2 | [{"id": "G0", "claim": "The pull request removed the CVALv3 license header from DefaultHyperlinkCellClickHandler.java and it should be added back.", "category": "legal", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request contains a lot of unrelated formatting chang... | null |
vaadin__spreadsheet__707 | vaadin/spreadsheet | 707 | defect | 7c2add5fce5ac87c512faf16ed0869a4b8ccccb1 | a58a539439b71572fcf837f7ea71a914d47cefe5 | Move CopyPasteHandler registration to method | To prevent memory leak on the client-side, #660 introduced a method on `CopyPasteTextBox` to remove the handler.
Since the handler registration only occurs on the `CopyPasteTextBox` constructor, in some cases when a spreadsheet is detached and re-attached (if child of `VerticalLayout` with `setSizeFull`, for instance)... | diff --git a/vaadin-spreadsheet/src/main/java/com/vaadin/addon/spreadsheet/client/CopyPasteTextBox.java b/vaadin-spreadsheet/src/main/java/com/vaadin/addon/spreadsheet/client/CopyPasteTextBox.java
index 53b8f542c..8e1aa3f69 100644
--- a/vaadin-spreadsheet/src/main/java/com/vaadin/addon/spreadsheet/client/CopyPasteTextB... | 3 | 2 | 1 | [{"id": "G0", "claim": "The method should be renamed to `removeHandler`.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "It would make sense to set `nativePreviewHandlerRegistration` to null after removing the handler.", "category": "correctness"... | null |
vaadin__spring__339 | vaadin/spring | 339 | defect | ba3083f10adfeba34a15d72ff373f492d373f7d5 | 712c92815ef8851b81c82999ad4f078b2989142c | Make BeanStore serializable and add serializable test. | Fixes #338
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/vaadin/spring/339)
<!-- Reviewable:end -->
| diff --git a/vaadin-spring/pom.xml b/vaadin-spring/pom.xml
index 4a6a802af..b516993a9 100644
--- a/vaadin-spring/pom.xml
+++ b/vaadin-spring/pom.xml
@@ -90,6 +90,13 @@
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>com.vaadin</groupId>
+ <artifactId>flow... | 1 | 1 | 1 | [{"id": "G0", "claim": "The PR should not allow serializing a bean store containing items that cannot be serialized (the special filtering writeObject/readObject handling); it should instead follow the 3.0-branch approach of marking BeanStore Serializable with no special handling of the two fields, so serialization fai... | null |
vaadin__spring__392 | vaadin/spring | 392 | defect | 670a775df4df7e4c3037d63a34a9df6d073b63c6 | f94f11ee3fe7017a78f1edaede97cd54d4c1fe6f | Add WebComponent context initializer to spring | Final part of vaadin/flow#4917
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/vaadin/spring/392)
<!-- Reviewable:end -->
| diff --git a/vaadin-spring/src/main/java/com/vaadin/flow/spring/VaadinServletContextInitializer.java b/vaadin-spring/src/main/java/com/vaadin/flow/spring/VaadinServletContextInitializer.java
index 20a128465..4a4341383 100644
--- a/vaadin-spring/src/main/java/com/vaadin/flow/spring/VaadinServletContextInitializer.java
+... | 3 | 1 | 1 | [{"id": "G0", "claim": "Where do the exceptions caught by the IllegalArgumentException | InvalidCustomElementNameException catch block come from?", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The private getWebComponentPackages method should be moved in... | null |
vaadin__spring__408 | vaadin/spring | 408 | defect | 7ec867c586e08931617d11bed1189339125f62e5 | b77ad62e1660f686fcc0f64ac0d5fc094dd487e0 | Fix for "Misleading Error Message when autowiring beans" in Issue #407 | When using SpringBeans with Vaadin for autowiring, there is a misleading error message when one has 2 or more suitable Beans in the Context.
The SpringInstantiator's getOrCreate Method autowires the bean only when there is exactly one bean in the scope or otherwise it tries to instantiate the given interface, which le... | diff --git a/vaadin-spring/src/main/java/com/vaadin/flow/spring/SpringInstantiator.java b/vaadin-spring/src/main/java/com/vaadin/flow/spring/SpringInstantiator.java
index 83b9ca5b3..436b326a0 100644
--- a/vaadin-spring/src/main/java/com/vaadin/flow/spring/SpringInstantiator.java
+++ b/vaadin-spring/src/main/java/com/va... | 5 | 4 | 3 | [{"id": "G0", "claim": "Throwing IllegalStateException when there is more than one autowiring candidate is not the right choice there, and advice is requested on which exception the reviewer would prefer.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
vaadin__spring__414 | vaadin/spring | 414 | defect | 0586effde77b0d12672086455b3c6b239a1f0474 | 7e24097e22c39df0e519f55283ace4f1e644a5e9 | Update annotation validation in Spring add-on | Awaits PR vaadin/flow#5369
Part of vaadin/flow#4984
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/vaadin/spring/414)
<!-- Reviewable:end -->
| diff --git a/vaadin-spring/src/main/java/com/vaadin/flow/spring/VaadinServletContextInitializer.java b/vaadin-spring/src/main/java/com/vaadin/flow/spring/VaadinServletContextInitializer.java
index ef3bc4557..595b0d65a 100644
--- a/vaadin-spring/src/main/java/com/vaadin/flow/spring/VaadinServletContextInitializer.java
+... | 4 | 2 | 0 | [{"id": "G0", "claim": "A second WebComponentExporterAwareValidator is constructed when extraValidator already holds one; the call should pass extraValidator instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The inline string concatenation... | null |
vaadin__spring__438 | vaadin/spring | 438 | defect | 28a2c66b970ffb6b82a65d33764970f9dfbb1bdd | c51825c96710c4062cc20d4988d7c54affce660f | Initialize webpack dev server | Add webpack development server initialization
to spring boot servlet context initialization.
Fixes vaadin/flow#5677
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/vaadin/spring/438)
<!-... | diff --git a/vaadin-spring-tests/test-spring-common/pom.xml b/vaadin-spring-tests/test-spring-common/pom.xml
index 1a16119dc..4e702144c 100644
--- a/vaadin-spring-tests/test-spring-common/pom.xml
+++ b/vaadin-spring-tests/test-spring-common/pom.xml
@@ -14,7 +14,7 @@
<properties>
<maven.deploy.skip>true</m... | 7 | 4 | 2 | [{"id": "G0", "claim": "The servletRegistrationBean lookup could work with the class alone as a single parameter, so providing the bean name may be unnecessary.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "When no servlet registration bean is found the... | null |
vaadin__spring__446 | vaadin/spring | 446 | defect | e97eaafa2b5e947222d3c5a06130fb05824777ce | c00cdeb90695a23d3c29aa1e65e491216ef6c47b | Scan for classes in all packages | Fixes #445
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/vaadin/spring/446)
<!-- Reviewable:end -->
| diff --git a/vaadin-spring/pom.xml b/vaadin-spring/pom.xml
index 789761820..a684ba407 100644
--- a/vaadin-spring/pom.xml
+++ b/vaadin-spring/pom.xml
@@ -28,6 +28,11 @@
<groupId>com.vaadin</groupId>
<artifactId>flow-client</artifactId>
</dependency>
+ <dependency>
+ <... | 5 | 3 | 2 | [{"id": "G0", "claim": "The reflections-based class scan may not work for classes extending other annotated components (e.g. WebComponentExporter subclasses), and its cost was not checked.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The implement... | null |
vaadin__spring__462 | vaadin/spring | 462 | defect | e4d54a98d4458011df7b97362f946bdfd4115456 | 216a1391d2df857ce74400bf155bc75cf48c77c5 | Use application.properties on init config creation | When generating DeploymentConfiguration in
Servlet Context Initialization apply any `vaadin.`
configuration used in the application.properties
Fixes #461
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://revie... | diff --git a/vaadin-spring/src/main/java/com/vaadin/flow/spring/SpringServlet.java b/vaadin-spring/src/main/java/com/vaadin/flow/spring/SpringServlet.java
index 1d2049101..deb80b7dd 100644
--- a/vaadin-spring/src/main/java/com/vaadin/flow/spring/SpringServlet.java
+++ b/vaadin-spring/src/main/java/com/vaadin/flow/sprin... | 4 | 2 | 1 | [{"id": "G0", "claim": "The new reading of vaadin.* properties from the Environment when building the deployment configuration is untested; the reviewer asks for an integration test of it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Javadoc on PR... | null |
vaadin__spring__470 | vaadin/spring | 470 | defect | ca3a2dfcc35121ab2bc863cf9ba32aaebb7a89fc | f2682dd88a935c5db0b4b57bb8a2c4a4984d53cf | Set compatibilityMode to false explicitly in test service | Due to https://github.com/vaadin/flow/pull/6122, `DefaultDeploymentConfiguration` throws if the mode of operation (npm/compatibility) cannot be determined. Updated tests to set `compatibilityMode` to `false` explicitly.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" he... | diff --git a/vaadin-spring-tests/test-spring-boot-contextpath/pom-bower-mode.xml b/vaadin-spring-tests/test-spring-boot-contextpath/pom-bower-mode.xml
index 12ffe095d..6153a7424 100644
--- a/vaadin-spring-tests/test-spring-boot-contextpath/pom-bower-mode.xml
+++ b/vaadin-spring-tests/test-spring-boot-contextpath/pom-bo... | 2 | 1 | 1 | [{"id": "G0", "claim": "Consider giving compatibility mode a default value of false (and possibly not setting `compatibilityMode` explicitly in both modes).", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `flow-server-compatibility-mode` dependency shou... | null |
vaadin__spring__479 | vaadin/spring | 479 | defect | faf8eaccbe5b1efd280684b5602305157903a9f3 | 793b27ce18c4b85c2884c04c65691a1b981e0cc4 | Scan for service and ui init listeners | Fixes #475
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/vaadin/spring/479)
<!-- Reviewable:end -->
| diff --git a/vaadin-spring-tests/test-spring-common/src/main/java/com/vaadin/flow/spring/test/ComponentAddedViaInitListenerView.java b/vaadin-spring-tests/test-spring-common/src/main/java/com/vaadin/flow/spring/test/ComponentAddedViaInitListenerView.java
new file mode 100644
index 000000000..e0c1b60e5
--- /dev/null
+++... | 2 | 1 | 0 | [{"id": "G0", "claim": "Add a new line at the end of ConfigureUIServiceInitListener.java, which is missing its trailing newline.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Move the private method getErrorParameterPackages into ErrorParameter... | null |
vaadin__spring__482 | vaadin/spring | 482 | defect | faf8eaccbe5b1efd280684b5602305157903a9f3 | 840fa7a5d1dfdca1fb0e2c51ad7b274ae376029b | Fix multiple @NpmPackages on a class | When scanning for @NpmPackage annotations, scan NpmPackage.Container too
Fixes #481
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/vaadin/spring/482)
<!-- Reviewable:end -->
| diff --git a/vaadin-spring/src/main/java/com/vaadin/flow/spring/VaadinServletContextInitializer.java b/vaadin-spring/src/main/java/com/vaadin/flow/spring/VaadinServletContextInitializer.java
index 01f471955..19bf9a03d 100644
--- a/vaadin-spring/src/main/java/com/vaadin/flow/spring/VaadinServletContextInitializer.java
+... | 2 | 1 | 1 | [{"id": "G0", "claim": "There are no ITs covering the @NpmPackage annotation scanning, and it would be good to test it somehow because it is too easy to break without any notice.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The getErrorParameterPackag... | null |
vaadin__spring__521 | vaadin/spring | 521 | defect | f551dd9d6554ee09c94b55736b49d5eb9f744543 | 805df403c9f1f522d0f90d432a97694639369bce | CCDM: adding tests for CCDM features |
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/vaadin/spring/521)
<!-- Reviewable:end -->
| diff --git a/.gitignore b/.gitignore
index c49bf337d..bd346d1c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@ node_modules/
package*.json
webpack.config.js
webpack.generated.js
+**/frontend/generated/
diff --git a/pom.xml b/pom.xml
index a66814ec9..0c31e6e76 100644
--- a/pom.xml
+++ b/pom.xml
@@ -136,7 ... | 3 | 3 | 2 | [{"id": "G0", "claim": "Keep dummy-module as the last item in the modules list in vaadin-spring-tests/pom.xml.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Avoid using 'ccdm' in the test module name; rename the test module to something without tha... | null |
vaadin__spring__525 | vaadin/spring | 525 | defect | cb1a1a7a906d3d94b59580458564148835c78d87 | 79b04358f43ff3eebb15f4051425f73149ac3483 | Scan abstract types | Reverts the hardcoded workaround for #519 and instead configures the
classpath scanning logic to consider all abstract types.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/vaadin/spring/52... | diff --git a/vaadin-spring-tests/test-spring-boot-only-prepare/pom.xml b/vaadin-spring-tests/test-spring-boot-only-prepare/pom.xml
index b1de4b46c..1a2efa499 100644
--- a/vaadin-spring-tests/test-spring-boot-only-prepare/pom.xml
+++ b/vaadin-spring-tests/test-spring-boot-only-prepare/pom.xml
@@ -142,7 +142,7 @@
... | 2 | 1 | 0 | [{"id": "G0", "claim": "The anonymous ClassPathScanningCandidateComponentProvider subclass inside findByAnnotationOrSuperType should be extracted as a static nested class instead of being inlined as anonymous.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim"... | null |
vaadin__spring__527 | vaadin/spring | 527 | defect | 803c962028bcc7bc67e4980abe42fc6605d248ec | abcb13ac9e929c5bbe3cc83da4c9fcb9c7835c7b | Scan abstract types in 12.1 (#525) | Consider abstract types when looking for annotations
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/vaadin/spring/527)
<!-- Reviewable:end -->
| diff --git a/vaadin-spring-tests/test-spring-boot-only-prepare/pom.xml b/vaadin-spring-tests/test-spring-boot-only-prepare/pom.xml
index fb727c9ac..7e48a4bd3 100644
--- a/vaadin-spring-tests/test-spring-boot-only-prepare/pom.xml
+++ b/vaadin-spring-tests/test-spring-boot-only-prepare/pom.xml
@@ -151,6 +151,10 @@
... | 2 | 1 | 0 | [{"id": "G0", "claim": "The spring-boot-maven-plugin timing configuration (maxAttempts/wait) added to the test-spring-boot-only-prepare pom looks like a leftover that should have been removed along with the reverted reflection/Class.forName change.", "category": "maintainability", "verdict": "supported", "priority": "P... | null |
vaadin__spring__544 | vaadin/spring | 544 | defect | 7f6d75cc61f131f3fbe69904f165dbac7121d57d | 456ed988c4c4239084b2fa94eed57f0375876c53 | CCDM: adding tests for checking user in client | Connected to https://github.com/vaadin/flow-and-components-documentation/issues/1050
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/vaadin/spring/544)
<!-- Reviewable:end -->
| diff --git a/vaadin-spring-tests/test-ts-services/frontend/src/test-component.js b/vaadin-spring-tests/test-ts-services/frontend/src/test-component.js
index 573e8fea6..3b3d920af 100644
--- a/vaadin-spring-tests/test-ts-services/frontend/src/test-component.js
+++ b/vaadin-spring-tests/test-ts-services/frontend/src/test-... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the console.log(error) call from the new checkUser catch block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vaadin__spring__593 | vaadin/spring | 593 | defect | 0834336d1c21fccaf1736e18399aa2c12ee36909 | 46bf935f96df0ba6e04cdc23b345a629887e59a8 | IllegalStateException when running a Vaadin Spring project on WebLogic server #502 | **https://github.com/vaadin/flow/pull/7990/files should me merged first.**
Checks if Dev Mode has already been started to avoid running Dev Mode twice.
This mainly addresses the case when Spring Boot is running within web server/servlet container.
<!-- Reviewable:start -->
---
This change is [<img src="https://rev... | diff --git a/pom.xml b/pom.xml
index db175242b..ef8b73bb3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -52,6 +52,8 @@
<junit.version>4.12</junit.version>
<maven.clean.plugin.version>3.0.0</maven.clean.plugin.version>
+ <mockito.version>3.1.0</mockito.version>
+ <powermock.version>2.0.7</power... | 4 | 3 | 0 | [{"id": "G0", "claim": "The test method name `shouldStartDevModeInitializationWhenNotInvokedYet` contains an extra word `should` and should follow the `whatIsTested_prerequisites_expectedResult` naming convention.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
vaadin__spring__622 | vaadin/spring | 622 | defect | f554a3d5d0e6f109d8cc5e27b8dee1bd859f4381 | 69013119d1f347c6b082aef77d2f6776903d90be | add an integration test with a custom Connect client | A custom Connect client is set for the entire app, not for individual endpoints. In order to keep the existing endpoint integration tests running with the default Connect client (see the `test-ts-services` module), the new test is added to a separate new module.
Related to https://github.com/vaadin/flow/issues/8364
... | diff --git a/vaadin-spring-tests/pom.xml b/vaadin-spring-tests/pom.xml
index 2bb91258c..711dfb666 100644
--- a/vaadin-spring-tests/pom.xml
+++ b/vaadin-spring-tests/pom.xml
@@ -326,6 +326,7 @@
<!-- <module>test-spring</module>-->
<module>test-spring-boot-contextpath</module>
... | 4 | 4 | 1 | [{"id": "G0", "claim": "Add a trailing newline at the end of frontend/connect-client.ts (the file's last line lacks one).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a trailing newline at the end of src/main/java/com/vaadin/flow/connect/A... | null |
vaadin__spring__627 | vaadin/spring | 627 | defect | f554a3d5d0e6f109d8cc5e27b8dee1bd859f4381 | 2cdd8083c82bf4c23b3e711af857c06f8fb1ab0f | Determine init parameters by reflection over com.vaadin.flow.server.InitParameters | Fixes #621
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/vaadin/spring/627)
<!-- Reviewable:end -->
| diff --git a/pom.xml b/pom.xml
index 2d7f04595..ddb1d66fa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,7 +44,7 @@
<maven.compiler.target>1.8</maven.compiler.target>
<!-- These are typically overridden with BOMs -->
- <vaadin.flow.version>3.1-SNAPSHOT</vaadin.flow.version>
+ <vaadin.flow.v... | 2 | 1 | 0 | [{"id": "G0", "claim": "SonarQube rule S2226 (MAJOR): remove the misleading mutable servlet instance field PROPERTY_NAMES or make it \"static\" and/or \"final\".", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code-coverage filter may be able... | null |
vaadin__spring__642 | vaadin/spring | 642 | defect | 3e0810cce1bd3a6af80706ae6eef043edb75b55d | a554c2a69f34c1958e274cdabcde54d1734ec204 | Minor class path scanning optimization | Extend the default class scanning exclusion list to JDK and IDE classes.
Use prefix tree for faster lookups in long exclusion/inclusion lists.
Fixes #571.
| diff --git a/vaadin-spring/src/main/java/com/vaadin/flow/spring/PrefixTree.java b/vaadin-spring/src/main/java/com/vaadin/flow/spring/PrefixTree.java
new file mode 100644
index 000000000..4f78a68b6
--- /dev/null
+++ b/vaadin-spring/src/main/java/com/vaadin/flow/spring/PrefixTree.java
@@ -0,0 +1,75 @@
+/*
+ * Copyright 2... | 4 | 3 | 0 | [{"id": "G0", "claim": "The containsKey/put block in Node.addPrefix could be replaced with Map.putIfAbsent.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Node.addPrefix need not assert the prefix is non-empty because PrefixTree.addPrefix alread... | null |
vaadin__spring__651 | vaadin/spring | 651 | defect | d1f2185774ab16efaf7ad20abc32fc22018f3fef | 4f8504f825127f10b2152fe90eb4a63988cda10d | Read properties using uniform name along with camel case | Fixes #637 | diff --git a/vaadin-spring/src/main/java/com/vaadin/flow/spring/SpringServlet.java b/vaadin-spring/src/main/java/com/vaadin/flow/spring/SpringServlet.java
index cee55b12c..36a614eb6 100644
--- a/vaadin-spring/src/main/java/com/vaadin/flow/spring/SpringServlet.java
+++ b/vaadin-spring/src/main/java/com/vaadin/flow/sprin... | 2 | 1 | 1 | [{"id": "G0", "claim": "The dash-separated property name should be put to lower case, because camelCaseToDashSeparated turns `vaadin.productionMODE` into `vaadin.production-mODE` while the environment stores all names in lower case.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introd... | null |
vaadin__spring__652 | vaadin/spring | 652 | defect | 64b8d837331ccf71956f5f48807893fcc32ac171 | 67d0108887a14325f27058feca5bcc06cb6b23e3 | Test that AppShell is injectable | This is the test for https://github.com/vaadin/flow/pull/8876 | diff --git a/vaadin-spring-tests/test-ts-services/src/main/java/com/vaadin/flow/connect/AppShell.java b/vaadin-spring-tests/test-ts-services/src/main/java/com/vaadin/flow/connect/AppShell.java
index 2742f38a3..d3e7f70df 100644
--- a/vaadin-spring-tests/test-ts-services/src/main/java/com/vaadin/flow/connect/AppShell.jav... | 1 | 1 | 1 | [{"id": "G0", "claim": "The build fails because the integration tests always fail with this change — AppViewIT.setup:45 throws NoSuchElement after 'Unable to create an instance of com.vaadin.flow.connect.AppShell. Make sure the class has a public no-arg constructor.', which seems like it may be related to this change."... | null |
vaadin__spring__657 | vaadin/spring | 657 | defect | 1a169407269043494e044b03acd8993350e4458a | 4a6ceb8cd787ad08f43607f9d4e07e911b6dacbe | Fix regression with add-on customized RouteNotFoundError subclass | A regression in #655 caused Flow to throw an exception when validating that the route registry had at most one component mapped to `com.vaadin.flow.router.NotFoundException`. Replace `RouteNotFoundError` from Flow with `SpringRouteNotFoundError` instead of adding it when setting up route registry. Custom exception view... | diff --git a/vaadin-spring/src/main/java/com/vaadin/flow/spring/VaadinServletContextInitializer.java b/vaadin-spring/src/main/java/com/vaadin/flow/spring/VaadinServletContextInitializer.java
index 10af3513a..316e51827 100644
--- a/vaadin-spring/src/main/java/com/vaadin/flow/spring/VaadinServletContextInitializer.java
+... | 3 | 2 | 1 | [{"id": "G0", "claim": "The getErrorParameterPackages method should be moved into \"ErrorParameterServletContextListener\" per Sonar rule squid:S3398.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "A test should be created for this regression ... | null |
vaadin__spring__664 | vaadin/spring | 664 | defect | 93b4b07dcc4aa8dc718039d69b7383259862bc4a | 2235006b4caf3b73a772643f1707c8ae18b708e7 | fix: custom pushURL failed with non-root mapping | When mapping was `/*`, `SpringBootAutoConfiguration` updated init parameter `pushURL` for `SpringServlet` but this was overridden later if custom `pushURL` was provided by user. Fixed by moving the push path update logic to just before deployment config is created.
Fixes vaadin/flow#9077. | diff --git a/vaadin-spring/src/main/java/com/vaadin/flow/spring/SpringBootAutoConfiguration.java b/vaadin-spring/src/main/java/com/vaadin/flow/spring/SpringBootAutoConfiguration.java
index dd24a68e2..94246d78f 100644
--- a/vaadin-spring/src/main/java/com/vaadin/flow/spring/SpringBootAutoConfiguration.java
+++ b/vaadin-... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request should add another unit test dedicated to the newly introduced push-url mapping logic, covering push urls like \"/someUrl\" and apparently \"/vaadinServlet/someUrl\" (an IT can be skipped).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}... | null |
vaadin__spring__666 | vaadin/spring | 666 | defect | 990e3aceb3b0b3c9b4642e012a54769b97fc42c7 | a24eb9a7d65a89cfe3cb973133912e353f62fb5d | fix: Fallback chunk is now loaded in production mode | Non-string init parameter (`DeploymentConfigurationFactory.FALLBACK_CHUNK`) in `Properties`object was lost in the Spring properties mapping.
Fixes #662. | diff --git a/vaadin-spring/src/main/java/com/vaadin/flow/spring/SpringServlet.java b/vaadin-spring/src/main/java/com/vaadin/flow/spring/SpringServlet.java
index ce2d87c03..d24fe2932 100644
--- a/vaadin-spring/src/main/java/com/vaadin/flow/spring/SpringServlet.java
+++ b/vaadin-spring/src/main/java/com/vaadin/flow/sprin... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test should use assertSame instead of assertEquals when checking that the FALLBACK_CHUNK init parameter is passed on to the deployment configuration.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vaadin__spring__682 | vaadin/spring | 682 | defect | 2cce981a75b898888091539b04e454f238d9a272 | 3c57f42f0bc376f901d2375c93a92543385d2bab | test: add ITs for offline form feature | Fixes https://github.com/vaadin/flow/issues/9119
Note, it's currently in a feature branch, need to merge to master, once the offline feature branch is merged to Flow master. | diff --git a/pom.xml b/pom.xml
index 42b7ffe53..94e05233c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,7 +44,7 @@
<maven.compiler.target>1.8</maven.compiler.target>
<!-- These are typically overridden with BOMs -->
- <vaadin.flow.version>5.0-SNAPSHOT</vaadin.flow.version>
+ <vaadin.flow.v... | 1 | 1 | 0 | [{"id": "G0", "claim": "The class-level Javadoc of OfflineFormIT ('Class for testing issues in a spring-boot container.') is a copy-paste leftover too generic for this use case and should describe what the class actually tests.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduce... | null |
vaadin__spring__685 | vaadin/spring | 685 | defect | 2cce981a75b898888091539b04e454f238d9a272 | d72cfd642821ea4fca3c1ba12dd76cb4c583e89b | Stop showing devtools reload message for Boot >2.4 | The issue has been fixed in Spring Boot 2.4.0.
Bumps the project version to Spring Boot 2.4.0. | diff --git a/pom.xml b/pom.xml
index 42b7ffe53..607070dc8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,14 +45,14 @@
<!-- These are typically overridden with BOMs -->
<vaadin.flow.version>5.0-SNAPSHOT</vaadin.flow.version>
- <spring-boot.version>2.2.0.RELEASE</spring-boot.version>
+ <sprin... | 2 | 2 | 1 | [{"id": "G0", "claim": "The hand-rolled version check (splitting the string and parsing the minor number) should be replaced with a null guard plus FrontendVersion.isOlderThan comparison against 2.4.0.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim... | null |
vaadin__spring__711 | vaadin/spring | 711 | defect | db61d0357688e9f41af48b764fd47797f2e7ca3d | 8d02ceae9cf89474fdda59533c08c9924c727142 | Use lookup initializer SPI to create and init Lookup using Spring aware beans | fixes #710, #707 | diff --git a/vaadin-spring-tests/test-ts-services-custom-client/src/test/java/com/vaadin/flow/connect/AppViewIT.java b/vaadin-spring-tests/test-ts-services-custom-client/src/test/java/com/vaadin/flow/connect/AppViewIT.java
index 248cd76dd..c782af460 100644
--- a/vaadin-spring-tests/test-ts-services-custom-client/src/te... | 6 | 3 | 0 | [{"id": "G0", "claim": "In SpringLookupInitializer.createLookup(), the lambda `(spi, impl) -> instantiate(appContext, spi, impl)` should be replaced with a method reference (Sonar rule S1612).", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The S... | null |
vaadin__spring__718 | vaadin/spring | 718 | defect | 7025b0fb9355805a95c80268f85df6318ceb2913 | a65ebfc7878a8399c3bb53a72418710a0bef29d6 | test(TypeScript): add tests for endpoint class-like wrappers | Connected to vaadin/flow#7176
Depends on vaadin/flow#9972 | diff --git a/vaadin-spring-tests/test-ts-services-custom-client/frontend/main-view.ts b/vaadin-spring-tests/test-ts-services-custom-client/frontend/main-view.ts
index 889af771a..5a04ae521 100644
--- a/vaadin-spring-tests/test-ts-services-custom-client/frontend/main-view.ts
+++ b/vaadin-spring-tests/test-ts-services-cus... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new wrapper button's caption still carries the `endpoint ` prefix (`endpoint AppEndpoint.helloAnonymous`) that should have been removed.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The Flow version should also be bum... | null |
vaadin__spring__722 | vaadin/spring | 722 | defect | 6db5bbf808a285e9bddb821af3e88b9acd695ad6 | 57817c31001e13d4f466d1597bb3a0b3a36c9c33 | feat: add a helper for configuring Spring Security for Vaadin | Fixes #678
Depends on https://github.com/vaadin/flow/pull/10134 | diff --git a/vaadin-spring/pom.xml b/vaadin-spring/pom.xml
index 4d153ce22..338cb9247 100644
--- a/vaadin-spring/pom.xml
+++ b/vaadin-spring/pom.xml
@@ -56,7 +56,16 @@
<groupId>org.springframework</groupId>
<artifactId>spring-websocket</artifactId>
</dependency>
-
+ <dependency... | 2 | 2 | 2 | [{"id": "G0", "claim": "Adding /VAADIN/** to the default WebSecurity ignore matcher is dangerous (see vaadin/spring#678#issuecomment-736337987 and the comments above).", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "If the static URL strings in the defa... | null |
vaadin__spring__738 | vaadin/spring | 738 | defect | 4bc879ccdcf67b82a18084f6d922cf4b7be77d41 | 6a2906e1c0b856748053bfebdd92582f203748f6 | Use 2.6 flow | Adapt Spring boot startup code to use Lookup and update Flow version | diff --git a/pom.xml b/pom.xml
index 26d4a5f15..388666db0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,7 @@
</parent>
<artifactId>vaadin-spring-parent</artifactId>
- <version>12.3-SNAPSHOT</version>
+ <version>12.4-SNAPSHOT</version>
<packaging>pom</packaging>
<name>vaadin-spring-parent... | 3 | 1 | 1 | [{"id": "G0", "claim": "The CI build shows an UnsupportedOperationException — Servlet spec 4.4 forbids getClassLoader from a ServletContextListener not defined in web.xml — thrown from Flow's LookupInitializer resource provider while SpringStubServletConfig.createDeploymentConfiguration reads the token file.", "categor... | null |
vaadin__spring__748 | vaadin/spring | 748 | defect | 12760018e01ec9170751945d4d0234c95bc5812d | 4161d0a74bab4393c07320443fe9394a51bdb122 | feat: provide a Spring Security base class | Aims to by default secure the whole application by default and allow overriding configuration to make some views or resources public | diff --git a/vaadin-spring/src/main/java/com/vaadin/flow/spring/security/VaadinWebSecurityConfigurerAdapter.java b/vaadin-spring/src/main/java/com/vaadin/flow/spring/security/VaadinWebSecurityConfigurerAdapter.java
new file mode 100644
index 000000000..5eb1ccc40
--- /dev/null
+++ b/vaadin-spring/src/main/java/com/vaadi... | 1 | 1 | 0 | [{"id": "G0", "claim": "SecurityConfig.java should also be changed to extend the new VaadinWebSecurityConfigurerAdapter instead of WebSecurityConfigurerAdapter.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
vaadin__spring__770 | vaadin/spring | 770 | defect | 34bc2e597c17534406c50f132edc5852bd46ea5a | 9a88d3a5ec6a661afb530ef04bbd22060daf31ce | feat: Add a TypeScript client aware login success handler | This writes a specialized response instead of the standard HTTP redirect to TypeScript clients to they can read the relevant information
Closes vaadin/flow#10681
Closes vaadin/flow#10682 | diff --git a/vaadin-spring/src/main/java/com/vaadin/flow/spring/security/VaadinSavedRequestAwareAuthenticationSuccessHandler.java b/vaadin-spring/src/main/java/com/vaadin/flow/spring/security/VaadinSavedRequestAwareAuthenticationSuccessHandler.java
new file mode 100644
index 000000000..a73a10099
--- /dev/null
+++ b/vaa... | 3 | 2 | 0 | [{"id": "G0", "claim": "It would make sense to extend `test-spring-security-flow` with end-to-end tests covering the two cases of accessing a non-view and being redirected when access is unauthorized.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The l... | null |
vaadin__spring__783 | vaadin/spring | 783 | defect | 7c43949301c2122f93caa567af95562921faea38 | a62f6f554a311e4341d8995d6c4c7b8479f60b86 | feat: Automatically allow access to @AnonymousAllowed Flow views | Requires https://github.com/vaadin/flow/pull/10863 and #780 | diff --git a/vaadin-spring-tests/test-spring-security-flow/src/main/java/com/vaadin/flow/spring/flowsecurity/SecurityConfig.java b/vaadin-spring-tests/test-spring-security-flow/src/main/java/com/vaadin/flow/spring/flowsecurity/SecurityConfig.java
index 1317e5ada..b16ea599a 100644
--- a/vaadin-spring-tests/test-spring-s... | 5 | 3 | 1 | [{"id": "G0", "claim": "The added redirect override in VaadinSavedRequestAwareAuthenticationSuccessHandler.sendRedirect has the same problem as was raised for this code in vaadin/spring#780#discussion_r628306150.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "cla... | null |
vaadin__spring__800 | vaadin/spring | 800 | defect | bf6cec487745dfb6018c44b512f5dba687451eed | 2b7ecf280a460867b37f5166ee60c0d92306bc6a | feat: RouteScope without an owner means maps scope to the current Route | fixes #798
<!-- PLEASE READ AND FOLLOW THE TEMPLATE! THE PR CAN BE REJECTED OTHERWISE (This line should be removed when submitting) -->
## Description
Please list all relevant dependencies in this section and provide summary of the change, motivation and context.
Fixes # (issue)
## Type of change
- [ ... | diff --git a/vaadin-spring-tests/test-spring-common/src/main/java/com/vaadin/flow/spring/test/routescope/AnotherBeanNopOwnerView.java b/vaadin-spring-tests/test-spring-common/src/main/java/com/vaadin/flow/spring/test/routescope/AnotherBeanNopOwnerView.java
new file mode 100644
index 000000000..fb7356bdb
--- /dev/null
+... | 4 | 3 | 1 | [{"id": "G0", "claim": "The new test view class name `BeansWithNoWOnerView` contains the typo 'WOner' and should be corrected (noted as not-blocking).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Naming the variables holding the bean's uuid `b... | null |
vaadin__spring__829 | vaadin/spring | 829 | defect | bd2e3cb23e1421def24cae1eeaaadfdd056f96c5 | 734bae99773ad0d267900af1d282a0cd220dc3ad | Destroy beans after navigation out of the route and refresh | fixes #818
<!-- PLEASE READ AND FOLLOW THE TEMPLATE! THE PR CAN BE REJECTED OTHERWISE (This line should be removed when submitting) -->
## Description
Please list all relevant dependencies in this section and provide summary of the change, motivation and context.
Fixes # (issue)
## Type of change
- [x... | diff --git a/vaadin-spring-tests/test-spring-common/src/main/java/com/vaadin/flow/spring/test/routescope/DestroyBean.java b/vaadin-spring-tests/test-spring-common/src/main/java/com/vaadin/flow/spring/test/routescope/DestroyBean.java
new file mode 100644
index 000000000..51c8ec99e
--- /dev/null
+++ b/vaadin-spring-tests... | 6 | 4 | 1 | [{"id": "G0", "claim": "The new field 'bean' in MainPreDestroyView is never read (unused variable).", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "findPreservingUI computes String windowName = getWindowName(ui) instead of getWindowName(sessionUi... | null |
vaadin__spring__858 | vaadin/spring | 858 | defect | 9c8852dfed84db38689b6f2b93dc2da14199366d | 539ac899f1097980a5fe6f09820921df962a502d | fix: Make all public views available without login | Previously only a root mapped ("") view was available
Fixes https://github.com/vaadin/flow/issues/11355 | diff --git a/vaadin-spring-tests/test-spring-security-flow/src/main/java/com/vaadin/flow/spring/flowsecurity/views/AnotherPublicView.java b/vaadin-spring-tests/test-spring-security-flow/src/main/java/com/vaadin/flow/spring/flowsecurity/views/AnotherPublicView.java
new file mode 100644
index 000000000..e01e5f07f
--- /de... | 4 | 2 | 1 | [{"id": "G0", "claim": "The unit tests RequestUtilTest.testAnonymousRouteRequest_rootMappedServlet_publicView and testAnonymousRouteRequest_fooMappedServlet_publicView are failing.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The public API method... | null |
vaadin__spring__873 | vaadin/spring | 873 | defect | 67eee484f1590deacc593a9c4c2c5f9a79c1cf02 | d38e79b1fdbe5fd43c68cf5e90b5d75c39a0a012 | Launch a browser automatically when starting an app in development mode | ## Description
Integrates the launch util from https://github.com/Artur-/a-vaadin-helper/blob/master/src/main/java/org/vaadin/artur/helpers/LaunchUtil.java
Fixes #786
## Type of change
- [ ] Bugfix
- [X] Feature
## Checklist
- [X] I have read the contribution guide: https://vaadin.com/docs/latest/gui... | diff --git a/vaadin-spring/src/main/java/com/vaadin/flow/spring/LaunchUtil.java b/vaadin-spring/src/main/java/com/vaadin/flow/spring/LaunchUtil.java
new file mode 100644
index 000000000..94023ebe5
--- /dev/null
+++ b/vaadin-spring/src/main/java/com/vaadin/flow/spring/LaunchUtil.java
@@ -0,0 +1,137 @@
+package com.vaadi... | 16 | 14 | 9 | [{"id": "G0", "claim": "The launched URL should include the servlet context path (and not always open on \"/\").", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The browser-launching feature does not belong in the vaadin-spring artifact and should li... | null |
vaadin__spring__907 | vaadin/spring | 907 | defect | 66fba15b1a0c219fd80d1629f05dbe3439e9593a | 36e6f6f8d88e8764b48eaa5cc2312bc47c3671f6 | feat: Always use the security context from VaadinSession when one is available | This ensures that the security context is the expected (the one from the UI you run access() on) if you run UI.access from a request to another VaadinSession.
Practical use case is e.g. sending a global 'refresh' event and the receipient updating the UI as a result.
Fixes #906
| diff --git a/vaadin-spring-tests/pom.xml b/vaadin-spring-tests/pom.xml
index 3bd05397a..321fe86ae 100644
--- a/vaadin-spring-tests/pom.xml
+++ b/vaadin-spring-tests/pom.xml
@@ -56,6 +56,16 @@
<artifactId>vaadin-upload-flow</artifactId>
<version>${vaadin.version}</version>
... | 9 | 9 | 0 | [{"id": "G0", "claim": "Add the standard Apache license header to the new Broadcaster.java file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add the standard Apache license header to the new AbstractIT.java file.", "category": "maintainabilit... | null |
vaadin__spring__911 | vaadin/spring | 911 | defect | 061b57669086bb1b6300c2c503376dae70b3c23c | 8396b69d8b4b2bdcf577e0056870945807acf4c1 | fix: Take into account that a VaadinSession can be detached from the HTTP session | Fixes #910
| diff --git a/vaadin-spring/src/main/java/com/vaadin/flow/spring/security/VaadinAwareSecurityContextHolderStrategy.java b/vaadin-spring/src/main/java/com/vaadin/flow/spring/security/VaadinAwareSecurityContextHolderStrategy.java
index 7763a5fd9..fcee989b7 100644
--- a/vaadin-spring/src/main/java/com/vaadin/flow/spring/se... | 1 | 1 | 1 | [{"id": "G0", "claim": "Tests are needed so the new detached-session guard cannot be reverted unnoticed.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vacanza__holidays__2697 | vacanza/holidays | 2,697 | defect | 0905697cd18c5a86dcb67d280dd16aa5c9b6c969 | e4677cb5c710c9bb6091eadfdbb98938d67d7be8 | Add Falkland Islands holidays | <!--
Thanks for contributing to holidays!
-->
## Proposed change
<!--
Describe the big picture of your changes.
Don't forget to link your PR to an existing issue if any.
-->
Added support for WORKDAY, PUBLIC and GOVERNMENT FK holidays.
Closes #2658
## Type of change
<!--
Type of change yo... | diff --git a/README.md b/README.md
index ab20507653..a460b9daaf 100644
--- a/README.md
+++ b/README.md
@@ -105,7 +105,7 @@ and detailed information.
## Available Countries
-We currently support 206 country codes. The standard way to refer to a country is by using its [ISO
+We currently support 207 country codes. T... | 14 | 11 | 2 | [{"id": "G0", "claim": "Correct the year for Queen Elizabeth II's Funeral from 2024 to 2022 in both the special holiday definition and its test, since the funeral took place on September 19, 2022.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "King'... | null |
vacanza__holidays__2945 | vacanza/holidays | 2,945 | defect | b31cf7032336627c5193b87fa3eb91952d4e4e00 | de325013353efc9a50bd025410cf025e7057668f | Add variable weekend support | <!--
Thanks for contributing to holidays!
-->
## Proposed change
<!--
Describe the big picture of your changes.
Don't forget to link your PR to an existing issue if any.
-->
Add variable weekend support (for countries where the weekend has changed over the years). `HolidayBase::_get_weekend` method ... | diff --git a/holidays/countries/algeria.py b/holidays/countries/algeria.py
index 4dc8945f5c..542a40dd61 100644
--- a/holidays/countries/algeria.py
+++ b/holidays/countries/algeria.py
@@ -10,6 +10,7 @@
# Website: https://github.com/vacanza/holidays
# License: MIT (see LICENSE file)
+from datetime import date
from... | 11 | 4 | 0 | [{"id": "G0", "claim": "Saudi Arabia's year-scoped observed rules may mis-handle holidays before the 2013-06-28 weekend switch; consider deriving the observed rule per date via _get_weekend(dt).", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "Two wee... | null |
vacanza__holidays__2953 | vacanza/holidays | 2,953 | defect | d891f6075f8e462851d30dacc21d954d27c64cee | 7dcc7d5931f1342c91c212091f31a246da4c1a72 | Update India holidays: add Ugadi holiday for AP, KA, TS subdivisions | ## Proposed change
Add **Ugadi** holiday for Andhra Pradesh (AP), Telangana (TS), and Karnataka (KA) states #2445
- **Ugadi vs Gudi Padwa:**
- Both festivals fall on the same date according to the Hindu lunisolar calendar.
- **Maharashtra (MH):** Celebrates **Gudi Padwa** only.
- **AP, TS, KA:** C... | diff --git a/holidays/calendars/hindu.py b/holidays/calendars/hindu.py
index b347ad5277..6f55b67356 100644
--- a/holidays/calendars/hindu.py
+++ b/holidays/calendars/hindu.py
@@ -45,6 +45,7 @@
TAMU_LOSAR = "TAMU_LOSAR"
THAIPUSAM = "THAIPUSAM"
VAISAKHI = "VAISAKHI"
+UGADI = "UGADI"
class _HinduLunisolar:
@@ -149... | 4 | 4 | 0 | [{"id": "G0", "claim": "Ugadi should not be a separate holiday entry: the AP/KA/TS subdivisions should reuse the existing _add_gudi_padwa method with tr(\"Ugadi\") as the name instead of adding a dedicated _add_ugadi path, and the shared docstring should document the regional naming.", "category": "design", "verdict": ... | null |
vacanza__holidays__2969 | vacanza/holidays | 2,969 | defect | 53148a7c7f2642ff30f30b92045f24a36f420e7c | 333d4f27f2a8e5d77fa9ce199199bc5ffd45f429 | Add no holiday countries | <!--
Thanks for contributing to holidays!
-->
## Proposed change
<!--
Describe the big picture of your changes.
Don't forget to link your PR to an existing issue if any.
-->
This is a PoC for 3 no holiday entities we need to cover for ISO 3166-1 compliance:
- [Bouvet Island](https://github.com/vac... | diff --git a/README.md b/README.md
index 9bcdae2b75..ca1ce3ea0d 100644
--- a/README.md
+++ b/README.md
@@ -105,7 +105,7 @@ and detailed information.
## Available Countries
-We currently support 245 country codes. The standard way to refer to a country is by using its [ISO
+We currently support 248 country codes. T... | 4 | 4 | 1 | [{"id": "G0", "claim": "NoHolidayBase must override _populate_public_holidays with a no-op, because HolidayBase calls _populate_public_holidays() during year population and its base implementation raises NotImplementedError, so instantiating NoHolidayBase will blow up the first time a year is touched.", "category": "co... | null |
vacanza__holidays__3078 | vacanza/holidays | 3,078 | defect | 65c212dc5f48c362c0284d77a90fe04eed14debb | c1705ba18abec5b8d502d0cda10f6507951ab38f | Update Bulgaria holidays | <!--
Thanks for contributing to holidays!
-->
## Proposed change
<!--
Describe the big picture of your changes.
Don't forget to link your PR to an existing issue if any.
-->
Update Bulgaria holidays:
- update holidays names and years of establishment
- add special and substituted holidays
## Ty... | diff --git a/README.md b/README.md
index da3e143305..03b567c95b 100644
--- a/README.md
+++ b/README.md
@@ -390,7 +390,7 @@ any) in brackets, available languages and additional holiday categories. All cou
<td>BG</td>
<td></td>
<td><strong>bg</strong>, en_US, uk</td>
-<td>SCHOOL</td>
+<td>HALF_DAY, SCHOOL</td>
</tr>
... | 3 | 3 | 0 | [{"id": "G0", "claim": "The Ukrainian msgstr for the Bulgarian Culture Day holiday (line 74) contains a double space in \"День болгарської освіти і культури та словʼянської писемності\"; the extra space should be removed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ... | null |
vacanza__holidays__3141 | vacanza/holidays | 3,141 | defect | 370dbecc7ed89f54895b4867e8fa2eccc09718c7 | 121fd04321573147a535fe7fc93ebd62809a0355 | Update Malaysia holidays: update Birthday of the Governor of Sabah | <!--
Thanks for contributing to holidays!
-->
## Proposed change
<!--
Describe the big picture of your changes.
Don't forget to link your PR to an existing issue if any.
-->
Update Malaysia holidays: update Birthday of the Governor of Sabah (starting from 2001, as there is no reliable data for the e... | diff --git a/holidays/countries/malaysia.py b/holidays/countries/malaysia.py
index 03dc878058..b5fc7794ba 100644
--- a/holidays/countries/malaysia.py
+++ b/holidays/countries/malaysia.py
@@ -78,6 +78,23 @@ class Malaysia(
* <https://web.archive.org/web/20250123115300/https://www.nst.com.my/news/nation/2020/03/... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Sabah governor birthday test should derive its year ranges from the framework's self.end_year and self.start_year instead of hardcoding 2050 and 2000 (per the attached suggestion block), with the PR conditioned on #3140 merging first.", "category": "testing", "verdict": "supported", "priorit... | null |
vacanza__holidays__3143 | vacanza/holidays | 3,143 | defect | 2ab615b1d3142490fb435f9e382dbde184074b7e | 1640f83b4d31556a47a6ead85daeeaa4cfa849f9 | Update National Stock Exchange of India holidays: add Gujarati language support |
### Proposed change
Added Gujarati (`gu`) language support for the National Stock Exchange of India (`XNSE`).
Changes included:
* Added `gu` to the `supported_languages` list in `holidays/financial/national_stock_exchange_of_india.py`.
* Created localization file: `holidays/locale/gu/LC_MESSAGES/XNSE.po` wi... | diff --git a/README.md b/README.md
index c91275447e..1170f574f4 100644
--- a/README.md
+++ b/README.md
@@ -1942,7 +1942,7 @@ code when available. The following financial markets are available:
<td>National Stock Exchange of India</td>
<td>XNSE</td>
<td>National Stock Exchange of India market holidays</td>
-<td><stro... | 3 | 3 | 0 | [{"id": "G0", "claim": "The Last-Translator field in the new Gujarati XNSE.po header lacks the conventional Name <email> formatting and should be rewritten as \"Last-Translator: ... <pareshjoshij@gmail.com>\\n\".", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2",... | null |
vacanza__holidays__3167 | vacanza/holidays | 3,167 | defect | 8323b18cb2da93bc944e5efd748542da02253c23 | 380b5cca52c26fe4795ca21dd4a2f0926206b270 | Refactor New Zealand holidays | <!--
Thanks for contributing to holidays!
-->
## Proposed change
<!--
Describe the big picture of your changes.
Don't forget to link your PR to an existing issue if any.
-->
- Refactor holidays code so that South Canterbury holidays are assigned directly via `_populate_subdiv_south_canterbury_public... | diff --git a/holidays/countries/new_zealand.py b/holidays/countries/new_zealand.py
index bd607be985..f6e66d0bc6 100644
--- a/holidays/countries/new_zealand.py
+++ b/holidays/countries/new_zealand.py
@@ -243,8 +243,8 @@ def _populate_public_holidays(self):
if self.subdiv == "New Plymouth":
self._... | 4 | 3 | 1 | [{"id": "G0", "claim": "The all_holidays set in test_all_holidays_present contains duplicate entries for Queen's Birthday, Labour Day, Christmas Day and Boxing Day that could be cleaned up.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The New ... | null |
vacanza__holidays__3172 | vacanza/holidays | 3,172 | defect | 0f6570017d1a20108efd774c85970c19e36d4415 | ea3cf83eafad50f00d7eb2ad722696d518b66651 | Update Uzbekistan holidays: add 2025-2026 special holidays | <!--
Thanks for contributing to holidays!
-->
## Proposed change
<!--
Describe the big picture of your changes.
Don't forget to link your PR to an existing issue if any.
-->
Update Uzbekistan holidays: add 2025-2026 special holidays.
## Type of change
<!--
Type of change you want to introdu... | diff --git a/holidays/countries/uzbekistan.py b/holidays/countries/uzbekistan.py
index 124b9574ef..26b83a18c8 100644
--- a/holidays/countries/uzbekistan.py
+++ b/holidays/countries/uzbekistan.py
@@ -144,6 +144,7 @@ class UzbekistanStaticHolidays:
* [2023](https://web.archive.org/web/20250522053822/https://lex.... | 1 | 1 | 0 | [{"id": "G0", "claim": "Rename the dts variable in test_observed to obs_dts, at its declaration and both assertion call sites, as a minor standardisation.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.