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

Bump preact from 10.11.0 to 10.11.1 #661

Closed
wants to merge 3 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 10, 2022

Bumps preact from 10.11.0 to 10.11.1.

Release notes

Sourced from preact's releases.

10.11.1

Bug Fixes

Commits
  • b25fd03 Merge pull request #3756 from preactjs/release-10.11.1
  • 19374b3 Release 10.11.1
  • 820bff3 Merge pull request #3755 from akselander/chore/compat/add-package
  • 4362700 refactor(curb): remove format specifiers
  • b5d589c chore(compat): add package.json to exports
  • 284a8b0 remove _nextDom resetting as it collides with nested fragment switching (#3738)
  • d30a0ed Avoid synchronously adding setState callbacks (#3743)
  • dfd45aa Merge pull request #3747 from preactjs/signals-type
  • eeb5d6c Support signal values for html + svg attributes
  • 32163d0 Merge pull request #3741 from preactjs/bugfix-nested-unmount
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 10, 2022
Bumps [preact](https://github.com/preactjs/preact) from 10.11.0 to 10.11.1.
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](preactjs/preact@10.11.0...10.11.1)

---
updated-dependencies:
- dependency-name: preact
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/preact-10.11.1 branch from 7b39dd0 to 8cfcafb Compare October 10, 2022 18:42
Both Overlay and the HTML details element accept an `open` prop. This used to be
`boolean|undefined` in both cases, so there was no conflict. In the latest
Preact update however all HTML attributes have gained the ability to accept
signals as well as raw values. This means the types of Overlay's `open` and JSX
`open` no longer align.
Several components accepted arbitrary `<input>` props as props. The type for
these props was specified as `JSX.HTMLAttributes<HTMLInputElement>`. TypeScript
looks up the props using `JSX.IntrinsicElements[$tag_name]` [1].  For all element
types other than `<input>`, these two types are the same. In the latest Preact
update, `<input>` is a special snowflake and these two types have a different
`defaultValue` attribute.

[1] https://www.typescriptlang.org/docs/handbook/jsx.html#intrinsic-elements
@codecov
Copy link

codecov bot commented Oct 13, 2022

Codecov Report

Merging #661 (04fa263) into main (8b097e7) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #661   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           51        51           
  Lines          631       631           
  Branches       226       226           
=========================================
  Hits           631       631           
Impacted Files Coverage Δ
src/components/Checkbox.js 100.00% <ø> (ø)
src/components/TextInput.js 100.00% <ø> (ø)
src/components/feedback/SpinnerOverlay.js 100.00% <ø> (ø)
src/components/input/Checkbox.js 100.00% <ø> (ø)
src/components/input/Input.js 100.00% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@robertknight
Copy link
Member

I pushed a couple of changes to fix conflict with the latest Preact updates. The problems were related to a change to make almost all HTML attributes accept signals as well as raw values. This resulted in a conflict with the open prop of one component, and <input> is a special snowflake for some reason. I think the issue with <input> may be a mistake in Preact. I pinged the developers to ask.

@robertknight
Copy link
Member

The issue with <input> is apparently an oversight, see preactjs/preact#3764. We could ignore this update for now and wait for the next patch/minor release.

@lyzadanger
Copy link
Contributor

The issue with <input> is apparently an oversight, see preactjs/preact#3764. We could ignore this update for now and wait for the next patch/minor release.

I think I'd prefer this (wait), as the type changes required to work around the current patch are rather inscrutable.

@lyzadanger lyzadanger closed this Oct 13, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 13, 2022

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/preact-10.11.1 branch October 13, 2022 18:36
@robertknight
Copy link
Member

robertknight commented Oct 15, 2022

The issue with <input> types was indeed fixed in the next Preact update: https://github.com/preactjs/preact/releases/tag/10.11.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants