Skip to content

LinkForge v1.1.2 — Fix JS bundle

Choose a tag to compare

@sushantkumar-web sushantkumar-web released this 16 Sep 07:23
· 5 commits to main since this release

Critical hotfix

What was broken in v1.1.1
The bundle builder in build.sh had a bug where each iteration truncated the output file instead of appending. The result: only the last file (links.js) made it into app.bundle.js. utils.js, app.js, and search.js were silently dropped, which broke:

  • Copy button (missing copyToClipboard)
  • Mobile sidebar toggle (missing toggleSidebar)
  • Modal open/close helpers
  • Search dropdown

Fixed in v1.1.2

  • Bundle builder now writes the banner once and appends every file
  • Added a JS_COUNT safety check — build aborts if zero files are bundled
  • Prints each bundled file for visibility

No migrations, no database changes. Safe to apply over v1.1.1.