Commit Graph
100 Commits
Author SHA1 Message Date
Jonathan Kelley a3e6d0adca Merge pull request #1602 from ealmloff/fix-scroll-web 2023-11-02 22:35:16 -04:00
Jonathan Kelley 035f26d4bf Merge pull request #1573 from tigerros/fix-props-docs-line-breaks
Fix prop docs line breaks
2023-10-25 17:03:46 -04:00
Jonathan Kelley 647815fa6f Merge pull request #1558 from ealmloff/link-key-props
Add an readable error when you name a prop key
2023-10-23 16:58:53 -04:00
Jonathan Kelley 716130d025 Merge pull request #1570 from ealmloff/clarify-web-gaurd-fullstack
Add error message when overlapping fullstack features are enabled
2023-10-23 16:32:34 -04:00
Jonathan Kelley ea8c5e290d Merge pull request #1551 from ealmloff/fix-signals-outside-of-runtime
Fix using signals outside of a scope
2023-10-23 15:32:12 -04:00
Jonathan Kelley c7963a0344 Merge pull request #1546 from DioxusLabs/jk/loop-allocation-strategy
Change the semantics of exprs/for loops allocations strategy
2023-10-17 16:30:20 -07:00
Jonathan Kelley 9cdbf81a4b fix clippy lint 2023-10-17 16:06:43 -07:00
Jonathan Kelley 65e21d7874 Change signals example a bit 2023-10-17 15:52:13 -07:00
Jonathan Kelley e819702fc5 Add into_vnode temporary logic for more things
This commit adjusts how rsx! works, making it more forgiving with signals.

Notably, we add the temporaries to if chains too.
2023-10-17 15:42:21 -07:00
Jonathan Kelley 55ad41b392 Merge branch 'master' into jk/loop-allocation-strategy 2023-10-17 15:27:20 -07:00
Jonathan Kelley 509dca97e6 Merge pull request #1544 from ealmloff/must-use-hooks
Add must use to several hooks
2023-10-17 09:24:39 -07:00
Jonathan Kelley 025a321648 Merge pull request #1550 from ealmloff/restore-deref-fn-signal
Make signal callable on stable
2023-10-17 09:13:26 -07:00
Jonathan Kelley 7e2164d6d6 Add toggle 2023-10-15 17:52:01 -07:00
Jonathan Kelley 741bfbc9ac Add toggle to signals example 2023-10-15 17:50:23 -07:00
Jonathan Kelley 14b3fa72e4 Change the semantics of exprs/for loops allocations strategy
This commit adjusts how exprs and for loops are handled within
rsx. This is a breaking change in terms of codegen, but has
slight semantic changes as well.

