Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1
with:
node-version: 24.22.1
node-version: 24.22.3
cache: npm

- name: Wait for security checks
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7
with:
node-version: 24.22.1
node-version: 24.22.3
cache: npm

- name: Install locked dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1
with:
node-version: 24.22.1
node-version: 24.22.3
cache: npm

- name: Install Node dependencies
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:

- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1
with:
node-version: 24.22.1
node-version: 24.22.3
cache: npm

- name: Exercise clean and damaged persistent-data startup
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.8.76

- 보안: Bridge 컨테이너의 Node.js를 체크섬 검증된 24.22.3으로 올렸습니다. 2026-11-11 Node.js 보안 릴리스(CVE-2026-123864 HTTPS 힙 노출, CVE-2026-123877 `https.Agent` TLS 세션 재사용 인증서 검증 우회, CVE-2026-123872 TLS 재협상 servername 변경 등 HTTP/2·TLS 취약점 16건)를 반영합니다. CI도 같은 버전을 씁니다.
- nginx(NGINX2Root, 2026-11-18): Bridge의 nginx는 HA ingress용 평문 HTTP(8099/8100)만 듣고 HTTP/2·TLS·QUIC·resolver·mail·stream·`try_files`를 쓰지 않아 공개된 취약 경로에 해당하지 않습니다. Ubuntu 패키지 수정판이 나오면 이미지 재빌드로 반영합니다.
- 이 변경은 Bridge 앱 업데이트가 필요합니다. Bridge 앱과 HACS 통합 버전은 1.8.76입니다. 통합 코드와 Bridge 동작은 바뀌지 않았습니다.

## 1.8.75

- Bridge: Bridge가 시작될 때마다 상세 조회가 모든 기기의 SmartThings 페이지를 다시 열어, 시작 후 약 3시간 동안 Bridge CPU가 30~40%로 높던 문제를 수정했습니다(239대 기준 약 319회 조회). 조회가 끝나면 2~3%로 돌아왔습니다.
Expand Down
6 changes: 6 additions & 0 deletions addon/smartthings_web_bridge/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.8.76

- 보안: Bridge 컨테이너의 Node.js를 체크섬 검증된 24.22.3으로 올렸습니다. 2026-11-11 Node.js 보안 릴리스(CVE-2026-123864 HTTPS 힙 노출, CVE-2026-123877 `https.Agent` TLS 세션 재사용 인증서 검증 우회, CVE-2026-123872 TLS 재협상 servername 변경 등 HTTP/2·TLS 취약점 16건)를 반영합니다. CI도 같은 버전을 씁니다.
- nginx(NGINX2Root, 2026-11-18): Bridge의 nginx는 HA ingress용 평문 HTTP(8099/8100)만 듣고 HTTP/2·TLS·QUIC·resolver·mail·stream·`try_files`를 쓰지 않아 공개된 취약 경로에 해당하지 않습니다. Ubuntu 패키지 수정판이 나오면 이미지 재빌드로 반영합니다.
- 이 변경은 Bridge 앱 업데이트가 필요합니다. Bridge 앱과 HACS 통합 버전은 1.8.76입니다. 통합 코드와 Bridge 동작은 바뀌지 않았습니다.

## 1.8.75

