-
-
Notifications
You must be signed in to change notification settings - Fork 705
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
sync leptos 0.8 #3552
Closed
Closed
sync leptos 0.8 #3552
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
* add file_and_error_handler_with_context like in leptos_routes_with_context func * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* feat: impl `From<ArcField<T>>` for `Field<T>` * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
…nt of the ServerFnError in server_fn (leptos-rs#3274)
… trait (leptos-rs#3371) * impl Dispose for Callback types and add try_run to the Callable trait * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* feat: Allow disabling server fn hash and customizing the default prefix Allow configuring the default prefix for server function API routes. This is useful to override the default prefix (`/api`) for all server functions without needing to manually specify via `#[server(prefix = "...")]` on every server function. Also, allow disabling appending the server functions' hashes to the end of their API names. This is useful when an app's client side needs a stable server API. For example, shipping the CSR WASM binary in a Tauri app. Tauri app releases are dependent on each platform's distribution method (e.g., the Apple App Store or the Google Play Store), which typically are much slower than the frequency at which a website can be updated. In addition, it's common for users to not have the latest app version installed. In these cases, the CSR WASM app would need to be able to continue calling the backend server function API, so the API path needs to be consistent and not have a hash appended. * Mark public structs as `#[non_exhaustive]` and add doc comments * Minor refactor to pull the fn hash logic out of the `path` statement * feat: Use module path in prefix for server fn API route Allow including the module path of the server function in the API route. This is an alternative strategy to prevent duplicate server function API routes (the default strategy is to add a hash to the end of the route). Each element of the module path will be separated by a `/`. For example, a server function with a fully qualified name of `parent::child::server_fn` would have an API route of `/api/parent/child/server_fn` (possibly with a different prefix and a hash suffix depending on the values of the other server fn configs). * Fix `enable_hash` if statement * Add missing import
Added docs on shadow traits, Option, Enum, Vec, and Box usage with Store.
…ate deps (leptos-rs#3478) * Implement other iterator methods. Update deps * Formatting * Update Cargo.lock * [autofix.ci] apply automated fixes * Formatting * Move `Either` declaration into the `tuples` macro * Comment out non-MSRV-compliant methods * [autofix.ci] apply automated fixes * Formatting * Implement mapping functions * Fix clippy warnings * Impl `Error`; Impl `From<Result<A, B>> for Either<B, A>` * Fix `Error` impl * Move `Error` impl under `#[cfg(not(feature="no_std"))] until MSRV >= 1.81 * [autofix.ci] apply automated fixes * Make `From<Result>` compliant with `EitherOr`. Add `impl EitherOr for Either` * fix: use fully-qualified name * fix: `EitherOf` test --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
…-rs#3522) * fix: remove `Default` impl for `LeptosOptions` and `ConfFile` * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
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.
0.7 commits to 0.8
PossibleRouteMatch
dyn-safe (feat(breaking): allow makePossibleRouteMatch
dyn-safe #3421)axum
tov0.8
(chore: upgradeaxum
tov0.8
#3439)ErrorBoundary
through reactive views (closes ErrorBoundary ignores error #3487) (fix: correctly handleErrorBoundary
through reactive views (closes #3487) #3492)#[lazy]
macros to support lazy loading and code splitting (feat:#[lazy]
macros to support lazy loading and code splitting #3477)leptos_0.8
branch (chore(ci): add CI forleptos_0.8
branch #3500)node_ref
after{..}
on arbitrary components (fix: includingnode_ref
after{..}
on arbitrary components #3503)either_of
): Extent API; Implement other iterator methods; Update deps (feat (either_of
): Extent API; Implement other iterator methods; Update deps #3478)IntoFuture
forSuspend::new()
(closesSuspend
should acceptIntoFuture
instead ofFuture
#3509) (change: allowIntoFuture
forSuspend::new()
(closes #3509) #3532)Default
impl forLeptosOptions
andConfFile
(fix: removeDefault
impl forLeptosOptions
andConfFile
#3522)