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

build(deps): bump leptos_meta from 0.5.7 to 0.6.5 #50

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 5, 2024

Bumps leptos_meta from 0.5.7 to 0.6.5.

Release notes

Sourced from leptos_meta's releases.

0.6.5

This fixes a few bugs that have popped up since 0.6. For general 0.6 release notes, see here.

What's Changed

Full Changelog: leptos-rs/leptos@v0.6.4...v0.6.5

0.6.4

This fixes a few bugs that have popped up since 0.6.3. For general 0.6 migration notes, see here.

What's Changed

Full Changelog: leptos-rs/leptos@v0.6.3...v0.6.4

0.6.3

This is release for our new server functions rewrite and Axum 0.7 support. This should be a relatively feature-rich release, with limited breaking changes.

Migration

Actix

  • You can remove any explicit .handle_server_fns() call in your main.rs, as server functions are now handled in .leptos_routes()
  • The current extract function has been removed, and replaced with a new extract that has the same API as the current extractor. I think this API is strictly better, but please share feedback if you disagree.

Axum

  • This release supports Axum 0.7, so you'll need to migrate from Axum 0.6. The easiest way to do this is probably to consult the diff on one of the examples. (Note that along with Axum 0.7, you'll need to update to http 1.0 and tower_http 0.5.)
  • You can remove any explicit .handle_server_fns() call in your main.rs, as server functions are now handled in .leptos_routes()
  • The current extract function has been removed, and replaced with a new extract that has the same API as the current extractor. I think this API is strictly better, but please share feedback if you disagree.
  • RequestParts has been removed, as http::request::Parts now implements Clone: any use_context::<RequestParts>() should be updated to use Parts directly instead.

ServerFnError::new()

The addition of custom error types means that constructing ServerFnError inside server functions can cause type inference errors:

let oops = Err(ServerFnError::ServerError("No server state".to_string()));
return oops;  // this is fine
oops? // this is not: cannot infer type of the type parameter `E` declared on the enum `ServerFnError`

As a result, we've added a helper ServerFnError::new which simply constructs a ServerFnError::<NoCustomError>::ServerError:

let oops = Err(ServerFnError::new("No server state"));
return oops;  // this is fine
oops? // this is also fine now
</tr></table> 

... (truncated)

Commits
  • f1bc734 0.6.5
  • f71b4aa feat: easily create custom server fn clients (#2247)
  • a834c03 fix: bug with Actix redirects (#2246)
  • 5950135 0.6.4
  • 8b1bd1a Merge pull request #2240 from leptos-rs/err-serialization
  • 6ef1531 example: file upload with streaming progress bar (#2242)
  • 9f14062 chore: update deprecated .remove() method on IndexSet
  • 1f6a892 fix: serialization error during SSR on ServerFnError
  • 0ff1e27 fix: correctly track source in create_local_resource (#2238)
  • c6096cc chore: define edtion = "2021" in rustfmt.toml (#2235)
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [leptos_meta](https://github.com/leptos-rs/leptos) from 0.5.7 to 0.6.5.
- [Release notes](https://github.com/leptos-rs/leptos/releases)
- [Commits](leptos-rs/leptos@v0.5.7...v0.6.5)

---
updated-dependencies:
- dependency-name: leptos_meta
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 5, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 20, 2024

Looks like leptos_meta is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Feb 20, 2024
@dependabot dependabot bot deleted the dependabot/cargo/leptos_meta-0.6.5 branch February 20, 2024 10:58
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.

0 participants