Skip to content

Bump: Bump fabric from 6.6.1 to 7.4.0 in /frontend#27

Closed
dependabot[bot] wants to merge 84 commits into
devfrom
dependabot/npm_and_yarn/frontend/dev/fabric-7.4.0
Closed

Bump: Bump fabric from 6.6.1 to 7.4.0 in /frontend#27
dependabot[bot] wants to merge 84 commits into
devfrom
dependabot/npm_and_yarn/frontend/dev/fabric-7.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 6, 2026

Copy link
Copy Markdown
Contributor

Bumps fabric from 6.6.1 to 7.4.0.

Release notes

Sourced from fabric's releases.

Version 7.4.0

Security notice

FIxes CVE-2026-44311

What's Changed

New Contributors

Full Changelog: fabricjs/fabric.js@v731...v740

Version 7.3.1

What's Changed

Same as 7.3.0 but fixed publishing issues

Full Changelog: fabricjs/fabric.js@v730...v731

Version 7.3.0

In this release we changed from Rollup to Rolldown, this also changed the minifier. If you notice some bug with your built app please report it.

New Contributors

... (truncated)

Changelog

Sourced from fabric's changelog.

[7.4.0]

  • feat(): Support viewport rotation in getZoom, dimensions, and control coords #10977
  • fix(): Fix typecheck from security advisory merge #10973
  • fix(svg): sanitize unsafe css during SVG export CVE-2026-44311 and CWE-79, CWE-116
  • chore(deps-dev): bump rolldown from 1.0.0-rc.12 to 1.0.0-rc.16 #10966
  • chore(deps-dev): bump postcss from 8.5.8 to 8.5.12 #10972
  • chore(deps-dev): bump es-toolkit from 1.45.1 to 1.46.0 #10971
  • chore(deps-dev): bump the vitest group with 4 updates #10968
  • ci(dependabot): group vite-related npm updates #10967
  • chore(deps-dev): bump oxfmt from 0.42.0 to 0.45.0 #10964
  • chore(): fix non functional typos #10949
  • chore(): update major eslint to 10 #10956
  • ci(): Fix for publishing action #10962

[7.3.1]

  • ci(): fix the package version #10961
  • ci(): inline npm publish workflow and add manual dispatch #10960
  • ci(): Change permission model and declaration to help with OSSF scorecard. #10959
  • docs(): Revise security vulnerability reporting process #10955
  • ci(): pin workflow dependencies for scorecard hardening #10954
  • ci(): tighten workflow permissions for scorecard hardening #10953
  • feat(): Update cron schedule for scorecard workflow #10952

[7.3.0]

  • Version 7.3.0 #10951
  • fix(cropping): keep ghost scaling controls anchored on flipped images #10943
  • chore(deps): bump canvas from 3.2.2 to 3.2.3 #10940
  • chore(deps-dev): bump serialize-javascript from 7.0.4 to 7.0.5 in the npm_and_yarn group across 1 directory #10936
  • refactor(tests): Migrate to official vitest API for custom snapshot matchers #10937
  • refactor(test): fix dead assertions in Shadow.spec.ts #10932
  • chore(): update typescript to 6 #10935
  • chore(deps): update devDependencies to latest versions #10929
  • chore(deps-dev): bump picomatch from 2.3.1 to 2.3.2 in the npm_and_yarn group across 1 directory #10928
  • chore(deps): bump canvas from 3.2.1 to 3.2.2 #10926
  • refactor(tests): consolidate rectangle creation using makeRect #10923
  • test(e2e): stabilize drag and drop event snapshots #10918
  • ci(): harden privileged workflow_run actions #10922
  • ci(): fix SonarCloud PR changed-lines coverage #10921
  • refactor(tests): remove coverage merge step #10913
  • chore(): remove leftover babel dep #10914
  • chore(deps-dev): bump inquirer from 12.10.0 to 13.3.2 #10909
  • chore(deps): bump canvas from 3.2.0 to 3.2.1 #10906
  • chore(deps-dev): bump es-toolkit from 1.40.0 to 1.45.1 #10907
  • refactor(tests): remove coverage collection from playwright #10912
  • ci(): fix sonarqube lcov path after artifact download #10910
  • ci(): Try to enable sonarqube cloud for coverage reporting #10903
  • docs(agents): add repo AGENTS guide and PR skill #10900

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for fabric since your current version.

Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


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)

crzykidd added 30 commits May 19, 2026 20:24
Deps: qrcode[pil]>=8.0 and python-barcode>=0.15 added to pyproject.toml —
first new runtime deps since initial skeleton; required by the template
renderer (Phase 3) for QR and barcode element generation.

Schema: CREATE TABLE IF NOT EXISTS templates (id, name unique, display_name,
label_media, canvas_json, field_schema, created_at, updated_at, deleted_at).
Idempotent migration adds field_values TEXT and batch_id TEXT to print_jobs
via PRAGMA table_info check + ALTER TABLE, since SQLite has no ADD COLUMN IF
NOT EXISTS.

