Appearance
Apr 02, 2024
- api version 1.0.23
- npm packages 1.2.9
Changes
- no user-visible changes in this release
Mar 29, 2024
- api version 1.0.22
- npm packages 1.2.8
Changes
- renamed
PdfDocument.convertTo
toPdfDocument.downloadAs
- conversions will fail when the application has insufficient budget
- added PdfApplication
sessionsUrl
to override local auth-path (defaults to/api/sessions
)
Mar 05, 2024
- api version 1.0.21
- npm packages 1.2.7
Changes
- no visible changes
Feb 27, 2024
- api version 1.0.20
- npm packages 1.2.7
Changes
- improved text rendering
- added method
PdfDocument.convertTo
for downloading a PDF document as DOCX or PPTX - add support DOCX and PPTX documents to
PdfUploader
Feb 20, 2024
- api version 1.0.19
- npm packages 1.2.6
Changes
- update 'unopdf-server' Docker image to .NET 8
- change 'unopdf-server' container port to 8080
- increase minimum length of
JwtSecret
to 64 characters - removed redundant
IPdfInfo
(useIPdfDocument
instead) - renamed
IPdfDocument.filename
toIPdfDocument.originalFileName
- renamed
IPdfDocument.type (number)
toIPdfDocument.documentType (string)
- renamed
IPdfDocument.info
toIPdfDocument.documentInfo
- the api upload endpoint now requires content-type 'application/pdf'
Feb 1, 2024
- api version 1.0.18
- npm packages 1.2.5
Changes
- added method
PdfPages.getZoomFactor()
- added method
PdfPages.getPageIndex()
- changed property
IPdfWidget.checkMark: number
toIPdfWidget.checkMarkStyle: 'check' | 'start' | ...
- changed property
IPdfWidget.borderStyle: number
toIPdfWidget.borderStyle: 'solid': 'dashed' | ...
- changed type of property
IPdfWidget.borderColor
fromstring
to{R: number, G: number: B: number}
- rename property
IPdfWidget.hidden
toIPdfWidget.invisible
- method
PdfDocument.open()
now returnsPromise<IPdfDocument | null>
- method
PdfDocument.openFile()
now returnsPromise<IPdfDocument | null>
- method
PdfDocument.loaded
event now returnsstring
instead ofstring | null
- method
PdfDocument.unloaded
event now returnsvoid
instead ofstring | null
- added method
PdfApplication.getAbout()
that returnsPromise<IAbout>
with diagnostic information - reduce browser errors by not requesting fonts before authentication
Jan 25, 2024
- api version 1.0.17
- npm packages 1.2.4
Changes
- minified
unopdf-core
package - page thumbnails no longer show watermark
- specific fonts were not loaded in browsers on macOS
Jan 19, 2024
- api version 1.0.16
- npm packages 1.2.3
Changes
- widgets now update correctly when
setFormData
is called within thePdfDocument.loaded
event handler - selecting a bookmark item in
PdfBookmarks
now correctly navigates to the corresponding page in the connectedPdfPages
Jan 18, 2024
- api version 1.0.15
- npm packages 1.2.2
Changes
- fixed:
PdfDocument.download
stops working after callingPdfDocument.save()
- return
IPdfDocument
fromPdfDocument.save()
(wasvoid
) - add optional paramater
fileName
to methodPdfDocument.save()
- return
IPdfDocument
fromPdfApplication.createDocument()
(was{id: string, fileName: string | null}
) - add optional paramater
fileName
to methodPdfApplication.createDocument()
- breaking react npm package renamed from pdfviewer-react to unopdf-react
- breaking vue npm package renamed from pdfviewer-vue to unopdf-vue
Jan 11, 2024
- api version 1.0.14
- npm packages version 1.1.56
Changes
- load page thumbnails lazy
- change signature of
getFields
togetFields: () => Promise<IPdfField[]>
Jan 4, 2023
- api version 1.0.13
- npm packages version 1.1.55
Changes
- fixed bug whereby PdfDocument.download() does not work
- added method PdfPages.getFocusWidget
- added event PdfPages.focuswidgetchanged
- renamed Docker image from 'pdfviewer-api' to 'unopdf-server'
- breaking: removed '/api' from all api paths, e.g. https://api.unopdf.com/api/v1/... is now https://api.unopdf.com/v1/...
Dec 21, 2023
- api version 1.0.12
- npm packages version 1.1.54
Changes
- api domain changed to api.unopdf.com
- improved documentation
Dec 12, 2023
- api version 1.0.11
- npm packages version 1.1.53
Changes
- to PdfPages add showCustomWidget and custom widget slot
- improved font rendering
- added component PdfBookmarks (does not repond to selection yet)
- added component PdfLayers
- added property PdfThumbnails.orientation for both horizontal and vertical display
- fixed bug whereby an initially checked checkbox was rendered unchecked
- fixed bug whereby an unchecked checkbox needed two clicks to check
- changed docker image arguments. see documentation.
Nov 20, 2023
- Docker version 1.0.9
- npm packages version 1.1.52
Changes
- 14 standard fonts render correctly
- overall improvement of text rendering
- overall improvement of graphics rendering
- listbox and dropdownlist fields behave as expected
- PDfDocument.setFormData is displayed immediately
- removed PdfDocument.openFromUrl
- added PDfDocument.setOptions (work in progress - ignore for now)
- added enum UserMode for use with PdfPages.setUserMode
- added UserMode.DrawSelectionRectangle
- added event PdfPages.rectangleSelect (fired when using UserMode.DrawSelectionRectangle)
- added enum PageMode for use with PdfPages.setPageMode
Oct 13, 2023
- Docker version 1.0.8
- npm packages version 1.1.51
Changes
- Radio buttons now behave correctly, both interactively and programmatically through
setFormData
andgetFormData
- List boxes now behave correctly, both interactively and programmatically through
setFormData
andgetFormData
- Fixed: incorrect positioning of text at different browser zoom levels.
- Added method
addText
to pdf-pages. - Added method
addImage
to pdf-pages. - Removed method
PdfDocument.setFieldValue
(usesetFormData
instead) - Fixed: After calling
setFormData
, a field loses its value on focus - Event
formDataChanged
of PdfDocument only fires if triggered by user interaction.
Sep 28, 2023
- Docker version 1.0.7
- npm packages version 1.1.50
Changes
- Added methods
deleteDocument
anddeleteDocuments
to pdf-application. You pass the document ID (or list of ID's, respectively) to be deleted. - Added method
createDocument
to pdf-application. This is an experimental feature, under development. - Added methods
getFormData
andsetFormData
to pdf-document.getFormData
returns a map of key-value pairs, one for each field, whose key is the field's full name and the value is the field's (string) value.setFormData
takes a similar map of key-value pairs and updates each field's value (by key == full name). - Added event
formDataChanged
to pdf-document. This event returns an array of field name / field value pairs. The event only returns fields whose value has actually changed. - Removed event
fieldsChanged
from pdf-document. - Removed obsolete components (primarily pdf-viewer, which was replaced by pdf-pages).
Sep 13, 2023
- Docker version 1.0.6
- npm packages version 1.1.49
Changes
- added open a PDF from URL
- added get the number of pages in a document
- fixed bug "font errors opening document"