Skip to content

Conversation

veigaribo
Copy link
Contributor

@veigaribo veigaribo commented Aug 27, 2025

Substitutes #4257 for #4224, which is a breaking change intended for an eventual 0.9 release.

Additionally makes the leptos_config::ReloadWSProtocol and leptos_config::Env enums non exhaustive, since simply adding configuration options should probably not be a breaking change. However, this makes it so that the match in the AutoReload component needs to have a default pattern case for unknown variants, since it's from a different crate than the enum. This means that adding new variants to ReloadWSProtocol without handling it in the component will not cause any error and will silently not work. I hate this, but I don't see a solution.

@gbj gbj added the breaking label Aug 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants