java-driver-core 4.17.0 of com.datastax.oss declares spotbugs-annotations (LGPL-2.1) at compile scope, so the packages shipped it. DataStax donated the driver to Apache, which publishes it as org.apache.cassandra:java-driver-* since 4.18.0, where spotbugs-annotations and jcip-annotations are provided instead of compile; the Java packages are the same.
4.19.3 is the version that spring-boot-dependencies manages and that Spring Data Cassandra is built with, so the root pom sets no version of its own: every module, the migrator of PE and 4.4 included, gets the driver from the BOM that spring-boot-dependencies imports. Since 4.18.0 the driver has bug fixes and opt-in features; its shaded Guava is now org.apache.cassandra:java-driver-guava-shaded, and it uses the lz4-java of at.yawk.lz4, which the root pom already manages.
Four classes of dao-api used the spotbugs @NonNull through the driver; they use the jspecify @NonNull instead, so dao-api declares jspecify and the root pom manages its version, 1.0.1, the one Guava declares. The driver's classes carry the jcip annotations, so dao-api declares jcip-annotations provided to compile against them.
- The device install form shows placeholders, templated defaults, an
Advanced section and a ThingsBoard connection section with the MQTT host
and port, cleans pasted values, shows errors after the user leaves a field
and does not let the browser autofill ThingsBoard credentials.
- A field marked by the package checks the integration connection.
- The TTN and TTI install methods are named The Things Stack Sandbox and
The Things Stack Cloud.
- The TTN converter metadata includes the coding rate and the gateway channel.
- Deleting or updating a device package keeps the integrations, converters
and other entities that another installed device package uses, and the
delete dialog names them before the user confirms.
- The Open button of an installed item names what it opens.
Rule chain initialization issued roughly 3N + E sequential queries per
chain (N nodes, E node connections): one findById per node in
getRuleChainNodes, a second findRuleNodeById per node in the rule node
actor, one relation lookup per node for routes and one existence
check per route target. Each by-id read runs in its own read-only
transaction, so start-up is bound by round trips and JDBC connection
hand-offs, and it saturates the connection pool shared with message
processing on large multi-tenant deployments.
- getRuleChainNodes reads the chain's nodes with batched id IN queries
- new RuleChainService.getRuleNodesRelations loads the outgoing
relations of all chain nodes and validates rule node targets in
batches (RelationDao.findAllByFromIds); dangling relations are still
removed, as in getRuleNodeRelations
- initRoutes uses the batched relations
- the rule chain actor hands each loaded RuleNode to its rule node
actor, which copies it (deep-copied configuration, plus the fields the
RuleNode copy constructor skips) instead of re-reading it
Both batched reads are served by existing indexes (rule_node_pkey,
idx_relation_from_id).
Creates missing system images from application/src/main/data/resources/images
during LTS patch startup, mirroring the upgrade-path loadSystemResources logic.
Existing system images in the DB are left untouched.
The admin settings endpoint requires SYS_ADMIN authority but the device
install wizard runs as TENANT_ADMIN.
Fix: add getConnectivityInfo(baseUrl) to DeviceConnectivityService which
resolves host/port with baseUrl fallback (reusing existing getHost/getPort
logic). Expose via new TENANT_ADMIN endpoint GET /api/iot-hub/connectivity.
Remove AdminService dependency from the dialog component.
Adds page-level byte-size tracking in TbResultSet.allRows() using
ExecutionInfo.getResponseSizeInBytes() to fail early when accumulated
result set size exceeds the configurable limit (default 50MB).
Also fixes pre-existing bugs where onFailure callbacks in
CassandraBaseTimeseriesDao only logged errors but never completed
the future, causing callers to hang indefinitely on failures.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>