Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v3.27.0 #6411

Merged
merged 5 commits into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ jobs:
pull-requests: write
timeout-minutes: 60
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@v7
with:
root-reserve-mb: 20480
swap-size-mb: 4096
remove-dotnet: true
remove-android: true
remove-haskell: true
remove-codeql: true
remove-docker-images: true
- name: Check branch
run: echo "${{ github.ref_name }}" | grep -Pq '^release/v3\.\d+\.\d+$'
- name: Get version
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ For details about compatibility between different releases, see the **Commitment

### Security

## [3.27.0] - unreleased
## [3.27.0] - 2023-07-31

### Added

Expand Down
2 changes: 1 addition & 1 deletion data/lorawan-devices
Submodule lorawan-devices updated 124 files
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ttn-stack",
"version": "3.26.2",
"version": "3.27.0",
"description": "The Things Stack",
"main": "index.js",
"repository": "https://github.com/TheThingsNetwork/lorawan-stack.git",
Expand Down
8 changes: 5 additions & 3 deletions pkg/applicationserver/io/packages/loragls/v3/api/objects.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,11 @@ func (r *RxMetadata) FromProto(pb *ttnpb.RxMetadata) error {
return err
}

r.Location = &RxMDLocation{}
if err := r.Location.FromProto(pb.Location); err != nil {
return err
if pb.Location != nil {
r.Location = &RxMDLocation{}
if err := r.Location.FromProto(pb.Location); err != nil {
return err
}
}

r.AntennaIndex = pb.AntennaIndex
Expand Down
9 changes: 7 additions & 2 deletions pkg/applicationserver/redis/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,13 @@ func (r *DeviceRegistry) BatchDelete(
}
}
}
if err := tx.Watch(ctx, euiKeys...).Err(); err != nil {
return err
// If the provided end device identifiers are not registered, it is possible
// that the `euiKeys` set will be empty. `WATCH` does not allow an empty set
// of keys to be provided, and as such must be manually skipped.
if len(euiKeys) > 0 {
if err := tx.Watch(ctx, euiKeys...).Err(); err != nil {
return err
}
}
if _, err := tx.TxPipelined(ctx, func(p redis.Pipeliner) error {
p.Del(ctx, append(uidKeys, euiKeys...)...)
Expand Down
9 changes: 7 additions & 2 deletions pkg/joinserver/redis/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -879,8 +879,13 @@ func (r *DeviceRegistry) BatchDelete(
}
}
}
if err := tx.Watch(ctx, keys...).Err(); err != nil {
return err
// If the provided end device identifiers are not registered, it is possible
// that the `keys` set will be empty. `WATCH` does not allow an empty set of
// keys to be provided, and as such must be manually skipped.
if len(keys) > 0 {
if err := tx.Watch(ctx, keys...).Err(); err != nil {
return err
}
}
if _, err := tx.TxPipelined(ctx, func(p redis.Pipeliner) error {
p.Del(ctx, append(uidKeys, keys...)...)
Expand Down
9 changes: 7 additions & 2 deletions pkg/networkserver/redis/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -1024,8 +1024,13 @@ func (r *DeviceRegistry) BatchDelete(
}
}
}
if err := tx.Watch(ctx, euiKeys...).Err(); err != nil {
return err
// If the provided end device identifiers are not registered, it is possible
// that the `euiKeys` set will be empty. `WATCH` does not allow an empty set
// of keys to be provided, and as such must be manually skipped.
if len(euiKeys) > 0 {
if err := tx.Watch(ctx, euiKeys...).Err(); err != nil {
return err
}
}
if _, err := tx.TxPipelined(ctx, func(p redis.Pipeliner) error {
p.Del(ctx, append(uidKeys, euiKeys...)...)
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/ttn.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ttn-lw",
"version": "3.26.2",
"version": "3.27.0",
"description": "The Things Stack for LoRaWAN JavaScript SDK",
"url": "https://github.com/TheThingsNetwork/lorawan-stack/tree/default/sdk/js",
"main": "dist/index.js",
Expand Down
Loading