New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency preact to v10.22.0 #823
base: master
Are you sure you want to change the base?
Conversation
fee7e4c
to
3b3f62f
Compare
3b3f62f
to
9926027
Compare
9926027
to
0c2dcc9
Compare
7f200d0
to
6333660
Compare
6333660
to
ae6c12b
Compare
ae6c12b
to
50c2921
Compare
50c2921
to
26008a4
Compare
34a185e
to
97adc90
Compare
97adc90
to
770df2a
Compare
770df2a
to
b23d6df
Compare
b23d6df
to
5d7e119
Compare
5d7e119
to
2cd89a7
Compare
2cd89a7
to
e0d98a7
Compare
e0d98a7
to
52170c9
Compare
2c09c40
to
3b5e2f4
Compare
3b5e2f4
to
c2ee8db
Compare
c2ee8db
to
6eef279
Compare
ae3e444
to
a105fb5
Compare
a105fb5
to
e9d0885
Compare
e9d0885
to
554cfe0
Compare
554cfe0
to
ad343a3
Compare
ad343a3
to
bfff386
Compare
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: yarn.lock
|
bfff386
to
5a0dc8a
Compare
5a0dc8a
to
19ce1d8
Compare
19ce1d8
to
5421ca8
Compare
5421ca8
to
f08e2f3
Compare
f08e2f3
to
9225311
Compare
|
This PR contains the following updates:
10.7.1
->10.22.0
Release Notes
preactjs/preact (preact)
v10.22.0
Compare Source
Features
Types
Maintenance
Fixes
compat/client
for IE11 support (#4372, thanks @rschristian)v10.21.0
Compare Source
Features
Fixes
ReactCurrentDispatcher
(#4342, thanks @rschristian)Types
Maintenance
v10.20.2
Compare Source
Fixes
oldDom
is present in the DOM (#4318, thanks @JoviDeCroock)Types
Maintenance
v10.20.1
Compare Source
Fixes
v10.20.0
Compare Source
Features
Fixes
v10.19.7
Compare Source
Types
Fixes
v10.19.6
Compare Source
tl;dr: This release contains bug fixes for incorrect ordering of unkeyed children.
Fixes
null
placeholders using skewed index (#4290, thanks @andrewiggins)Full Changelog: preactjs/preact@10.19.5...10.19.6
v10.19.5
Compare Source
Fixes
Types
v10.19.4
Compare Source
Fixes
Types
Maintenance
v10.19.3
Compare Source
Bug Fixes
MathML
types (#4214, thanks @fekete965)onInput
,onBeforeInput
andonSubmit
(#4226, #4220, thanks @marvinhagemeister)Maintenance
v10.19.2
Compare Source
Fixes
Maintenance
v10.19.1
Compare Source
Fixes
Types
children
optional inProvider
's typings (#4205, thanks @shicks)v10.19.0
Compare Source
Features
Fixes
Performance
diffProps
function (#4200, thanks @andrewiggins)Types
v10.18.2
Compare Source
Types
contentEditable
attribute values (#4163, thanks @shoonia)elementTiming
attribute/property (#4165, thanks @shoonia)exportparts
global attribute (#4164, thanks @shoonia)Fixes
Improvements
_nextDom
field on VNodes (#4166, thanks @andrewiggins)===
to==
in a few places where not needed (#4157, thanks @rschristian)Maintenance
v10.18.1
Compare Source
Fixes
v10.18.0
Compare Source
Features
Types
SetStateAction
&PropsWithoutRef
types to compat (#4132, thanks @rschristian)HTMLProps
to compat (#4117, thanks @rschristian)Fixes
role
attribute when it'snull
orundefined
(#4137, thanks @DAreRodz)Maintenance
v10.17.1
Compare Source
Fixes
gotpointercapture
andlostpointercapture
events (#4096, thanks @rschristian)Types
Maintenance
v10.17.0
Compare Source
Features
isElement
function in preact/compat (#4041, thanks @cbbfcd)isFragment
function in preact/compat (#4042, thanks @cbbfcd)Types
ComponentChild
asReactNode
in the preact/compat types (#4077, thanks @rschristian)Fixes
Maintenance
main
(#4069, thanks @marvinhagemeister)v10.16.0
Compare Source
Improved child diffing
We have noticed a few scenario's where children would get unmounted and remounted eagerly due to some offset bugs in our child-diffing, with skew-based diffing we plan to address those. This is already part of v11 and has been introduced there by @andrewiggins. This has now been backported to Preact X so we can benefit from the consistency improvements here as well.
Defer setting refs
We used to set refs as part of the children, synchronously this caused several issues when a ref would go down a level, i.e. the following example
In this example when we go from phase 1 to phase 2 we would mount a new ref but only after we bubble back up diffing clean up the outer ref making the ref reset to null.
Fixes
Types
v10.15.1
Compare Source
Fixes
Types
v10.15.0
Compare Source
Revert
fixes
Types
ForwardRefExoticComponent
andRefAttributes
types in compat (#3996, thanks @rschristian)<dialog>
's close & cancel events (#4017, thanks @rschristian)v10.14.1
Compare Source
Fixes
v10.14.0
Compare Source
Features
Fixes
Types
indeterminate
's SignalLike type (#3971, thanks @rschristian)Maintenance
useImperativeHandle
(#3960, thanks @andrewiggins)v10.13.2
Compare Source
Performance
Maintenance
v10.13.1
Compare Source
Bug Fixes
Performance
Maintenance
v10.13.0
Compare Source
Features
Bug Fixes
<textarea>
with value prop (#3891, thanks @andrewiggins)currentComponent
(#3908, thanks @JoviDeCroock)10.12.1
from #3889 which could lead to a state not updating after a context update was enqueued (#3906, thanks @JoviDeCroock)Types
indeterminate
property (#3837, thanks @rschristian)MemoExoticComponent
type inpreact/compat
(#3898, thanks @rschristian)v10.12.1
Compare Source
Bug Fixes
width
orheight
attribute not working correctly (#3888, thanks @JoviDeCroock)createContext
update being blocked byshouldComponentUpdate
(#3889, thanks @marvinhagemeister)v10.12.0
Compare Source
Features
Bug Fixes
Typings
EventHandler<...>
to have athis
of typevoid
. (#3867, thanks @MicahZoltu)parent
in render functions. (#3863, thanks @MicahZoltu)Maintenance
preact-cli
(#3816, thanks @rschristian)v10.11.3
Compare Source
Bug Fixes
default
export for compatibility with esbuild (#3783, thanks @Verseth)useId
uniqueness with shared parents + DOM nodes in between (#3773, thanks @marvinhagemeister)Object.is
in useSyncExternalStore (#3776, thanks @zalishchuk)Maintenance
v10.11.2
Compare Source
Bug Fixes
setState
order (#3763, thanks @JoviDeCroock)useId
when Fragments are involved (#3758, thanks @marvinhagemeister)Types
<input>
elements (#3764, thanks @mwszekely)v10.11.1
Compare Source
Bug Fixes
compat/package.json
(#3755, thanks @akselander)"types"
field forpreact/debug
(#3732, thanks @marvinhagemeister)_mask
property always has the same name in distributed version (#3721, thanks @JoviDeCroock)v10.11.0
Compare Source
10.11.0
New Hook: useId
Today we are announcing a new hook:
useId
. This hook creates stable unique identifiers that are consistent between server-side rendering (using preact-render-to-string) and client-side hydration. TheuseId()
hook is primarily useful for generating identifiers for attributes likearia-labelledby
and<label for="...">
.To enable
useId()
to generate consistent unique identifiers, please ensure you are using preact-render-to-string version 5.2.4 or newer for server-side rendering.(#3583, thanks @JoviDeCroock)
Fixes
_parent
,_dom
and__hooks
after unmount (#3709, thanks @JoviDeCroock)ref
property could be omitted from reused VNodes (#3696, thanks @JoviDeCroock)errorInfo
touseErrorBoundary
callback (#3689, thanks @marvinhagemeister)class | className
(#3711, thanks @PodaruDragos)Maintenance
render()
'sreplaceNode
argument (#3700, thanks @rschristian)createElement()
andh()
calls (#3690, thanks @JoviDeCroock)v10.10.6
Compare Source
types
v10.10.5
Compare Source
fixes
v10.10.4
Compare Source
Fixes
v10.10.3
Compare Source
Fixes
v10.10.2
Compare Source
Fixes
useSyncExternalStore
relying on changed render values (#3655, thanks @JoviDeCroock)v10.10.1
Compare Source
Bug Fixes
radix-ui
which enqueues multiple state updates in the same tick (#3645, thanks @JoviDeCroock )useSyncExternalStore
not working with function values (#3633, thanks @marvinhagemeister )Maintenance
esbuild
(#3630, thanks @marvinhagemeister )v10.10.0
Compare Source
Feature
We changed our debounce of our rendering to setTimeout!
Why? We've batched using microtasks for the past few major versions because it benchmarked well. This had a side-effect of flushing batched renders between event handlers, which can cause some strange behavior:
An additional benefit of this change is that code causing an infinite rendering loop will no longer result in an unresponsive browser tab. Rendering in a loop is now capped to the browser's maximum timer frequency (~250Hz), which makes it possible to pause and debug the code triggering an accidental loop.
v10.9.0
Compare Source
Feature
We are adding support for the newly added React 18 hooks (apart from
useId
) (#3568, thanks @JoviDeCroock)FIxes
v10.8.2
Compare Source
Enhancements
Fixes
undefined
inuseMemo
after skipped render (#3580, thanks @marvinhagemeister)useMemo
return value after skipped render (#3579, thanks @marvinhagemeister)Improvements
_pendingValue
tomangle.json
(#3575, thanks @marvinhagemeister)v10.8.1
Compare Source
v10.8.0
Compare Source
Features
Maintenance
v10.7.3
Compare Source
Improvements
server.browser.js
(#3544, thanks @JoviDeCroock)textPath
SVG type (#3546, thanks @backmeupplz)v10.7.2
Compare Source
Improvements
Configuration
📅 Schedule: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.