testdrive-jsui/CHANGELOG.md
tegwick 71a2a1e52c
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
release 1.0.1: publish as @coulomb/testdrive-jsui to the coulomb Forgejo npm registry
Scoped name, publishConfig.registry, secret-free .npmrc (token from
NPM_AUTH_TOKEN env), changelog (1.0.0 tagged but never published), install
docs without public-CDN claims, consumer smoke uses the package name.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: sonnet
Assistant-Process: 299063@bnt-lap001
Assistant-Session: 53eb1e1c-c13a-4277-9ce2-3702960d93f7
2026-10-03 00:53:03 +02:00

3.4 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.0.1] - 2026-10-03

Changed

  • Package is now @coulomb/testdrive-jsui, published to the coulomb Forgejo npm registry (publishConfig.registry); install with the @coulomb:registry scope mapping in .npmrc
  • 1.0.0 was tagged (v1.0.0) but never published under any name; 1.0.1 is the first published version. Code is identical apart from the name, registry and version
  • Public CDNs (jsDelivr, unpkg) mirror npmjs.org only and do not serve this registry

[1.0.0] - 2026-10-03 (tagged, not published)

Added

  • Initial public release of TestDrive-JSUI as standalone npm package
  • JavaScript-first markdown editor library
  • Section-based editing with independent section management
  • Interactive UI with compass-positioned control panels
  • Support for edit and view modes
  • Event-driven API for integration
  • Auto-save functionality to localStorage
  • Keyboard shortcuts (Ctrl+S to save, Escape to cancel)
  • LocalStorage integration for content persistence
  • Download markdown as .md file
  • Table of contents generation
  • Debug panel with logging system
  • Status control showing document statistics
  • Comprehensive test suite (68 Jest tests + 15 pytest tests)
  • Full documentation (README, ARCHITECTURE, NPM_PUBLICATION_PLAN)

Features

  • Core Library: Pure JavaScript with marked.js as only peer dependency
  • Bundled Distribution: Single-file UMD, ESM, and CJS builds
  • CSS Included: Complete styling with GitHub theme
  • Peer Dependency: Uses marked.js for markdown parsing
  • Multiple Installation Methods: npm, CDN (jsdelivr, unpkg), direct download
  • Source Maps: Available for all builds for debugging
  • Browser Support: Modern browsers (Chrome 60+, Firefox 60+, Safari 12+, Edge 79+)

Technical

  • Built with Rollup bundler
  • Transpiled with Babel for broad browser support
  • Minified with Terser (107KB minified)
  • CSS processed with PostCSS, autoprefixer, and cssnano
  • 68 JavaScript tests passing (Jest)
  • 15 Python integration tests passing (pytest)

Package Details

  • UMD Build: 217KB (browser-friendly, default)
  • Minified: 107KB (production-ready)
  • ESM Build: 199KB (for modern bundlers)
  • CJS Build: 199KB (for Node.js)
  • CSS: 6KB (minified, all styles inlined)

Migration Notes

  • Fully migrated from MarkiTect monorepo to standalone capability
  • All 24 original JavaScript files consolidated
  • Single source of truth in /capabilities/testdrive-jsui/js/
  • Legacy files cleaned up from main application
  • TypeScript declarations (types/index.d.ts)
  • exports map: import (ESM), require (CJS), browser, ./style.css

Fixed

  • CommonJS bundle is now emitted as dist/testdrive-jsui.cjs; import and require previously failed in Node under "type": "module"
  • Bundled builds no longer throw ControlBase is not defined on load
  • js/core/debug-system.js loads as a classic <script> (stray ES export removed)
  • Accepted section edits now refresh the page even when no document controls are present
  • Lockfile is in sync with package.json (npm ci works)

Changed

  • Package metadata no longer carries repository/homepage/bugs URLs until a public home is established

[Unreleased]

Nothing yet.