Skip to content

Release v2.15.0

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Aug 19:47
· 490 commits to main since this release
2cf7df3

@embedpdf/plugin-selection@2.15.0

Minor Changes

  • #685 by @simonmysun – Add setSelection(range, documentId?) to the selection capability and document scope for programmatically applying or restoring a text selection.

    It accepts the same SelectionRangeX ({ start, end } glyph pointers) shape emitted by onSelectionChange, so a saved selection can be passed straight back in to restore it; passing null clears the selection. Page geometry is loaded on demand, so the returned task resolves only once the highlight rects are computed. The range is normalized (start/end may be given in any order), invalid input (malformed range, non-integer/negative indices, out-of-bounds pages) is rejected, glyph indices are clamped to the available page geometry, and previously highlighted pages are repainted so switching to a disjoint selection no longer leaves stale highlights behind.

@embedpdf/core@2.15.0

Patch Changes

  • #703 by @berkayozdin – Make the precompiled Svelte output work on every Svelte 5 runtime

    Svelte 5.56 changed the exclude argument of the private rest_props runtime helper from an array (exclude.includes(key)) to a Set (exclude.has(key)). The */svelte entry points ship precompiled component code, so output built against one side of that change throws on the other: the currently published packages fail with TypeError: exclude.has is not a function on Svelte >= 5.56, which aborts the render of every EmbedPDF Svelte component.

    The Svelte build now routes those calls through a wrapper that hands the runtime an exclude value satisfying both contracts, so one published build stays valid across the whole svelte: ">=5 <6" peer range.

@embedpdf/engines@2.15.0

@embedpdf/models@2.15.0

@embedpdf/pdfium@2.15.0

@embedpdf/plugin-annotation@2.15.0

@embedpdf/plugin-attachment@2.15.0

@embedpdf/plugin-bookmark@2.15.0

@embedpdf/plugin-capture@2.15.0

@embedpdf/plugin-commands@2.15.0

@embedpdf/plugin-document-manager@2.15.0

@embedpdf/plugin-export@2.15.0

@embedpdf/plugin-form@2.15.0

@embedpdf/plugin-fullscreen@2.15.0

@embedpdf/plugin-history@2.15.0

@embedpdf/plugin-i18n@2.15.0

@embedpdf/plugin-interaction-manager@2.15.0

@embedpdf/plugin-pan@2.15.0

@embedpdf/plugin-print@2.15.0

@embedpdf/plugin-redaction@2.15.0

@embedpdf/plugin-render@2.15.0

@embedpdf/plugin-rotate@2.15.0

@embedpdf/plugin-scroll@2.15.0

@embedpdf/plugin-search@2.15.0

@embedpdf/plugin-signature@2.15.0

@embedpdf/plugin-spread@2.15.0

@embedpdf/plugin-stamp@2.15.0

@embedpdf/plugin-thumbnail@2.15.0

@embedpdf/plugin-tiling@2.15.0

@embedpdf/plugin-ui@2.15.0

@embedpdf/plugin-view-manager@2.15.0

@embedpdf/plugin-viewport@2.15.0

@embedpdf/plugin-zoom@2.15.0

@embedpdf/utils@2.15.0

@embedpdf/react-pdf-viewer@2.15.0

@embedpdf/snippet@2.15.0

@embedpdf/svelte-pdf-viewer@2.15.0

@embedpdf/vue-pdf-viewer@2.15.0