-
Notifications
You must be signed in to change notification settings - Fork 107
Update dependency preact to v10 #632
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
Closed
Closed
Conversation
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
0088f9e
to
02ae72e
Compare
613be22
to
656d4f2
Compare
656d4f2
to
5c9f40f
Compare
5c9f40f
to
d6ea594
Compare
d6ea594
to
8fb3f8a
Compare
8fb3f8a
to
8e91544
Compare
8e91544
to
868f222
Compare
868f222
to
c27a7f5
Compare
c27a7f5
to
ce1c489
Compare
ce1c489
to
064ba36
Compare
064ba36
to
a2b99fc
Compare
a2b99fc
to
fba73ba
Compare
fba73ba
to
704e503
Compare
704e503
to
79668a4
Compare
79668a4
to
0dce8ea
Compare
f80f09c
to
e8221a3
Compare
e8221a3
to
71ab349
Compare
71ab349
to
7555af3
Compare
7555af3
to
60aae97
Compare
60aae97
to
12db8eb
Compare
12db8eb
to
ed20bf5
Compare
ed20bf5
to
0e233b0
Compare
0e233b0
to
20a9e2c
Compare
20a9e2c
to
3543f28
Compare
3543f28
to
9f78386
Compare
9f78386
to
4ef17f9
Compare
4ef17f9
to
57ac078
Compare
57ac078
to
f67fabe
Compare
Breaks tests |
Renovate Ignore NotificationAs this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 10.x releases. However, if you upgrade to 10.x manually then Renovate will reenable minor and patch updates automatically. If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened. |
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.
This PR contains the following updates:
8.5.3
->10.6.4
Release Notes
preactjs/preact
v10.6.4
Compare Source
Due to a bug in the build of 10.6.3 we're republishing this was discovered in Astro
v10.6.3
Compare Source
Fixes
Maintenance
v10.6.2
Compare Source
Fixes
v10.6.1
Compare Source
Fixes
Maintenance
v10.6.0
Compare Source
Types
Fixes
Maintenance
v10.5.15
Compare Source
Fixes
Types
focusin
&focusout
to type definitions (#3257, thanks @boarwell)onBeforeInput
attribute to type definitions (#3256, thanks @boarwell)Maintenance
v10.5.14
Compare Source
Features
flushSync
(#3094, thanks @zephraph)Bug Fixes
react-spring
error caused by augmented function contexts (#3165, thanks @developit)Array.prototype.slice.call
for children arguments (#3143, thanks @fzzle)vnodeId
generation (#2978, thanks @developit)children
ifnull
is provided as an argument (#3091, thanks @clyfish)Size
i
to reduce size (-32b) (#3193, thanks @liuarui)Typings
undefined
initializer case foruseState
type (#3185, thanks @rschristian)deno
compatible (#3079, thanks @lucacasonato)event.this
to benever
(#3147, thanks @JoviDeCroock)lazy
to reflect behavior (#3139, thanks @JonasKruckenberg)forwardRef
(#3144, thanks @cmlenz)useRef
typing to includeundefined
when called without initial value (#3056, thanks @cmlenz)Maintenance
karma-esbuild
to support M1 chips (#3153, thanks @marvinhagemeister)performance.now
(#3130, thanks @developit)v10.5.13
Compare Source
Bug Fixes
tabIndex
(#3062 + #3064, thanks @marvinhagemeister)compat/server
(#3059 + #3061, thanks @marvinhagemeister)bigint
numbers (#3010, thanks @marvinhagemeister)Types
decoding
attribute (#3054, thanks @sumanthratna)SVGFEFunc
types (#3043, thanks @rschristian)Maintenance
options.unmount
instead of overridingcomponent.componentWillUnmount
(#2919, thanks @tanhauhau)v10.5.12
Compare Source
This release includes an enhancement to our devtools integration. Via a babel plugin you can get more readable hook names to show up in devtools instead of dozens of
useState
hooks in devtools. Check out https://github.com/preactjs/babel-plugin-transform-hook-names for more information.Before:
After:
Bug Fixes
defaultValue
not applied when value==null/undefined
(#2957, thanks @marvinhagemeister)Maintenance
console.logs
(#2959, thanks @marvinhagemeister)v10.5.11
Compare Source
📈 Bug Fixes
contentEditable
tofalse
(#2938, #2939 thanks @marvinhagemeister + @developit)compat/jsx-dev-runtime
missing in package (#2931, thanks @marvinhagemeister)⛳ Code golfing
createElement
instead of justis
[-5b] (#2943, thanks @developit)xlink:
(#2939, thanks @developit)🛠️ Maintenance
react
topreact/compat
(#2946, thanks @marvinhagemeister)workflow_dispatch
and restructure branch trigger (#2933, thanks @andrewiggins)v10.5.10
Compare Source
Bug Fixes
contentEditable
throwing when set to undefined/null (#2927, thanks @marvinhagemeister)jsx-dev-runtime
package entry (#2920, thanks @sventschui)Suspense
(#2917, thanks @andrewiggins)Maintenance
Portal
test not cleaning up container (#2925, thanks @marvinhagemeister)sinon
dependencies to fix IE11 Promise error (#2922, thanks @marvinhagemeister)karma
benchmarks not compiling (#2914, thanks @marvinhagemeister)babel-loader
(#2911, thanks @andrewiggins)v10.5.9
Compare Source
Happy New Year to everyone 🎉 Let's kick of the year with a few welcome bug fixes regarding
preact/compat
👍Bug Fixes
memo
(#2896, thanks @andrewiggins)Maintenance
v10.5.8
Compare Source
This is probably the last release for 2020. Thank you everyone for the amazing contributions over the year and we can't wait to see where Preact is going in 2021! Lot's of interesting ideas are being worked on 🎉
Bug Fixes
_nextDom
pointer if it is being unmounted (#2889, thanks @andrewiggins)/compat/server
exports to work with import/export syntax and webpack 5 (#2873, thanks @SomethingSexy)useMemo
/useCallback
hooks (#2870, thanks @afzalsayed96)VNode
type (#2855, thanks @andrewiggins)ref
not being removed fromprops
withjsx-runtime
(#2840, thanks @marvinhagemeister)onchange
tooninput
forinput[type=range]
in IE11 (#2817, thanks @gcraftyg)Types
JSDoc
comments (#2883, thanks @andrewiggins)CSSStyleDeclaration
for CSS property list (#2869, thanks @developit)readonly
attribute (#2868, thanks @rschristian)defaultValue
for select tag (#2848, thanks @Rafi993)_original
typings (#2830, thanks @marvinhagemeister)csstype
from version 2 to version 3 (#2829, thanks @bz2)Other
vnode
re-use detection (-2 B) (#2863, thanks @marvinhagemeister)diffChildren
(#2813, thanks @JoviDeCroock)Maintenance
createRoot
API (#2866, thanks @andrewiggins)FUNDING.yml
(#2861, thanks @JoviDeCroock)devDependencies
(#2856, thanks @andrewiggins)v10.5.7
Compare Source
compat/jsx-runtime
missing in npm package (#2827, thanks @marvinhagemeister)v10.5.6
Compare Source
Bug Fixes
jsx-runtime
work when using an alias (#2805, thanks @JoviDeCroock)Types
animateTransform
tag type (#2822, thanks @HuHguZ)displayName
to context (#2820, thanks @max-voronov)style
attribute types (#1797, thanks @mnkhouri)jsx-runtime
, fixes TS4.1 compatibility (#2811, thanks @ddprrt)ref
types' current property non-optional (#2803, thanks @ivantm)Maintenance
vnode
reference and golf implementation (#2517, thanks @JoviDeCroock)v10.5.5
Compare Source
Bug Fixes
Suspense
triggers (#2796, thanks @JoviDeCroock)Typings
v10.5.4
Compare Source
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 inpreact/compat
, we got some reports of some missed ones. This release corrects those 🎉This release contains a fix to increase compatibility with next.js that ensures that the error overlay will show up.
Bug Fixes
className
descriptors on Elementvnodes
(#2786, thanks @developit)className
overclass
(#2782, thanks @JoviDeCroock)v10.5.3
Compare Source
This release fixes a regression in regards to
class/className
handling inpreact/compat
. We encourage everyone to upgrade.Bug Fixes
className
normalization (#2774, thanks @JoviDeCroock)Promises
in Suspense (#2776, thanks @kitten)Maintenance
check-export-map
(#2777, thanks @marvinhagemeister)v10.5.2
Compare Source
jsx-runtime
(#2769, thanks @marvinhagemeister)v10.5.1
Compare Source
jsx-runtime
package (#2767, thanks @johakr)v10.5.0
Compare Source
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.While this has served us well and is very reliable, it has proven to be hard to optimize. Most of the things we do in our
createElement
function could by done by babel directly, thereby making it smaller and faster. This is very desirable for us as this function is called a lot in any application. It's part of the so-called hot-path.And that's exactly what the new signature does. It removes the need for us to pull out key from
props
, add backchildren
to props and just makes the implementation simpler. As a nice benefit users won't need to manually importh/createElement
anymore 🎉Usage with babel:
Note that the JSX transformer in TypeScript is a work in progress and will likely be released as part of version 4.1. We're currently running into microsoft/TypeScript#40502 though, so the JSX typings are not found.
Features
jsx-runtime
support (#2764, thanks @JoviDeCroock, @marvinhagemeister)Bug Fixes
0
(#2757, thanks @marvinhagemeister)contenteditable
(#2701, thanks @sventschui)style
(#2723, thanks @JoviDeCroock)Maintenance
_suspended
(#2765, thanks @marvinhagemeister)v10.4.8
Compare Source
tl;dr: A good handful of bug fixes make this release the ideal candidate to upgrade! Should be very safe to upgrade
Thanks to all the people who made this release possible! This is for everyone who took part in our discussions, helped report issues, did code contributions or just spread the word. Thank you all for another amazing release 🙌
Golfing
Bug Fixes
readonly
in update fn (#2717, thanks @marvinhagemeister)preact/debug
(#2711, thanks @marvinhagemeister)undefined
instead ofnull
inpreact/compat
(#2695, thanks @aralroca)react-relay
(#2692, thanks @marvinhagemeister)href
on nullish value (#2693, thanks @marvinhagemeister)undefined
as default value foruseRef
(#2689, thanks @marvinhagemeister)preact/debug
: Add component stack to prop type validation error, do not pass ref to prop-types validation (fixes mui incompatbility) (#2685, thanks @sventschui)Typings
dom
lib (#2713, thanks @Gerrit0)useDebugValue
typings to align with React (#2699, thanks @leader22)useErrorBoundary
compat types (#2631, thanks @38elements)IntrinsicElements
inComponentProps
(#2680, thanks @remcohaszing)Maintenance
CONTRIBUTING.md
(#2702, thanks @marvinhagemeister)v10.4.7
Compare Source
tl;dr: This is a bug-fix only release and safe to upgrade 🎉
This release contains some amazing fixes by first time contributors! Thank you so much for everyone who filed issues or contributed PRs ❤️
Bug Fixes
download
attribute handling (#2674, thanks @marvinhagemeister)diffElementNodes
(#2658, thanks @perseveringman)useRef
tonull
(#2648, thanks @JoviDeCroock)setState
inconstructor
(#2640, thanks @sventschui)Types
useRef
to optional (#2651, thanks @38elements)capture
definition. (#2643, thanks @JonathanBristow)preact/compat
types (#2628, thanks @jeremy-coleman)Maintenance
package.json
"authors" field (#2635, thanks @developit)v10.4.6
Compare Source
tl;dr: This is a bug-fix only release and safe to upgrade 🎉
We've landed some very anticipated fixes and therefore thought to cut a new release not soon after 🙌
Bug Fixes
children
if they'renull
in suspense (#2570, thanks @sventschui)textarea
doesn't reset state (#2615, thanks @JoviDeCroock)null
toforwardRef
(#2600, thanks @JoviDeCroock)Typings
strokeMiterlimit
accept a number as well (#2620, thanks @lfamorim)feDropShadow
definition (#2609, thanks @Somnid)Maintenance
LICENSE
files and fix submodule names (#2611, thanks @hbroer)CONTRIBUTING.md
(#2603, thanks @futantan)v10.4.5
Compare Source
This is a bugfix-only release and updating is seamless. We encourage everyone to do so 👍
Bug Fixes
Suspense
from inadvertently modifying sharedComponent
class (#2594, thanks @andrewiggins)Fragment
edge case (#2551, thanks @JoviDeCroock)requestAnimationFrame
while cancelling effects it (#2573, thanks @Hydrophobefireman)setState
in render (#2565, thanks @jamesb3ll)forwardRef
passing object instead of null (#2567, thanks @marvinhagemeister)compat
(#2558, thanks @btk5h)useReducer
from mutating the previous returned result (#2550, thanks @JoviDeCroock)Maintenance
v10.4.4
Compare Source
This is a hotfix for today's 10.4.2 release that:
v10.4.3
Compare Source
v10.4.2
Compare Source
What a month we had! The weather is getting warmer and I think we can all enjoy a new refreshment in the form of a Preact release! The past weeks saw a good chunk of bug fixes and a bit of house keeping. Upgrades should be as straightforward as swapping out the version number in
package.json
and runningnpm install
oryarn install
once!Introducing prefresh (experimental)
It was one of those miracle days where all the pieces fell into place just perfectly: @JoviDeCroock got a HMR (=hot module reloading) prototype up without any changes to Preact and running in a couple hours! With the biggset achievement being that it works amazingly well in keeping hooks state around.
Since then he was contacted by various maintainers of bundlers to collaborate on an ideal developer experience. Today, about a little more than a week later we have them ready to be tested. And we need your feedback to make it the best HMR experience we can! Please file any issue you come across!
Snowpack template
Oh and while we were at it @sventschui added a Preact template for snowpack! You can get it up and running via this line:
Preact sightings
Recently deno cut it's 1.0.0 release which is a huge achievement. It's a new spin on what node could look like if it would have started fresh in 2019 and we're excited where this experiment will lead to! Despite it being very early it made some waves in our community and we were filled with joy when we noticed that the website is built with our beloved framework!
Bug Fixes
React.StrictMode
tocompat
(#2529, thanks @developit)useReducer
(#2526, thanks @hadeeb)IS_NON_DIMENSIONAL
for compatibility with animation-iteration-count (#2523, thanks @viko16)debug
(#2514, thanks @JoviDeCroock)hydrate
export incompat
(#2511, thanks @hadeeb)useEffect
(#2493, thanks @JoviDeCroock)Types
StrictMode
tocompat/src/index.d.ts
(#2530, thanks @38elements)loading
attribute toHTMLAttributes
TypeScript interface (#2521, thanks @gerardo-rodriguez)Maintenance
CONTRIBUTING.md
indentation (#2528, thanks @Vincent-Carrier)spy
helper (#2524, thanks @JoviDeCroock)Fragments
(#2507, thanks @andrewiggins)processingException
check (#2483, thanks @JoviDeCroock)excessDomChildren
creation (#2491, thanks @andrewiggins)js-framework-benchmark
(#2489, thanks @andrewiggins)v10.4.1
Compare Source
tl;dr: This release allows our devtools extension to inspect hooks. Apart from that it includes the usual round of bug fixes.
We have a nice little present for you and that is hooks are now fully supported in Preact Devtools 0.5.0 🎉 The extension is currently awaiting approval in browsers stores and your browser will automatically update to it in the following days.
Both @andrewiggins and @JoviDeCroock went full on bug hunting mode and got some neat fixes in! We also saw an awesome contribution from @davidje13 who found an error in our types for
memo
👍But the true star from the show is without a doubt that we finally have updated our typings to bring back the
marquee
element. @developit himself took the honors and made sure that developers can continue to use this element in their demo applications.Bug Fixes
Configuration
📅 Schedule: "on friday" in timezone America/Los_Angeles.
🚦 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 has been generated by WhiteSource Renovate. View repository job log here.