Update preact to the latest version π
The dependency preact was updated from 8.5.2 to 10.0.0.
This version is not covered by your current version range.
If you donβt accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
Publisher: marvinhagemeister License: MIT
Release Notes for Preact X - Virtuous DOM and Fragments of Suspense
tl;dr: Preact X is the next major version of Preact fully packed with features like Fragments, Hooks, componentDidCatch, Test-Utils, Debug-Warnings, many compatibility fixes and many more
It's finally happening! After months of hard work we've crossed the finish line
and are over the moon with excitement to finally mark it Preact X as stable.
We'd like to thank everybody who tested it and submitted bug reports.
We originally planned to release a sort-of migration release as version 9 with
just the breaking changes from X, but that got canned because many users
reported that the upgrade process was easy enough and didn't warrant a long
migration peried in-between. In fact we got many reports that the upgrade was
done in under an hour, despite some of the breaking changes in X, making the
need for a migration release even less useful.
What's new?
Preact X ships with several major features and we combined them all in a single document on our site. If you're
upgrading an existing Preact 8.x project, we got you covered with a detailed
upgrade guide.
To give a quick summary of the new features:
FragmentscomponentDidCatchpreact/hooksaddonpreact/test-utilsaddoncreateContextAPIcompatmoved to core- Plethora of compatibility fixes
- Many new warnings in
preact/debug - Same 3 kB size as Preact 8
Again, we highly recommend checking out our new site and specifically the what's new section.
Changes since RC 4
Bug Fixes
- Rewrite
shouldComponentUpdatehandling to take more edge cases into account (#1931, thanks @JoviDeCroock) - Fix
UNSAFE_*lifecycles being overwritten incompat(#1946, thanks @marvinhagemeister) - Fix
PureComponentrerendering when__sourcechanges (#1950, thanks @JoviDeCroock) - Fix default argument in
useStatenot applied in rare cases (#1948, thanks @JoviDeCroock) - Change
.forceUpdate()to participate in the update queue (#1939, thanks @developit) - Fix
vnode._childrenshould keep their type asarraywhen diffing (#1924, thanks @cristianbote) - Allow numeric CSS values to be 0 (e.g.
opacity) (#1927, thanks @JoviDeCroock) - Fix unnecessary rerender on equal contexts (#1925, thanks @JoviDeCroock)
Typings
- Add
disableRemotePlaybackto HTML Attributes (#1955, thanks @JoviDeCroock) - Add
volumeto HTML Attributes (#1938, thanks @jessicabyrne)
Maintenance
- Prevent mangling of
__sourceand__self(#1958, thanks @JoviDeCroock) - Add documentation on how to do releases (#1928, thanks @marvinhagemeister)
Commits
The new version differs by 2105 commits ahead by 2105, behind by 10.
9ddc04eRelease 10.0.0 (aka X) (#1960)620df71(chore) - fix some typing issues (#1955)f042d6b(chore) - prevent mangling of __source and __self (#1958)870cf60Fix UNSAFE_* lifecycles being overwritten (#1946)0bd9f56Golf -1 Bea095daFix UNSAFE_* lifecycles being overwritten07962d0Merge pull request #1950 from preactjs/fix/pureComponentde388d2(fix) - make shallowDiffers take __source in account4aa291e(fix) - defaulting arguments in useState (#1948)eaafa71Change .forceUpdate() to participate in the update queue (#1939)9eba4e0Start refactor to provider check for emit instead of SCU Consum⦠(#1931)6d88906Merge branch 'master' into feat/checkForNeedToEmit8c6ac43Adding volume to HTML Attributes (#1938)5ac8867Remove the isConsumer flag since its not needed26a28daTry to shortcircuit the sCU for Consumer
There are 250 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot :palm_tree:
- The
dependencypreact was updated from8.5.2to10.0.1.
Update to this version instead π
Commits
The new version differs by 19 commits.
a803e68Release 10.0.1 (#2014)81ac3c4(fix) - resolve attributes of reused nodes that weren't present in vdom (#1987)b32c12a(fix) - avoid stale closurses (#2005)b46885cProperly flush nested setState callbacks (-6 B) (#2010)042208dImport and export hooks explicitly to allow for tree shaking (#2006)2f05558Removing reference to preact-context library (#2001)5bd8f6aRemove null from VNode.type TS definition and add some TS tests (#1994)cd4c42aAdd _force to internal.d.ts (#1990)cd64450Reset force flag on a component basis (#1988)5c5af5aAppend portal node to container instead of prepend (#1971)a8c4c66Add Songsterr to Real-World Apps section (#1972)233f4ad(fix) - should reorder memoized children (#1980)4db53a3sCU shouldn't block forceUpdate from child (#1984)02f8473Improve VNode typings (#1979)c403d3dFix typos (#1973)
There are 19 commits in total.
See the full diff
π¨ Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! π ππ¨ π
Find out how to migrate to Snyk at greenkeeper.io
- The
dependencypreact was updated from8.5.3to10.4.2.
π¨ Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! π ππ¨ π
Find out how to migrate to Snyk at greenkeeper.io
- The
dependencypreact was updated from8.5.3to10.4.3.
π¨ Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! π ππ¨ π
Find out how to migrate to Snyk at greenkeeper.io
- The
dependencypreact was updated from8.5.3to10.4.4.
