Run parent effects when child throws (#2794, thanks @sventschui)
Typings
Fix memo function types definition (#2793, thanks @dzhykaiev)
10.5.4
tl;dr: Bug-Fix only release that should get rid of the last className edge cases. We encourage everyone to upgrade.
Despite our effort to account for all edge cases regarding className handling in preact/compat, we got some reports of some missed ones. This release corrects those :tada:
This release contains a fix to increase compatibility with next.js that ensures that the error overlay will show up.
Bug Fixes
Emit error event for errors handled by an error boundary (#2784, thanks @sventschui)
Fix className descriptors on Element vnodes (#2786, thanks @developit)
Fix publishing error with jsx-runtime package (#2767, thanks @johakr)
10.5.0 - JSX Reloaded
New JSX-runtime functions
This has been a long time in the making for various virtual-dom based frameworks. Historically JSX was always transpiled to createElement function calls.
// input
</tr></table>
... (truncated)
Commits
9443406 Merge pull request #2800 from preactjs/release-10.5.5
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@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)
Bumps preact from 10.0.3 to 10.5.5.
Release notes
Sourced from preact's releases.
... (truncated)
Commits
9443406
Merge pull request #2800 from preactjs/release-10.5.54845f48
Release 10.5.526b93cd
Merge pull request #2796 from preactjs/suspense-reset-hoooksa679795
golf some bytes0c1182d
correctly cleanup effectsdad1281
cleanup effects0eac2f9
reset hooks state when suspense triggersc7a7253
#2792 fix memo fn types definition (#2793)5a387ad
Merge pull request #2794 from preactjs/bugfix/execute-parent-use-effects-when...961ef10
Run parent effects when child throwsDependabot 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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)