Skip to content

Commit 4dbf1f6

Browse files
authored
Merge pull request #7488 from TheThingsNetwork/merge/v3.33-v3.34
Merge v3.33 into v3.34
2 parents 4c69dbd + 43c77c7 commit 4dbf1f6

File tree

88 files changed

+7769
-2874
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+7769
-2874
lines changed

.golangci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
run:
2-
skip-dirs:
3-
- node_modules
4-
51
linters:
62
disable-all: true
73
enable:
@@ -113,3 +109,6 @@ issues:
113109
- linters:
114110
- paralleltest
115111
text: 'does not use range value in test Run'
112+
exclude-dirs:
113+
- node_modules
114+

CHANGELOG.md

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,44 @@ For details about compatibility between different releases, see the **Commitment
1111

1212
### Added
1313

14+
- Add recvTime field to the decodeUplink input in payload formatters
15+
- Add the latest battery percentage of the end device in the `ApplicationUplink` message.
16+
- Add live data split view tutorial to the Console.
17+
- Add end device attributes to ApplicationUp messages.
18+
- Add the locations, version_ids, network_ids fields to the following ApplicationUp messages:
19+
- ApplicationJoinAccept
20+
- ApplicationDownlink
21+
- ApplicationDownlinkFailed
22+
- ApplicationInvalidatedDownlinks
23+
- ApplicationServiceData
24+
- Add Timeout and Cache fields in the EndDeviceMetadataStorageConfig of the AS.
25+
1426
### Changed
1527

1628
### Deprecated
1729

30+
- Deprecate the Location field (and its subfields) in the EndDeviceMetadataStorageConfig of AS.
31+
1832
### Removed
1933

2034
### Fixed
2135

36+
### Security
37+
38+
## [3.33.1] - unreleased
39+
40+
### Added
41+
42+
- Add recvTime field to the decodeUplink input in payload formatters
43+
- Add the latest battery percentage of the end device in the `ApplicationUplink` message.
44+
- Add live data split view tutorial to the Console.
45+
46+
### Fixed
47+
2248
- Enforce default page limit on AS and NS List RPCs if a value is not provided in the request.
2349
- Swapped field order in `RelayNotifyNewEndDeviceReq` MAC command.
24-
25-
### Security
50+
- `LinkADRAns` MAC command verification when the end device does not support ADR.
51+
- Being able to remove all attributes in general settings.
2652

2753
## [3.34.0] - unreleased
2854

@@ -2936,7 +2962,8 @@ For details about compatibility between different releases, see the **Commitment
29362962
NOTE: These links should respect backports. See https://github.com/TheThingsNetwork/lorawan-stack/pull/1444/files#r333379706.
29372963
-->
29382964

2939-
[unreleased]: https://github.com/TheThingsNetwork/lorawan-stack/compare/v3.33.0...v3.33
2965+
[unreleased]: https://github.com/TheThingsNetwork/lorawan-stack/compare/v3.33.1...v3.33
2966+
[3.33.1]: https://github.com/TheThingsNetwork/lorawan-stack/compare/v3.33.0...v3.33.1
29402967
[3.33.0]: https://github.com/TheThingsNetwork/lorawan-stack/compare/v3.32.3...v3.33.0
29412968
[3.32.2]: https://github.com/TheThingsNetwork/lorawan-stack/compare/v3.32.2...v3.32.3
29422969
[3.32.2]: https://github.com/TheThingsNetwork/lorawan-stack/compare/v3.32.1...v3.32.2

DEVELOPMENT.md

Lines changed: 157 additions & 112 deletions
Large diffs are not rendered by default.

api/ttn/lorawan/v3/api.md

Lines changed: 146 additions & 0 deletions
Large diffs are not rendered by default.

