github fabriziosalmi/certmate v1.10.1
v1.10.1 — Extract settings inline JS

latest releases: v2.0.0, v1.12.0, v1.11.1...
7 hours ago

What's Changed

Settings JS extraction — Moved ~2,360 lines of inline JavaScript from settings.html into a dedicated static/js/settings.js IIFE module, following the same pattern established with dashboard.js.

Details

  • Extracted 58 functions + Alpine.js notification component into single external file
  • Converted all ES6 syntax to ES5 (async/await → Promise chains, arrow functions, template literals, etc.)
  • Fixed pre-existing bug: getAuthToken() was called but never defined in performStorageMigration()
  • Consolidated 3 DOMContentLoaded listeners into 1, moved DOM lookups inside handler
  • settings.html reduced from 4,316 → 1,953 lines (pure HTML/Jinja2)
  • All 83 tests pass

Full Changelog: v1.10.0...v1.10.1

Don't miss a new certmate release

NewReleases is sending notifications on new releases.