Commit Graph
5030 Commits
Author SHA1 Message Date
Henry abfd39d90e Improve use_hook_did_run docs (#4554) 2025-10-03 20:53:37 -07:00
Jonathan Kelley ea35b4de6f fix merge conflict causing build failure 2025-10-03 20:18:17 -07:00
Evan Almloff da32278b3a Sync ReadSignal and Store (#4608)
* Add some traits read only signal works with sync storage

* seal gats

* minimize diff
2025-10-03 20:05:43 -07:00
Nils LoewenandNils Loewen 022124e512 Fix #4504 where dx fmt fails on eval of JS that contains empty line. (#4506)
https://github.com/DioxusLabs/dioxus/issues/4504

Co-authored-by: Nils Loewen <nils@blockrewards.ca>
2025-10-03 20:00:38 -07:00
Evan AlmloffandJonathan Kelley d0c4376790 Fix route hydration with ssg without early chunk commit (#4654)
* Fix route hydration with ssg without early chunk commit

* fix clobbered port for fullstack spread (merge conflict)

* wait for hydration

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2025-10-03 19:59:47 -07:00
Omar Mohamed Khallaf d8a6c265ab fix: save cli config as a toml file (#4652)
Signed-off-by: Omar Mohamed <mohamed.omar67492@gmail.com>
2025-10-03 19:46:37 -07:00
Evan Almloff 03801e1312 Fix hydration with empty spread attributes (#4647)
* Fix hydration of empty spread attributes

* add a regression test

* fix doctest
2025-10-03 19:41:23 -07:00
Timur GainullinandJonathan Kelley f48aec7eff fix: use floats for pointer events (#4708)
* fix: use f64 for PointerInteraction

* make clippy happy on beta

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2025-10-03 19:39:00 -07:00
Evan AlmloffandJonathan Kelley 12fab0f9f7 Fix fullstack serialization order for adjacent components (#4600)
* fix serialization order

* add regression test

* split out test into a seperate package

* revert logging

* change order

* opinions on structure

* small wait in hydration order test

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2025-10-03 19:23:34 -07:00
Evan AlmloffandJonathan Kelley ecec70f5e8 Fix stores with vec index method and expose opaque writer types (#4684)
* Use a different indexing method for each data structure

* add a get method for slices

* Rename trait for clarity and simplicity

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2025-10-03 18:43:54 -07:00
Kristoffer SøholmandJonathan Kelley 8d26a5d22e Fix splitting logic for serve args (#4695)
Using .split(' ') for cli arguments causes extra whitespace to become extra
arguments, and "".split(' ') returns the empty string instead of nothing.
Using split_whitespace() fixes both of these problems.

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2025-10-03 18:33:45 -07:00
Moritz Hedtke 6456576a77 Don't try launching a tokio runtime if we are already within one (#4699) 2025-10-03 18:31:56 -07:00
Evan Almloff c709c415c9 Fix chained attribute if statements with static strings (#4721) 2025-10-03 18:30:14 -07:00
Jonathan Kelley f2b1c6d97f codify "platform" into resolution logic, server-fn/fullstack overhaul (#4596)
overhaul dioxus fullstack using a new implementation of server_fn

This PR is a complete rewrite of dioxus fullstack designed to improve compatibility with axum and to fix a number of compilation errors based on feature flag unification plumbing through macros.
2025-10-03 18:26:19 -07:00
dependabot[bot] 8421c3aef0 Bump tar-fs from 2.1.3 to 2.1.4 in /packages/extension (#4702)
Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 2.1.3 to 2.1.4.
- [Commits](https://github.com/mafintosh/tar-fs/compare/v2.1.3...v2.1.4)

---
updated-dependencies:
- dependency-name: tar-fs
  dependency-version: 2.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-03 13:44:43 -07:00
Nico Burns ab19ad4624 native: open links in default webbrowser (#4623) 2025-10-03 13:43:47 -07:00
Jonathan Kelley 6cfe64209a fix: hot-patching wasm reference types due to changes in wbg-2.104 2025-10-03 01:11:34 -07:00
Evan Almloff d65f9a53c4 Fix hydration error suspense (#4640)
* Fix hydration of error boundaries

* add a regression test

* add more comments

* fix typos

* more typos

* fix clippy
2025-10-02 22:21:41 -07:00
Evan Almloff ad40f81607 Fix the root error boundary during suspense in ssr (#4710)
* Fix the root error boundary during suspense in ssr

* fix some typos
2025-10-01 17:10:28 -07:00
Moritz Hedtke 10912f4750 Don't rely on window (#4697) 2025-09-26 13:44:25 +01:00
Evan Almloff 2e7e0696a3 Fix opening in new tab with internal links (#4677) 2025-09-20 21:34:06 -07:00
Evan Almloff eef4db67b1 remove usage of private modules (#4664) 2025-09-15 12:14:47 -07:00
Evan Almloff ed285c9604 Pin serde in the CLI (#4663) 2025-09-15 10:49:29 -07:00
Evan Almloff 5104644b34 Allow relative assets in rust > 1.88 (#4658)
* Allow relative assets in rust > 1.88 and assets outside of the crate in
binary crates

* undo changes to assets outside of the crate

* don't use relative assets in examples
2025-09-15 10:43:30 -07:00
Evan Almloff 707bde2986 add GlobalStore to the prelude (#4662) 2025-09-15 14:54:32 +01:00
Evan Almloff 539ede2041 implement copy for eval (#4655) 2025-09-12 08:20:03 -05:00
Omar Mohamed Khallaf a9ef9af980 fix: feature gate tokio and tracing (#4651)
Signed-off-by: Omar Mohamed <mohamed.omar67492@gmail.com>
2025-09-09 19:45:15 +01:00
Andrew Avsenin 284d6ea68e Fixed client config macro (#4650)
Added mobile feature target to config macro
2025-09-09 11:11:46 -05:00
Jonathan Kelley 5ebde96352 add the common document elements to prelude 2025-09-03 15:13:32 -07:00
Jonathan Kelley c1e43b5bda disable blocking font loading 2025-09-03 15:04:21 -07:00
Sebastijan Kelnerič 627386c5fd Rebuild router on every hot reload message (#4537) 2025-09-03 15:03:48 -07:00
Nico Burns ba64110adc Upgrade Blitz to v0.1.0 (#4619)
* Upgrade Blitz to v0.1.0

Signed-off-by: Nico Burns <nico@nicoburns.com>

* Fix clicking on anonymous blocks

Signed-off-by: Nico Burns <nico@nicoburns.com>

---------

Signed-off-by: Nico Burns <nico@nicoburns.com>
2025-08-29 22:59:47 +01:00
Evan Almloff 171f34589f improve placeholder hash error message (#4615) 2025-08-29 11:27:56 -05:00
Jonathan Kelley 969ad1d6bb fix windows arm tailwind 2025-08-21 20:40:02 -07:00
Jonathan Kelley 083e04bb6c feat: add dx print command, drive hotpatching engine directly. (#4602)
* feat: add dx print command

* small tweak to how client_target is handled

* hotpatching engine wired up!

* small cleanups

* lighter diff

* little bit more light cleanups

* remove changes to manganis

* fix wrong dir error

* move session_cache fixing to prebuild step
2025-08-21 20:29:49 -07:00
Jonathan Kelley d899afaf4a fix android minsdk in two places 2025-08-20 14:35:00 -07:00
Damien CORLERandJonathan Kelley 8d617080b1 Add cancel event (#4476)
* feat: add cancel event

* feat: provide cancel event

* feat: insert cancel event in web

* fix: typo

* feat: propagate implementation of cancel event

* fix merge conflicts / tests

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2025-08-20 11:09:24 -07:00
Evan Almloff f95d8e4682 Fix empty borrow location warnings (#4593)
* Fix empty borrow location warnings

* add error tests for rc variants

* fix clippy
2025-08-20 10:56:06 -07:00
Henry 525c00ddac Remove ReadOnlySignal (#4552)
* Remove ReadOnlySignal

* Add back ReadOnlySignal as deprecated
2025-08-20 10:49:03 -07:00
Jonathan Kelley 0a04a199a4 feat: add subsecond serve (#4588)
* feat: add subsecond serve

* typos...
2025-08-19 20:52:46 -07:00
Jonathan Kelley 9ec474962b fix lints on rust 1.89 (#4587) 2025-08-19 19:34:13 -07:00
Jonathan Kelley 27bae6fbb7 revert changes to tailwind serve 2025-08-19 19:18:04 -07:00
Jonathan Kelley 2f92619a28 bump minsdk up a bit (#4585) 2025-08-19 18:24:59 -07:00
Jonathan Kelley 893543faa9 throw warning for wasm-split (#4584) 2025-08-19 18:14:17 -07:00
Jonathan Kelley 23908b9d49 fix: automatic rebuilds, num_threads for localpools (#4583)
* fix: automatic rebuilds

* Fix concurrency for locapoolhandle
2025-08-19 17:50:16 -07:00
Jonathan Kelley 74163984be show panics in the toast in wasm (#4582) 2025-08-19 17:13:13 -07:00
Evan AlmloffandJonathan Kelley 165447a647 Fix the server extension on windows server bundles (#4555)
* fix the server extension on windows server bundles

* fix formatting

* retry extracting assets if windows antivirus is holding the lock

* fix exe hash with extension

* add a timeout

* wip, make async

* use async methods

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2025-08-19 16:42:34 -07:00
Jonathan Kelley a7805b8e2a fix: select best match from --device (#4581)
* feat: add codesigning to ios

* add search for android too

* install toolchains for every target

* install toolchains automatically
2025-08-19 16:23:19 -07:00
Dave Abrahams 4977c3ef23 Correct misleading string content. (#4542) 2025-08-19 12:34:46 -07:00
dependabot[bot] ca2e816f3b Bump tmp from 0.2.1 to 0.2.5 in /packages/extension (#4524)
Bumps [tmp](https://github.com/raszi/node-tmp) from 0.2.1 to 0.2.5.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/raszi/node-tmp/compare/v0.2.1...v0.2.5)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version: 0.2.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-19 12:32:29 -07:00