Skip to content

v0.7.8

Choose a tag to compare

@danmolitor danmolitor released this 18 Mar 17:06
· 645 commits to main since this release

Barcodes

New <Barcode /> component renders 1D barcodes as native PDF vector graphics. Supports Code 128, Code 39, EAN-13, EAN-8, and Codabar.

Also available in the Python SDK: Barcode("ABC-123", format="Code128", width=200, height=50).


Python SDK

Native Python templating with local WASM rendering. Install with pip install formepdf[local].

from formepdf import Document, Page, View, Text, QrCode, Barcode

doc = Document(
    Page([
        View([
            Text("Invoice #001", style={"fontSize": 24, "fontWeight": "bold"}),
            QrCode("https://formepdf.com", size=80),
            Barcode("ABC-123", format="Code128", width=200, height=50),
        ])
    ])
)

pdf = doc.render()

Packages

Package Version
@formepdf/core 0.7.8
@formepdf/react 0.7.8
@formepdf/cli 0.7.8
@formepdf/renderer 0.7.8
@formepdf/hono 0.7.8
@formepdf/next 0.7.8
@formepdf/resend 0.7.8
@formepdf/mcp 0.7.8
@formepdf/sdk 0.7.8
engine (Cargo) 0.7.8
formepdf (PyPI) 0.7.11
VS Code extension 0.7.9