Skip to content

Commit 25192bd

Browse files
committed
Merge branch 'develop' into fix/unicode-dotenv-files
2 parents 6cd6585 + 97a57b3 commit 25192bd

Some content is hidden

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

43 files changed

+443
-350
lines changed

.github/actions/build-firmware/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ runs:
2121
- uses: actions/cache@v4
2222
with:
2323
path: |
24+
.pio/libdeps
2425
~/.platformio/platforms
2526
~/.platformio/packages
2627
~/.platformio/.cache

.github/scripts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"dependencies": {
1111
"@actions/core": "^1.10.1",
1212
"@actions/github": "^6.0.1",
13-
"ini": "^5.0.0",
14-
"semver": "^7.7.2"
13+
"ini": "^6.0.0",
14+
"semver": "^7.7.3"
1515
},
1616
"engines": {
1717
"node": "^22.14.0",

.github/scripts/pnpm-lock.yaml

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/ci-build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
timeout-minutes: 5
3232

3333
steps:
34-
- uses: actions/checkout@v5
34+
- uses: actions/checkout@v6
3535
with:
3636
sparse-checkout: |
3737
.github
@@ -48,7 +48,7 @@ jobs:
4848
timeout-minutes: 5
4949

5050
steps:
51-
- uses: actions/checkout@v5
51+
- uses: actions/checkout@v6
5252
- uses: ./.github/actions/build-staticfs
5353
with:
5454
version: ${{ needs.getvars.outputs.version }}
@@ -63,7 +63,7 @@ jobs:
6363
matrix: ${{ fromJSON(needs.getvars.outputs.board-matrix) }}
6464

6565
steps:
66-
- uses: actions/checkout@v5
66+
- uses: actions/checkout@v6
6767

6868
- uses: ./.github/actions/build-firmware
6969
with:
@@ -80,7 +80,7 @@ jobs:
8080
matrix: ${{ fromJSON(needs.getvars.outputs.board-matrix) }}
8181

8282
steps:
83-
- uses: actions/checkout@v5
83+
- uses: actions/checkout@v6
8484
with:
8585
sparse-checkout: |
8686
.github
@@ -112,7 +112,7 @@ jobs:
112112
matrix: ${{ fromJson(needs.getvars.outputs.board-matrix) }}
113113

114114
steps:
115-
- uses: actions/checkout@v5
115+
- uses: actions/checkout@v6
116116
with:
117117
sparse-checkout: |
118118
.github
@@ -139,7 +139,7 @@ jobs:
139139
environment: cdn-firmware-r2
140140

141141
steps:
142-
- uses: actions/checkout@v5
142+
- uses: actions/checkout@v6
143143
with:
144144
sparse-checkout: |
145145
.github
@@ -166,7 +166,7 @@ jobs:
166166
environment: cdn-firmware-r2
167167

168168
steps:
169-
- uses: actions/checkout@v5
169+
- uses: actions/checkout@v6
170170
with:
171171
sparse-checkout: |
172172
.github
@@ -202,7 +202,7 @@ jobs:
202202

203203
steps:
204204
- name: Download release artifacts
205-
uses: actions/download-artifact@v5
205+
uses: actions/download-artifact@v6
206206

207207
- name: Display artifacts
208208
run: ls -R

.github/workflows/codeql.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v5
41+
uses: actions/checkout@v6
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v3
45+
uses: github/codeql-action/init@v4
4646
with:
4747
languages: ${{ matrix.language }}
4848

4949
- name: Autobuild
50-
uses: github/codeql-action/autobuild@v3
50+
uses: github/codeql-action/autobuild@v4
5151

5252
# Build stuff here
5353

5454
- name: Perform CodeQL Analysis
55-
uses: github/codeql-action/analyze@v3
55+
uses: github/codeql-action/analyze@v4
5656
with:
5757
category: '/language:${{matrix.language}}'
5858

@@ -72,10 +72,10 @@ jobs:
7272

7373
steps:
7474
- name: Checkout repository
75-
uses: actions/checkout@v5
75+
uses: actions/checkout@v6
7676

7777
- name: Initialize CodeQL
78-
uses: github/codeql-action/init@v3
78+
uses: github/codeql-action/init@v4
7979
with:
8080
languages: ${{ env.language }}
8181

@@ -85,6 +85,6 @@ jobs:
8585
skip-checkout: true
8686

8787
- name: Perform CodeQL Analysis
88-
uses: github/codeql-action/analyze@v3
88+
uses: github/codeql-action/analyze@v4
8989
with:
9090
category: '/language:${{ env.language }}'

.github/workflows/cpp-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v5
27+
uses: actions/checkout@v6
2828

2929
- uses: ./.github/actions/build-compilationdb
3030
with:

.github/workflows/get-vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
release-dev-array: ${{ steps.get-vars.outputs.release-dev-array }}
8888

8989
steps:
90-
- uses: actions/checkout@v5
90+
- uses: actions/checkout@v6
9191
with:
9292
fetch-depth: 0
9393
sparse-checkout: |
@@ -99,7 +99,7 @@ jobs:
9999
version: ${{ inputs.pnpm-version }}
100100
run_install: false
101101

102-
- uses: actions/setup-node@v5
102+
- uses: actions/setup-node@v6
103103
with:
104104
node-version-file: ./.github/scripts/package.json
105105
cache: 'pnpm'

CHANGELOG.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,57 @@
1+
# Version 1.5.0-rc.1 Release Notes
2+
3+
This release candidate focuses on **radio reliability**, **firmware behavior improvements**, and a refreshed **frontend**.
4+
5+
## Highlights (User-Visible Firmware Changes)
6+
7+
- Major **RF/RMT transmitter rework** for improved timing accuracy and more reliable shocker communication.
8+
- Updated **AssignLCG** integration using the new backend endpoint (removes the old LCG override setting).
9+
- Hub now reports its Wi-Fi signal strength (RSSI), this will be used to show connection health in UI's.
10+
- **Serial output now uses CRLF** line endings for improved compatibility with Windows terminals.
11+
- Added **T330 shocker protocol** support.
12+
13+
## Radio & Timing
14+
15+
- Reworked RF pipeline with more consistent timing and fewer internal allocations.
16+
- Fixed timing issues for **CaiXianlin** and improved **PET998DR** handling.
17+
- Additional guardrails added to the RF subsystem to prevent stalls/crash loops.
18+
19+
## Firmware Behavior / System
20+
21+
- Introduced internal **execution time limits** to prevent firmware from getting stuck in long-running operations.
22+
- Replaced all `ESP.restart()` usage with ESP-IDF native `esp_restart()` calls
23+
- Improved OTA, Wi-Fi initialization, and crash-loop resilience.
24+
25+
## HTTP & Gateway
26+
27+
- Clearer/more consistent HTTP error and status behavior.
28+
- Improved 401 handling and token recovery.
29+
- AssignLCG now reports firmware version and uses the updated endpoint.
30+
31+
## Frontend & UX
32+
33+
- Migrated to **Svelte 5 + shadcn**.
34+
- Updated to **Tailwind CSS v4** and reduced frontend bundle size.
35+
- UI palette synced with website.
36+
37+
## Misc / Internal Changes
38+
39+
- PlatformIO, espressif32, FlatBuffers, Node, pnpm, and other dependency updates.
40+
- Build reproducibility improvements and CI cleanup.
41+
- Various memory fixes, warning cleanups, and improved parsing logic.
42+
43+
---
44+
45+
## Breaking Changes
46+
47+
- **LCG override removed** (new AssignLCG endpoint required).
48+
- **Serial output now uses CRLF** (update scripts if needed).
49+
50+
## Notes
51+
52+
- RF timing changes are substantial; please report shocker-specific regressions.
53+
- Scripts relying on legacy AssignLCG behavior may need updates.
54+
155
# Version 1.4.0 Release Notes
256

357
This release is packed with bugfixes, optimizations, code cleanup, prepwork for ESP-IDF, and some features!

frontend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "frontend",
3-
"version": "0.0.1",
3+
"version": "1.5.0-rc.1",
44
"private": true,
55
"type": "module",
66
"scripts": {
@@ -45,7 +45,7 @@
4545
"tailwindcss-animate": "^1.0.7",
4646
"typescript": "^5.8.2",
4747
"typescript-eslint": "^8.26.1",
48-
"vite": "^6.3.6",
48+
"vite": "^6.4.1",
4949
"vitest": "^3.0.9"
5050
},
5151
"engines": {

0 commit comments

Comments
 (0)