Skip to content
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

Update preact to the latest version 🚀 #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Oct 1, 2019

The devDependency 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

preact-x

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:

  • Fragments
  • componentDidCatch
  • preact/hooks addon
  • preact/test-utils addon
  • createContext API
  • compat moved 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

Typings

Maintenance

Commits

The new version differs by 2105 commits ahead by 2105, behind by 10.

  • 9ddc04e Release 10.0.0 (aka X) (#1960)
  • 620df71 (chore) - fix some typing issues (#1955)
  • f042d6b (chore) - prevent mangling of __source and __self (#1958)
  • 870cf60 Fix UNSAFE_* lifecycles being overwritten (#1946)
  • 0bd9f56 Golf -1 B
  • ea095da Fix UNSAFE_* lifecycles being overwritten
  • 07962d0 Merge pull request #1950 from preactjs/fix/pureComponent
  • de388d2 (fix) - make shallowDiffers take __source in account
  • 4aa291e (fix) - defaulting arguments in useState (#1948)
  • eaafa71 Change .forceUpdate() to participate in the update queue (#1939)
  • 9eba4e0 Start refactor to provider check for emit instead of SCU Consum… (#1931)
  • 6d88906 Merge branch 'master' into feat/checkForNeedToEmit
  • 8c6ac43 Adding volume to HTML Attributes (#1938)
  • 5ac8867 Remove the isConsumer flag since its not needed
  • 26a28da Try 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 🌴

greenkeeper bot added a commit that referenced this pull request Oct 17, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Oct 17, 2019

  • The devDependency preact was updated from 8.5.2 to 10.0.1.

Update to this version instead 🚀

Commits

The new version differs by 19 commits.

  • a803e68 Release 10.0.1 (#2014)
  • 81ac3c4 (fix) - resolve attributes of reused nodes that weren't present in vdom (#1987)
  • b32c12a (fix) - avoid stale closurses (#2005)
  • b46885c Properly flush nested setState callbacks (-6 B) (#2010)
  • 042208d Import and export hooks explicitly to allow for tree shaking (#2006)
  • 2f05558 Removing reference to preact-context library (#2001)
  • 5bd8f6a Remove null from VNode.type TS definition and add some TS tests (#1994)
  • cd4c42a Add _force to internal.d.ts (#1990)
  • cd64450 Reset force flag on a component basis (#1988)
  • 5c5af5a Append portal node to container instead of prepend (#1971)
  • a8c4c66 Add Songsterr to Real-World Apps section (#1972)
  • 233f4ad (fix) - should reorder memoized children (#1980)
  • 4db53a3 sCU shouldn't block forceUpdate from child (#1984)
  • 02f8473 Improve VNode typings (#1979)
  • c403d3d Fix typos (#1973)

There are 19 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Oct 28, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Oct 28, 2019

  • The devDependency preact was updated from 8.5.2 to 10.0.2.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Oct 29, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Oct 29, 2019

  • The devDependency preact was updated from 8.5.2 to 10.0.3.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Oct 29, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Oct 29, 2019

  • The devDependency preact was updated from 8.5.2 to 10.0.4.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Nov 10, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Nov 10, 2019

  • The devDependency preact was updated from 8.5.3 to 10.0.5.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Dec 9, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 9, 2019

  • The devDependency preact was updated from 8.5.3 to 10.1.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Dec 16, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 16, 2019

  • The devDependency preact was updated from 8.5.3 to 10.1.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Feb 3, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 3, 2020

  • The devDependency preact was updated from 8.5.3 to 10.3.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Feb 6, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 6, 2020

  • The devDependency preact was updated from 8.5.3 to 10.3.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Feb 15, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 15, 2020

  • The devDependency preact was updated from 8.5.3 to 10.3.2.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Mar 1, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 1, 2020

  • The devDependency preact was updated from 8.5.3 to 10.3.3.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Mar 11, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 11, 2020

  • The devDependency preact was updated from 8.5.3 to 10.3.4.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Apr 8, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 8, 2020

  • The devDependency preact was updated from 8.5.3 to 10.4.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Apr 20, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 20, 2020

  • The devDependency preact was updated from 8.5.3 to 10.4.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request May 18, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented May 18, 2020


🚨 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 devDependency preact was updated from 8.5.3 to 10.4.2.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request May 19, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented May 19, 2020


🚨 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 devDependency preact was updated from 8.5.3 to 10.4.3.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request May 19, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented May 19, 2020


🚨 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 devDependency preact was updated from 8.5.3 to 10.4.4.

Update to this version instead 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants