Skip to content

Releases: xunmi1/light-print

v2.8.0

06 Jan 08:16

Choose a tag to compare

🚀 Features

  • Support CSS counters
  • Support for printing the body element

🚨 Changes

  • Default print-color-adjust to exact

🐛 Bug Fixes

  • Fix incorrect border-width in edge cases

v2.7.0

31 Oct 08:48

Choose a tag to compare

🚀 Features

  • support web component
  • Boost style accuracy
  • Preserve style and link elements

🐛 Bug Fixes

  • Fix !important in external styles not taking effect

v2.6.0

21 Oct 01:41

Choose a tag to compare

🚀 Features

  • Faster: skips hidden elements
  • Lower-specificity styles → effortless overrides
  • Scroll position restored automatically

🐛 Bug Fixes

  • Fixed printing failures when canvas width/height is 0
  • Resolved videos hanging indefinitely

v2.5.1

21 Jul 08:53

Choose a tag to compare

No changes.

add unit & E2E test cases

v2.5.0

09 Jul 02:55

Choose a tag to compare

  • Validate pseudo-element viability to minimize generation.
  • Use a differential cloning algorithm.

v2.4.0

02 Jul 06:35

Choose a tag to compare

  • support custom fonts

v2.3.0

25 Jun 07:39

Choose a tag to compare

  • support MathML element.
  • support SVG's image element.

v2.2.0

10 Apr 08:47

Choose a tag to compare

  • support img.
  • support canvas.
  • support commonly used pseudo-elements.

v2.1.0

03 Apr 07:08

Choose a tag to compare

chore: adjust the format of the generated bundle.

v2.0.6

11 Jul 01:29

Choose a tag to compare

What's Changed

New Contributors

Thanks @condorheroblog !