Repository navigation
build(deps): Bump preact from 10.29.8 to 11.0.0 - #15
Open
dependabot[bot] wants to merge 2 commits into
Open
dependabot[bot] wants to merge 2 commits into
dependabot[bot] wants to merge 2 commits into
Conversation
commit: |
Owner
|
@dependabot rebase |
Bumps [preact](https://github.com/preactjs/preact) from 10.29.8 to 11.0.0. - [Release notes](https://github.com/preactjs/preact/releases) - [Commits](preactjs/preact@10.29.8...11.0.0) --- updated-dependencies: - dependency-name: preact dependency-version: 11.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/preact-11.0.0
branch
from
October 5, 2026 16:33
bb6dcd0 to
7b008ca
Compare
Preact 11 changes two things the @astro-devtools/ui primitives relied on, which failed the lint job's typecheck: - The `JSX` namespace keeps only what TypeScript needs, so `Caption` and `Row` take `HTMLAttributes` from `preact` itself, as the upgrade guide prescribes. - `a`, `input`, and `select` are now typed as unions that tie `role` to `href`, `type`, or `multiple`, and a plain `Omit` merges the members into props the element no longer accepts. `Select` and `TextInput` omit per member through a new `DistributiveOmit`; `ExternalLink` takes the props of an anchor with an `href`, whose `role` is limited to the ones a link may take, and renders its inert anchor as a branch of its own. Raise the ui package's preact peer range to ^11.0.0 with the catalog: `ExternalLinkProps` needs Preact 11's anchor union. The runtime changes need no code change: no style object relies on `px` suffixing, nothing uses `defaultProps`, `replaceNode`, or `Component.base`, and passive effect cleanups, now run after paint, still run before the next passive effects. @astrojs/preact 6.0.5 and @storybook/preact 10.6.1, the latest stable releases, still declare preact ^10 peers; the unit, story, and e2e tests pass on 11 regardless. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012x3zpvVAKSijmM99gm94UM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps preact from 10.29.8 to 11.0.0.
Release notes
Sourced from preact's releases.
... (truncated)
Commits
e6ec2daMerge pull request #5266 from preactjs/11.0.00e84b2cMerge branch 'main' into 11.0.0553b3feMerge pull request #5286 from preactjs/JoviDeCroock/compat-extract-52690ebd1b6Make PureComponent tree-shakeable and fix the _unmounted mangle collisiondb5d280Merge pull request #5285 from gengjiawen/fix/rethrown-boundary-errorfa56ccefix: pass errors rethrown by componentDidCatch to the next real boundary1485848Merge pull request #5281 from preactjs/JoviDeCroock/compat-element-props-ref1dcda7dMerge branch 'main' into JoviDeCroock/compat-element-props-refed6d8cbMerge pull request #5283 from preactjs/JoviDeCroock/hydrate-any-childc2cbc3eApply suggestion from@JoviDeCroock