[PR #5007] [CLOSED] chore(deps): bump @huggingface/transformers from 3.8.1 to 4.2.0 #6583

Closed
opened 2026-10-23 04:11:48 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5007
Author: @dependabot[bot]
Created: 8/14/2026
Status: ❌ Closed

Base: staging ← Head: dependabot/npm_and_yarn/staging/huggingface/transformers-4.2.0


📝 Commits (1)

  • e26fa38 chore(deps): bump @huggingface/transformers from 3.8.1 to 4.2.0

📊 Changes

2 files changed (+30 additions, -81 deletions)

View changed files

📝 packages/server/package.json (+1 -1)
📝 pnpm-lock.yaml (+29 -80)

📄 Description

Bumps @huggingface/transformers from 3.8.1 to 4.2.0.

Release notes

Sourced from @​huggingface/transformers's releases.

4.2.0

🚀 Transformers.js v4.2 — Tool calling, simpler internals, and privacy filtering

  • Added tools to TextGenerationPipeline in #1655
  • Use inputMetadata API for simplified internals in #1657
  • Add support for OpenAI privacy filter model in #1658

Full Changelog: 4.1.0...4.2.0

4.1.0

🚀 Transformers.js v4.1 — Gemma 4, KV cache improvements, and new quantization dtypes

  • Add support for Gemma 4 in #1627
  • Cached generation improvements (+ past_key_values via pipeline function) in #1638
  • Improve tokenizer types based on input function parameters in #1641
  • Add support for q1, q1f16, q2, and q2f16 data types in #1647
  • Re-enable SmolVLM in #1648
  • Update default generation parameters in #1649
  • Pin GitHub Actions to commit SHAs in #1626

Full Changelog: 4.0.0...4.1.0

4.0.1

What's new?

Full Changelog: 4.0.0...4.0.1

4.0.0

🚀 Transformers.js v4

We're excited to announce that Transformers.js v4 is now available on NPM! After a year of development (we started in March 2025 🤯), we're finally ready for you to use it.

npm i @huggingface/transformers

Links: YouTube Video, Blog Post, Demo Collection

New WebGPU backend

The biggest change is undoubtedly the adoption of a new WebGPU Runtime, completely rewritten in C++. We've worked closely with the ONNX Runtime team to thoroughly test this runtime across our ~200 supported model architectures, as well as many new v4-exclusive architectures.

In addition to better operator support (for performance, accuracy, and coverage), this new WebGPU runtime allows the same transformers.js code to be used across a wide variety of JavaScript environments, including browsers, server-side runtimes, and desktop applications. That's right, you can now run WebGPU-accelerated models directly in Node, Bun, and Deno!

We've proven that it's possible to run state-of-the-art AI models 100% locally in the browser, and now we're focused on performance: making these models run as fast as possible, even in resource-constrained environments. This required completely rethinking our export strategy, especially for large language models. We achieve this by re-implementing new models operation by operation, leveraging specialized ONNX Runtime Contrib Operators like com.microsoft.GroupQueryAttention, com.microsoft.MatMulNBits, or com.microsoft.QMoE to maximize performance.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/5007 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 8/14/2026 **Status:** ❌ Closed **Base:** `staging` ← **Head:** `dependabot/npm_and_yarn/staging/huggingface/transformers-4.2.0` --- ### 📝 Commits (1) - [`e26fa38`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e26fa3812fdf3988f28a24b3889135fcaac0038b) chore(deps): bump @huggingface/transformers from 3.8.1 to 4.2.0 ### 📊 Changes **2 files changed** (+30 additions, -81 deletions) <details> <summary>View changed files</summary> 📝 `packages/server/package.json` (+1 -1) 📝 `pnpm-lock.yaml` (+29 -80) </details> ### 📄 Description Bumps [@huggingface/transformers](https://github.com/huggingface/transformers.js) from 3.8.1 to 4.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/huggingface/transformers.js/releases">@​huggingface/transformers's releases</a>.</em></p> <blockquote> <h2>4.2.0</h2> <h1>🚀 Transformers.js v4.2 — Tool calling, simpler internals, and privacy filtering</h1> <ul> <li>Added <code>tools</code> to <code>TextGenerationPipeline</code> in <a href="https://redirect.github.com/huggingface/transformers.js/pull/1655">#1655</a></li> <li>Use <code>inputMetadata</code> API for simplified internals in <a href="https://redirect.github.com/huggingface/transformers.js/pull/1657">#1657</a></li> <li>Add support for OpenAI privacy filter model in <a href="https://redirect.github.com/huggingface/transformers.js/pull/1658">#1658</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/huggingface/transformers.js/compare/4.1.0...4.2.0">4.1.0...4.2.0</a></p> <h2>4.1.0</h2> <h1>🚀 Transformers.js v4.1 — Gemma 4, KV cache improvements, and new quantization dtypes</h1> <ul> <li>Add support for Gemma 4 in <a href="https://redirect.github.com/huggingface/transformers.js/pull/1627">#1627</a></li> <li>Cached generation improvements (+ <code>past_key_values</code> via pipeline function) in <a href="https://redirect.github.com/huggingface/transformers.js/pull/1638">#1638</a></li> <li>Improve tokenizer types based on input function parameters in <a href="https://redirect.github.com/huggingface/transformers.js/pull/1641">#1641</a></li> <li>Add support for <code>q1</code>, <code>q1f16</code>, <code>q2</code>, and <code>q2f16</code> data types in <a href="https://redirect.github.com/huggingface/transformers.js/pull/1647">#1647</a></li> <li>Re-enable SmolVLM in <a href="https://redirect.github.com/huggingface/transformers.js/pull/1648">#1648</a></li> <li>Update default generation parameters in <a href="https://redirect.github.com/huggingface/transformers.js/pull/1649">#1649</a></li> <li>Pin GitHub Actions to commit SHAs in <a href="https://redirect.github.com/huggingface/transformers.js/pull/1626">#1626</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/huggingface/transformers.js/compare/4.0.0...4.1.0">4.0.0...4.1.0</a></p> <h2>4.0.1</h2> <h2>What's new?</h2> <ul> <li>Add support for <a href="https://deepmind.google/models/gemma/gemma-4/">Gemma 4</a> in <a href="https://redirect.github.com/huggingface/transformers.js/pull/1627">#1627</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/huggingface/transformers.js/compare/4.0.0...4.0.1">4.0.0...4.0.1</a></p> <h2>4.0.0</h2> <h1>🚀 Transformers.js v4</h1> <p>We're excited to announce that Transformers.js v4 is now available on NPM! After a year of development (we started in March 2025 🤯), we're finally ready for you to use it.</p> <pre lang="sh"><code>npm i @huggingface/transformers </code></pre> <p>Links: <a href="https://www.youtube.com/watch?v=KnhppkY4gHs">YouTube Video</a>, <a href="https://huggingface.co/blog/transformersjs-v4">Blog Post</a>, <a href="https://huggingface.co/collections/webml-community/transformersjs-v4-demos">Demo Collection</a></p> <h2>New WebGPU backend</h2> <p>The biggest change is undoubtedly the adoption of a new WebGPU Runtime, completely rewritten in C++. We've worked closely with the ONNX Runtime team to thoroughly test this runtime across our ~200 supported model architectures, as well as many new v4-exclusive architectures.</p> <p>In addition to better operator support (for performance, accuracy, and coverage), this new WebGPU runtime allows the same transformers.js code to be used across a wide variety of JavaScript environments, including browsers, server-side runtimes, and desktop applications. That's right, you can now run WebGPU-accelerated models directly in Node, Bun, and Deno!</p> <!-- raw HTML omitted --> <p>We've proven that it's possible to run state-of-the-art AI models 100% locally in the browser, and now we're focused on performance: making these models run as fast as possible, even in resource-constrained environments. This required completely rethinking our export strategy, especially for large language models. We achieve this by re-implementing new models operation by operation, leveraging specialized ONNX Runtime <a href="https://github.com/microsoft/onnxruntime/blob/main/docs/ContribOperators.md">Contrib Operators</a> like <a href="https://github.com/microsoft/onnxruntime/blob/main/docs/ContribOperators.md#com.microsoft.GroupQueryAttention">com.microsoft.GroupQueryAttention</a>, <a href="https://github.com/microsoft/onnxruntime/blob/main/docs/ContribOperators.md#com.microsoft.MatMulNBits">com.microsoft.MatMulNBits</a>, or <a href="https://github.com/microsoft/onnxruntime/blob/main/docs/ContribOperators.md#com.microsoft.QMoE">com.microsoft.QMoE</a> to maximize performance.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/huggingface/transformers.js/commit/54652ba3366ccd1e3b64e689a96504309e6fb53b"><code>54652ba</code></a> [version] Update to 4.2.0</li> <li><a href="https://github.com/huggingface/transformers.js/commit/ea88f89711d6bda68c707d8ac97caf118895ddd1"><code>ea88f89</code></a> Add support for OpenAI privacy filter model (<a href="https://redirect.github.com/huggingface/transformers.js/issues/1658">#1658</a>)</li> <li><a href="https://github.com/huggingface/transformers.js/commit/b93766d739e71259bca71f2a4d5f9f1fba0e3373"><code>b93766d</code></a> Use inputMetadata API for simplified internals (<a href="https://redirect.github.com/huggingface/transformers.js/issues/1657">#1657</a>)</li> <li><a href="https://github.com/huggingface/transformers.js/commit/6eaf11a07b33a47f18d25a60f5fc0cbd2269634f"><code>6eaf11a</code></a> Added <code>tools</code> to <code>TextGenerationPipeline</code> (<a href="https://redirect.github.com/huggingface/transformers.js/issues/1655">#1655</a>)</li> <li><a href="https://github.com/huggingface/transformers.js/commit/ca10e4d15fdbd00447131b45e45951fcc66b2bed"><code>ca10e4d</code></a> [version] Update to 4.1.0</li> <li><a href="https://github.com/huggingface/transformers.js/commit/fbab88f6499b53b98715c406d86b50878b1254b3"><code>fbab88f</code></a> Update default generation parameters (<a href="https://redirect.github.com/huggingface/transformers.js/issues/1649">#1649</a>)</li> <li><a href="https://github.com/huggingface/transformers.js/commit/39bec702b638dad9fe49d6fabdfcf25d865acaad"><code>39bec70</code></a> Re-enable SmolVLM (<a href="https://redirect.github.com/huggingface/transformers.js/issues/1648">#1648</a>)</li> <li><a href="https://github.com/huggingface/transformers.js/commit/78d4ec3d7593094de0da7be52f0b12237f148e9a"><code>78d4ec3</code></a> chore: bump doc-builder SHA for PR upload workflow (<a href="https://redirect.github.com/huggingface/transformers.js/issues/1644">#1644</a>)</li> <li><a href="https://github.com/huggingface/transformers.js/commit/fdd496e976be0d5cfde205d991ced9997261cef1"><code>fdd496e</code></a> Add support for q1, q1f16, q2, q2f16 data types (<a href="https://redirect.github.com/huggingface/transformers.js/issues/1647">#1647</a>)</li> <li><a href="https://github.com/huggingface/transformers.js/commit/ed84c15f1425801b8d77445e018d3388d77acb49"><code>ed84c15</code></a> Improve tokenizer types based on input function parameters (<a href="https://redirect.github.com/huggingface/transformers.js/issues/1641">#1641</a>)</li> <li>Additional commits viewable in <a href="https://github.com/huggingface/transformers.js/compare/3.8.1...4.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@huggingface/transformers&package-manager=npm_and_yarn&previous-version=3.8.1&new-version=4.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:11:48 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#6583
No description provided.