Commit Graph

3054 Commits

Author SHA1 Message Date
Greg Johnston 5cbab48713 chore: avoid possible false positive in cargo check 2024-01-24 19:38:16 -05:00
Greg Johnston 5a8880dd2e fix: correctly track in the effect that creates the resource 2024-01-24 16:18:45 -05:00
Greg Johnston ea6c957f3d fix: `.refetch()` should not track any reads (closes #2221) 2024-01-23 11:08:50 -05:00
Greg Johnston 694e5f1cb3 fix: cast to correct type on `Memo::try_with_untracked` 2024-01-23 11:08:33 -05:00
Greg Johnston fce2c727ab
feat: add support for custom encodings to `#[server]` macro (#2216) (closes #2210) 2024-01-21 16:14:02 -05:00
Greg Johnston 7d1ce45a57
chore: minimize features activated with `leptos_axum`'s default feature (#1846) (#2213)
- `leptos_axum` default feature:
  - remove `tokio/full`, `axum/macros`
  - add `tokio/fs`, `tokio/sync`
- example `leptos-tailwind-axum`:
  - enable `tokio`'s `rt-multi-thread` and `macros` features
- example `ssr_modes_axum`:
  - enable `tokio`'s `rt-multi-thread` and `macros` features

Co-authored-by: Paul Nettleton <paulnett7@hotmail.com>
2024-01-21 15:22:46 -05:00
Niklas Eicker 997b99081b
change: for static routes, remove `.static` and provide additional context for static_params closures (#2207) 2024-01-21 13:33:05 -05:00
Chris d33e57d4b7
feat: `Default` for `LeptosOptions`, `ConfFile` (#2208)
Co-authored-by: chrisp60 <gh@cperry.me>
2024-01-21 13:26:10 -05:00
Greg Johnston b450f0fd10
fix: don't enable `tracing` feature on `leptos` by default (#2211) 2024-01-20 17:58:22 -05:00
Greg Johnston c84c6ee8cd
Merge pull request #2158 from leptos-rs/leptos_v0.6 2024-01-20 15:58:25 -05:00
Greg Johnston 567644df8f clarify docs here 2024-01-20 14:29:22 -05:00
Greg Johnston 39f5481b8c clean up in docs and rename Axum extract() to match Actix extract() 2024-01-20 14:29:08 -05:00
Greg Johnston c88bfbe0a0 tweak sets of features for CI 2024-01-20 14:18:25 -05:00
Greg Johnston 40da1fe94e clippy 2024-01-20 14:16:13 -05:00
Greg Johnston 8df46fcdb9 examples: use old Axum version of `hackernews_js_fetch` until supported by `axum-js-fetch` 2024-01-20 12:39:16 -05:00
Greg Johnston b4a1d90327 clean up for CI 2024-01-20 12:32:51 -05:00
Chris d746f83387
docs: `View::render_to_string` panic (#2200)
Co-authored-by: chrisp60 <gh@cperry.me>
2024-01-19 17:07:39 -08:00
Greg Johnston 2092c40bc7 missing derives 2024-01-19 18:21:57 -05:00
Greg Johnston 70ec0c2d0a update sso example 2024-01-19 18:02:22 -05:00
Greg Johnston eb45d05f3b clippy 2024-01-19 17:43:05 -05:00
Greg Johnston f19def9541 clippy 2024-01-19 16:55:16 -05:00
Greg Johnston ddda785045 fix multipart support 2024-01-19 16:52:41 -05:00
Greg Johnston 26d9d75cf2 cargo fmt 2024-01-19 15:56:57 -05:00
Greg Johnston 46e7abf9ba allow custom req/res/client types 2024-01-19 15:48:14 -05:00
Greg Johnston 1b1e02729e clean up examples 2024-01-19 15:17:17 -05:00
Greg Johnston fdd576535a clean up examples 2024-01-19 15:14:39 -05:00
Greg Johnston 2a9e502893 fix rkyv deserialization 2024-01-19 15:03:21 -05:00
Greg Johnston a519859a66 Revert "use `&[u8]` instead of `Bytes` for requests"
This reverts commit e179db1d42.
2024-01-19 14:37:03 -05:00
Greg Johnston 25120c0e9f fix streaming requests and clarify in docs 2024-01-19 14:17:26 -05:00
Greg Johnston 94cb4c0ec3 remove pavex work (now in `pavex` branch) 2024-01-19 14:17:26 -05:00
Greg Johnston f9cd8539e4 add missing PartialEq/Eq implementations on ServerFnError (closes #2198) 2024-01-19 14:17:26 -05:00
Greg Johnston 14072457d0 clean up docs (closes #2197) 2024-01-19 14:17:26 -05:00
Greg Johnston e179db1d42 use `&[u8]` instead of `Bytes` for requests 2024-01-19 14:17:26 -05:00
Greg Johnston 2fa60103b4 share inventory collect across types 2024-01-19 14:17:26 -05:00
Greg Johnston a3a15f244d expose all fields of ServerFnTraitObj via methods 2024-01-19 14:17:26 -05:00
Greg Johnston 0df5dfeaf8 weak dependency on Cargo.toml 2024-01-19 14:17:26 -05:00
Greg Johnston 3f22906053 fix warning 2024-01-19 14:17:26 -05:00
Greg Johnston 33ad30515d serde-lite support should be enabled directly on server_fn 2024-01-19 14:17:26 -05:00
Greg Johnston c5bab09423 partial support for streaming requests (doesn't actually work in the browser) 2024-01-19 14:17:26 -05:00
Greg Johnston 320179bc04 remove misleading warning 2024-01-19 14:17:26 -05:00
Greg Johnston 5065bed594 example of middleware that can run before and/or after server fn 2024-01-19 14:17:26 -05:00
Greg Johnston 22b4537f27 fix version numbers 2024-01-19 14:17:26 -05:00
Greg Johnston 8d23d5136a add package metadata 2024-01-19 14:17:25 -05:00
Greg Johnston c7fac64054 fix merge error 2024-01-19 14:17:25 -05:00
Greg Johnston 047235e7c1 clippy 2024-01-19 14:17:25 -05:00
Greg Johnston 7a086ad159 update version number 2024-01-19 14:17:25 -05:00
Greg Johnston bb923b3f9b erroneous hyphen 2024-01-19 14:16:59 -05:00
Greg Johnston 6a8c26a820 streaming example with filesystem watcher 2024-01-19 14:16:59 -05:00
Greg Johnston 21f8085851 add streaming/file watcher example 2024-01-19 14:16:59 -05:00
Greg Johnston 9a5a102ce3 add middleware to kitchen-sink example 2024-01-19 14:16:59 -05:00