Socket
Socket
Sign inDemoInstall

swissqrbill

Package Overview
Dependencies
69
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
234567Next

4.0.2

Diff

Changelog

Source

v4.0.2

compare changes

Fixes

  • Type definitions for common js imports (cbe419a)

Refactors

  • Use imports with js file extensions (1c77d52)

Documentation

Build

Chore

schoero
published 4.0.2-beta.1 •

schoero
published 4.0.2-beta.0 •

schoero
published 4.0.1 •

Changelog

Source

v4.0.1

compare changes

Fixes

  • Visual pdf tests throwing error (7936151)
  • table: Throwing error when header row was enabled on a table with multiple columns (b096a51)
  • table: Setting padding to 0 not working in a tuple type (14ad3c3)
  • table: Continue table on the same horizontal position (e8e5aec)
  • table: Rendering of imaginary layers (9eb4f3d)
  • table: Converting of tuple shorthand syntax (99b1c95)

Documentation

Chore

Tests

  • Disable multi threading in debugger (85911a1)
schoero
published 4.0.0 •

Changelog

Source

v4.0.0 - 10.11.2023

With version 4, SwissQRBill has been completely reworked. The main goal was to make the API more flexible and reduce the complexity of the library. As a consequence, the API has changed quite significantly. However, migration should be fairly easy.

Please read the migration guide for more information and have a look at the updated documentation.

  • New features

    • SwissQRBill can now be attached to any PDFDocument instance from PDFKit.
    • New SwissQRCode class to create the standalone Swiss QR Code to attach to an existing PDFKit document.
    • New Table class to create a table to attach to an existing PDFKit document.
    • It is now possible to change the font of the QR Bill. The allowed fonts are "Arial" | "Frutiger" | "Helvetica" | "Liberation Sans"
    • Additional options for SVG renderings.
  • Breaking changes

    • The entrypoints have changed. Please read the importing documentation for more information.
    • SwissQRBill no longer extends PDFKit.
    • The table method has been extracted into it's own class.
    • Events have been removed from SwissQRBill.
    • Properties and options have been renamed.
    • Now requires Node.js >= 18.0.0
  • Fixes

    • Some slight rendering improvements.
  • Other improvements

    • Better examples. The examples are now automatically hosted on StackBlitz. Everyone can now easily try out the library in the browser without having to install anything.
    • Automated documentation. SwissQRBill now uses unwritten to automatically generate the documentation. This makes it easier to keep the documentation up to date.
    • Automated testing for even more stability.

Thanks to @danielpanero and @skch-17 for their contributions.

schoero
published 4.0.0-beta.5 •

schoero
published 4.0.0-beta.4 •

schoero
published 4.0.0-beta.3 •

schoero
published 4.0.0-beta.2 •

schoero
published 4.0.0-beta.1 •

234567Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc