Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview version 0.3.0-beta.10 released! #2375

Open
liborm85 opened this issue Jan 1, 2022 · 5 comments
Open

Preview version 0.3.0-beta.10 released! #2375

liborm85 opened this issue Jan 1, 2022 · 5 comments

Comments

@liborm85
Copy link
Collaborator

liborm85 commented Jan 1, 2022

Preview version 0.3.0-beta.10 released!

Do not use in a production.

See GitHub release:

Installation

npm install [email protected]

Documentation

Documentation for version 0.3: here
Migration guide: here

Changelog:

0.3.0-beta.10

  • Drop support Internet Explorer 11 (Microsoft will not support from 2022)
  • Minimal supported version Node.js 18 LTS
  • Update Roboto font (version 3.010)
  • Fixed page break in a column group
  • Fixed saving margins in an unbreakable block
  • Fixed fillColor items in unbreakable blocks
  • Fixed calculating correctly the 'y' at the end of a rowSpan with dontBreakRows
  • Fixed margins (top/bottom) of nodes and row height are considered for breaking page
  • Fixed margins after page break
  • Fixed margins of nodes with relativePosition or absolutePosition are ignored and don't interfere with the regular flow of the layout

0.3.0-beta.9

  • Fixed and validates input values headerRows and keepWithHeaderRows
  • Fixed numbering nested ordered lists
  • Speed up StyleContextStack.autopush() for large tables
  • Fixed widths of table columns with percentages
  • Fixed storing the correct context in the ending cell of a row span when there were nested column groups (columns or tables)

0.3.0-beta.8

  • Removed unused brfs dependency

0.3.0-beta.7

  • Minimal supported version Node.js 16 LTS
  • Added padding option for QR code
  • Allow the document language to be specified
  • Fixed cover image size inside table
  • Fixed "Cannot read properties of undefined (reading 'bottomMost')" if table contains too few rows
  • Fixed invalid source-maps in builded js file

0.3.0-beta.6

  • Update pdfkit to 0.14.0
  • Update Roboto font (version 3.008)

0.3.0-beta.5

  • Fixed document buffer size. Node.js 18+ allow max 1 GiB.

0.3.0-beta.4

  • Minimal supported version Node.js 14 LTS
  • Fixed theoretical vulnerability CVE-2022-46161 (It was never part of version released as npm package or cdnjs or bower or packagist!)

0.3.0-beta.3

  • Updated Roboto font (version 3.005)
  • Fixed calculating auto page height
  • Fixed TrueType Collection loading from URL
  • Fixed refetching fonts from URL

0.3.0-beta.2

  • Attachments embedding
  • Support passing headers to request for loading font files and images via URL adresses

0.3.0-beta.1

  • Port code base to ES6+
  • Unify interface for node and browser (breaking change)
  • All methods return promise instead of using callback (breaking change)
  • Change including virtual font storage in client-side (breaking change)
  • Change parameters of pageBreakBefore function (breaking change)
  • Support for loading font files and images via URL adresses (https:// or http:// protocol) in Node.js (client and server side now)
@liborm85 liborm85 pinned this issue Jan 1, 2022
@liborm85 liborm85 changed the title Preview version 0.3.0-beta.1 released! Preview version 0.3.0-beta.2 released! Apr 1, 2022
@ghs
Copy link

ghs commented Jun 24, 2022

To follow up from #2367 and #2412 and the unknown date, is there any plan what would enter in 0.3 so people can help perhaps?

Personally I am in the waiting for the attachments for some time now but also all breaking changes would add extra time to change some of the code I use and wondering if would be faster to switch to pdfkit instead of the wait or as wrote before, help with the features which could enter?

@liborm85 liborm85 changed the title Preview version 0.3.0-beta.2 released! Preview version 0.3.0-beta.3 released! Oct 9, 2022
@liborm85 liborm85 changed the title Preview version 0.3.0-beta.3 released! Preview version 0.3.0-beta.4 released! Dec 17, 2022
@joeyJsonar
Copy link

Any updates on this?

@liborm85 liborm85 changed the title Preview version 0.3.0-beta.4 released! Preview version 0.3.0-beta.5 released! Feb 19, 2023
@benglewis
Copy link

Do you have type definitions for these newer versions?

@onpaws
Copy link

onpaws commented Apr 4, 2023

Looking forward to this so Angular builds can finally stop saying

Warning: /Users/paws/Developer/+GRP/GRP-Web/node_modules/@amcharts/amcharts4/.internal/core/export/Export.js depends on 'pdfmake/build/pdfmake.js'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Cheering you on!

@liborm85 liborm85 changed the title Preview version 0.3.0-beta.5 released! Preview version 0.3.0-beta.6 released! Dec 21, 2023
@liborm85 liborm85 changed the title Preview version 0.3.0-beta.6 released! Preview version 0.3.0-beta.7 released! Jan 1, 2024
@liborm85 liborm85 changed the title Preview version 0.3.0-beta.7 released! Preview version 0.3.0-beta.8 released! Mar 9, 2024
@liborm85 liborm85 changed the title Preview version 0.3.0-beta.8 released! Preview version 0.3.0-beta.9 released! Aug 9, 2024
@sean078
Copy link

sean078 commented Sep 27, 2024

I don't know if it's a bug or if React Native support is a non-goal for pdfmake, but 0.3.0-beta.9 does not work in React Native and throws Cannot read property 'indexOf' of undefined from the isBrowserSupported function. It will work if I edit that function to just return true. Previous versions of pdfmake worked in React Native. Would love to see React Native functionality continue.

@liborm85 liborm85 changed the title Preview version 0.3.0-beta.9 released! Preview version 0.3.0-beta.10 released! Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants