* Change the suspense streaming context after suspense is resolved in the router
* Wait for the suspense context before streaming the first chunk in ssr
* forward more response parts
* warn
* extract the hydration format into a crate
* Fix hydration when no data is sent
* forward web and server features
* Fix suspense that starts on the client
* fix use_server_future on the client
* Add documentation for fullstack hooks and protocol
* downgrade rust edition
* fix clippy
* fix tests
* fix clippy
* Fix pure web compile
* undo changes to the fullstack router example
* fix formatting
* return a 404 when paring the route fails
* add a playwright test for fullstack routing status codes
* Fix new playwright test
* document SSRError
* Make SSRError public and fix clippy
* Move the error display bound to the routable trait
* fix clippy
* return a more generic 404 message
* fix router tests
* Hash and compare templates by value in debug mode
* add a regression test for layout state persisting after navigation
* More reliable static item merged detection
* Fix hot reloading to empty rsx
* Only normalize the template when hot reloading and rendering
* add a test for emptying out an rsx block in hot reloading
* Fix server crash logging and opening fullstack apps
* Fix the event handler memory leak
* Add a regression test for memory leaks
* add a component to the memory leak test
* Fix race condition during SSG
* move route prerendering into a separate stage
* Fix static site generation with dx serve
* only proxy the fullstack server if ssg is disabled
* test nested-suspense with ssg in playwright
* Fix server crash logging and opening fullstack apps
* Fix race condition during SSG
* move route prerendering into a separate stage
* Fix static site generation with dx serve
* only proxy the fullstack server if ssg is disabled
* test nested-suspense with ssg in playwright
* Fix hydration of suspense fragments that contain text nodes
* fix release builds
* disable link deduplication
* restore meta tag deduplication
* Add a test for the failed hydration case
* make changes to the document trait non-breaking
* remove info log from server future hook
* restore default implementation - this was also a breaking change
* fix semver breakage
* clean up server_future
* Cleanup unused code
* fix clippy
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* Create a crate for constant serialization of config structs for manganis
* use SerializeConst for the image asset builder
* switch to a declarative macro for assets
* clean up asset macro a bit
* add serializable options for each asset type
* serialize const vec
* Add unique path formatting
* implement the new manganis macro
* optimize assets in the CLI
* Fix clippy
* Fix assets with dioxus formattable
* reduce fuzzing test limits
* use the new syntax in examples
* fix formatting
* Final doc and test pass on const-serialize
* fix avif support
* Fix manganis doc tests
* cache asset optimization
* Split out asset and bundled asset
* make hash pointer width independent
* remove const serialize cargo lock
* Fix manganis macro docs
* all tests passing
* add constvec::is_empty method to fix clippy lint
* remove nasm feature
* simplify test_rsplit_once test so typos passes
* fix range syntax for stable
* revert example change from clippy fix
* remove dioxus-static-site-generation workspace dependency
* always accept unix paths
* fix windows path seperator
* fix folder asset hash
* Optimize assets in a blocking task
* Fix asset options docs
* Document Asset and BundledAsset
* move manganis back into it's own folder
* simplify the linker macro a bit
* add more docs to AssetParser expansion
* fix manganis core doc test
* add image format helpers
* Fill in new cargo.tomls
* fix folders with explicit options
* Split by both unix and windows path separators and take the smallest one
* fix string length
* Fix base path on web and fullstack
* Fix assets with base path
* fix fullstack base route with trailing slash
* fix clippy
* Create a crate for constant serialization of config structs for manganis
* use SerializeConst for the image asset builder
* switch to a declarative macro for assets
* add serializable options for each asset type
* implement the new manganis macro
* optimize assets in the CLI
* Fix assets with dioxus formattable
* reduce fuzzing test limits
* use the new syntax in examples
* fix avif support
* Fix manganis doc tests
* cache asset optimization
* Split out asset and bundled asset
* make hash pointer width independent
* Fix manganis macro docs
* add constvec::is_empty method to fix clippy lint
* remove nasm feature
* simplify test_rsplit_once test so typos passes
* revert example change from clippy fix
* always accept unix paths
* fix windows path seperator
* fix folder asset hash
* Optimize assets in a blocking task
* Fix asset options docs
* Document Asset and BundledAsset
* simplify the linker macro a bit
* add more docs to AssetParser expansion
* add image format helpers
* Split by both unix and windows path separators and take the smallest one
* add a fuzzing test for reference counted generational boxes
* Fix subscriptions for readonlysignal passed as props
* Don't subscribe to dropped contexts
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* move history providers into a separate crate
* start moving route providers into the renderers
* clean up intoroutable
* remove into routable
* fix router tests
* Provide history providers in each renderer
* implement nested routers
* move the lens out of the history crate
* re-export dioxus history trait in the prelude
* also re-export the history function
* fix history doctests
* some light cleanups
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* add a default head method through eval
* remove the old document trait
* implement document for each platform
* pull out document into a dedicated crate to cut down on shared dependencies
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* Implement Rc generational pointers
* Clean up error handling a bit
* start adding tests
* Simplify a few types
* Separate Rc and normal generational boxes
* Add tests for rc drop and read
* Move over the pointer instead of the data in ReadOnlySignal props
* Fix panic on ref drop and release mode builds
* final rc signal cleanup
* use rc generational boxes for event handlers as well
* add a regression test for read only signal cloning
* merge main
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* 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
* Simplify the launch builder
* don't re-export launch in the prelude
* refactor fullstack launch
* Fix fullstack launch builder
* Update static generation with the new builder api
* fix some formatting/overly broad launch replacements
* fix custom menu example
* fix fullstack/static generation examples
* Fix static generation launch
* A few small formatting fixes
* Fix a few doc tests
* implement LaunchConfig for serve configs
* fix fullstack launch with separate web and server launch methods
* fix check with all features
* dont expose inner core module
* clippy and check
* fix readme
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* 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
* Fix hot reloading components with keys
* include component formatted segment keys, but not dynamic component value
* extend each head component with the corresponding element
* Allow spreading custom attributes into components
* Fix component_literal_dyn_idx index
* add a new test for hot reloading components with keys
* FIx script without body warning and rendering styles with a href set
* fix clippy
* Allow hooks in the expression of a match statement and if statement
* Don't allow hooks in spawn and detect hooks in initialization closures
* Point to DX check when hooks are called conditionally
* Fix hot reloading components with keys
* include component formatted segment keys, but not dynamic component value
* Fix component_literal_dyn_idx index
* add a new test for hot reloading components with keys
* Even more tests
* make clippy happy
* fix typo
* Expose a generic lazy type
* Switch to generic lazy globals
* simplify global lazy context a bit
* rename LazyGlobal to Global
* use Memo::global in more examples
* Fix soundness issue with deref_impl. It relies on the size of self, so it cannot be safe
* add a comment about safety
* Make clippy happy
* fix formatting
* Restore changes to signal impl
* Add helper methods for global signal and global memo to make getting the inner value easier