Skip to contents

JsBarcode (development version)

  • Hex logo (man/figures/logo.svg): “JsBarcode” encoded as CODE128 by the bundled library. Shown in the README and on the pkgdown site.

  • scripts/run-app.sh launches the Shiny demo: from the installed package (reinstalling when the source is newer) or from source with --dev; also make run / make run-dev.

JsBarcode 0.1.0

  • Repository reorganised: the package now lives at the repo root; 2017 scaffolding artefacts were moved out of the repo.
  • Bundled JsBarcode updated from 3.8.0 to 3.12.3. Only the minified bundle and its license are vendored (no more bower source tree).
  • JsBarcode() gains format, bar_width, bar_height, display_value, text, font_size, line_color, background, margin and ... for any other JsBarcode option. Arguments after format must be named.
  • The widget now actually renders an SVG barcode (the 2017 scaffold only printed the value as text) and shows an inline error for invalid input. Invalid values are detected through JsBarcode’s valid callback; any other JavaScript error is shown with its real message and logged to the console.
  • New barcode_formats constant, Shiny demo app, testthat suite and GitHub Actions R CMD check.
  • New barcode_format_info data frame describing every format (characters, length, check digit, typical use, valid example), derived from the JsBarcode 3.12.3 validation rules. barcode_formats now comes from it and gains CODE93FullASCII.
  • The Shiny demo groups formats by family and shows contextual help plus an example value for the selected format.
  • Makefile with document/lint/test/check/install/run/site/update-js targets.
  • lintr configuration (.lintr) and a GitHub Actions lint workflow; the package is lint-free.
  • pkgdown documentation site with a “Getting started” vignette and a “Development and CI/CD” article, deployed to gh-pages by GitHub Actions.
  • scripts/release.sh (make release) automates tagging and GitHub releases.

JsBarcode 0.0.0.9000

  • Initial htmlwidgets scaffold (2017).