You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
We noticed that there's a few unpleasant scenario's that could form from this change, we wanted to be on the safe side here and revert this for the time being. if you run into issues with swapping components placement wise in a list use the key property.
Fixes
Add missing space in hydration mismatch message (#4602, thanks @sirreal)
Types
fix max and min type definition to allow number (#4598, thanks @devlux)
Move per-element type interfaces into core and more strictly type IntrinsicElements (#4546, thanks @rschristian)
This adds per-element typings for every DOM-node type, this means that our types might become slightly stricter when you are using DOM attributes/properties where they are not allowed, an example of this might be <div src="x" />.
If you notice any issues when upgrading tell us about them, we can evaluate whether we have missed a case.
Recreate unkeyed functional components when they change position. (#4550, thanks @JoviDeCroock)
This is a long time bugfix, when we have elements that look like
Next steps: Take a moment to review the security alert
above. Review the linked package source code to understand the potential
risk. Ensure the package is not malicious before proceeding. If you're
unsure how to proceed, reach out to your security team or ask the Socket
team for help at [email protected].
Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/[email protected]. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
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.
This PR contains the following updates:
10.19.2→10.28.3Release Notes
preactjs/preact (preact)
v10.28.3Compare Source
Fixes
Maintenance
_original(#4989, thanks @JoviDeCroock)v10.28.2Compare Source
Fixes
v10.28.1Compare Source
Fixes
v10.28.0Compare Source
Types
Fixes
commpat/server.browserentry (#4941 & #4940, thanks @marvinhagemeister)Performance
v10.27.3Compare Source
Fixes
v10.27.2Compare Source
Types
Fixes
v10.27.1Compare Source
Performance
Types
Fixes
.renderproperty referencing original render function (#4870, thanks @upupming).typeproperty referencing original component (#4869, thanks @upupming)Maintenance
v10.27.0Compare Source
Features
refcallbacktype to reflect possibility of returning cleanup function and add debug helper exports (#4860, thanks @rschristian)Fixes
Maintenance
v10.26.10Compare Source
Fixes
v10.26.9Compare Source
Fixes
test-utilsfrom compat by @rawrmonstar in #4783styleobject value inprecompiletransform by @marvinhagemeister in #4795precompiletransform by @marvinhagemeister in #4798Maintenance
browserslistby @rschristian in #4785v10.26.8Compare Source
Fixes
v10.26.7Compare Source
Types
nameto<details>(#4766, thanks @marvinhagemeister)Improvements
Maintenance
v10.26.6Compare Source
Fixes
Types
HTMLMediaElement.controlsListtype to string (DOMTokenList) (#4744, thanks @piotr-cz)Maintenance
v10.26.5Compare Source
Types
hydrateRootreturn type (#4735, thanks @plesiecki)Fixes
Maintenance
v10.26.4Compare Source
Fixes
v10.26.3Compare Source
Fixes
Types
onBeforeToggleevent handler type (#4694, thanks @lukewarlow)closedbytypes (#4693, thanks @lukewarlow)fetchPrioritytoimg(#4713, thanks @JoviDeCroock)AllHTMLAttributesinterface (#4706, thanks @rschristian)Maintenance
.d.tsfiles (#4698, thanks @rschristian)v10.26.2Compare Source
This is a hotfix release! If you are encountering bundling issues with regards to unallowed
importsyntax, this will fix it!Fixes
Maintenance
v10.26.1Compare Source
Fixes
Optimization
Maintenance
v10.26.0Compare Source
Features
Fixes
_hasScuFromHooksmangle (#4645, thanks @rschristian)Types
HTMLPropsto extend all known props (#4651, thanks @rschristian)ComponentPropstype (#4634, thanks @rschristian)genericaria role from types (#4610, thanks @rschristian)FowardRefRenderFunctiontype to compat (#4675, thanks @rschristian)Maintenance
v10.25.4Compare Source
Types
Fixes
v10.25.3Compare Source
Fixes
Types
v10.25.2Compare Source
Notable
Revert unkeyed no-search (#4604, thanks @JoviDeCroock)
We noticed that there's a few unpleasant scenario's that could form from this change, we wanted to be on the safe side here and revert this for the time being. if you run into issues with swapping components placement wise in a list use the
keyproperty.Fixes
Types
Performance
Maintenance
v10.25.1Compare Source
Fixes
Types
defaultValueproperty types for inputs, selects, & textareas (#4585, thanks @rschristian)typeattribute (#4582, thanks @rschristian)createElement&htypes (#4578, thanks @rschristian)href&hreflangattribute types (#4575, thanks @rschristian)datetimeon<del>as optional (#4570, thanks @marvinhagemeister)maxandminproperties on input element types (#4568, thanks @rschristian)ElementReftype to compat (#4557, thanks @rschristian)Maintenance
declare globalfrom internal types (#4583, thanks @rschristian)v10.25.0Compare Source
Features
Move per-element type interfaces into core and more strictly type IntrinsicElements (#4546, thanks @rschristian)
This adds per-element typings for every DOM-node type, this means that our types might become slightly stricter when you are using DOM attributes/properties where they are not allowed, an example of this might be
<div src="x" />.If you notice any issues when upgrading tell us about them, we can evaluate whether we have missed a case.
Recreate unkeyed functional components when they change position. (#4550, thanks @JoviDeCroock)
This is a long time bugfix, when we have elements that look like
We would reuse the state of the first VNode to render the second one when the condition switches. When you are using
key, this issue was not present.Support
{ handleEvent() {} }object interface as a listener (#4538, thanks @lilnasy)We've added support for attaching object/class event-handlers
Fixes
Maintenance
Signalishhelper to reduce verbosity (#4545, thanks @rschristian)react/iframe-missing-sandbox(#4533, thanks @DonIsaac)v10.24.3Compare Source
Fixes
Performance
Maintenance
v10.24.2Compare Source
Performance
Types
Maintenance
v10.24.1Compare Source
Fixes
Types
spellChecktype (#4497, thanks @rschristian)Maintenance
v10.24.0Compare Source
Features
Fixes
Types
AnyComponenttype to support classes (#4479, thanks @rschristian)Maintenance
v10.23.2Compare Source
Fixes
Types
Maintenance
v10.23.1Compare Source
Fixes
v10.23.0Compare Source
Features
This adds support for returning a function in functional refs, example
Fixes
Types
Maintenance
v10.22.1Compare Source
Fixes
Types
Reftype. (#4403, thanks @maxbrieiev)preact-render-to-string(#4395, thanks @Austaras)Maintenance
globalThisoverwindowif available (#4401, thanks @marvinhagemeister)Performance
v10.22.0Compare Source
Features
Types
Maintenance
Fixes
<button>and<a>(#4376, thanks @rschristian)<tr>as a child of<table>(#4375, thanks @rschristian)compat/clientfor IE11 support (#4372, thanks @rschristian)v10.21.0Compare Source
Features
Fixes
ReactCurrentDispatcher(#4342, thanks @rschristian)Types
Maintenance
v10.20.2Compare Source
Fixes
oldDomis present in the DOM (#4318, thanks @JoviDeCroock)Types
Maintenance
v10.20.1Compare Source
Fixes
v10.20.0Compare Source
Features
Fixes
v10.19.7Compare Source
Types
Fixes
v10.19.6Compare Source
tl;dr: This release contains bug fixes for incorrect ordering of unkeyed children.
Fixes
nullplaceholders using skewed index (#4290, thanks @andrewiggins)Full Changelog: preactjs/preact@10.19.5...10.19.6
v10.19.5Compare Source
Fixes
Types
v10.19.4Compare Source
Fixes
Types
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 was generated by Mend Renovate. View the repository job log.