Now, when exprs/for loops are allocated, they are given a temporary.
The temporary is elided to the <'a> lifetime of the bump, to satisfy
the borrow checker. This fixes issues with signals where exprs/for
loops mapping vecs out of RefCells would be caught up without a
temporary lifetime.
2023-10-15 17:40:56 -07:00
Jonathan Kelley 04f83e1e92 Remove outdated changelong 2023-10-13 14:31:21 -07:00
Jonathan Kelley 7063c6272b Merge pull request #1480 from ealmloff/fix-playwright-windows
Fix playwright tests on windows
2023-09-22 13:30:48 -07:00
Jonathan Kelley 27a551d63e Merge pull request #1467 from ealmloff/expose-runtime-gaurd
Make RuntimeGuard public
2023-09-18 23:12:50 -07:00
Jonathan Kelley 9c300ff266 Merge pull request #1324 from ealmloff/bool-attrs-ssr
Fix boolean attribute rendering in SSR
2023-09-16 12:01:52 -07:00
Jonathan Kelley d3775bb82e Merge pull request #1313 from ealmloff/log-server-errors
Return more useful messages when a server function errors
2023-09-16 12:01:01 -07:00
Jonathan Kelley a7551d1e63 Merge branch 'master' into log-server-errors 2023-09-16 12:00:54 -07:00
Jonathan Kelley 13f10fea1b Merge pull request #1441 from ealmloff/fix-uplink
Expose public methods for manipulating the global runtime
2023-09-16 11:59:59 -07:00
Jonathan Kelley 73169e377e Merge pull request #1322 from ealmloff/fix-text-node-target-events
Fix events with a text node target
2023-09-16 11:57:33 -07:00
Jonathan Kelley cb39122247 Merge pull request #1298 from ealmloff/fix-spread-routes
Fix parsing spread routes
2023-09-16 11:56:54 -07:00
Jonathan Kelley 30b958ffa8 Merge pull request #1386 from ealmloff/fix-new-signals-in-effects
Fix leaked signals created in effects
2023-09-16 11:56:40 -07:00
Jonathan Kelley de649a46d6 Merge pull request #1315 from ealmloff/handle-select-elements
Handle oninput for select elements
2023-09-16 11:56:18 -07:00
Jonathan Kelley 2f1fbf3ca4 Merge pull request #1406 from DioxusLabs/fix-router-query
Fix web query segments
2023-09-16 11:55:43 -07:00
Jonathan Kelley e59a05141e Merge pull request #1446 from ealmloff/deduplicate-hot-reload-cli
Deduplicate serve code with hot reloading in the CLI crate
2023-09-16 11:55:16 -07:00
Jonathan Kelley c397d2dfd1 Merge pull request #1382 from ealmloff/fix-docs-rs-desktop-build
Fix docs.rs build for desktop
2023-09-16 11:54:15 -07:00
Jonathan Kelley e4620250bd Merge branch 'master' into fix-docs-rs-desktop-build 2023-09-16 11:54:08 -07:00
Jonathan Kelley 1a093b895e Merge pull request #1464 from marc2332/fix/update-doc-links-v3-to-v4
fix: Update doc links from v0.3 to v0.4
2023-09-16 11:53:17 -07:00
Jonathan Kelley f2b05bcfb4 Merge pull request #1440 from ealmloff/fix-use-future-docs
Fix use_future docs
2023-09-16 11:52:54 -07:00
Jonathan Kelley b68a1f57e0 Merge pull request #1436 from ealmloff/tracing 2023-09-13 10:41:23 -07:00
Jonathan Kelley e799c2efa2 Merge pull request #1420 from ealmloff/only-collect-rsx-macro
Only collect the rsx and render macros in autofmt
2023-09-04 12:11:02 -07:00
Jonathan Kelley 65828d0c2a Merge pull request #1412 from ealmloff/forward-devtools-feature
Forward Wry's devtools, dox and linux-body flags
2023-09-04 12:01:22 -07:00
Jonathan Kelley 4009064767 Merge pull request #1415 from ealmloff/pin-tauri-deps
Pin Tauri dependencies to a minor version
2023-09-04 11:30:25 -07:00
Jonathan Kelley 1ba6ca39e3 Merge pull request #1384 from ealmloff/new-in-scope-signals
Expose new_in_scope for signals
2023-08-30 23:14:58 -07:00
Jonathan Kelley da4794d793 bump core to 0.4.2 2023-08-22 11:56:13 -07:00
Jonathan Kelley a38860e4f2 Merge pull request #1345 from Demonthos/fix-borrowed-props
Constrain Props lifetime to parent, not child scope lifetime
2023-08-22 11:50:06 -07:00
Jonathan Kelley a2df9c2e89 Merge pull request #1364 from Demonthos/fix-core-leak
Fix leak in core because of bump allocated Vec
2023-08-15 13:54:00 -07:00
Jonathan Kelley fee206ab3f Merge pull request #1351 from Demonthos/fix-context-in-lists
Fix the context API in lists
2023-08-15 13:39:49 -07:00
Jonathan Kelley c95f70f55a Merge pull request #1300 from Demonthos/signals
Complete Signals implementation
2023-08-11 13:05:04 -07:00
Jonathan Kelley 8e08d721f1 Merge pull request #1327 from Demonthos/fix-login-form-example
Fix the login form example
2023-08-11 13:03:26 -07:00
Jonathan Kelley 2c79b7fd67 Update dioxus-core to 0.4.1 2023-08-09 15:00:57 -07:00
Jonathan Kelley 74211a6b61 Merge pull request #1332 from Demonthos/fix-variance
Separate Parent and Child Component Lifetimes
2023-08-09 14:59:31 -07:00
Jonathan Kelley 56c3dcc437 Merge pull request #1301 from eventualbuddha/chore/cli/remove-unused-fn
chore(cli): remove unused function
2023-08-06 23:09:28 -07:00
Jonathan Kelley ac30a9af7d Merge pull request #1305 from eventualbuddha/fix/cli/prevent-zip-slip 2023-08-05 00:54:01 -07:00
Jonathan Kelley 3d4c5d7c98 Update fullstack to 0.4.1 2023-08-03 12:34:54 -07:00
Jonathan Kelley 88cca9c949 Merge pull request #1285 from Demonthos/flexable-server-function-features
Make server function features flexible
2023-08-03 12:16:32 -07:00
Jonathan Kelley 3e96dda7c7 Merge pull request #1284 from Demonthos/fix-fullstack-docs
Fix Fullstack docs building
2023-08-03 12:16:16 -07:00
Jonathan Kelley c10fd9ab6d Merge pull request #1276 from DioxusLabs/jk/release-new-versions
Release new versions (0.4.1)
2023-08-01 18:39:22 -07:00
Jonathan Kelley 906f3ee7db Bump workspace version to 0.4.1 2023-08-01 16:37:42 -07:00
Jonathan Kelley ccbbd701d9 Merge branch 'master' into jk/release-new-versions 2023-08-01 16:35:19 -07:00
Jonathan Kelley 0b382a468f Merge pull request #1275 from Demonthos/update-scroll-history-lazy
Update scroll history lazily when you leave a page
2023-08-01 11:06:33 -07:00
Jonathan Kelley 7c6bb27b1e Bump the router to include #1272 2023-08-01 10:52:32 -07:00
Jonathan Kelley 83987f9728 Release new version of router including small fixes 2023-08-01 10:47:16 -07:00
Jonathan Kelley fe1ce3bbe7 Merge pull request #1273 from Demonthos/dedup-history
Deduplicate route history
2023-08-01 10:35:20 -07:00
Jonathan Kelley 25a2abfa08 Merge pull request #1274 from Demonthos/fix-navigator
Fix navigator push/replace route
2023-08-01 10:35:01 -07:00
Jonathan Kelley 39e89c1fac Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
Jonathan Kelley f80c3c9ffb Bump core and interpreter 2023-07-31 18:02:23 -07:00
Jonathan Kelley 8a875acdd2 Adjust versions, add authors, move server macro to top level 2023-07-31 17:59:36 -07:00
Jonathan Kelley 09cce6bdfb Merge pull request #1270 from Demonthos/add-authors
Add authors to all crates
2023-07-31 17:38:44 -07:00
Jonathan Kelley 456b553c93 Merge pull request #1230 from Demonthos/add-computed
Add computed hook
2023-07-31 17:37:47 -07:00
Jonathan Kelley 59016007f2 Merge pull request #1251 from DioxusLabs/make-ssr-state-public
Make SsrState public
2023-07-31 17:37:35 -07:00
Jonathan Kelley f704d81519 Merge pull request #1253 from Demonthos/fix-map-route
Fix finding files with a custom map_path
2023-07-31 17:28:03 -07:00
Jonathan Kelley 8cf59fe52e Merge pull request #1265 from Demonthos/dioxus-web-features
Create default enabled features for large web events
2023-07-31 17:14:07 -07:00
Jonathan Kelley e1dcc335c0 Merge pull request #1263 from Demonthos/builder-launch-fullstack
Switch to launch builder instead of macro for fullstack
2023-07-31 11:44:36 -07:00
Jonathan Kelley b526fa3ebc Merge pull request #1264 from Demonthos/spawn-pinned
Don't spawn a new tokio runtime every fullstack request
2023-07-28 14:58:45 -07:00
Jonathan Kelley 5e3451a6f2 Quiet cargo warnings 2023-07-26 21:02:39 -07:00
Jonathan Kelley 30f8218251 Add simpler router 2023-07-26 19:19:51 -07:00
Jonathan Kelley 694fc22acb Merge pull request #1255 from Demonthos/core-private
Make more of core private
2023-07-26 18:31:29 -07:00
Jonathan Kelley 418c03e2cd Merge pull request #1252 from Demonthos/non-generic-link
Remove autogenerated functions/components from the routable macro
2023-07-26 18:11:32 -07:00
Jonathan Kelley 4b96b00591 Merge pull request #1254 from Demonthos/add-bundle-command
Create cli bundle command
2023-07-26 16:54:59 -07:00
Jonathan Kelley 6e80f15d6a Merge pull request #1250 from Demonthos/fix-root-suspense
Fix root component suspense
2023-07-26 10:24:29 -07:00
Jonathan Kelley 6751d5941b Merge pull request #1215 from eventualbuddha/feat/check/rules-of-hooks
feat(check): adds `dx check`
2023-07-25 11:57:02 -07:00
Jonathan Kelley 7d4361a701 Merge pull request #1244 from Demonthos/is-decendant
Add is_child_of function to Routable
2023-07-24 17:36:30 -07:00
Jonathan Kelley b00e506052 Merge pull request #1245 from Demonthos/change-link-target-to
Make new enum router less breaking
2023-07-24 17:36:17 -07:00
Jonathan Kelley 0097b82490 Merge pull request #1234 from Demonthos/fix-static-hydrated
Fix route prerendering
2023-07-21 16:57:28 -07:00
Jonathan Kelley 6d2163bfcb Merge pull request #1233 from Demonthos/log-rebuild-errors
Log errors when a component fails to render
2023-07-21 15:56:44 -07:00
Jonathan Kelley b36a7a3993 Merge pull request #1235 from Demonthos/fix-use-future-looping
Fix use_future always spawning a new task and never updating
2023-07-21 13:59:56 -07:00
Jonathan Kelley af254102d0 Merge pull request #926 from Demonthos/prevent-default-form-web 2023-07-20 16:07:52 -07:00
Jonathan Kelley 3af0355196 Merge pull request #1199 from Demonthos/use-server-function
Use server function hook
2023-07-20 12:49:47 -07:00
Jonathan Kelley 6d18039ce3 Merge pull request #1229 from Demonthos/optimize-remove_attribute
Optimize the remove_attribute function
2023-07-20 11:58:24 -07:00
Jonathan Kelley a49fd81523 fix merge conflict 2023-07-20 10:55:52 -07:00
Jonathan Kelley 4cd2c0f35f Merge pull request #1187 from Niedzwiedzw/feature/use-shared-state-better-diagnostics
better diagnostics for use_shared_state
2023-07-20 10:51:20 -07:00
Jonathan Kelley 91d4207fa7 Merge branch 'master' into feature/use-shared-state-better-diagnostics 2023-07-20 10:51:10 -07:00
Jonathan Kelley f0289068a2 Merge pull request #1219 from Demonthos/improve-build-times
Halve Build Times
2023-07-20 10:50:15 -07:00
Jonathan Kelley 2084198eca Merge pull request #1228 from frisoft/master
Update license field following SPDX 2.1 license expression standard
2023-07-20 10:48:54 -07:00
Jonathan Kelley 79909060cd Merge pull request #1223 from DioxusLabs/jk/fix-use-future
Fix race condition in use_future by using use_state directly.
2023-07-19 20:01:15 -07:00
Jonathan Kelley b028ca87ec Merge pull request #1222 from DioxusLabs/jk/add-caching-to-ios
Add caching to windows CI, and build for Android + iOS
2023-07-19 20:00:48 -07:00
Jonathan Kelley 1ed277154a Merge pull request #1210 from Demonthos/desktop-serve-cli
Move desktop hot reload into the CLI
2023-07-19 19:48:09 -07:00
Jonathan Kelley eaaee45fda Merge pull request #1216 from DioxusLabs/dependabot/npm_and_yarn/packages/extension/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4 in /packages/extension
2023-07-19 19:47:35 -07:00
Jonathan Kelley 941641825e Merge pull request #1226 from DioxusLabs/jk/make-miri-happier
Fix: dont use bumpslab anymore, just box scopestates
2023-07-19 19:47:13 -07:00
Jonathan Kelley 223d588c85 Bump msrv to support simple logger 2023-07-19 19:33:39 -07:00
Jonathan Kelley af7a7df3a6 Merge pull request #1224 from Demonthos/auto-fmt-docsite
Improve auto formatting multiline raw attributes/event handlers
2023-07-19 19:04:23 -07:00
Jonathan Kelley 462338e49f Remove linux from matrix since we already test it with the wasmpack test 2023-07-19 18:48:17 -07:00
Jonathan Kelley af363b6bb5 Unleash all core tests with miri 2023-07-19 18:42:03 -07:00
Jonathan Kelley 4240f8428c Fix: dont use bumpslab anymore, just box scopestates 2023-07-19 18:40:43 -07:00
Jonathan Kelley 9d942f1162 make msrv 1.66 2023-07-19 17:20:48 -07:00
Jonathan Kelley afa8687735 Bump rust version to 1.69 2023-07-19 16:22:19 -07:00