Models: FieldSpec, Template, TemplateCreate, TemplateUpdate, PrintRequest,
BatchPrintRequest, BatchJobResult, BatchPrintResponse added to
labelforge.models.

Store: labelforge.templates.store — list_templates, get_template,
create_template, update_template, soft_delete, duplicate. Name validation
enforces ^[a-z0-9][a-z0-9-]*$ slug; duplicate names raise ValueError (→ 409
in routes); missing templates return None (→ 404).
… output

QR: use box_size=1 to generate the smallest natural image (1px/module), then
scale by the largest integer multiple that fits the target box with NEAREST
resampling.  Every module is guaranteed N×N pure black/white pixels — no grey
edges that the print threshold can crush.

Barcode: binarize to pure 0/255 before scaling, then NEAREST instead of
LANCZOS.  LANCZOS was introducing anti-aliased grey at bar edges; those grey
values survived the 1-bit threshold and merged adjacent bars.

Preview: introduce PRINT_THRESHOLD (70, matching convert()'s default) and
to_print_bitmap() in printer/client.py.  Both preview endpoints now apply
the same invert+threshold step as convert(), returning a pure B/W PNG that
is the exact bitmap the printer rasterizes.  print_image() passes the
constant explicitly to convert() so the single definition governs both paths.
crzykidd and others added 24 commits June 3, 2026 22:46
Compose job: iterate over docker-compose.yml / docker-compose.dev.yml (correct
filenames) with a hardened loop that skips absent files instead of failing under
bash -e. CLAUDE.md convention note updated to match.

Ruff: import order (I001) in main.py and routes/print.py; datetime.UTC (UP017)
in templates/store.py; E741 ambiguous name in printer/client.py; E501 long-line
wraps in printer/client.py, render/template.py, routes/print.py, and
routes/template_print.py. Applied ruff format across 12 files.
Add mypy (>=1.11) and types-PyYAML to the dev extra; configure
[tool.mypy] with the pydantic plugin and per-module ignore_missing_imports
overrides for unstubbed third-party libs (brother_ql, qrcode, barcode).

Fix the 11 backend type errors surfaced by enabling the check:
- render/template.py: Image.BICUBIC/NEAREST → Image.Resampling.* (Pillow 9.1+ deprecation)
- printer/client.py: hoist width_mm/length_mm declarations to avoid no-redef; guard both in _media_id_from_dims call
- history.py: assert cursor.lastrowid is not None after INSERT
- render/text.py: int() cast on textbbox pixel delta
- routes/printer.py: widen return annotation to dict | JSONResponse
- .claude/commands/release-prep.md + release-cut.md added (slash commands)
- build-and-push.yml: release:published replaces tags:v*.*.* trigger (ADR 2026-06-05)
- .gitignore: un-ignore .claude/commands/ so slash commands are tracked
- CLAUDE.md: Release process (operational rules) section pasted verbatim; Build Status block added
- standards.md: release-prep-and-cut @ 1.0.0 registered
- README.md: version line + What's New section added; status blurb updated
- docs/decisions.md: ADR for publish trigger reconciliation
- CHANGELOG.md: adoption entry added; stale [version] template header removed
- pyproject.toml bumped to 0.1.0
- CHANGELOG: rolled [Unreleased] → [0.1.0] — 2026-06-06
- README: version badge + What's New entry, Status updated
- CLAUDE.md: Build Status block updated (Last shipped v0.1.0)
Add a scrub() helper and apply it to the user-influenced values that reach
log calls flagged by CodeQL py/log-injection: the history job_id path param
and the requested label media on media-mismatch warnings.
…cept)

Add explanatory comments to the shutdown-task cancellation and malformed-payload
handlers, and log the best-effort printer-socket close at debug instead of pass.
…tack-trace-exposure)

Log the StatusUnavailable exception server-side and return a generic message
instead of str(exc) in the GET /api/printer/status error body.
Bumps [fabric](https://github.com/fabricjs/fabric.js) from 6.6.1 to 7.4.0.
- [Release notes](https://github.com/fabricjs/fabric.js/releases)
- [Changelog](https://github.com/fabricjs/fabric.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fabricjs/fabric.js/commits)

---
updated-dependencies:
- dependency-name: fabric
  dependency-version: 7.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jun 6, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, javascript. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@crzykidd

crzykidd commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Superseded by commit 6973cef on dev — this update was rolled into a single tested dependency-bump commit (backend + frontend majors verified locally: ruff/mypy 2.x/pytest, tsc/vite build, and a headless fabric 7 round-trip). Closing; the stale base predates the v0.1.0 squash so this branch can't be merged cleanly.

@crzykidd crzykidd closed this Jun 7, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 7, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@crzykidd crzykidd deleted the dependabot/npm_and_yarn/frontend/dev/fabric-7.4.0 branch June 7, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant