DBCDK / dk5

DK5 Digital
GNU Affero General Public License v3.0
0 stars 0 forks source link

Update preact to the latest version 🚀 #633

Closed greenkeeper[bot] closed 6 years ago

greenkeeper[bot] commented 6 years ago

Version 8.3.0 of preact was just published.

Dependency preact
Current Version 8.2.7
Type dependency

The version 8.3.0 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.

It might be worth looking into these changes and trying to get this project onto the latest version of preact.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes 8.3.0

New Features!

🙌 We've added support for the new getDerivedStateFromProps() and getSnapshotBeforeUpdate() lifecycle hooks. (#1094 & #1112). A huge thank-you to @andrewiggins and @marvinhagemeister for their amazing work on this!

Improvements

  • We're shipping .mjs now! (#1165, thanks @mathiasbynens for the nudge)
  • Fix an issue where setState() could mutate state in-place (#1170, thanks @Mitranim for the fix and @dandv for digging into the Apollo issue!)
  • spellcheck={false} is now set as an attribute (#1110, thanks @marvinhagemeister!)
  • Some code golfing to offset the new lifecycle methods (#1122, thanks @andrewiggins, @marvinhagemeister)
  • A little perf/size tweak for render callbacks (#1113, thanks @valotas)
  • Someone found dead code in Preact! awesome. (#890, thanks @MrErHu & @clarkdo)
  • We've dropped IE9 and IE10 from our SauceLabs tests (thanks @mkxml!)

    Note: Preact will continue to support these browsers (that is to say, continue to avoid relying on features they don't support), but recent updates to Mocha mean our tests don't run there. Special thanks to @mkxml, @andrewiggins, @k1r0s and @marvinhagemeister for working to improve the test suite in this release!

TypeScript Improvements!

  • Add support for specifying the types of a component's children (#1116, thanks @Alexendoo)
  • Add on*Capture event handler attributes and PointerEvents to the TS definitions (#1101 #1102, thanks @jakearchibald)
  • Improve render()'s return type (#1085, thanks @valotas)
  • Add controlsList attribute for media elements (#1134, thanks @wayou)
Commits

The new version differs by 176 commits.

  • 8dea9cc 8.3.0
  • 7cbaa2a Save 30b by removing sharding from the component recycler. It was actually slightly hurting performance in everything but PhantomJS.
  • 013c060 Merge pull request #1175 from feross/patch-1
  • 17f6d09 Add BitMidi; add link to Play.cash repo
  • 5410c7e Merge pull request #1170 from Mitranim/master
  • 576c891 getDerivedStateFromProps now creates new versions instead of mutating state
  • ea932dd setState now creates new versions instead of mutating state
  • b8a117a Use .mjs extn for module entry & strip comments (#1166)
  • 5ed8e08 Change dist module extension to .mjs and strip comments. Fixes #1165
  • 9febcaf Merge pull request #1163 from andrewiggins/prev-props-and-state-uts
  • c10d705 Remove TODO
  • b2582ef Simplify tests by removing log concept
  • 899aa6e Separate testing new props and new state
  • 3ab0f4d Add gDSFP params test
  • 4c5b361 Add nextState, etc. test for shouldComponentUpdate

There are 176 commits in total.

See the full diff

FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

greenkeeper[bot] commented 6 years ago

Version 8.3.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 7 commits.

  • fa9d3d2 8.3.1
  • 1a86137 Fix for #1186
  • cc1e7db test case for #1186
  • fe76b79 Merge pull request #1184 from goodrone/fix-readme-PWA-demo-link
  • 4f847ee Fix link to Preact PWA demo
  • db91cc1 Merge pull request #1183 from cromefire/patch-1
  • b8d927b Added more parents as option to render()

See the full diff

fvsdbc commented 6 years ago

Closed