-
-
Notifications
You must be signed in to change notification settings - Fork 702
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
Leptos 0.8 #3529
Open
gbj
wants to merge
24
commits into
main
Choose a base branch
from
leptos_0.8
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Leptos 0.8 #3529
+1,394
−1,057
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
…nt of the ServerFnError in server_fn (#3274)
… trait (#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.
Co-authored-by: Sam <@>
* issue-3467 - bumping codee version to support rkyv 8 * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Fix README.md * Add MSRV badge * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
…ate deps (#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>
* AddAnyAttr working with erase_components * CI fixes
any chance we can still squeeze #3522 into here?. It is breaking. Currently without conflict |
Yes! |
* 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>
Most likely confglict merge artefact
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.
This is meant to prepare for a
0.8.0-alpha
release.This release is intended to include any semver-breaking changes needed to fix bugs or make small changes after 0.7. It also includes updates to make the error type returned from server functions much more flexible.
It is not intended to require any meaningful updates to user/application code, unlike 0.7.