Commit graph

224 commits

Author SHA1 Message Date
Miles Murgaw
9e2b3d95ad
revision: change ip (#2543) 2024-06-19 17:32:16 -07:00
Evan Almloff
24d247dc85 fix fullstack launch arc 2024-06-18 18:48:13 -07:00
Evan Almloff
b0caf442ab
Make it easier to provide context to fullstack (#2515)
* pass context providers into server functions

* add an example for FromContext

* clean up DioxusRouterExt

* fix server function context

* fix fullstack desktop example

* fix axum auth example

* fix fullstack context type

* fix context providers path
2024-06-18 20:38:06 -05:00
Evan Almloff
a09548d80e
Remove implicit optional dependency features (#2512)
* remove implicit optional dependency features

* switch to new features in desktop, router and signals crates
2024-06-18 18:39:15 -05:00
Evan Almloff
f4a62fad6b
Assert that launch never returns for better compiler errors (#2517)
* assert that launch never returns for better compiler errors

* fix static generation launch function

* fix web renderer
2024-06-18 16:04:36 -07:00
Evan Almloff
b3cd4fac10
set up example scaping for docs.rs (#2450) 2024-05-28 13:05:55 -07:00
Evan Almloff
245003a5d4
Create a Static Site Generation platform; Deduplicate hot reloading code (#2226)
* create static site generation helpers in the router crate

* work on integrating static site generation into fullstack

* move ssg into a separate crate

* integrate ssg with the launch builder

* simplify ssg example

* fix static_routes for child routes

* move CLI hot reloading websocket code into dioxus-hot-reload

* fix some unused imports

* use the same hot reloading websocket code for fullstack

* fix fullstack hot reloading

* move cli hot reloading logic into the hot reload crate

* ssg example working with dx serve

* add more examples

* fix clippy

* fix formatting

* fix hot reload doctest imports

* fix axum imports

* don't run server doc tests

* Fix hot reload websocket doc examples
2024-05-22 07:24:15 -05:00
Evan Almloff
40df088b7d
Make use_server_future accept FnMut (#2387) 2024-05-04 15:30:25 +01:00
Evan Almloff
a27d4e71ed
Only compress web assets in the CLI (#2329)
* only compress web assets in the CLI

* precompressed -> pre-compressed

* only enable pre-compression in release builds
2024-04-26 00:47:04 -04:00
Evan Almloff
dd8e69635b
Fix calling server functions on desktop (#2357) 2024-04-25 14:24:46 -04:00
Evan Almloff
5ce91e1bfc
Fix flakey windows tests (#2332) 2024-04-17 15:08:38 -07:00
Chung
c9ab09b348
fix path of set_server_url (#2314)
Co-authored-by: =Chung Wong <=wch705@gmail.com>
2024-04-16 09:18:50 -05:00
Evan Almloff
c43bbe6aa5
fix the relative paths issue in the fullstack crates.io build (#2248) 2024-04-04 18:30:14 -07:00
Evan Almloff
11bf5ae34f
fix firefox refreshing loop in debug mode (#2214) 2024-04-02 10:52:40 -07:00
Evan Almloff
36f67bd5e2 update 0.4 doc links to 0.5 2024-03-27 20:42:07 -05:00
Jonathan Kelley
537f064001
Remove some old docs, cleanup some readmes 2024-03-27 17:28:30 -07:00
Miles Murgaw
3cbe6ff96e
Fix Outdated README.md (#2147)
* fix: outdated readme

* Fix missing readme

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-26 19:17:02 -07:00
Evan Almloff
dadbab5d72
make some enums non-exhaustive (#2140) 2024-03-26 19:14:48 -07:00
Evan Almloff
460a685fa3
Warn if cli-config is not available at compile time (#2135)
* warn if a package relies on the CLI config, but it is not built with the CLI

* fix default features

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-26 19:10:26 -07:00
Emil Boman
fb396b0448
Fix fullstack render server context (#2139)
* Fix fullstack render server context

* only set the server context while polling futures

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-03-26 09:59:25 -05:00
Evan Almloff
e012d816eb
fix streaming server functions, and precompress assets in release mode (#2121) 2024-03-20 23:05:50 -07:00
Jonathan Kelley
6c9f991f0b
hotfix: finding hotreload path fails when not running under cargo 2024-03-20 09:54:57 -07:00
Jonathan Kelley
3d699e7a75
Match on more places for asset reloading 2024-03-13 15:10:44 -07:00
Jonathan Kelley
ad7a350d2e
fix hotreloading issues in the CLI 2024-03-12 13:39:42 -07:00
studystill
3a21ac5710
remove repetitive words (#2046)
Signed-off-by: studystill <chenghuiyue@outlook.com>
2024-03-11 09:49:26 -05:00
Jonathan Kelley
47e7f2fd41
Kick server futures on the client 2024-03-08 16:52:03 -08:00
Evan Almloff
f8a8ee3e29 fix clippy 2024-03-08 12:45:23 -06:00
Evan Almloff
9bad802beb clean up dirty scopes module 2024-03-07 21:04:48 -06:00
Evan Almloff
716eb11426 update suspend in use_server_future 2024-03-05 18:39:32 -06:00
Jonathan Kelley
62d79747aa
Merge pull request #1987 from ealmloff/fix-fullstack-history
Fix fullstack history
2024-03-04 14:19:38 -08:00
Evan Almloff
55f308363d expose non-blocking functions to read and write to the fullstack request 2024-02-29 10:39:02 -06:00
Jonathan Kelley
36fe5e30cb
chore: clean up cargo.tomls to enable releasing 2024-02-21 14:16:01 -08:00
Evan Almloff
36ae7ec12e wrap fullstack rebuilds in block in place 2024-02-19 14:59:58 -06:00
Evan Almloff
c4a4a31eec Merge branch 'master' into pr/atty303/1948 2024-02-19 08:35:31 -06:00
Jonathan Kelley
ebdb98bff2
Make clippy happy, pass tests 2024-02-18 21:08:48 -08:00
Jonathan Kelley
d732269b8f
backend proxy tests almost work! 2024-02-18 09:45:27 -08:00
Evan Almloff
14b4af4bbc fix cargo check all features except the router 2024-02-16 16:22:13 -06:00
Evan Almloff
2952578a2e add a streaming example 2024-02-16 16:04:12 -06:00
Evan Almloff
e7d8a25d17 get the dioxus CLI compiling 2024-02-16 14:55:44 -06:00
Evan Almloff
30af559275 add tracing to server function registration 2024-02-16 14:19:36 -06:00
Koji AGAWA
1f0e03ca19 feat(fullstack): support wasm target 2024-02-17 05:12:33 +09:00
Evan Almloff
194d90e66f fix a few CLI errors 2024-02-16 12:39:36 -06:00
Evan Almloff
e745212157 bump server functions 2024-02-16 12:17:01 -06:00
Evan Almloff
0ef29b7d75 reorganize fullstack 2024-02-16 09:03:35 -06:00
Jonathan Kelley
64a321eacc
Get more axum stuff upgraded to 0.7 2024-02-15 18:59:57 -08:00
Jonathan Kelley
214a907adc
Upgrade to axum 0.7, drop 3rd party adapters 2024-02-15 18:05:30 -08:00
Jonathan Kelley
ea34eee20a
Remove ssr eval from fullstack 2024-02-14 17:00:12 -08:00
Evan Almloff
b4d17abfc1 document all features 2024-02-09 12:15:59 -06:00
Miles Murgaw
3c1028c523 fix: prerelease doc 2024-02-08 17:53:45 -05:00
Evan Almloff
b4f2a925c7 fix fullstack playwright test features 2024-02-05 15:04:49 -06:00