Commit Graph
25 Commits
Author SHA1 Message Date
Evan Almloff 8dbb652628 update the server function crate to 0.7 (#3560) 2025-03-04 14:29:56 -06:00
Evan Almloff eccd75a1fe Switch the default server function codec to json (#3602)
* Switch the default server function codec to json

* test both input and output encoding
2025-03-04 14:20:56 -06:00
Evan Almloff 6a0c1c392b Improve documentation for the fullstack crate (#2952)
* improve documentation for the fullstack server context

* Add a section about axum integration to the crate root docs

* make serve_dioxus_application accept the cfg builder directly

* remove unused server_fn module

* improve fullstack config docs

* improve documentation for the server function macro

* fix axum router extension link

* Fix doc tests

* Fix launch builder

* Remove redundant server_only inside server function

* Fix isrg config path
2024-10-10 13:40:11 -07:00
Jonathan Kelley f0d814fede Extract some simple cleanups from 2779 (#2966)
* Chore: remove random old test fixture from CLI

* nuke oidc

* remove weird useless desktop example

* remove lua globals vscode setting for cli

* remove cli testcase

* hoist deps in core-macro

* we dont need prettyplease

* add hoisted dependencies

* hoist more despt

* rename rsx_rosetta to dioxus_rsx_rosetta

* drop cache thrashing when listening for features

* drop flag from mobile dep

* drop cli-config warning

* hoist more deps

* clippy...

* we dont use the tools module...

* bump lock
2024-09-16 16:04:20 -07:00
88af3e7eff Hotreloading of for/if/body, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-17 19:11:18 -07:00
Jonathan Kelley 47ab4c8db9 Chore: move todo!() to unimplemented!() (#2558) 2024-06-27 16:27:27 -05:00
Evan Almloff b3cd4fac10 set up example scaping for docs.rs (#2450) 2024-05-28 13:05:55 -07:00
Evan Almloff dd8e69635b Fix calling server functions on desktop (#2357) 2024-04-25 14:24:46 -04:00
Evan Almloff 36f67bd5e2 update 0.4 doc links to 0.5 2024-03-27 20:42:07 -05:00
Jonathan Kelley ad7a350d2e fix hotreloading issues in the CLI 2024-03-12 13:39:42 -07:00
Evan Almloff 31a7d2ac04 remove the nightly feature from the server macro crate 2024-02-16 15:27:48 -06:00
Evan Almloff e7d8a25d17 get the dioxus CLI compiling 2024-02-16 14:55:44 -06: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 b4f2a925c7 fix fullstack playwright test features 2024-02-05 15:04:49 -06:00
Jonathan Kelley 8f07d881a6 Switch todo!() to unreachable!/unimplemented! where it matters 2024-01-31 16:26:20 -08:00
Evan Almloff ae3e167cfe make fullstack hello world compile 2024-01-17 16:58:03 -06:00
ealmloff c56d3662e9 document the type name as optional in the server function docs (#1748) 2024-01-04 09:06:38 -06:00
Joshua Wolfe 8ea7f076e5 Updated server_fn to 0.5.2 (#1620) 2023-11-08 08:33:41 -06:00
Evan Almloff 9f729dd6de fix clippy 2023-10-14 14:32:08 -05:00
Leonard 2d1234c3d1 Include README and Dioxus logo in package docs (#1536)
* Include README in docs.rs and add Dioxus logo

* Update README.md
2023-10-10 10:52:48 -05:00
Marc Espín 517a43d765 fix: Update server function docs link (#1489) 2023-09-25 08:31:35 -05:00
Evan Almloff d33ea087d0 make server function features flexible 2023-08-03 11:13:43 -07:00
Jonathan Kelley 39e89c1fac Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
Jonathan Kelley 8a875acdd2 Adjust versions, add authors, move server macro to top level 2023-07-31 17:59:36 -07:00