Skip to content

chore(deps): bump preact from 10.28.3 to 10.28.4 in /embed#46

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/embed/preact-10.28.4
Closed

chore(deps): bump preact from 10.28.3 to 10.28.4 in /embed#46
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/embed/preact-10.28.4

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 24, 2026

Bumps preact from 10.28.3 to 10.28.4.

Release notes

Sourced from preact's releases.

10.28.4

Fixes

Performance

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Feb 24, 2026
@netclode
Copy link

netclode bot commented Feb 24, 2026

Dependency Update Review: preact 10.28.3 → 10.28.4

Update Summary

Dependency Old Version New Version Bump Type
preact 10.28.3 10.28.4 Patch

What Changed in preact 10.28.4

Bug Fix:

  • Fixed crash when a synchronous effect render unmounts the tree (#5026) — edge case where calling render(null) inside a useEffect would cause a crash

Size Optimizations (internal):

  • forEachsome pattern throughout hooks and diff code for smaller bundle size
  • Consolidated conditionals in diff logic
  • Refactored renderComponent to check _dirty flag inside condition block

All changes are internal implementation details — no public API changes, no signature changes, no behavioral changes to documented functionality.

Codebase Impact Analysis

Files using preact:

File Usage Risk
embed/src/index.tsx:1 render from 'preact' None — public API unchanged
embed/src/components/App.tsx:1 useCallback, useEffect, useState None — hooks API unchanged
embed/src/components/CommentForm.tsx:1 useEffect, useState None
embed/src/components/Comment.tsx:1 useState None
embed/src/components/GitHubLoginButton.tsx:1 useCallback None

The codebase uses only public preact APIs. None of the internal changes affect this usage. The bug fix addresses an edge case (unmounting tree from within an effect) that this codebase doesn't exercise.

CI Status

Workflow Status
Tests ✅ Passed
Build ✅ Passed
Lint ✅ Passed

Local Verification

✓ 69 tests passed (5 test files)
✓ Build succeeded (46.13 kB → 13.95 kB gzipped)

Verdict: Safe to merge

This is a low-risk patch update containing only internal optimizations and an edge-case bug fix. No breaking changes, no API modifications, all tests pass.

Bumps [preact](https://github.com/preactjs/preact) from 10.28.3 to 10.28.4.
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](preactjs/preact@10.28.3...10.28.4)

---
updated-dependencies:
- dependency-name: preact
  dependency-version: 10.28.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/embed/preact-10.28.4 branch from 836b47c to ccbefe3 Compare March 3, 2026 09:21
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 16, 2026

Superseded by #76.

@dependabot dependabot bot closed this Mar 16, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/embed/preact-10.28.4 branch March 16, 2026 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

0 participants