Skip to content

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
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 4, 2019

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
preact (source) 8.5.3 -> 10.6.4 age adoption passing confidence

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

Maintenance

v10.5.14

Compare Source

Features

Bug Fixes

Size

Typings

Maintenance

v10.5.13

Compare Source

Bug Fixes

Types

Maintenance

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:

image

After:

image

Bug Fixes

Maintenance

v10.5.11

Compare Source

📈 Bug Fixes

⛳ Code golfing

🛠️ Maintenance

v10.5.10

Compare Source

Bug Fixes

Maintenance

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

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

Types

Other

Maintenance

v10.5.7

Compare Source

v10.5.6

Compare Source

Bug Fixes

Types

Maintenance

v10.5.5

Compare Source

Bug Fixes

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 in preact/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

v10.5.3

Compare Source

This release fixes a regression in regards to class/className handling in preact/compat. We encourage everyone to upgrade.

Bug Fixes

Maintenance

v10.5.2

Compare Source

v10.5.1

Compare Source

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.

// input
<div>foobar</div>

// output, we need to move "foobar" to `props.children`
createElement("div, {}, "foobar");

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 back children to props and just makes the implementation simpler. As a nice benefit users won't need to manually import h/createElement anymore 🎉

// input
<li key="foo">foobar</li>

// output
jsx("li", { children: "foobar" }, "foo");

Usage with babel:

// babel.config.js
module.exports = {
  plugins: [
    ["@&#8203;babel/plugin-transform-react-jsx", {
      runtime: "automatic", // defaults to classic (classic == createElement calls)
      importSource: "preact", // NOT preact/jsx-runtime
    }]
  ]
}

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

Bug Fixes

Maintenance

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

Typings

Maintenance

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

Types

Maintenance

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

Typings

Maintenance

v10.4.5

Compare Source

This is a bugfix-only release and updating is seamless. We encourage everyone to do so 👍

Bug Fixes

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 running npm install or yarn 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:

npx create-snowpack-app my-project --template @&#8203;snowpack/app-template-preact

EX5IXBLXsAIVhTx

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

Types

Maintenance

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.

Screenshot from 2020-04-19 21-10-06

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.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/preact-10.x branch from 0088f9e to 02ae72e Compare October 17, 2019 18:12
@renovate renovate bot force-pushed the renovate/preact-10.x branch 4 times, most recently from 613be22 to 656d4f2 Compare November 1, 2019 17:58
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 656d4f2 to 5c9f40f Compare November 10, 2019 13:29
@renovate renovate bot changed the title Update dependency preact to v10 Update dependency preact to v10.0.5 Nov 19, 2019
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 5c9f40f to d6ea594 Compare November 20, 2019 01:07
@renovate renovate bot force-pushed the renovate/preact-10.x branch from d6ea594 to 8fb3f8a Compare December 9, 2019 18:54
@renovate renovate bot changed the title Update dependency preact to v10.0.5 Update dependency preact to v10.1.0 Dec 9, 2019
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 8fb3f8a to 8e91544 Compare December 16, 2019 19:54
@renovate renovate bot changed the title Update dependency preact to v10.1.0 Update dependency preact to v10.1.1 Dec 16, 2019
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 8e91544 to 868f222 Compare January 7, 2020 20:45
@renovate renovate bot changed the title Update dependency preact to v10.1.1 Update dependency preact to v10.2.0 Jan 7, 2020
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 868f222 to c27a7f5 Compare January 8, 2020 08:39
@renovate renovate bot changed the title Update dependency preact to v10.2.0 Update dependency preact to v10.2.1 Jan 8, 2020
@renovate renovate bot force-pushed the renovate/preact-10.x branch from c27a7f5 to ce1c489 Compare February 3, 2020 19:19
@renovate renovate bot changed the title Update dependency preact to v10.2.1 Update dependency preact to v10.3.0 Feb 3, 2020
@renovate renovate bot force-pushed the renovate/preact-10.x branch from ce1c489 to 064ba36 Compare February 6, 2020 19:57
@renovate renovate bot changed the title Update dependency preact to v10.3.0 Update dependency preact to v10.3.1 Feb 6, 2020
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 064ba36 to a2b99fc Compare February 15, 2020 13:53
@renovate renovate bot changed the title Update dependency preact to v10.3.1 Update dependency preact to v10.3.2 Feb 15, 2020
@renovate renovate bot force-pushed the renovate/preact-10.x branch from a2b99fc to fba73ba Compare March 1, 2020 18:01
@renovate renovate bot changed the title Update dependency preact to v10.3.2 Update dependency preact to v10.3.3 Mar 1, 2020
@renovate renovate bot force-pushed the renovate/preact-10.x branch from fba73ba to 704e503 Compare March 11, 2020 19:18
@renovate renovate bot changed the title Update dependency preact to v10.3.3 Update dependency preact to v10.3.4 Mar 11, 2020
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 704e503 to 79668a4 Compare April 8, 2020 11:08
@renovate renovate bot changed the title Update dependency preact to v10.3.4 Update dependency preact to v10.4.0 Apr 8, 2020
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 79668a4 to 0dce8ea Compare April 20, 2020 19:29
@renovate renovate bot changed the title Update dependency preact to v10.5.9 Update dependency preact to v10.5.10 Jan 14, 2021
@renovate renovate bot force-pushed the renovate/preact-10.x branch from f80f09c to e8221a3 Compare January 20, 2021 22:35
@renovate renovate bot changed the title Update dependency preact to v10.5.10 Update dependency preact to v10.5.11 Jan 20, 2021
@renovate renovate bot force-pushed the renovate/preact-10.x branch from e8221a3 to 71ab349 Compare January 26, 2021 22:21
@renovate renovate bot changed the title Update dependency preact to v10.5.11 Update dependency preact to v10.5.12 Jan 26, 2021
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 71ab349 to 7555af3 Compare March 14, 2021 22:47
@renovate renovate bot changed the title Update dependency preact to v10.5.12 Update dependency preact to v10.5.13 Mar 14, 2021
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 7555af3 to 60aae97 Compare March 20, 2021 11:43
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 60aae97 to 12db8eb Compare July 1, 2021 17:32
@renovate renovate bot changed the title Update dependency preact to v10.5.13 Update dependency preact to v10.5.14 Jul 1, 2021
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 12db8eb to ed20bf5 Compare October 12, 2021 09:05
@renovate renovate bot changed the title Update dependency preact to v10.5.14 Update dependency preact to v10.5.15 Oct 12, 2021
@renovate renovate bot force-pushed the renovate/preact-10.x branch from ed20bf5 to 0e233b0 Compare November 23, 2021 17:15
@renovate renovate bot changed the title Update dependency preact to v10.5.15 Update dependency preact to v10.6.0 Nov 23, 2021
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 0e233b0 to 20a9e2c Compare November 25, 2021 11:50
@renovate renovate bot changed the title Update dependency preact to v10.6.0 Update dependency preact to v10.6.1 Nov 25, 2021
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 20a9e2c to 3543f28 Compare November 29, 2021 17:41
@renovate renovate bot changed the title Update dependency preact to v10.6.1 Update dependency preact to v10.6.2 Nov 29, 2021
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 3543f28 to 9f78386 Compare December 8, 2021 16:06
@renovate renovate bot changed the title Update dependency preact to v10.6.2 Update dependency preact to v10.6.3 Dec 8, 2021
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 9f78386 to 4ef17f9 Compare December 9, 2021 22:08
@renovate renovate bot changed the title Update dependency preact to v10.6.3 Update dependency preact to v10.6.4 Dec 9, 2021
@renovate renovate bot changed the title Update dependency preact to v10.6.4 Update dependency preact to v10 Dec 14, 2021
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 4ef17f9 to 57ac078 Compare December 14, 2021 06:34
@renovate renovate bot force-pushed the renovate/preact-10.x branch from 57ac078 to f67fabe Compare December 15, 2021 21:44
@rictic
Copy link
Contributor

rictic commented Dec 15, 2021

Breaks tests

@rictic rictic closed this Dec 15, 2021
@rictic rictic deleted the renovate/preact-10.x branch December 15, 2021 22:06
@renovate
Copy link
Contributor Author

renovate bot commented Dec 15, 2021

Renovate Ignore Notification

As 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
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants