Skip to content

fix(deps): bump @huggingface/transformers from 4.2.0 to 4.3.0 - #834

Merged
d-oit merged 2 commits into
mainfrom
dependabot/npm_and_yarn/huggingface/transformers-4.3.0
Oct 2, 2026
Merged

d-oit merged 2 commits into
mainfrom
dependabot/npm_and_yarn/huggingface/transformers-4.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @huggingface/transformers from 4.2.0 to 4.3.0.

Release notes

Sourced from @​huggingface/transformers's releases.

4.3.0

🚀 Transformers.js v4.3 — Structured Output, New Models, WebGPU upgrade, Documentation Overhaul

This release adds structured output, three new model architectures, WebGPU support for Safari 26+, and a documentation overhaul. We also upgraded ONNX Runtime to the latest version.

What's new?

Structured output

Constrain generation to a JSON schema, JSON object, or regular expression with the experimental, dependency-free @huggingface/transformers-structured-output package in huggingface/transformers.js#1758.

For example, classify customer feedback into a fixed set of sentiments and topics:

import { pipeline, TextStreamer } from "@huggingface/transformers";
import { StructuredOutputProcessor } from "@huggingface/transformers-structured-output";
// Create the pipeline first so its tokenizer is available.
const generator = await pipeline(
"text-generation",
"onnx-community/LFM2.5-350M-ONNX",
{ dtype: "q4f16", device: "webgpu" },
);
const processor = new StructuredOutputProcessor(generator.tokenizer, {
type: "json_schema",
json_schema: {
type: "object",
properties: {
sentiment: { enum: ["positive", "negative", "neutral"] },
topic: { enum: ["price", "quality", "delivery", "other"] },
},
required: ["sentiment", "topic"],
additionalProperties: false,
},
});
const messages = [
{
role: "user",
content: "Classify this feedback: The product is way too expensive.",
},
];
const output = await generator(messages, {
max_new_tokens: 512,
do_sample: false,
streamer: new TextStreamer(generator.tokenizer, {
skip_prompt: true,
skip_special_tokens: true,
</tr></table>

... (truncated)

Commits


📝 Summary by GitNexus

Summary

A focused dependency metadata update with no traced execution-flow impact.

🟡 MEDIUM blast radius. A dependency version update for @​huggingface/transformers recorded in package.json and pnpm-lock.yaml, with no graph-traced dependents.

The change is limited to dependency metadata. Review package.json alongside pnpm-lock.yaml to check that the lockfile reflects the declared update.

Added by GitNexus for PR #834. Edit freely — this block is replaced on the next review, everything above it is left untouched.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 29, 2026
@vercel

vercel Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
do-knowledge-studio Ready Ready Preview, v0 Oct 2, 2026 6:26pm UTC

@dependabot dependabot Bot added the javascript Pull requests that update javascript code label Sep 29, 2026
@codacy-production

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@nexus-check

nexus-check Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor
Akon Labs

GitNexus Review · PR #834

No issues found in 2 changed files.

Summary

A focused dependency metadata update with no traced execution-flow impact.

🟡 MEDIUM blast radius. A dependency version update for @​huggingface/transformers recorded in package.json and pnpm-lock.yaml, with no graph-traced dependents.

The change is limited to dependency metadata. Review package.json alongside pnpm-lock.yaml to check that the lockfile reflects the declared update.

Full detail lives in the GitNexus check run for this commit.

@nexus-check

nexus-check Bot commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

🤖 Agent context for GitNexus Review · PR #834

This comment carries deterministic graph detail for coding agents and reviewers who want the receipts — the main review comment carries the human summary.

🟡 MEDIUM blast radius — no downstream dependents were found in the code graph; a spot-check of the dependents should cover it. (likely driven by file-risk heuristics — no direct dependents or affected modules were found)

Blast Level Dependents Modules Files
🟡 MEDIUM 0 0 2

What changed

Changed Files (2)
File Status
package.json 🟡 modified
pnpm-lock.yaml 🟡 modified

What to check

File Risk (2)
File Risk Category
package.json 🟡 MEDIUM Dependencies
pnpm-lock.yaml 🟢 LOW Lock File

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/huggingface/transformers-4.3.0 branch from 14d70a0 to 06a5d21 Compare September 29, 2026 12:08
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/huggingface/transformers-4.3.0 branch from 06a5d21 to 1c09b0d Compare September 29, 2026 13:58
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/huggingface/transformers-4.3.0 branch from 1c09b0d to 0a1fdc1 Compare September 30, 2026 09:21
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/huggingface/transformers-4.3.0 branch from 0a1fdc1 to 7f30866 Compare October 2, 2026 12:55
@d-oit

d-oit commented Oct 2, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/huggingface/transformers-4.3.0 branch from 7f30866 to 171b560 Compare October 2, 2026 18:10
Bumps [@huggingface/transformers](https://github.com/huggingface/transformers.js) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/huggingface/transformers.js/releases)
- [Commits](huggingface/transformers.js@4.2.0...4.3.0)

---
updated-dependencies:
- dependency-name: "@huggingface/transformers"
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/huggingface/transformers-4.3.0 branch from 171b560 to 0914cef Compare October 2, 2026 18:13
@github-actions

github-actions Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Blocked merge diagnosis — blocked
⏳ Check run(s) still in progress: ["Codacy Static Code Analysis","Detect Changes","Diagnose Blocked Merge State","Infrastructure as Code Security","Trivy Filesystem Security Scan","Shell Script Security Analysis","GitHub Actions Workflow Validation","Analyze (javascript-typescript)","Analyze (actions)","GitNexus"]

@d-oit
d-oit enabled auto-merge (squash) October 2, 2026 18:25
@d-oit
d-oit merged commit af55529 into main Oct 2, 2026
25 checks passed
@d-oit
d-oit deleted the dependabot/npm_and_yarn/huggingface/transformers-4.3.0 branch October 2, 2026 18:27

This branch was successfully deployed

1 active deployment
Preview — 4382760d Deployed Oct 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant