4 hours ago
embed-pdf-viewer

Release v2.4.1

@embedpdf/engines@2.4.1

Patch Changes

  • #434 by @bobsingor – Fixed memory leak where image encoder workers were never terminated when the engine was destroyed:

    • Added optional destroy() method to ImageDataConverter interface for resource cleanup
    • Updated createWorkerPoolImageConverter and createHybridImageConverter to attach destroy() that terminates the encoder worker pool
    • Updated PdfEngine.destroy() to call imageConverter.destroy?.() to clean up encoder workers

    Previously, each viewer instance would leave 2 encoder workers running after destruction.

@embedpdf/snippet@2.4.1

Patch Changes

  • #434 by @bobsingor – Fixed memory leak in EmbedPdfContainer where Preact components were not unmounted on disconnect:

    • Added render(null, this.root) in disconnectedCallback() to properly unmount Preact components
    • This triggers the cleanup chain: plugin destroy, engine destroy, and worker termination

    Previously, navigating between pages would leave workers running (1 PDFium + 2 encoder workers per viewer instance).

@embedpdf/core@2.4.1

@embedpdf/models@2.4.1

@embedpdf/pdfium@2.4.1

@embedpdf/plugin-annotation@2.4.1

@embedpdf/plugin-attachment@2.4.1

@embedpdf/plugin-bookmark@2.4.1

@embedpdf/plugin-capture@2.4.1

@embedpdf/plugin-commands@2.4.1

@embedpdf/plugin-document-manager@2.4.1

@embedpdf/plugin-export@2.4.1

@embedpdf/plugin-fullscreen@2.4.1

@embedpdf/plugin-history@2.4.1

@embedpdf/plugin-i18n@2.4.1

@embedpdf/plugin-interaction-manager@2.4.1

@embedpdf/plugin-pan@2.4.1

@embedpdf/plugin-print@2.4.1

@embedpdf/plugin-redaction@2.4.1

@embedpdf/plugin-render@2.4.1

@embedpdf/plugin-rotate@2.4.1

@embedpdf/plugin-scroll@2.4.1

@embedpdf/plugin-search@2.4.1

@embedpdf/plugin-selection@2.4.1

@embedpdf/plugin-spread@2.4.1

@embedpdf/plugin-thumbnail@2.4.1

@embedpdf/plugin-tiling@2.4.1

@embedpdf/plugin-ui@2.4.1

@embedpdf/plugin-view-manager@2.4.1

@embedpdf/plugin-viewport@2.4.1

@embedpdf/plugin-zoom@2.4.1

@embedpdf/utils@2.4.1

@embedpdf/react-pdf-viewer@2.4.1

@embedpdf/svelte-pdf-viewer@2.4.1

@embedpdf/vue-pdf-viewer@2.4.1

4 hours ago
astro

astro@6.0.0-beta.7

Minor Changes

  • #14888 4cd3fe4 Thanks @OliverSpeir! - Updates astro add cloudflare to better setup types, by adding ./worker-configuration.d.ts to tsconfig includes and a generate-types script to package.json

  • #15349 a257c4c Thanks @ascorbic! - Passes collection name to live content loaders

    Live content collection loaders now receive the collection name as part of their parameters. This is helpful for loaders that manage multiple collections or need to differentiate behavior based on the collection being accessed.

    export function storeLoader({ field, key }) {
      return {
        name: 'store-loader',
        loadCollection: async ({ filter, collection }) => {
          // ...
        },
        loadEntry: async ({ filter, collection }) => {
          // ...
        },
      };
    }

Patch Changes

  • #15394 5520f89 Thanks @florian-lefebvre! - Fixes a case where using the Fonts API with netlify dev wouldn't work because of query parameters

  • #15385 9e16d63 Thanks @matthewp! - Fixes content layer loaders that use dynamic imports

    Content collection loaders can now use await import() and import.meta.glob() to dynamically import modules during build. Previously, these would fail with "Vite module runner has been closed."

  • #15386 a0234a3 Thanks @OliverSpeir! - Updates astro add cloudflare to use the latest valid compatibility_date in the wrangler config, if available

  • #15362 dbf71c0 Thanks @jcayzac! - Fixes inferSize being kept in the HTML attributes of the emitted <img> when that option is used with an image that is not remote.

  • Updated dependencies [240c317]:

    • @astrojs/internal-helpers@0.8.0-beta.0
    • @astrojs/markdown-remark@7.0.0-beta.4
4 hours ago
astro

@astrojs/node@10.0.0-beta.1

Patch Changes

  • Updated dependencies [240c317]:
    • @astrojs/internal-helpers@0.8.0-beta.0
4 hours ago
astro

@astrojs/netlify@7.0.0-beta.6

Patch Changes

  • Updated dependencies [240c317]:
    • @astrojs/internal-helpers@0.8.0-beta.0
    • @astrojs/underscore-redirects@1.0.0
4 hours ago
astro

@astrojs/vercel@10.0.0-beta.1

Patch Changes

  • Updated dependencies [240c317]:
    • @astrojs/internal-helpers@0.8.0-beta.0
4 hours ago
astro

@astrojs/markdown-remark@7.0.0-beta.4

Patch Changes

  • Updated dependencies [240c317]:
    • @astrojs/internal-helpers@0.8.0-beta.0
4 hours ago
astro

@astrojs/preact@5.0.0-beta.3

Patch Changes

  • #15383 876b664 Thanks @matthewp! - Fixes Preact components failing to render when using the Cloudflare adapter in dev mode.
4 hours ago
astro

@astrojs/mdx@5.0.0-beta.4

Patch Changes

  • Updated dependencies []:
    • @astrojs/markdown-remark@7.0.0-beta.4
4 hours ago
astro

create-astro@5.0.0-beta.3

Patch Changes

  • #15344 9d87f77 Thanks @matthewp! - Fixes a hang that could occur when the npm registry is slow or unresponsive by adding a 10 second timeout to the version check

  • #15350 d758b68 Thanks @matthewp! - Errors when --add and --no-install flags are used together, as --add requires dependencies to be installed

4 hours ago
astro

@astrojs/sitemap@3.6.1-beta.3

Patch Changes