Skip to content

1.0.0 Release

Compare
Choose a tag to compare
@codecounselor codecounselor released this 11 Nov 01:41
· 87 commits to master since this release

This is the first major release, from 1.0.0 forward semver will be followed.

Breaking Changes from 0.13

  • Promises were introduced to better deal with markdown conversion, and now PDFExporter .createJob returns a promise instead of a job object. You should update your code accordingly,
    for example:
exporter.createJob(source, target, options).then( job => {
    job.on('job-complete', (r) => {
            console.log('pdf files:', r.results)
            // Process the PDF file(s) here
        })
        job.render()
    })  

Fixes

  • Issue #129 - Markdown generation was
    broken and PDF files had suffixes at the end of the filename