Changelog
Release notes for DocStudio versions 0.2.0 and 0.1.0, including the breaking designer export removals in 0.2.0, with npm publish dates.
Dates are the publish dates recorded by the npm registry. Before 1.0.0 a minor version can contain breaking changes.
0.2.0 (2026-11-30)
Breaking for code that imports internal designer exports. See the migration guide.
- Designer: an optional built-in action group with View (a modal preview of the rendered document), Print (the browser print dialog, no server) and Submit (
onSubmit({ template, data })), configured withactions,onView,onPrintandonSubmit. renderDocument(template, data, options)indocstudiocompiles and renders in one call.printHtml(html)indocstudio/pdfprints a document through the browser and cleans up.- Designer interface: accordion panels with shared rules, themed tooltips, a bind popover on the canvas label, a Theme drop-down (
themesprop), range sliders for fields from 0 to 1, 5 px scrollbars, full-height JSON, Problems and Data tabs, and a redesigned library panel. - Library: Insert follows the chosen Header, Body or Footer target. The JSON tab accepts props and slots in component authoring mode. The component name rule is documented correctly: a dot is not allowed.
- Breaking: 56 internal designer exports are removed, the
onOpenVersionprop is removed and severalmessages.librarystrings change. - The designer may import the browser-safe
pdfmodule, andrenderDocumentis exported from the root entry.
0.1.0 (2026-11-29)
The first release.
- Template schema 1.0.0 with validation, migration, configuration, expressions, data binding, reusable components and compilation to the resolved document tree.
- HTML and CSS renderer with screen, print and pdf targets, fonts, QR codes, Code 128, Code 39 and EAN-13 barcodes.
- Server PDF service on Chromium through Playwright, and a browser-safe PDF client.
- React visual designer with canvas, toolbox, inspector, layers, undo and redo, sample data, expression editing, repeaters and tables, and a component library.
- Tables with fixed rows, per-cell, row and header formatting, table templates and quick rows and columns setup.
- MIT license.
The package page on npm lists every published version.