api/ttn/lorawan/v3/api.swagger.json

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20326,6 +20326,28 @@
2032620326
},
2032720327
"confirmed_retry": {
2032820328
"$ref": "#/definitions/ApplicationDownlinkConfirmedRetry"
20329+
},
20330+
"locations": {
20331+
"type": "object",
20332+
"additionalProperties": {
20333+
"$ref": "#/definitions/lorawanv3Location"
20334+
},
20335+
"description": "End device location metadata, set by the Application Server while handling the message."
20336+
},
20337+
"version_ids": {
20338+
"$ref": "#/definitions/v3EndDeviceVersionIdentifiers",
20339+
"description": "End device version identifiers, set by the Application Server while handling the message."
20340+
},
20341+
"network_ids": {
20342+
"$ref": "#/definitions/v3NetworkIdentifiers",
20343+
"description": "Network identifiers, set by the Network Server that handles the message."
20344+
},
20345+
"attributes": {
20346+
"type": "object",
20347+
"additionalProperties": {
20348+
"type": "string"
20349+
},
20350+
"description": "Attributes for devices, set by the Application Server while handling the message."
2032920351
}
2033020352
}
2033120353
},
@@ -20337,6 +20359,28 @@
2033720359
},
2033820360
"error": {
2033920361
"$ref": "#/definitions/v3ErrorDetails"
20362+
},
20363+
"locations": {
20364+
"type": "object",
20365+
"additionalProperties": {
20366+
"$ref": "#/definitions/lorawanv3Location"
20367+
},
20368+
"description": "End device location metadata, set by the Application Server while handling the message."
20369+
},
20370+
"version_ids": {
20371+
"$ref": "#/definitions/v3EndDeviceVersionIdentifiers",
20372+
"description": "End device version identifiers, set by the Application Server while handling the message."
20373+
},
20374+
"network_ids": {
20375+
"$ref": "#/definitions/v3NetworkIdentifiers",
20376+
"description": "Network identifiers, set by the Network Server that handles the message."
20377+
},
20378+
"attributes": {
20379+
"type": "object",
20380+
"additionalProperties": {
20381+
"type": "string"
20382+
},
20383+
"description": "Attributes for devices, set by the Application Server while handling the message."
2034020384
}
2034120385
}
2034220386
},
@@ -20377,6 +20421,28 @@
2037720421
"session_key_id": {
2037820422
"type": "string",
2037920423
"format": "byte"
20424+
},
20425+
"locations": {
20426+
"type": "object",
20427+
"additionalProperties": {
20428+
"$ref": "#/definitions/lorawanv3Location"
20429+
},
20430+
"description": "End device location metadata, set by the Application Server while handling the message."
20431+
},
20432+
"version_ids": {
20433+
"$ref": "#/definitions/v3EndDeviceVersionIdentifiers",
20434+
"description": "End device version identifiers, set by the Application Server while handling the message."
20435+
},
20436+
"network_ids": {
20437+
"$ref": "#/definitions/v3NetworkIdentifiers",
20438+
"description": "Network identifiers, set by the Network Server that handles the message."
20439+
},
20440+
"attributes": {
20441+
"type": "object",
20442+
"additionalProperties": {
20443+
"type": "string"
20444+
},
20445+
"description": "Attributes for devices, set by the Application Server while handling the message."
2038020446
}
2038120447
}
2038220448
},
@@ -20408,6 +20474,28 @@
2040820474
"type": "string",
2040920475
"format": "date-time",
2041020476
"description": "Server time when the Network Server received the message."
20477+
},
20478+
"locations": {
20479+
"type": "object",
20480+
"additionalProperties": {
20481+
"$ref": "#/definitions/lorawanv3Location"
20482+
},
20483+
"description": "End device location metadata, set by the Application Server while handling the message."
20484+
},
20485+
"version_ids": {
20486+
"$ref": "#/definitions/v3EndDeviceVersionIdentifiers",
20487+
"description": "End device version identifiers, set by the Application Server while handling the message."
20488+
},
20489+
"network_ids": {
20490+
"$ref": "#/definitions/v3NetworkIdentifiers",
20491+
"description": "Network identifiers, set by the Network Server that handles the message."
20492+
},
20493+
"attributes": {
20494+
"type": "object",
20495+
"additionalProperties": {
20496+
"type": "string"
20497+
},
20498+
"description": "Attributes for devices, set by the Application Server while handling the message."
2041120499
}
2041220500
}
2041320501
},
@@ -20907,6 +20995,28 @@
2090720995
},
2090820996
"data": {
2090920997
"type": "object"
20998+
},
20999+
"locations": {
21000+
"type": "object",
21001+
"additionalProperties": {
21002+
"$ref": "#/definitions/lorawanv3Location"
21003+
},
21004+
"description": "End device location metadata, set by the Application Server while handling the message."
21005+
},
21006+
"version_ids": {
21007+
"$ref": "#/definitions/v3EndDeviceVersionIdentifiers",
21008+
"description": "End device version identifiers, set by the Application Server while handling the message."
21009+
},
21010+
"network_ids": {
21011+
"$ref": "#/definitions/v3NetworkIdentifiers",
21012+
"description": "Network identifiers, set by the Network Server that handles the message."
21013+
},
21014+
"attributes": {
21015+
"type": "object",
21016+
"additionalProperties": {
21017+
"type": "string"
21018+
},
21019+
"description": "Attributes for devices, set by the Application Server while handling the message."
2091021020
}
2091121021
}
2091221022
},
@@ -21068,6 +21178,17 @@
2106821178
"network_ids": {
2106921179
"$ref": "#/definitions/v3NetworkIdentifiers",
2107021180
"description": "Network identifiers, set by the Network Server that handles the message."
21181+
},
21182+
"last_battery_percentage": {
21183+
"$ref": "#/definitions/v3LastBatteryPercentage",
21184+
"description": "Last battery percentage of the end device.\nReceived via the DevStatus MAC command at last_dev_status_received_at or earlier.\nSet by the Network Server while handling the message."
21185+
},
21186+
"attributes": {
21187+
"type": "object",
21188+
"additionalProperties": {
21189+
"type": "string"
21190+
},
21191+
"description": "Attributes for devices, set by the Application Server while handling the message."
2107121192
}
2107221193
}
2107321194
},
@@ -21144,6 +21265,13 @@
2114421265
"network_ids": {
2114521266
"$ref": "#/definitions/v3NetworkIdentifiers",
2114621267
"description": "Network identifiers, set by the Network Server that handles the message."
21268+
},
21269+
"attributes": {
21270+
"type": "object",
21271+
"additionalProperties": {
21272+
"type": "string"
21273+
},
21274+
"description": "Attributes for devices, set by the Application Server while handling the message."
2114721275
}
2114821276
}
2114921277
},
@@ -25802,6 +25930,26 @@
2580225930
}
2580325931
}
2580425932
},
25933+
"v3LastBatteryPercentage": {
25934+
"type": "object",
25935+
"properties": {
25936+
"f_cnt": {
25937+
"type": "integer",
25938+
"format": "int64",
25939+
"description": "Frame counter value of last uplink containing DevStatusAns."
25940+
},
25941+
"value": {
25942+
"type": "number",
25943+
"format": "float",
25944+
"description": "The battery percentage of the end device.\nThe value is defined in the [0, 100] interval."
25945+
},
25946+
"received_at": {
25947+
"type": "string",
25948+
"format": "date-time",
25949+
"description": "Time when last DevStatus MAC command was received."
25950+
}
25951+
}
25952+
},
2580525953
"v3ListBandsResponse": {
2580625954
"type": "object",
2580725955
"properties": {

0 commit comments

Comments
 (0)