-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update leptos requirement from 0.6.13 to 0.7.0 #90
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Updates the requirements on [leptos](https://github.com/leptos-rs/leptos) to permit the latest version. - [Release notes](https://github.com/leptos-rs/leptos/releases) - [Commits](leptos-rs/leptos@v0.6.13...v0.7.0) --- updated-dependencies: - dependency-name: leptos dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
@dependabot merge
…On Tue, Dec 3, 2024, 6:56 PM dependabot[bot] ***@***.***> wrote:
Updates the requirements on leptos <https://github.com/leptos-rs/leptos>
to permit the latest version.
Release notes
*Sourced from leptos's releases
<https://github.com/leptos-rs/leptos/releases>.*
v0.7.0
At long last, as the culmination of more than a year of work, the 0.7
release has arrived!
0.7 is a nearly-complete rewrite of the internals of the framework, with
the following goals:
- maintain backwards compatibility for as much user application code
as possible
- improve the async story and fix Suspense edge cases and limitations
- reduce WASM binary size
- reduce HTML size
- faster HTML rendering
- allow signals to be sent across threads
- enhance the ergonomics of things like prop spreading and accessing
the HTML shell of your application
- build the foundation for future work
- reactive stores to make nested reactivity more pleasant
- client-side routing with islands and state preservation
- integrating with native UI toolkits to create desktop applications
Getting Started
0.7 works with the current cargo-leptos version. If you want to start
exploring, there are starter templates for Axum and Actix. Each template is
only three files. They show some of the boilerplate differences; for more
details, see below.
Axum: cargo leptos new --git https://github.com/leptos-rs/start-axum (repo
<https://github.com/leptos-rs/start-axum>) Actix: cargo leptos new --git
https://github.com/leptos-rs/start-actix (repo
<https://github.com/leptos-rs/start-actix>)
New Features .await on resources and async in <Suspense/>
Currently, create_resource allows you to synchronously access the value
of some async data as either None or Some(_). However, it requires that
you *always* access it this way. This has some drawbacks:
- requires that you null-check every piece of data
- makes it difficult for one resource to wait for another resource to
load
Now, you can .await a resource, and you can use async blocks within a
<Suspense/> via the Suspend wrapper, which makes it easier to chain two
resources:
let user = Resource::new(|| (), |_| user_id());let posts = Resource::new(
// resources still manually track dependencies (necessary for hydration)
move || user.get(),
move |_| async move {
// but you can .await a resource inside another
let user = user.await?;
get_posts(user).await
},);
view! {
<Suspense>// you can .await resources to avoid dealing with the None state
<p>"User ID: " {move || Suspend::new(async move {match user.await {// ...
</tr></table>
... (truncated)
Commits
- d665dd4
<leptos-rs/leptos@d665dd4>
v0.7.0
- be740b3
<leptos-rs/leptos@be740b3>
feat: add NodeRef::on_load() and writeable NodeRef (#3305
<https://redirect.github.com/leptos-rs/leptos/issues/3305>)
- d2803c9
<leptos-rs/leptos@d2803c9>
chore: remove pre-release message from README (#3075
<https://redirect.github.com/leptos-rs/leptos/issues/3075>)
- f292244
<leptos-rs/leptos@f292244>
fix: sort tuple-syntax class and style in addition to colon-syntax (closes
#3 <https://redirect.github.com/leptos-rs/leptos/issues/3>...
- 292772c
<leptos-rs/leptos@292772c>
fix: allow a deprecated wasm-bindgen struct
- 5947aa2
<leptos-rs/leptos@5947aa2>
Release rc3
- 6098836
<leptos-rs/leptos@6098836>
docs: improve line location of hydration error message when using view
macro ...
- 2dfa61f
<leptos-rs/leptos@2dfa61f>
docs: fix help message for island macro (#3287
<https://redirect.github.com/leptos-rs/leptos/issues/3287>)
- 4f39b0b
<leptos-rs/leptos@4f39b0b>
Version any_spawner alongside other crates, reexport CustomExecutor (
#3284 <https://redirect.github.com/leptos-rs/leptos/issues/3284>)
- 980595f
<leptos-rs/leptos@980595f>
chore(deps): bump proc-macro2 from 1.0.91 to 1.0.92 (#3276
<https://redirect.github.com/leptos-rs/leptos/issues/3276>)
- Additional commits viewable in compare view
<leptos-rs/leptos@v0.6.13...v0.7.0>
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)
------------------------------
You can view, comment on, or merge this pull request online at:
#90
Commit Summary
- dd33f34
<dd33f34>
Update leptos requirement from 0.6.13 to 0.7.0
File Changes
(1 file <https://github.com/andrewdavidmackenzie/pingr/pull/90/files>)
- *M* viewr/Cargo.toml
<https://github.com/andrewdavidmackenzie/pingr/pull/90/files#diff-46bece4f6de080a887ab40819c71af140662a8d72284b37649ff0e0ed287c6d4>
(2)
Patch Links:
- https://github.com/andrewdavidmackenzie/pingr/pull/90.patch
- https://github.com/andrewdavidmackenzie/pingr/pull/90.diff
—
Reply to this email directly, view it on GitHub
<#90>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKF4LGXJHWRPPADMF46YR32DXWEZAVCNFSM6AAAAABS6LJE7GVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4YTKNRWHEZTKNI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Superseded by #91. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updates the requirements on leptos to permit the latest version.
Release notes
Sourced from leptos's releases.
... (truncated)
Commits
d665dd4
v0.7.0
be740b3
feat: addNodeRef::on_load()
and writeableNodeRef
(#3305)d2803c9
chore: remove pre-release message from README (#3075)f292244
fix: sort tuple-syntax class and style in addition to colon-syntax (closes #3...292772c
fix: allow a deprecated wasm-bindgen struct5947aa2
Release rc36098836
docs: improve line location of hydration error message when using view macro ...2dfa61f
docs: fix help message for island macro (#3287)4f39b0b
Version any_spawner alongside other crates, reexport CustomExecutor (#3284)980595f
chore(deps): bump proc-macro2 from 1.0.91 to 1.0.92 (#3276)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 will merge this PR once CI passes on it, as requested by @andrewdavidmackenzie.
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)