Changelog
Release notes for NexPDF for Go (github.com/nexdevit/nexpdf-go).
Versions follow semantic versioning. The Go module, the native engine and every other NexPDF SDK share one version number. See the release notes for all SDKs.
1.1.0
Released 29 November 2026.
Added
- Templates:
nexpdf.TemplateDOCXToPdf,nexpdf.TemplateDOCXFill,nexpdf.TemplateHTMLToPdfand(*Document).TemplateFillPdffill Word, HTML and PDF templates from JSON data. See Templates. - PAdES B-LTA: the
levelsigning option (B-B,B-T,B-LT,B-LTA),(*Document).AddDocumentTimestamp,nexpdf.AddDocumentTimestampBytesand the three-stepPrepareDocumentTimestamp/DocumentTimestampRequest/CompleteDocumentTimestamp. Verification reportsdocument_timestampandpades_level. See Long-term signatures. - Comment threads:
ReplyToAnnotation,AnnotationRepliesJSONandSetAnnotationState. - Structured extraction:
ExtractTablesJSON,ExtractKeyValuesJSON,ExtractionPromptJSON,ExtractionValidateJSONandClassifyDocumentJSON. - XFA forms:
XfaInfoJSON,XfaExportData,XfaImportData,XfaToAcroform,XfaFlattenandXfaRemove. - OCR of any script with neural models loaded at run time:
nexpdf.OCRLoadModel,nexpdf.OCRModelsJSONandnexpdf.OCRUnloadModels, and theneuralOCR engine. - Barcodes:
ReadBarcodesJSON,nexpdf.ReadBarcodesImageJSONandAddBarcode. - Word-level comparison:
CompareTextJSONandCompareAnnotate. - PDF/A and PDF/UA validation with clause ids:
ValidatePDFAJSON,ValidatePdfuaJSON, andConvertPDFALevelfor any PDF/A level. - Real-time collaboration:
SyncExportJSON,SyncExportLocalJSON,SyncApplyJSON,SyncSnapshotJSONandSyncSetClientId. - XFA scripts (FormCalc and JavaScript), picture clauses, images, rich text, right-to-left
layout and vector barcode fields:
XfaRunScriptsJSON,XfaToAcroformJSON(with a report of warnings and failed validations) andnexpdf.RegisterFallbackFont. See XFA forms. - Complete PDF/UA-2 validation and conversion with a report:
ValidatePdfuaPartJSON,ConvertPdfuaJSON,ConvertPDFAJSONandnexpdf.RegisterSubstituteFont. See PDF/A and PDF/UA validation. - B-LTA validation with OCSP checks:
nexpdf.ValidateLtaJSON. Online signing in steps:nexpdf.SignatureTimestampRequest,nexpdf.AddSignatureTimestamp,nexpdf.LTVRequestsJSONandnexpdf.AddLTVWithResponses. - Time-stamp authority callback:
nexpdf.SetTsaCallbackandnexpdf.ClearTsaCallback. - Sync client:
nexpdf.NewSyncwithSyncOptions,Connect,Flush,SetPresence,WithEngine,DownloadDocument,AttachandClose, over WebSocket with SSE fallback. Change sets arenexpdf-sync/2: pages and shared objects are records and merging is per property. See Real-time collaboration. - Conversion:
nexpdf.OpenDOCXWithOptionsJSON(comments and tracked changes as markup),nexpdf.OpenXLSXWithClock, Excel formula calculation (about 280 functions,LAMBDA, dynamic arrays), OpenType shaping and Unicode bidi in Word, Excel, PowerPoint and HTML. nexpdf.TemplateDOCXFillWith, and theheader_height,footer_height,fontandbase_dirtemplate options.- OCR page orientation and skew correction, slanted lines, and the
classificationmodel kind. PageWordsJSON(words with exact boxes) andAddBarcodeEx(barcode drawing options).- Form field, template and XFA text is shaped with OpenType and ordered with Unicode bidi in
embedded Unicode fonts. Simple fonts without
/Widthstake their widths from the embedded font program; Symbol and ZapfDingbats use their standard metrics.
Changed
OpenandOpenByteswith a password convert Office files, e-books and comics first and use the password only for PDFs. Before, a password always opened the bytes as a PDF, so a Word file passed with a password failed.- XFA conversion to AcroForm stores the formatted display value as the text field value (
/V) and sets/NeedAppearancesfalse. Before, the raw data value was stored. Export the data first if you need raw values. - PDF templates: a text row that starts in the bottom 72 pt of the page is now treated as a
footer and repeated on every page (
footer_height, default 72). Set"footer_height":0for the old flow.
1.0.1
Released 28 November 2026.
Fixed
OpenandOpenBytesopen EPUB books, zipped FictionBook files, XPS/OpenXPS packages and CBZ comics. Before, every ZIP-based file was sent to the Office converter and these formats failed with an Office error. The SDK now reads the file names in the ZIP (without decompressing anything) to pick the right converter. Word, Excel and PowerPoint files still go to the Office converter.IsLicenseddecodes the license status and looks only in itsmoduleslist. Before, it searched the whole status text, soIsLicensed("unlicensed")wastruewithout a license, and a licensee name that matched a module could report it as unlocked.
Changed
- The public
nexdevit/nexpdf-gorepository builds against the release binaries: download thenexpdf-ffiarchive for your platform and pointCGO_CFLAGSandCGO_LDFLAGSat it, as described in Installation. The module cache is read-only, so a./libfolder only works in a clone of the repository.
1.0.0
Released 28 November 2026. First stable release.
Added
*nexpdf.Documentwith every function of the NexPDF C API as a method, and package functions for licensing, converters and signature verification, generated fromnexpdf.h.- cgo bindings to the native engine, linked shared or static.
*nexpdf.Errorwith the engine's message and, fromActivateLicense, the license code. Each call locks its OS thread so errors always belong to the call.- Offline
NEX2.license keys:ActivateLicense,LicenseStatusJSONandIsLicensed. - Rendering with overprint simulation, ICC colour and every PDF image codec; text extraction, Markdown, search and offline question answering.
- Annotations (markup, shapes, ink, stamps, measurements, file attachments, XFDF), AcroForm filling with JavaScript calculation, and form data in JSON, FDF and XFDF.
- Page and content editing, metadata, bookmarks, page labels, layers and attachments.
- AES-256 encryption with permissions, watermarks, headers and footers, Bates numbering.
- Destructive redaction by area, text, regular expression and preset patterns.
- PAdES signatures from PKCS#12 files or external signers, timestamps, LTV and verification.
- Conversion from Word, Excel, PowerPoint, HTML, EPUB, FictionBook, XPS and CBZ, and to Word, Excel, PowerPoint, HTML, RTF, CSV, XML and JSON.
- PDF/A and PDF/X conversion, PDF/UA auto-tagging, OCR, comparison, optimisation and font subsetting, and linearized saving.