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

Update Rust crate leptos to v0.6.15 #77

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 8, 2023

This PR contains the following updates:

Package Type Update Change
leptos dependencies minor 0.4.5 -> 0.6.0
leptos dependencies minor 0.4 -> 0.6

Release Notes

leptos-rs/leptos (leptos)

v0.6.14

Compare Source

Hello everyone, The biggest change in this update is to handle wasm-bindgen 0.2.93 and web_sys 0.3.70 Thanks to @​sabify and @​maccesch for those PRs. As always, let us know if there's issues.

What's Changed
New Contributors

Full Changelog: leptos-rs/leptos@v0.6.13...v0.6.14

v0.6.13

Compare Source

This release mostly includes a series of small bugfixes (see below), but also includes a fix for the annoying issues we'd been having with rust-analyzer (#​2527).

What's Changed
New Contributors

Full Changelog: leptos-rs/leptos@v0.6.12...v0.6.13

v0.6.12

Compare Source

This is mainly a maintenance release, but includes a couple new features that I want to point out:

impl Trait in Component Props

You can now use impl Trait syntax directly in component props, rather than explicitly specifying a generic and a where clause

before
#[component]
fn ProgressBar<F>(#[prop(default = 100)] max: u16, progress: F) -> impl IntoView
where
    F: Fn() -> i32 + 'static,
{
    view! {
        <progress
            max=max
            value=progress
        />
    }
}
after
#[component]
fn ProgressBar(
    #[prop(default = 100)] max: u16,
    progress: impl Fn() -> i32 + 'static,
) -> impl IntoView {
    view! {
        <progress
            max=max
            value=progress
        />
    }
}
Support spreading dynamic attributes from one component to another

In the following code Bar doesn't currently inherit attributes from Foo when it spreads its attributes. PR #​2534 fixes this.

fn main() {
    let (count, set_count) = create_signal(0);

    mount_to_body(move || {
        view! {
            <Foo
                attr:hello=move || count.get().to_string()
            />

            <button on:click=move|_| { set_count.update(|count| *count += 1) }>"+ count"</button>
        }
    });
}

#[component]
fn Foo(#[prop(attrs)] attrs: Vec<(&'static str, Attribute)>) -> impl IntoView {
    view! {
        <Bar {..attrs} />
    }
}

#[component]
fn Bar(#[prop(attrs)] attrs: Vec<(&'static str, Attribute)>) -> impl IntoView {
    view! {
        <div {..attrs}>"hello world"</div>
    }
}
Complete Changelog
New Contributors

Full Changelog: leptos-rs/leptos@v0.6.11...v0.6.12

v0.6.11

Compare Source

The primary purpose of this release is that it includes a fix for an unfortunate memory leak when using leptos_router on the server.

Also included are

  • the ability to spread both attributes and event handlers onto an element (see the new spread example for the full set of possibilities)
  • implementing IntoView directly for Rc<str>
  • massive improvements to the spans for error reporting in the view macro
  • migrating all our examples to use the stable features/syntax by default, to reduce confusion for new users

It's important to me to say that all three of the new features above were implemented by community members. This release brings us to over 250 total contributors over time, not to mention everyone who's done work on docs, templates, or libraries that exist outside this repo. Thank you to everyone who's been involved in this project so far.

What's Changed
New Contributors

Full Changelog: leptos-rs/leptos@v0.6.10...v0.6.11

v0.6.10

Compare Source

Mostly a patch release with a number of bugfixes, as well as some nice quality-of-life improvements:

  • allowing #[prop(attrs)] on slots
  • add support for on: to dynamic children of components (i.e., when you do <MyComponent on:.../>, the event listener is now applied correctly to more of the children of <MyComponent/>)
What's Changed
New Contributors

Full Changelog: leptos-rs/leptos@v0.6.9...v0.6.10

v0.6.9

Compare Source

Mostly this release exists to fix imports in Cargo, as well as a few minor bug fixes

What's Changed
New Contributors

Full Changelog: leptos-rs/leptos@v0.6.8...v0.6.9

v0.6.8

Compare Source

Mostly this release is to disable file hashing by default, and streamline it's use. It can now be enabled by setting hash-files=true in your Cargo.toml or setting the LEPTOS_HASH_FILES=true env var when running cargo-leptos. If you're using Docker or moving the bin to a new folder, you need to copy the (by default) hash.txt file from target/{release_profile_name} to the same folder as your binary, and make sure the env var or cargo.toml option is enabled. Also some minor bug fixes

What's Changed
New Contributors

Full Changelog: leptos-rs/leptos@v0.6.7...v0.6.8

v0.6.7: 0.6.7

Compare Source

Hello everyone! Some lovely changes in here. My favorite is the addition of version hashes to css,js, and wasm files to automatically invalidate browser caching issues. Be sure to update to the latest version of cargo leptos(v0.2.8) to test out this feature. As always, big thanks to our returning contributors and welcome to the new folks!

What's Changed
New Contributors

Full Changelog: leptos-rs/leptos@v0.6.6...v0.6.7

v0.6.6

Compare Source

Fixed some issues with examples, integrated a server macro for Spin, and improved a number of typos. Thanks to all that participated!
For general 0.6 release notes, see here.

What's Changed
New Contributors

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

v0.6.5: 0.6.5

Compare Source

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

v0.6.4: 0.6.4

Compare Source

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

v0.6.3: 0.6.3

Compare Source

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()
  • T

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested review from dezren39 and a team as code owners November 8, 2023 00:45
@renovate renovate bot changed the title Update Rust crate leptos to v0.5.2 Update Rust crate leptos to v0.5.3 Nov 28, 2023
@renovate renovate bot force-pushed the renovate/leptos-0.x branch 2 times, most recently from 870317b to a271c7a Compare November 29, 2023 06:32
@renovate renovate bot changed the title Update Rust crate leptos to v0.5.3 Update Rust crate leptos to v0.5.4 Nov 29, 2023
@renovate renovate bot changed the title Update Rust crate leptos to v0.5.4 Update Rust crate leptos to v0.5.5 Jan 16, 2024
Copy link
Contributor Author

renovate bot commented Jan 16, 2024

⚠ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: sources/web-gen/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path sources/web-gen/Cargo.toml --package [email protected] --precise 0.6.11
    Updating crates.io index
error: failed to select a version for the requirement `leptos = "^0.4.5"`
candidate versions found which didn't match: 0.6.11
location searched: crates.io index
required by package `leptos_router v0.4.5`
    ... which satisfies dependency `leptos_router = "^0.4.5"` (locked to 0.4.5) of package `web-gen v0.1.0 (/tmp/renovate/repos/github/developing-today/code/sources/web-gen)`
perhaps a crate was updated and forgotten to be re-vendored?

File name: sources/web-gen-api/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path sources/web-gen-api/Cargo.toml --package [email protected] --precise 0.6.11
    Updating crates.io index
error: failed to select a version for the requirement `leptos = "^0.4.5"`
candidate versions found which didn't match: 0.6.11
location searched: crates.io index
required by package `leptos_actix v0.4.5`
    ... which satisfies dependency `leptos_actix = "^0.4"` (locked to 0.4.5) of package `leptos_start v0.1.0 (/tmp/renovate/repos/github/developing-today/code/sources/web-gen-api)`
perhaps a crate was updated and forgotten to be re-vendored?

@renovate renovate bot changed the title Update Rust crate leptos to v0.5.5 Update Rust crate leptos to v0.5.6 Jan 17, 2024
@renovate renovate bot changed the title Update Rust crate leptos to v0.5.6 Update Rust crate leptos to v0.5.7 Jan 19, 2024
@renovate renovate bot changed the title Update Rust crate leptos to v0.5.7 Update Rust crate leptos to v0.6.1 Jan 26, 2024
@renovate renovate bot changed the title Update Rust crate leptos to v0.6.1 Update Rust crate leptos to v0.6.3 Jan 27, 2024
@renovate renovate bot changed the title Update Rust crate leptos to v0.6.3 Update Rust crate leptos to v0.6.4 Jan 30, 2024
@renovate renovate bot changed the title Update Rust crate leptos to v0.6.4 Update Rust crate leptos to v0.6.5 Feb 1, 2024
@renovate renovate bot changed the title Update Rust crate leptos to v0.6.5 Update Rust crate leptos to v0.6.6 Feb 19, 2024
@renovate renovate bot changed the title Update Rust crate leptos to v0.6.6 Update Rust crate leptos to v0.6.7 Feb 29, 2024
@renovate renovate bot changed the title Update Rust crate leptos to v0.6.7 Update Rust crate leptos to v0.6.8 Mar 3, 2024
@renovate renovate bot changed the title Update Rust crate leptos to v0.6.8 Update Rust crate leptos to v0.6.9 Mar 4, 2024
@dezren39 dezren39 force-pushed the main branch 11 times, most recently from cb00f56 to 462a05e Compare March 12, 2024 21:25
@renovate renovate bot changed the title Update Rust crate leptos to v0.6.9 Update Rust crate leptos to v0.6.10 Apr 2, 2024
@renovate renovate bot changed the title Update Rust crate leptos to v0.6.10 Update Rust crate leptos to v0.6.11 Apr 10, 2024
@renovate renovate bot changed the title Update Rust crate leptos to v0.6.11 Update Rust crate leptos to 0.6.11 May 1, 2024
@renovate renovate bot changed the title Update Rust crate leptos to 0.6.11 Update Rust crate leptos to v0.6.11 May 5, 2024
@renovate renovate bot changed the title Update Rust crate leptos to v0.6.11 Update Rust crate leptos to v0.6.12 Jun 2, 2024
@renovate renovate bot changed the title Update Rust crate leptos to v0.6.12 fix(deps): update rust crate leptos to v0.6.12 Jun 6, 2024
Copy link
Contributor Author

renovate bot commented Jul 12, 2024

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pkgs/web-gen/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path pkgs/web-gen/Cargo.toml --package [email protected] --precise 0.6.12
    Updating crates.io index
error: failed to select a version for the requirement `leptos = "^0.4.5"`
candidate versions found which didn't match: 0.6.12
location searched: crates.io index
required by package `leptos_router v0.4.5`
    ... which satisfies dependency `leptos_router = "^0.4.5"` (locked to 0.4.5) of package `web-gen v0.1.0 (/tmp/renovate/repos/github/developing-today/code/pkgs/web-gen)`
perhaps a crate was updated and forgotten to be re-vendored?

File name: pkgs/web-gen-api/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path pkgs/web-gen-api/Cargo.toml --package [email protected] --precise 0.6.12
    Updating crates.io index
error: failed to select a version for the requirement `leptos = "^0.4.5"`
candidate versions found which didn't match: 0.6.12
location searched: crates.io index
required by package `leptos_actix v0.4.5`
    ... which satisfies dependency `leptos_actix = "^0.4"` (locked to 0.4.5) of package `leptos_start v0.1.0 (/tmp/renovate/repos/github/developing-today/code/pkgs/web-gen-api)`
perhaps a crate was updated and forgotten to be re-vendored?

@renovate renovate bot changed the title fix(deps): update rust crate leptos to v0.6.12 Update Rust crate leptos to v0.6.12 Jul 23, 2024
@renovate renovate bot changed the title Update Rust crate leptos to v0.6.12 Update Rust crate leptos to v0.6.13 Jul 24, 2024
@renovate renovate bot changed the title Update Rust crate leptos to v0.6.13 Update Rust crate leptos to v0.6.14 Aug 14, 2024
@renovate renovate bot changed the title Update Rust crate leptos to v0.6.14 fix(deps): update rust crate leptos to v0.6.14 Aug 25, 2024
@renovate renovate bot changed the title fix(deps): update rust crate leptos to v0.6.14 fix(deps): update rust crate leptos to v0.6.15 Sep 8, 2024
@renovate renovate bot changed the title fix(deps): update rust crate leptos to v0.6.15 Update Rust crate leptos to v0.6.15 Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant