Skip to content

Commit 1968d26

Browse files
author
FolderView Plus Test
committed
Release 2026.04.15.02 hotfix
1 parent 3a49b3a commit 1968d26

9 files changed

Lines changed: 22 additions & 5 deletions

archive/folderview.plus-2026.04.11.04.txz.sha256

Lines changed: 0 additions & 1 deletion
This file was deleted.
-14.3 MB
Binary file not shown.

archive/folderview.plus-2026.04.11.05.txz.sha256

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1d3ddb91a47d6d24e91b9b0da8a61f0a2cb2a00c0d3d724852c8cfdde6d00d59 folderview.plus-2026.04.15.02.txz

docs/releases/2026.04.15.02.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
- Fix: Fixed concurrent JSON writes during first-load settings normalization so VM and Docker prefs no longer race on the same temporary file.
2+
- Fix: Updated atomic JSON writes to use a unique temp file per request before rename, which prevents intermittent `Failed to replace JSON payload` errors during settings bootstrap and diagnostics reads.
3+
- Quality: Fixed dev release-note insertion so missing git metadata in Windows worktrees no longer aborts packaging under `set -e`.
4+
- Quality: Hardened shell release tooling to resolve `php.exe` and `node.exe` when bare `php` or `node` are not present in the bash environment.
5+
- Test: Verified the patched writer with a local concurrent-write repro: the old fixed-temp-path flow produced a rename failure, while the unique-temp-path flow completed successfully in both parallel processes.
6+
- Test: Added release-flow regression coverage for broken git probes and manifest-based dev branch resolution during dry-run packaging.

folderview.plus.plg

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,22 @@
66
<!ENTITY launch "Settings/FolderViewPlus">
77
<!ENTITY plugdir "/usr/local/emhttp/plugins/&name;">
88
<!ENTITY pluginURL "https://raw.githubusercontent.com/&github;/dev/folderview.plus.plg">
9-
<!ENTITY version "2026.04.15.01">
10-
<!ENTITY md5 "bb96c1879a1012eaa73bdbe9a2095d5c">
9+
<!ENTITY version "2026.04.15.02">
10+
<!ENTITY md5 "1ceddf3e9c607e9b80deefa768bafabb">
1111
]>
1212

1313
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;" icon="folder-icon.png" support="https://forums.unraid.net/topic/197631-plugin-folderview-plus/" min="7.0.0">
1414
<CHANGES>
1515

16+
###2026.04.15.02
17+
- Fix: Fixed concurrent JSON writes during first-load settings normalization so VM and Docker prefs no longer race on the same temporary file.
18+
- Fix: Updated atomic JSON writes to use a unique temp file per request before rename, which prevents intermittent `Failed to replace JSON payload` errors during settings bootstrap and diagnostics reads.
19+
- Quality: Fixed dev release-note insertion so missing git metadata in Windows worktrees no longer aborts packaging under `set -e`.
20+
- Quality: Hardened shell release tooling to resolve `php.exe` and `node.exe` when bare `php` or `node` are not present in the bash environment.
21+
- Test: Verified the patched writer with a local concurrent-write repro: the old fixed-temp-path flow produced a rename failure, while the unique-temp-path flow completed successfully in both parallel processes.
22+
- Test: Added release-flow regression coverage for broken git probes and manifest-based dev branch resolution during dry-run packaging.
23+
24+
1625
###2026.04.15.01
1726
- Feature: Added a managed Theme Workspace in Settings with GitHub theme import, activate/deactivate, delete, variable overrides, custom CSS, and update checks.
1827
- Fix: Added a dedicated `theme_workspace.php` endpoint plus managed CSS generation so imported themes flow through the existing custom asset pipeline safely.

scripts/include_order_guard.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ PAGE_FILE="${ROOT_DIR}/src/folderview.plus/usr/local/emhttp/plugins/folderview.p
88
source "${ROOT_DIR}/scripts/lib.sh"
99

1010
fvplus::require_commands node
11+
NODE_BIN="$(fvplus::resolve_platform_command node)"
1112

1213
if [[ ! -f "${PAGE_FILE}" ]]; then
1314
fvplus::fail "Missing settings page file: ${PAGE_FILE}"
1415
fi
1516

16-
node - "${PAGE_FILE}" <<'NODE'
17+
"${NODE_BIN}" - "$(fvplus::path_for_command "${NODE_BIN}" "${PAGE_FILE}")" <<'NODE'
1718
const fs = require('fs');
1819
1920
const pageFile = process.argv[2];

scripts/release_guard.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
set -euo pipefail
33

44
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
5+
# shellcheck source=scripts/lib.sh
6+
source "${ROOT_DIR}/scripts/lib.sh"
57
PLG_FILE="${ROOT_DIR}/folderview.plus.plg"
68
PRIMARY_CA_TEMPLATE_FILE="${ROOT_DIR}/folderview.plus.xml"
79
CA_TEMPLATE_FILE="${PRIMARY_CA_TEMPLATE_FILE}"

0 commit comments

Comments
 (0)