Commit Graph

2808 Commits

Author SHA1 Message Date
Greg Johnston 20e5db22b8
fix: replace uses of `create_effect` internally with `create_isomorphic_effect` (closes #1709) (#1723) 2023-09-15 17:23:36 -04:00
Greg Johnston 54e8a536c4
fix: correctly register `Resource::with()` (closes #1711) (#1726) 2023-09-15 16:49:28 -04:00
Greg Johnston afa67726c1
fix: document `#[prop(default = ...)]` as in Optional Props (closes #1710) (#1721) 2023-09-15 15:16:46 -04:00
Greg Johnston 1db3e9c686
feat: implement `Serialize` and `Deserialize` for `Oco<_>` (#1720) 2023-09-15 15:16:35 -04:00
blorbb 2fd6e0a2a8
feat: support `move` on `with!` macros (#1717) 2023-09-15 12:58:30 -04:00
Gabriel de Perthuis af454c7643
docs: typo in table of contents (#1719) 2023-09-15 12:58:09 -04:00
Joseph Cruz 1a589fcf32
fix(examples/build): do not require stop to end trunk (#1713)
* fix(examples/build): let ctrl-c stop trunk

* doc(examples/build): add stop server hints
2023-09-14 17:07:16 -04:00
Joseph Cruz af215d6ce8
fix: exclude markdown files from examples lists (#1716)
* fix(examples/gen-members): exclude markdown files

* fix(ci): exclude markdown files from examples list

* test(ci): simulate leptos change

* chore(ci) :remove simulated change
2023-09-14 16:58:46 -04:00
Greg Johnston e9fef73f53 docs: note about 0.5 in book 2023-09-14 15:53:27 -04:00
Chris 7c9b118b2d
docs: update out-of-date docs for `component` macro (#1696) 2023-09-14 13:47:04 -04:00
Cosmo Brain 5db2590bc6
feat: implement `LeptosRoutes` for `&mut ServiceConfig` in `leptos_actix` (#1706) 2023-09-13 20:56:03 -04:00
Lukas Potthast dc1ba24470
fix: manual Clone and Debug impl for Callbacks (#1703) 2023-09-13 19:59:23 -04:00
Joseph Cruz e384d53996
doc(examples): reference run instructions (#1705) 2023-09-13 19:57:50 -04:00
jquesada2016 946f9ff3e1
feat: impl `From<HtmlElement<El>> for HtmlElement<AnyElement>` (#1700) 2023-09-13 19:55:48 -04:00
Baptiste 8d690ac146
fix: IntoView impl for Rc<dyn Fn() -> impl IntoView> (#1698) 2023-09-13 19:55:08 -04:00
Greg Johnston 8245d77738
Merge pull request #1704 from leptos-rs/rc1-fixes
A few fixes to rc1
2023-09-13 16:51:19 -04:00
Greg Johnston 59c7684568 fix: warnings on hydrating `()` 2023-09-13 12:01:05 -04:00
Greg Johnston a158e7f8bd fix: remove erroneous log 2023-09-13 12:00:56 -04:00
Joseph Cruz c11c4b0e3e
build(examples): make it easier to run examples (#1697)
* build(examples): support process management
* build(examples): manage trunk
* build(examples): manage cargo leptos
* doc(examples): add run instructions
2023-09-12 10:46:16 -04:00
Greg Johnston fe42ac11a8 `0.5.0-rc1` 2023-09-11 21:08:14 -04:00
blorbb 00f8c9583d
feat: `with!` macros (#1693) 2023-09-11 21:01:50 -04:00
Greg Johnston a317874f93
change: run effects after a tick (#1680) 2023-09-11 21:01:35 -04:00
Greg Johnston 651356a9ec
docs: add docs for `#[island]` macro (#1691) 2023-09-11 19:56:33 -04:00
Village 1c2327b2d6
feat: `attr:` and `#[prop(attrs)]` syntax for passing attributes down to components (#1628) 2023-09-10 15:19:53 -04:00
Michael Jarvis 8c3e0f23b0
docs: fix interlude_projecting_children.md (#1690) 2023-09-10 15:18:11 -04:00
martin frances 1719c0d352
chore: cleared "cargo doc" issue. (#1687)
warning: Rust code block is empty
   --> leptos_reactive/src/memo.rs:209:9
    |
209 |     /// ```
    |         ^^^
    |
    = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default
help: mark blocks that do not contain Rust code as text
    |
209 |     /// ```text
    |            ++++
2023-09-10 15:17:36 -04:00
Greg Johnston bb78f64cd5
fix: broken `mount_to_body` in CSR mode (#1688) 2023-09-10 13:23:32 -04:00
Greg Johnston 2fe5be2483
fix: restore deleted `extract_with_state` function (#1683) 2023-09-10 07:55:13 -04:00
martin frances 929fe08525
chore: remove ambiguity surrounding serde version numbers. (#1685)
These lint warnings.

warning: /home/martin/build/leptos/leptos/Cargo.toml: dependency (serde) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
warning: /home/martin/build/leptos/leptos/Cargo.toml: dependency (serde_json) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
2023-09-09 16:15:34 -04:00
Greg Johnston 66dfef8729
Merge pull request #1681 from leptos-rs/docs 2023-09-08 17:11:47 -04:00
Greg Johnston 238d61ce1e
feat: experimental islands (#1660) 2023-09-08 16:33:00 -04:00
Greg Johnston 2fa2bf1706 docs: format 2023-09-08 16:27:50 -04:00
Greg Johnston a07984be9e docs: add runtime warnings for mixing `view!` and builder in SSR mode (closes #1645) 2023-09-08 16:27:29 -04:00
Greg Johnston e8a7086546 docs: add section on small DX wins (closes #1310) 2023-09-08 16:12:27 -04:00
Greg Johnston 23d48d4c0e docs: remove stray references to `Scope` (closes #1671) 2023-09-08 16:02:45 -04:00
Greg Johnston 3342faa039 docs: discuss `#[component(transparent)]` in router docs (closes #1627) 2023-09-08 15:57:02 -04:00
Greg Johnston 6c24061c82 docs: emphasize that you should only render `<Routes/>` once (closes #1552, #1620) 2023-09-08 15:48:41 -04:00
Greg Johnston b9a1fb7743
examples: add note about potential for memory leaks with nested signals (#1675) 2023-09-08 15:28:18 -04:00
martin frances 3c3fc969ac
chore: removed resolver link warning in example (#1677) 2023-09-08 14:47:14 -04:00
blorbb c87212f2d7
chore: remove (most) syn 1 dependencies (#1670) 2023-09-08 14:46:38 -04:00
Baptiste b3a4c95dad
feat: `Rc`-backed `ChildrenFn` (#1669) 2023-09-08 07:44:50 -04:00
Greg Johnston de44b1f91f
Merge pull request #1673 from martinfrances107/router_version_bump
Router version bump
2023-09-08 07:43:47 -04:00
Greg Johnston 689022661d
change: move logging macros into a `logging` module to avoid name conflicts with `log` and `tracing` (#1658) 2023-09-08 07:42:58 -04:00
Joseph Cruz 905d46a09d
refactor(examples): extract client process tasks (#1665) (#1666)
* doc(test-report): report trunk and node

* refactor(examples): extract client process tasks

* chore(exaples): force ci
2023-09-08 07:31:55 -04:00
martinfrances107 5585f20940
chore: Bumped a few outdated packages.
-cached = { version = "0.44.0", optional = true }
+cached = { version = "0.45.0", optional = true }
-lru = { version = "0.10", optional = true }
+lru = { version = "0.11", optional = true }
2023-09-08 09:30:13 +01:00
martinfrances107 5c3ed3f018
Chore: Bump to actions/checkout@v4 2023-09-08 08:28:01 +01:00
Greg Johnston 03cabf6ea3
chore: create SECURITY.md 2023-09-06 21:19:33 -04:00
SleeplessOne1917 2798dc455f
examples: use cargo-leptos Tailwind support in Tailwind examples (#1625) 2023-09-06 07:25:00 -04:00
Florian Wickert db20be5576
fix: compare path components to detect active link in router (#1656) 2023-09-06 06:49:10 -04:00
Nya 495862e9f9
fix: custom events on components (#1648) 2023-09-04 13:27:33 -04:00