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

[Snyk] Upgrade preact from 7.2.1 to 10.0.4 #5

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

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade preact from 7.2.1 to 10.0.4.

Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 39 versions ahead of your current version.
  • The recommended version was released 12 days ago, on 2019-10-29.
Release notes
  • Package name: preact
    • 10.0.4 - 2019-10-29

      This release fixes a build issue that caused errors when using effect hooks.

    • 10.0.3 - 2019-10-29

      This release corrects an issue where a debug warning was printed incorrectly to the console, that (rightfully) confused users. So we wanted to fix that as quick as possible 👍

      Bug Fixes

      Maintenance

      • Queue layoutEffects in component render callbacks array (+0 B) (#2050, thanks @andrewiggins)
      • Separate debug tests into multiple files and fix some bugs in debug (#2047, thanks @andrewiggins)
    • 10.0.2 - 2019-10-28

      tl;dr: This is release contains mostly bug fixes and some size reductions. We encourage everyone to upgrade.

      Just a week has passed since the last release and there are already an exciting number of new commits in master. Hackoktoberfest has had really positive effects on us and we're excited to see some new contributors in this release 💯

      As you can see from the changelog: @andrewiggins is currently on a byte removing spree, so I thought it'd be appropriate to list them in their own category 🎉 A few others joined him and marie kondo'ed everything that didn't spark joy in us!

      Besides some great savings, there are new debug warnings for components and fixes for our Suspense implementation 🎉

      Features

      • Add debug warnings when calling setState or forceUpdate on an unmounted component (#2037, thanks @andrewiggins)

      Bug Fixes

      Golf (size reductions)

      • Inline coerceToVNode inside of toChildArray (-21 B) (#2040, thanks @andrewiggins)
      • Remove unused mount check in context Provider (-6 B) (#2039, thanks @andrewiggins)
      • Golfed render (#2045, thanks @MohammedSheikhIbrahim)
      • Remove useless return from eventProxy (#2026, thanks @jridgewell)
      • Rewrite useImperativeHandle to use useLayoutEffect (-35 B) (#2003, thanks @andrewiggins)
      • Re-purpose renderCallbacks as a general per-component commit queue (#2011, thanks @andrewiggins)

      Types

      • Add nonce to JSX HTMLAttributes types for better Content Security Policy support. (#2035, thanks @calvinf)
      • Remove internal import from compat types (#2018, thanks @andrewiggins)
      • Fix internal vnode typings (#2015, thanks @pmkroeker)

      Maintenance

    • 10.0.1 - 2019-10-17

      tl;dr: This is a standard bug-fix release with no new features. We encourage everyone to upgrade

      Wow, we've been overwhelmed with the reactions to our final Preact X release! We saw a huge uptick in npm downloads to 200.000 per week 🎉 Another exciting announcement is that Google AMP is officially using Preact under the hood. We've receivied many more thank you notes (and even stroopwafels!) from companies using Preact. Those range from small companies to big enterprise ones, where Preact is used in a wide span of different environments.

      We preactively allocated the weeks after the big launch for a period of bug-fixes only in case something slipped through. It was admittedly a more conservative decision after our long alpha and beta period, but we wanted to make sure that you all would have a butter smooth experience no matter what 🌠 It's safe to say that it went really well and we've only received a couple bug reports so far 🎉

      In the short amount of time that has passed since the release, we managed to squash a good portion of those! Thank you so much to everyone for reporting bugs and helping us track them down! You rock 👍 💯

      Bug Fixes

      Types

      Maintenance

    • 10.0.0 - 2019-10-01

      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 so much 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 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 period in-between. In fact we got many reports that the upgrade could be done in under an hour, despite some of the breaking changes in X, making the need for a migration release even less desirable.

      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

    • 10.0.0-rc.3 - 2019-09-10

      So uhm... just yesterday we've published RC2 and we've mentioned that it would be likely the last RC before going final. Turns out that fate had other plans. One seemingly minor change to our jsx constructor function lead to pretty weird and nasty bug depending on whether the code was run in use strict mode or not. @jviide wrote up a great summary on how this issue came to be.

      Bug Fixes

      Typings

      • Fix PureComponent not passing generic types along (#1920, thanks @amelekhin)
    • 10.0.0-rc.2 - 2019-09-09

      tl;dr: This release contains a lot of bug fixes in many areas and we encourage everyone to upgrade. We're confident that this is the last rc release before marking X as stable.

      It's time for another Preact release 🎉 We've spent the past weeks on make
      Preact as robust as we can. Most fixes are ones you all submitted to our
      tracker. This is super awesome and we wouldn't be where we are without all your
      help!

      On top of countless fixes, a few minor features found their way into the
      package like isValidElement that can be used to check if something is valid to
      render, meaning it's a valid child that was created by h/createElement.

      The test utils also received much love and we're very impressed with how quickly
      @robertknight was able to land support for async callbacks and nested calls
      to act 💯 This is useful in cases where triggering an effect or state change
      involves async steps, such as waiting for a fetch call to resolve.

      Preact Devtools are coming

      We think it'd be good to give a setSate of the union here about where we are
      with the devtools. As many of you are aware we've always depended on the
      react-devtools extension for a long time now. We were very excited to
      integrate with version 4, not just because of the new featureset, but also
      because the adapter and protocol is so much better than before.

      We got very far, but despite of all our efforts we ran into blocker issues with
      the expected order of events that need to be sent to the extension. Our
      internals differ quite a bit and after trying for weeks to get it right we
      ultimately went back to the drawing board.

      It became clear that just writing our own extension would be less resource
      intensive and would make it easier for us to maintain. It's pre-alpha right now,
      but we expect to mature in the coming weeks/month. Here is a screenshot as a
      little sneak peek:

      preact-devtools-preview-public

      Very early pre-alpha preview of preact-devtools

      We'll keep you posted! Here is the full list of changes in this release:

      Features

      Bug Fixes

      Typings

      Maintenance

    • 10.0.0-rc.1 - 2019-08-02
    • 10.0.0-rc.0 - 2019-07-11
    • 10.0.0-beta.3 - 2019-06-21
    • 10.0.0-beta.2 - 2019-05-31
    • 10.0.0-beta.1 - 2019-05-02
    • 10.0.0-beta.0 - 2019-04-17
    • 10.0.0-alpha.4 - 2019-04-05
    • 10.0.0-alpha.3 - 2019-04-02
    • 10.0.0-alpha.2 - 2019-03-14
    • 10.0.0-alpha.1 - 2019-03-07
    • 10.0.0-alpha.0 - 2019-03-04
    • 8.5.3 - 2019-11-01
    • 8.5.2 - 2019-08-18

      This release is a maintenance release and all users of the 8.x release line are encouraged to upgrade to it.

      • Fix devtools bridge not working with react devtools v4 (#1876)
    • 8.5.1 - 2019-08-08

      This is a maintenance release and fixes a minor issue with the packaging of the devtools import. All users on the 8.x release line are encouraged to upgrade.

    • 8.5.0 - 2019-08-02
    • 8.4.2 - 2018-12-07
    • 8.4.1 - 2018-12-06
    • 8.4.0 - 2018-12-06
    • 8.3.1 - 2018-08-16
    • 8.3.0 - 2018-08-05
    • 8.2.9 - 2018-04-30
    • 8.2.8 - 2018-04-26
    • 8.2.7 - 2017-12-12
    • 8.2.6 - 2017-10-24
    • 8.2.5 - 2017-08-28
    • 8.2.4 - 2017-08-24
    • 8.2.3 - 2017-08-24
    • 8.2.2 - 2017-08-24
    • 8.2.1 - 2017-07-11
    • 8.2.0 - 2017-07-11
    • 8.1.0 - 2017-04-09
    • 8.0.1 - 2017-04-06
    • 8.0.0 - 2017-04-06
    • 7.2.1 - 2017-03-24
  • from preact GitHub release notes
------------

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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

Successfully merging this pull request may close these issues.

1 participant