Releases

What changed in each version of the zplkit packages, newest first.

Follow new releases with the Atom feed
  1. @zplkit/core

    2.2.0

    Features

    • core: format() lays out ZPL to read (cb01d7d)
    Compare with the previous release →
  2. @zplkit/core

    2.1.0

    Features

    • core: build ellipses, circles, serial numbers and text options (f251790)
    • core: warn when a label leaves settings on the printer (e5eb7d0)
    • draw ellipses with ^GE (2a1156a)
    • draw stored graphics with ^IM (919f068)
    • fill in dates and times with ^FC (b64be3f)
    • measure in millimeters or inches with ^MU (753fc52)
    • print mirror images with ^PM (b320d29)
    • print text down, right to left or spaced out with ^FP (ebb21fa)
    • render copies and serial numbers with ^PQ, ^SN and ^SF (aa470bf)
    • shift labels with ^LS and ^LT (ae249c2)
    • wrap text in ^TB text blocks (edd54ae)

    Bug fixes

    • core: ignore spaces around parameters, as printers do (84ecf20)
    • core: keep labels in millimeters or inches as ZPL when converting (0cef70e)
    • render: space single-row GS1 DataBar Expanded as printers do (c0a47a2)
    Compare with the previous release →
  3. @zplkit/render

    0.2.1

    Bug fixes

    • render: count letters in ^SF masks (b95d5fe)
    • render: pick QR masks like reference renders (0c34350)
    Compare with the previous release →
  4. @zplkit/render

    0.2.0

    Features

    • draw ellipses with ^GE (2a1156a)
    • draw stored graphics with ^IM (919f068)
    • fill in dates and times with ^FC (b64be3f)
    • measure in millimeters or inches with ^MU (753fc52)
    • print mirror images with ^PM (b320d29)
    • print text down, right to left or spaced out with ^FP (ebb21fa)
    • render copies and serial numbers with ^PQ, ^SN and ^SF (aa470bf)
    • shift labels with ^LS and ^LT (ae249c2)
    • wrap text in ^TB text blocks (edd54ae)

    Bug fixes

    • render: center ^FB lines like printers when the space doesn't fit (6c1e893)
    • render: right-justify fields with ^FO, ^FT and ^FW (9b8c928)
    • render: space single-row GS1 DataBar Expanded as printers do (c0a47a2)
    Compare with the previous release →
  5. @zplkit/preview

    0.2.0

    Features

    • preview: show copies and cap how many labels show (a9f28ba)
    Compare with the previous release →
  6. @zplkit/core

    2.0.0

    Breaking changes

    • drawText, drawBox, drawGraphic, drawStoredGraphic, drawField and the drawCode128-style barcode methods are now text, box, graphic, storedGraphic, field, code11, code39, code128, ean13, interleaved2of5, pdf417, aztec, maxiCode, dataMatrix and qrCode.
    • ImageConverter no longer reads BMP, GIF or TIFF files.
    • install @zplkit/core and import from "@zplkit/core", "@zplkit/core/jsx" and "@zplkit/core/image". JSX projects set jsxImportSource to "@zplkit/core".
    • Node 22 or newer is required, and there are no longer separate CommonJS entries.
    • Label and PrinterSetup take options objects with mm() and dots() lengths, drawGraphic takes a graphic object, drawDataMatrix's height is now moduleSize, storeGraphics is now storeGraphic, startField and endField are replaced by add(), and ImageConverter is imported from @zplkit/core/image.

    Features

    • add ^FW to the builder and JSX (639e3fe)
    • API reference generated from the TypeScript types (2744969)
    • build labels on a typed ZPL command AST (5d0a491)
    • clearer command reference, JSX first, and warnings for ignored text (193d5dc)
    • Code 39, Interleaved 2 of 5 and PDF417 barcodes (2760453)
    • convert ZPL to zplkit code (f36cb90)
    • copies, speed and darkness as label options, and a lint rule for printer commands (fc84627)
    • core: add inches() for lengths in inches (b59f418)
    • core: make Label's dpmm public (6b9b6cc)
    • decode images with pngjs and jpeg-js instead of jimp (5ae012a)
    • draw QR codes, and fields with any command (af1d3fc)
    • EAN-8, UPC-A, UPC-E, UPC/EAN add-ons, Code 93, Codabar and ^B0 (00b8a23)
    • example images in the reference, and more preview events (e9d7356)
    • font files with ^A@, ^CW, ~DU, ~DT and ~DY (73d7767)
    • Industrial and Standard 2 of 5, LOGMARS, MSI and Plessey (0d9623f)
    • lint labels for problems printers don't report (5d0a491)
    • make label JSX work with React's JSX runtime (5d0a491)
    • name builder methods after what they draw (91781f4)
    • parse ZPL into command nodes (5d0a491)
    • parse: parse ^FW field orientation (63f00ca)
    • POSTNET, PLANET, Intelligent Mail, GS1 DataBar and MicroPDF417 (208c0de)
    • PrintJob, for setup and labels sent together (85c3351)
    • publish ES modules only and require Node 22 (f4e189b)
    • publish the main package as @zplkit/core (d71720f)
    • site: a playground for zplkit code (ec6000b)
    • site: docs site with the playground at zplkit.fingal.dev (f2ac552)
    • site: give the command reference its own page and keep the site header on docs (0cf450e)
    • site: move the playground to /viewer (2f16880)
    • site: tool cards on the home page, inch-sized examples (124dcf1)
    • site: ZPL commands become part of the docs (1d1b409)
    • templates, print orientation, symbols, Aztec and MaxiCode (89edd8f)
    • write labels as JSX (5d0a491)

    Bug fixes

    • convert inches with the printer's dpi (bc89f63)
    • core: reject resolutions printers don't have (322a615)
    • core: say what's missing when a label has no dpmm or a length (72b41e6)
    • draw boxes in black by default instead of white (5d0a491)
    • escape ^ and ~ in field data with ^FH (5d0a491)
    • stop toZPL from adding a second ^XZ when minify is off (5d0a491)
    Compare with the previous release →
  7. @zplkit/render

    0.1.0

    Features

    • add ^FW to the builder and JSX (639e3fe)
    • API reference generated from the TypeScript types (2744969)
    • clearer command reference, JSX first, and warnings for ignored text (193d5dc)
    • EAN-8, UPC-A, UPC-E, UPC/EAN add-ons, Code 93, Codabar and ^B0 (00b8a23)
    • Industrial and Standard 2 of 5, LOGMARS, MSI and Plessey (0d9623f)
    • POSTNET, PLANET, Intelligent Mail, GS1 DataBar and MicroPDF417 (208c0de)
    • preview: render with @zplkit/render (6251e8a)
    • publish the main package as @zplkit/core (d71720f)
    • render: draw Aztec, MaxiCode and graphic symbols (f99a690)
    • render: draw bitmap fonts A to H (9a9c42d)
    • render: draw Code 128 barcodes (ff2e5a0)
    • render: draw Code 39, Interleaved 2 of 5 and PDF417 (e50c87b)
    • render: draw EAN-13, Code 11, QR and Data Matrix barcodes (f2ad673)
    • render: draw font 0 with your own font file (7d2bc11)
    • render: draw text in downloaded and passed-in TrueType fonts (e3134e8)
    • render: draw text in font 0 (fedd961)
    • render: render boxes, circles, diagonals and images in TypeScript (b010dac)
    • render: rotate text with ^A orientations and ^FW (3619eaa)
    • render: show a placeholder for barcodes it can't draw yet (45a9831)
    • render: stored formats, ^PO, ^FV and ^IL (54612e3)
    • render: wrap text in ^FB blocks (58f473a)
    • site: give the command reference its own page and keep the site header on docs (0cf450e)
    • site: ZPL commands become part of the docs (1d1b409)

    Bug fixes

    • render: keep thin strokes in small text (865ffdc)
    • render: print font 0's marks where a printer puts their ink (1ce3ba0)
    • render: read base64 image data (:B64: and :Z64:) (a246fcd)
    • render: refuse labels too large to render (05f5772)
    • render: size placeholders for their text, and name invalid parameters (96d467c)

    Performance

    • render: bundle only the bwip-js encoders we use (bfae224)
    • render: only scan the rows a shape covers with printer dots (39ebd59)
  8. @zplkit/preview

    0.1.0

    Features

    • API reference generated from the TypeScript types (2744969)
    • example images in the reference, and more preview events (e9d7356)
    • fade previews in, and slide reference rows open the first time (7a0b5f9)
    • name builder methods after what they draw (91781f4)
    • preview: add <zpl-preview>, a web component that renders ZPL (7e14620)
    • preview: fonts and font0 properties on <zpl-preview> (0534c6d)
    • preview: render with @zplkit/render (6251e8a)
    • preview: smooth label edges, adjustable with the smoothing attribute (e4025d1)
    • publish ES modules only and require Node 22 (f4e189b)
    • publish the main package as @zplkit/core (d71720f)
    • site: docs site with the playground at zplkit.fingal.dev (f2ac552)

    Bug fixes

    • convert inches with the printer's dpi (bc89f63)
    • preview: render only once the element is in the page (6567dc4)
  9. @zplkit/core
  10. @zplkit/core

    1.0.4

    Bug fixes

    Compare with the previous release →
  11. @zplkit/core

    1.0.3

    Bug fixes

    • fix broken default imports (hopefully) (b2aede8)
    Compare with the previous release →
  12. @zplkit/core

    1.0.2

    Bug fixes

    • actually build project before publishing it 🤦 (54391c6)
    Compare with the previous release →
  13. @zplkit/core

    1.0.1

    Bug fixes

    • fix invalid files ref in package.json (21202e5)
    Compare with the previous release →
  14. @zplkit/core

    1.0.0

    Features