- The client origin travels on each call's start frame instead of only in
the channel's hello, so every call is audited and shown under its own
origin and a user has one channel per node whatever address they use.
TbAiClientRequest, TbAiClientRequestFactory, exactOrigin and the
per-origin handshake map are gone; the turn context holds the origin.
- Calls back into ThingsBoard forward X-Forwarded-Proto/Host/Port built
from the client origin and X-Forwarded-For from the user's address. The
browser request's X-Forwarded-* headers cannot be copied: Spring's
ForwardedHeaderFilter has already consumed them.
- Capability negotiation is dropped: protocol version 1 is the baseline,
the hello lists no capabilities and TbAiOperationsUnsupportedException
is removed.
- The on-premise token provider no longer builds an Origin handshake
header, which the channel client never sent; TB_CORE_BASE_URL no longer
affects AI.
- The AI token is read before the channel pool is used, so "AI is not
available for the current subscription plan" is a 403 again instead of
"Service unavailable", and losing AI from the plan takes effect on the
next call rather than when the pooled channel closes.
- One timer bounds the channel handshake. When it fires, the connection
leaves the pool and a WebSocket upgrade that completes later is closed
instead of staying open outside the pool.
- After shutdown the pool opens no channels, so a call refused by TB's own
1001 close is not retried. Closes with TB AI's new 4501 code (exchanges
aborted at its drain deadline) are not retried either.
- Skip the TTN tests from @BeforeClass when credentials are missing and document the TTN and Pub/Sub properties (PR #16301)
- Skip the Pub/Sub test from @BeforeClass when credentials are missing (PR #16301)
- Skip the ChirpStack tests without the docker-compose environment and make the integration teardown null-safe (PR #16301)
GET /api/resource now accepts CUSTOMER_USER and returns only JS_MODULE
resources for them; any other requested type, or a request without
resourceType, is rejected with 403.
GET /api/resource/{type}/{scope}/{key}/info now accepts CUSTOMER_USER;
the existing per-resource check already handles customer access.
Customer TB_RESOURCE permission checker grants generic READ to any
non-public customer user, mirroring its per-resource READ rule.
* Update Ukrainian, French and German translations for the 4.4 licensing UI
Translate the 294 keys added in 4.4 (license activation and setup, subscription
and license management, platform-feature offers, agent limits in tenant
profiles, CARTO map provider) into uk_UA, fr_FR and de_DE.
Product names stay in English in all three languages: Community Grant,
Professional Pack, Edge, Remote Agent, Trendz Analytics.
Also align 35 existing strings with the same terminology, e.g. uk
"ланцюг правил" (rule chain) and "екземпляр" (instance) in IoT Hub strings,
fr strings that dropped "chaîne de règles" / "Edge", and de "White-Labeling".
* Order the new uk, fr and de keys like en_US
Keys that were added after review ended up at the end of their sections.
Content is unchanged; only the position of 11 uk and 4 fr/de keys moves.
* Remove uk, fr and de keys that en_US no longer has
en_US dropped or renamed 16 keys in 4.4 (#16189, #16266 and the release
itself), but the uk_UA, fr_FR and de_DE files kept them. None of them is
referenced in the code. Each file now has exactly the en_US key set,
minus language.locales, which falls back to en_US as before.
No translation changes.
loadResource took the type of a resource from its URL path only, so URLs like
Google Fonts' /icon?family=Material+Icons failed with "Unable to detect file
type". When the path does not tell the type, it now comes from the
Content-Type of a HEAD response: text/css or a JavaScript MIME type. This works
for same-origin URLs and servers that allow cross-origin requests.