- Bridge: Bridge가 시작될 때마다 상세 조회가 모든 기기의 SmartThings 페이지를 다시 열어, 시작 후 약 3시간 동안 Bridge CPU가 30~40%로 높던 문제를 수정했습니다(239대 기준 약 319회 조회). 조회가 끝나면 2~3%로 돌아왔습니다.
Expand Down
6 changes: 3 additions & 3 deletions addon/smartthings_web_bridge/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ RUN apt-get update \
novnc \
&& rm -rf /var/lib/apt/lists/*

ARG NODE_SECURITY_VERSION=24.22.1
ARG NODE_SECURITY_X64_SHA256=6c172a9ab6718f7b801fb5a7bd486af2ee5e32758086a04b84fcce2aa77095e6
ARG NODE_SECURITY_ARM64_SHA256=dbabf7a1cbf947e6059ffad2c27b80041db97dea1e553b62afdee7f13fca336e
ARG NODE_SECURITY_VERSION=24.22.3
ARG NODE_SECURITY_X64_SHA256=4f2b175a6d53a5c617a80dba2676238a0688cef28c6da4eba35c7d844e66fcfb
ARG NODE_SECURITY_ARM64_SHA256=6e51a2ada00f0011cc266f65d98922b403d7ad88f809ca2aa615a5fe1ce6e86c
RUN set -eux; \
dpkg --compare-versions "$(dpkg-query -W -f='${Version}' ca-certificates)" ge 20260816ubuntu0.26.04.1; \
case "$(uname -m)" in \
Expand Down
2 changes: 1 addition & 1 deletion addon/smartthings_web_bridge/config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: SmartThings Web Bridge
slug: smartthings_web_bridge
description: Headed Chromium bridge for observing SmartThings Web traffic from Home Assistant.
version: 1.8.75
version: 1.8.76
url: https://github.com/1bobby-git/HA-SmartThings_Web
startup: services
boot: auto
Expand Down
2 changes: 1 addition & 1 deletion bridge/src/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ type ObservableContext = BrowserContextLike & {
newCDPSession?: (page: BrowserPageLike) => Promise<CdpSessionLike>;
};

const bridgeVersion = "1.8.75";
const bridgeVersion = "1.8.76";
const SESSION_TOUCH_INTERVAL_MS = 5 * 60_000;
const DETAIL_DISCOVERY_INTERVAL_MS = 15_000;
const PROFILE_MAINTENANCE_REQUIRED_FILE = ".profile-maintenance-required";
Expand Down
2 changes: 1 addition & 1 deletion bridge/tests/runtime.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ describe("createBridgeRuntime", () => {
await runtime.browserStartup;

expect(log.info.mock.calls.slice(0, 14)).toEqual([
["bridge_init:version:1.8.75:home_monitor_direct"],
["bridge_init:version:1.8.76:home_monitor_direct"],
["bridge_init:data_paths"],
["bridge_init:data_paths:data_dir"],
["bridge_init:data_paths:profile_dir"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/smartthings_web/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"iot_class": "cloud_push",
"issue_tracker": "https://github.com/1bobby-git/HA-SmartThings_Web/issues",
"requirements": [],
"version": "1.8.75"
"version": "1.8.76"
}
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ha-smartthings-web",
"version": "1.8.75",
"version": "1.8.76",
"private": true,
"type": "module",
"packageManager": "npm@11.12.1",
Expand Down
4 changes: 2 additions & 2 deletions protocol/version.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"bridge_version": "1.8.75",
"bridge_version": "1.8.76",
"protocol_version": 6,
"playwright_version": "1.65.0",
"expected_chromium_version": "158.0.8127.18",
"expected_chromium_revision": "1254",
"local_node_version": "24.15.0",
"container_node_version": "24.22.1"
"container_node_version": "24.22.3"
}
12 changes: 12 additions & 0 deletions release-notes/1.8.76.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 1.8.76

Bridge 컨테이너의 Node.js 보안 업데이트입니다.

- Node.js 24.22.1 → 24.22.3 (체크섬 검증). 2026-11-11 Node.js 보안 릴리스의 HTTP/2·TLS 취약점(CVE-2026-123864, CVE-2026-123877, CVE-2026-123872 외)을 반영합니다.
- nginx NGINX2Root(2026-11-18) 취약점은 Bridge 설정(평문 HTTP, HTTP/2·TLS·QUIC·resolver 미사용)에서 공개된 취약 경로에 해당하지 않습니다.
- 통합 코드와 Bridge 동작은 바뀌지 않았습니다.

## 업데이트

1. Bridge 앱을 1.8.76으로 업데이트합니다. 업데이트 중 Bridge가 다시 시작됩니다.
2. HACS 통합도 버전 정렬을 위해 1.8.76으로 업데이트합니다. Home Assistant 재시작은 필요 없습니다.
12 changes: 6 additions & 6 deletions tests/addon-config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ const standaloneDockerfile = () => readText("docker/Dockerfile");
const composeConfig = () => YAML.parse(readText("docker/compose.example.yaml")) as Record<string, unknown>;

describe("Home Assistant add-on metadata", () => {
test("packages the Bridge restart detail discovery fix as version 1.8.75", () => {
test("packages the Node.js 24.22.3 security update as version 1.8.76", () => {
const config = addonConfig();
const packageMetadata = JSON.parse(readText("package.json")) as Record<string, unknown>;
const protocolMetadata = JSON.parse(readText("protocol/version.json")) as Record<string, unknown>;
const runtime = readText("bridge/src/runtime.ts");
const changelog = readText("addon/smartthings_web_bridge/CHANGELOG.md");

expect(config.version).toBe("1.8.75");
expect(config.version).toBe("1.8.76");
expect(config.homeassistant_api).toBe(true);
expect(config.hassio_api).toBe(true);
expect(config.discovery).toEqual(["smartthings_web"]);
expect(packageMetadata.version).toBe("1.8.75");
expect(protocolMetadata.bridge_version).toBe("1.8.75");
expect(packageMetadata.version).toBe("1.8.76");
expect(protocolMetadata.bridge_version).toBe("1.8.76");
expect(protocolMetadata.protocol_version).toBe(6);
expect(runtime).toContain('const bridgeVersion = "1.8.75";');
expect(changelog).toContain("## 1.8.75");
expect(runtime).toContain('const bridgeVersion = "1.8.76";');
expect(changelog).toContain("## 1.8.76");
expect(changelog).toContain("## 1.8.38");
expect(changelog).toContain("## 1.8.37");
expect(changelog).toContain("## 1.8.12");
Expand Down
2 changes: 1 addition & 1 deletion tests/documentation-gate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ describe("Phase 1 documentation gate", () => {
const version = JSON.parse(readFileSync("protocol/version.json", "utf8")) as {
container_node_version?: string;
};
expect(version.container_node_version).toBe("24.22.1");
expect(version.container_node_version).toBe("24.22.3");
expect(existsSync(duplicatePath)).toBe(true);
expect(existsSync(duplicateHashPath)).toBe(true);
const duplicateText = readFileSync(duplicatePath, "utf8");
Expand Down
6 changes: 3 additions & 3 deletions tests/protocol-version-contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import {
import { bootstrapDataPaths } from "../bridge/src/security/data-paths.js";

describe("protocol version contract", () => {
test("keeps integration 1.8.75 compatible with Bridge 1.8.75 and protocol 6", () => {
const expectedBridgeVersion = "1.8.75";
const expectedIntegrationVersion = "1.8.75";
test("keeps integration 1.8.76 compatible with Bridge 1.8.76 and protocol 6", () => {
const expectedBridgeVersion = "1.8.76";
const expectedIntegrationVersion = "1.8.76";
const packageJson = JSON.parse(readFileSync("package.json", "utf8")) as { version?: string };
const packageLock = JSON.parse(readFileSync("package-lock.json", "utf8")) as {
version?: string;
Expand Down
Loading