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

(draft) Leptos 0.7 #2607

Merged
merged 619 commits into from
Aug 4, 2024
Merged

(draft) Leptos 0.7 #2607

merged 619 commits into from
Aug 4, 2024

Conversation

gbj
Copy link
Collaborator

@gbj gbj commented May 31, 2024

(Opening this so that I can start tracking test/docs/example coverage)

Things I'd like to achieve before a beta release

  • Clear all warnings (todo!() is okay)
  • Complete docs
  • All tests passing in core
  • Actix integration
  • All examples either a) ported, b) missing features listed in TODOs, or c) moved to projects

Incomplete list of feature TODOs

  • nonces
  • .await on resources: clone by default for IntoFuture, with alternate method to read them by reference
  • Setting ResponseOptions in integrations
  • local resources (resources that only run on the client, not server)
  • <ProtectedRoute/>
  • Render individual Suspend(_) without a <Suspense/>
  • Nested router set_is_routing
  • Attribute spreading for attributes on <Body/> etc. instead of Vec<AnyAttribute>
  • Directives
  • Equivalent to a user implementing IntoView on an arbitrary struct
  • Figuring out the interaction between Lazy routes and hydration (what do you do while hydrating if the code for the route hasn't been lazy-loaded yet?)
  • path!() macro to make route definitions easier in router
  • Reactive channel implementation for single-use signals
  • blocking resources
  • partially-blocked SSR
  • Thread-local arena that yields Copy but !Send for !Send data (like browser things)
  • global class support
  • hot reloading (and therefore view markers)
  • static routes
  • trailing slash modes
  • Router/Route base
  • custom elements/custom attributes
  • fallible hydration => start from suspense boundary
  • add GlobalAttributes methods for on____ HTML attributes

Forward-ported bug fixes (things that have been fixed on 0.6 but reimplemented in 0.7, and need to be checked)

Finalizing:

  • simplify tachys APIs by removing duplicated content (HTML length, checking on template duplication, etc.)

@gbj gbj force-pushed the leptos_0.7 branch 2 times, most recently from 8f86409 to bd6743e Compare June 3, 2024 12:20
@gbj gbj force-pushed the leptos_0.7 branch 4 times, most recently from 151a27f to ba21c57 Compare June 15, 2024 14:38
@gbj gbj added the breaking label Jun 21, 2024
@gbj gbj force-pushed the leptos_0.7 branch 2 times, most recently from 94cc661 to f8c036a Compare June 28, 2024 19:28
@gbj gbj marked this pull request as ready for review June 28, 2024 19:28
@gbj gbj merged commit 1f4c410 into main Aug 4, 2024
101 checks passed
@NiklasEi
Copy link
Contributor

NiklasEi commented Aug 4, 2024

Will there be follow-up tickets for tracking the open tasks from this PR? I am mainly interested in static routes, but some of the other open points certainly are big enough to also be tracked on their own.

@gbj
Copy link
Collaborator Author

gbj commented Aug 4, 2024

@NiklasEi Yes, it is just way easier to manage a single main branch once people start making PRs, and it was time! Everything else will be completed. I will probably just create a single tracking item that copy-pastes the list above.

@gbj gbj mentioned this pull request Aug 5, 2024
28 tasks
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.