The check ran with maven-antrun-plugin in the validate phase. That plugin makes Maven resolve the dependencies of the application module, which fails in 'mvn validate' on a clean machine, where the other modules are not built yet. The check is now a maven-enforcer-plugin rule, which needs no dependency resolution.
Fields that the server sends as null were documented as required, so
generated clients (Dart in particular) failed to parse such responses.
They are now NOT_REQUIRED. Bean validation on save is unchanged.
swagger-core skips @NotNull for a property with
@Schema(requiredMode = NOT_REQUIRED), but still adds the ones with
@NotBlank / @NotEmpty to 'required'; SwaggerConfiguration now removes
them.
- web-report: build the shipped executables without pkg --debug again; the SBOM check makes its own --debug pass into a folder it deletes
- skip the yarn SBOM steps of ui-ngx, web-ui and web-report with -Dskip.ui.build=true (sbom.ui.skip)
- keep Lombok out of the boot jars: it is needed only to compile and is not in the SBOMs
- list the DigiCert root certificate in the package SBOM of the integration executor
- check in every build that the gateway extension SBOM names the hash of the committed .js, and keep Git from changing the line ends of that file
- license headers: mark packaging/java/build.gradle as modified and update the curation of msa/web-report/pom.xml
springdoc infers a parameter type from its Java type only when
@Parameter(schema = @Schema(...)) sets neither type nor implementation;
otherwise it falls back to string. Fix int and long parameters globally
in SwaggerConfiguration instead of declaring the type per endpoint.
Also derive the deb and rpm package version once (pkg.version, 4.4.1~SNAPSHOT for snapshots) and use it for the packages and their purls, so package purls match the installed packages.
The schema was built with Schema.type("integer"), which OpenAPI 3.1 does
not write, so it had no type. Generated clients treated the codes as
strings, while the server sends numbers.
entityType carries an EntityType or an AliasEntityType name
(CURRENT_USER, ...), so it is a string; id is required only for an
EntityType, and aliasEntityType is never written. A filter with an alias
did not fit the old schema. AliasEntityType is registered explicitly,
since no schema references it any more. AliasEntityIdTest pins the wire
format.
TbAlarmService.assign and unassign return AlarmInfo, and Jackson already
wrote it, but the endpoints were documented as Alarm, so generated
clients dropped originatorName, assignee and the other AlarmInfo fields.
The parameters are int, but their @Schema(minimum = ...) had no type, so
springdoc documented them as strings and generated clients took
String pageSize, String page. State type integer, format int32, as every
other paged endpoint does. The page minimum of getEdgesByEntityGroupId
was 1; pages start at 0.
GET /api/noauth/login was mapped with params = {"pkgName, platform"},
a single parameter literally named "pkgName, platform", so a request
with pkgName and platform never matched it. The method takes both as
required parameters; they are now two separate names, as intended when
platform was added.
claimDevice returns ClaimResult and getPersistedRpcByDevice returns
PageData<Rpc>, but both were documented as a string, so generated
clients failed to decode every successful response. getPersistedRpcByDevice
returns a raw DeferredResult<ResponseEntity>, so a doc-only PageDataRpc
describes its body. exportIntegrationPackage returns application/zip,
not a JSON string.
/api/auth/login and /api/auth/token write a JwtPair without null fields.
For a two-factor authentication token it has a scope and no refresh
token, but LoginResponse had no scope and marked refreshToken required,
so generated clients could not detect the MFA step and failed to parse
the response.
The document is OpenAPI 3.1, which writes Schema.types, but registerSchema
resolved classes with the OpenAPI 3.0 ModelConverters instance, so
LoginRequest, LoginResponse, ThingsboardErrorResponse and
ThingsboardCredentialsExpiredResponse lost "type": "object". The
/api/auth/token request body had no types either, so refreshToken was
untyped. ColumnSettings declares allOf DataKeySettings explicitly, so it
stays a DataKeySettings subtype however springdoc reaches it first.
The endpoint is available to every authenticated user, but the whole
SystemInfoController was hidden, so generated REST clients had no call
for it and could only read the version from the sysadmin-only
/api/admin/updates. Show the endpoint and return a SystemVersionInfo
record that serializes to the same JSON as the hand-built ObjectNode.
The other two endpoints of the controller stay hidden.
- Uploads take their size limit from TB AI's resource config and stream the base64 encoding from the file instead of loading its bytes
- Solution chat has one service method that normalizes and validates the message; the old /chat endpoint is a deprecated adapter
- Tips use tb-popover instead of a custom tooltip engine
- Blob URLs are revoked on delete and eviction, images are kept in a bounded LRU cache, downloads are never cached, and at most 3 full-size fetches run at once
- One icon map and one image type list for attachments; dead attachment code removed
- The attachment preview extends DialogComponent and shows an error state; failed downloads show the error
- An image counts as an uploading attachment while it is being resized; pasting text from Office keeps the text
- A failed chat load clears the previous chat's messages and approvals
- Pass the status of channel results through TbAiResponse
- Map 400, 413, 415 and 422 to bad request, 403 to permission denied, 404 to not found, 409 to conflict and 429 to too many requests; other statuses, including 401, stay internal errors
- New /api/ai/resources endpoints (config, upload, download, delete) proxy file uploads to TB AI over the channel.
- Solution Creator messages go through a new JSON endpoint /api/ai/solution/{id}/{step}/messages carrying the attached
resource ids; the plain-text chat endpoint stays unchanged.
- The chat composer gets a + button, drag and drop onto the chat, paste of screenshots, image downscaling before
upload, previews with upload progress and remove, and a toolbar layout below the text; sent messages show image
thumbnails with a preview dialog and file chips that download the file.