The server returns a 400 only for a refusal before anything is removed; a failure once removing started is an
IllegalStateException. The wizard asks before closing after any other failure, a proxy timeout too, without matching
the message text.
The server returns a 400 only for a refusal before anything is removed; a failure once removing started is an
IllegalStateException. The wizard asks before closing after any other failure, a proxy timeout too, without matching
the message text.
- update-desc-device says again that the new devices get new access tokens
- an existing entity the wizard created a moment ago is recorded as created, not use-existing
- the close prompt shows only after the removal, a partial removal or a lost answer
- query params go through InterceptorHttpParams (also fixes force losing the interceptor config)
- one iotHubErrorMessage helper on parseHttpErrorMessage for the iot-hub dialogs
- removingReplaced is one signal, stepError a field, no template method calls or extra detectChanges
- fewer comments, readonly fields in the update dialog, cdr renamed to cd
- update-desc-device says again that the new devices get new access tokens
- an existing entity the wizard created a moment ago is recorded as created, not use-existing
- the close prompt shows only after the removal, a partial removal or a lost answer
- query params go through InterceptorHttpParams (also fixes force losing the interceptor config)
- one iotHubErrorMessage helper on parseHttpErrorMessage for the iot-hub dialogs
- removingReplaced is one signal, stepError a field, no template method calls or extra detectChanges
- fewer comments, readonly fields in the update dialog, cdr renamed to cd
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.
- The composer accepts .svg from the file picker, drag and drop and paste
- The SVG is drawn on white at its natural size (small icons scaled up to 1024px, large drawings capped at 2560px) and uploaded as a PNG, or a JPEG when the PNG would exceed the size limit
- foreignObject elements are removed first, so the canvas stays exportable and diagram labels fall back to their text
- An SVG that can't be converted shows an error card instead of uploading
- 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
This version can only reinstall a device package. Update opens the same kind of window as an item that needs ThingsBoard 4.4 (#16231): it says so, leads to the Community Grant Program, and keeps "Update anyway" to reinstall through the install wizard.
ThingsBoard 4.4.1 updates device packages without reinstalling them; the update warning says so and links the Community Grant Program, as the dialog of an item that needs 4.4 does.
An entity the user chose to use as it was, on a name conflict, is not the package's: updating or deleting the package neither removes nor tracks it. The default device profile is one, and it cannot be removed, so it blocked the update. The update warning also says plainly that this version reinstalls a device package.
An entity the user chose to use as it was, on a name conflict, is not the package's: updating or deleting the package neither removes nor tracks it. The default device profile is one, and it cannot be removed, so it blocked the update. The update warning also says plainly that this version reinstalls a device package.
- 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
An entity that is not removed stays in the installed item and the removal fails, so the wizard shows the error and Retry removes the rest. Closing the wizard after the removal asks first, and the update warning says that the new devices get new access tokens.
An entity that is not removed stays in the installed item and the removal fails, so the wizard shows the error and Retry removes the rest. Closing the wizard after the removal asks first, and the update warning says that the new devices get new access tokens.
- The registration sends replaceInstalledItemId in the URL: HttpParams.set()
returned a plain HttpParams, which dropped ignoreLoading/ignoreErrors, so a
failed registration showed a toast next to the wizard's own error.
- The stepper header cannot go back while the installed version's entities
are being removed, like the Back button.
- A version from the Hub without its item is reported as such instead of a
NullPointerException.
- The wizard registers the entities it keeps from the moment they exist; the
second collection of the same ids before each registration is gone.
- The tests verify TbDeviceService.delete through the Device overload, as
4.4 and PE also have one for a DeviceId, so the test is the same file
everywhere.
- The registration sends replaceInstalledItemId in the URL: HttpParams.set()
returned a plain HttpParams, which dropped ignoreLoading/ignoreErrors, so a
failed registration showed a toast next to the wizard's own error.
- The stepper header cannot go back while the installed version's entities
are being removed, like the Back button.
- A version from the Hub without its item is reported as such instead of a
NullPointerException.
- The wizard registers the entities it keeps from the moment they exist; the
second collection of the same ids before each registration is gone.
- The tests verify TbDeviceService.delete through the Device overload, as
4.4 and PE also have one for a DeviceId, so the test is the same file
everywhere.
NotificationInfo uses JsonTypeInfo.Id.CLASS without JsonSubTypes, so the
spec had only an empty base schema and generated clients dropped every
subtype field (alarm, rule engine lifecycle, etc.). Add a discriminator
mapping from the fully qualified class name to each of the 24 concrete
subtypes and list them in JsonSubTypes so each one is generated as
allOf NotificationInfo. The wire format is unchanged: Jackson still
writes and reads the class name as the type id.
Review of the device package update:
- The update endpoint refuses device packages instead of removing them, so a
client that reads it as an update no longer reports success with nothing
installed.
- The wizard removes only the entities of the installed version
(installedItems/{id}/device/removeEntities, checked against the new version
first), right before it creates the new ones. The installed item keeps its
version until the wizard registers the new one on the same item
(device/register?replaceInstalledItemId), so closing the wizard never leaves
an item that claims a version that is not installed.
- Every registration (one per group of entity steps, and each Retry) updates
that one item and keeps tracking the entities it already tracks. A package
with several groups no longer gets an installed item per group.
- A failed registration is shown with Retry instead of being swallowed, and
no longer rolls the entities back; the step is done only once registered.
- The forms and the connection method start from what the user entered for
the installed version, when the value fits the new field.
- An entity of another tenant is never deleted for a package.
Review of the device package update:
- The update endpoint refuses device packages instead of removing them, so a
client that reads it as an update no longer reports success with nothing
installed.
- The wizard removes only the entities of the installed version
(installedItems/{id}/device/removeEntities, checked against the new version
first), right before it creates the new ones. The installed item keeps its
version until the wizard registers the new one on the same item
(device/register?replaceInstalledItemId), so closing the wizard never leaves
an item that claims a version that is not installed.
- Every registration (one per group of entity steps, and each Retry) updates
that one item and keeps tracking the entities it already tracks. A package
with several groups no longer gets an installed item per group.
- A failed registration is shown with Retry instead of being swallowed, and
no longer rolls the entities back; the step is done only once registered.
- The forms and the connection method start from what the user entered for
the installed version, when the value fits the new field.
- An entity of another tenant is never deleted for a package.
Updating an installed device package removed every entity it created and
installed nothing again, while the installed item showed the new version.
The update dialog now warns that the package is installed again and opens
the install wizard of the new version. The wizard removes the installed
version with its entities only when it starts creating the new entities,
so closing it earlier keeps the package as it was. The server removes the
installed item together with its entities, and the wizard registers the
new version when it is done. The entity-modified check is skipped for
device packages: their checksum was never computed, so it asked on every
update.
Updating an installed device package removed every entity it created and
installed nothing again, while the installed item showed the new version.
The update dialog now warns that the package is installed again and opens
the install wizard of the new version. The wizard removes the installed
version with its entities only when it starts creating the new entities,
so closing it earlier keeps the package as it was. The server removes the
installed item together with its entities, and the wizard registers the
new version when it is done. The entity-modified check is skipped for
device packages: their checksum was never computed, so it asked on every
update.
Brings PR #16534 (typed LoRaWAN uplink converters keep string identifiers
as strings) ahead of its merge into lts-4.4.
Conflicts resolved:
- DedicatedConverterUtil: the metadata telemetry still joins the script's
array element at the uplink ts, and now records the no-cast keys too;
the decoder's keys are collected before the metadata is added and are
cast as before.
- ThingsStackConverterUnwrapper: keeps "channel" and the 64-bit keys.