You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#159 - For export jobs that are provided more than one resource, the job now resets the arguments to their original state before processing each resource.
New Events added:
window.termination emits an object with id and lifespan when a window is forcefully terminated. The id is the Electron.BrowserWindow id.
job.render.loadurl emits an object with url of the resource about to be loaded into the window and rendered.
Fixes
#163 - If a window remains open past a certain threshold (default: 5 minutes) it is automatically closed. The following two env properties are now supported:
ELECTRONPDF_WINDOW_CLEANUP_INTERVAL - in milliseconds, default 30 seconds; how often to check if open windows are hung
ELECTRONPDF_WINDOW_LIFE_THRESHOLD - in milliseconds, default 5 minutes
Breaking Changes
In versions prior to 1.1.5 if you provided a custom pageSize object for PDF rendering and set the landscape option it it, the job would flip the dimensions. This is undesirable, and now the landscape option will be ignored for any job that has the pageSize set.