bump MSRV to 1.84.0 and use resolver 3#3900
Conversation
|
Visit the preview URL for this PR (updated for commit 581e143): https://yew-rs--pr3900-bump-msrv-1-84-resol-gksj7dsb.web.app (expires Mon, 25 Aug 2025 19:47:45 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
There was a problem hiding this comment.
this looks like a regression, I'll check
Benchmark - coreYew MasterPull Request |
There was a problem hiding this comment.
This looks like a regression
| = help: the trait `HasProp<int, _>` is not implemented for `AssertAllProps`, which is required by `AssertAllProps: AllPropsFor<ChildPropertiesBuilder, _>` | ||
| = help: the trait `HasProp<int, _>` is not implemented for `AssertAllProps` | ||
| = help: the following other types implement trait `HasProp<P, How>`: | ||
| `CheckChildContainerPropertiesAll<B>` implements `HasProp<P, &dyn HasProp<P, How>>` | ||
| `CheckChildPropertiesAll<B>` implements `HasProp<P, &dyn HasProp<P, How>>` | ||
| `CheckChildrenPropsAll<B>` implements `HasProp<P, &dyn HasProp<P, How>>` | ||
| `CheckContextProviderPropsAll<B>` implements `HasProp<P, &dyn HasProp<P, How>>` | ||
| `CheckHtmlInPropsPropertiesAll<B>` implements `HasProp<P, &dyn HasProp<P, How>>` | ||
| `HasChildContainerPropertieschildren<B>` implements `HasProp<P, &dyn HasProp<P, How>>` | ||
| `HasChildContainerPropertieschildren<B>` implements `HasProp<_ChildContainerProperties::children, HasChildContainerPropertieschildren<B>>` | ||
| `HasChildPropertiesint<B>` implements `HasProp<P, &dyn HasProp<P, How>>` | ||
| and $N others |
There was a problem hiding this comment.
this too is no good
| = help: the trait `HasProp<_ChildContainerProperties::children, _>` is not implemented for `AssertAllProps`, which is required by `AssertAllProps: AllPropsFor<ChildContainerPropertiesBuilder, _>` | ||
| = help: the trait `HasProp<_ChildContainerProperties::children, _>` is not implemented for `AssertAllProps` | ||
| = help: the following other types implement trait `HasProp<P, How>`: | ||
| `CheckChildContainerPropertiesAll<B>` implements `HasProp<P, &dyn HasProp<P, How>>` | ||
| `CheckChildPropertiesAll<B>` implements `HasProp<P, &dyn HasProp<P, How>>` | ||
| `CheckChildrenPropsAll<B>` implements `HasProp<P, &dyn HasProp<P, How>>` | ||
| `CheckContextProviderPropsAll<B>` implements `HasProp<P, &dyn HasProp<P, How>>` | ||
| `CheckHtmlInPropsPropertiesAll<B>` implements `HasProp<P, &dyn HasProp<P, How>>` | ||
| `HasChildContainerPropertieschildren<B>` implements `HasProp<P, &dyn HasProp<P, How>>` | ||
| `HasChildContainerPropertieschildren<B>` implements `HasProp<_ChildContainerProperties::children, HasChildContainerPropertieschildren<B>>` | ||
| `HasChildPropertiesint<B>` implements `HasProp<P, &dyn HasProp<P, How>>` | ||
| and $N others |
Benchmark - SSRYew MasterDetails
Pull RequestDetails
|
Size ComparisonDetails
✅ None of the examples has changed their size significantly. |
|
I determined the suddenly verbose type suggestions shouldn't be worried about. As a context, the old diagnostics were generated by 1.78 compiler and the new ones 1.84, neither of which should pick up the I think 1.84 has gotten "better" at suggestions (worse for us). The verbosity will go away for any yew users on 1.85+ anyways. With the MSRV raised, this diagnostics regression will only affect the unmeasurable set of yew users on 1.84 |
|
Seems all fine! Imma merg' it! |
resolver 3 is rust version aware and this will stop dependabot from suggesting us with crates with rust version requirements that are too high. 1.84 is the minimum rust version to opt-in resolver 3. When we later upgrade to edition 2024, resolver 3 will be the default.
Major changes
Documentation Updates