Commit Graph

103 Commits

Author SHA1 Message Date
Greg Johnston a898d3f2f7 beta2 release 2024-08-14 20:13:14 -04:00
mahmoud-eltahawy 20af4928b2
chore: use workspace edition for examples and crates (#2816) 2024-08-12 19:25:47 -04:00
Saber Haj Rabiee b3e2040ec9
chore: upgrade dependencies (#2765) 2024-08-10 20:01:41 -04:00
Greg Johnston 34382c0c23 chore: fix ssr tests 2024-08-02 09:24:51 -04:00
Greg Johnston bb63a1521e chore: update tests and doctests 2024-08-01 19:43:10 -04:00
Greg Johnston 54401c6f69 beta version 2024-08-01 19:43:09 -04:00
Greg Johnston fd48a61eef macro alpha 2 2024-08-01 19:42:50 -04:00
Lucas Åström ce4fe632a2 Destructuring `let` (0.7) (#2655)
* Use `let()` syntax for bindings

This lets users use destructuring when binding more complex values, and we also get better IDE support.

* Update rstml
2024-08-01 19:42:50 -04:00
Chris fb5d8513ff
docs: generate link to definition (#2656) 2024-07-03 06:46:02 -04:00
Roland Fredenhagen 4e578e335b
chore: update attribute-derive (#2438) 2024-03-18 11:39:34 -04:00
Paul Hansen 6a83161368
chore: add MSRV (#2360) 2024-02-28 07:19:09 -05:00
Greg Johnston c3e3ce7878 changes to get `todo_app_sqlite_axum` example working 2024-01-19 14:16:17 -05:00
martin frances ea80a21a54
chore: remove duplicate `itertools` versions (#2124)
The root cause is the family of leptos modules requiring both versions 0.10.5 and 0.11.0
This PR will fix that. ( Also needs a bump to 0.12.0 )

```
warning: multiple versions for dependency `itertools`: 0.10.5, 0.11.0
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
note: the lint level is defined here
 --> src/lib.rs:4:9
  |
4 | #![warn(clippy::cargo)]
  |         ^^^^^^^^^^^^^
  = note: `#[warn(clippy::multiple_crate_versions)]` implied by `#[warn(clippy::cargo)]`
```
2023-12-20 19:10:00 -05:00
Greg Johnston 4e8c3accf2
fix: make prop serialization opt-in for devtools (closes #1952) (#2081) 2023-11-27 16:35:31 -05:00
martin frances d7ca5f2e96
chore: typed-builder and typed-builder-macro - bumped version numbers. (#1958) 2023-10-29 21:49:48 -04:00
safx 9a70898b09
feat: optional named arguments for #[server] macro (#1904) 2023-10-19 16:07:43 -04:00
martin frances fb914e1a50
chore: bump outdated dependencies in `leptos_macro` (#1796)
-attribute-derive = { version = "0.6", features = ["syn-full"] }
+attribute-derive = { version = "0.8", features = ["syn-full"] }
-itertools = "0.10"
+itertools = "0.11"
2023-09-29 13:05:57 -04:00
Greg Johnston 238d61ce1e
feat: experimental islands (#1660) 2023-09-08 16:33:00 -04:00
blorbb c87212f2d7
chore: remove (most) syn 1 dependencies (#1670) 2023-09-08 14:46:38 -04:00
Greg Johnston 6c3e2fe53e
feat: update to `typed-builder` 0.16 (closes #1455) (#1590) 2023-08-26 10:10:42 -04:00
Greg Johnston a88d047eff
template refactor + snapshot tests (#1435) 2023-08-04 07:54:03 -04:00
Greg Johnston 5e26e84d77
feat: allow feature-name flexibility when using server functions (#1427) 2023-07-25 06:07:52 -04:00
Vladimir Motylenko b09f9e4814
feat: Update rstml to v0.11.0 (#1416) 2023-07-23 07:46:33 -04:00
Greg Johnston ee7dbafc85
change: migrate to `nightly` and `csr` features rather than `stable` and `default-features = false` (#1227) 2023-06-26 21:12:14 -04:00
Vladimir Motylenko 5a71ca797a
feat: RSX parser with recovery after errors, and unquoted text (#1054)
* Feat: Upgrade to new local version of syn-rsx

* chore: Make macro more IDE friendly

1. Add quotation to RawText node.
2. Replace vec! macro with [].to_vec().
Cons:
1. Temporary remove allow(unused_braces) from expressions, to allow completion after dot in rust-analyzer.

* chore: Change dependency from syn-rsx to rstml

* chore: Fix value_to_string usage, pr comments, and fmt.
2023-05-21 06:45:53 -04:00
Ben Wishovich 81f330e888
feat: add thorough tracing throughout (#908) 2023-04-22 06:47:11 -04:00
Greg Johnston 1e037ecb60
chore: clippy and docs warnings (#779) 2023-03-31 17:12:42 -04:00
Lukas Potthast e9ff26abb4
feat: allow component declaration without `use leptos::Scope` in scope (#748) 2023-03-29 07:59:08 -04:00
Greg Johnston 38daaf3b72
chore: apply `cargo machete` systematically (#671) 2023-03-13 10:16:20 -04:00
Greg Johnston b55e9a9e64
`v0.2.3`: fix broken stable support (#670) 2023-03-13 07:25:08 -04:00
martin frances 94998aa95e
chore: cargo machete: leptos_macro - Removed unused crates. (#656) 2023-03-10 09:44:23 -05:00
martin frances 81401a738c
chore: bumped typed-builder up to 0.14. (#648) 2023-03-09 16:44:27 -05:00
martin frances 27fb430900
bump typed-builder to version 0.13. (#633) 2023-03-06 09:07:21 -05:00
Greg Johnston 55ce805b60
feat: hot reloading support for `cargo-leptos` (#592) 2023-03-04 09:04:22 -05:00
Roland Fredenhagen 2ee323135f
feat: support expressions in #[prop(default=...)] (#611) 2023-03-02 19:15:45 -05:00
ealmloff 0c261c0fb0
feat: make server functions framework agnostic (#596) 2023-03-01 20:56:30 -05:00
Greg Johnston 0071a48b8a
feature: reintroduce limited template-node cloning w/ `template` macro (#526) 2023-02-16 07:02:01 -05:00
martin frances 65465cad78
leptos_macro: Machete - Removed unused deps. (#441) 2023-02-02 16:59:49 -05:00
Greg Johnston cbf2f73e95
fix: HTML entity issues in `axum_errors` example (#424) 2023-01-31 23:39:31 -05:00
martin frances 465cbc36be
Minor: Bump typed-builder from 0.11 to 0.12. (#409) 2023-01-30 19:17:09 -05:00
Greg Johnston 1563d237d0
Check uniqueness of server function names at registration time (#388)
* Check uniqueness of server function names at registration time, and stop leaking src file path in release mode

* Fix missing dev-dependency
2023-01-27 06:57:32 -05:00
Greg Johnston b861f84e40
Fix a large number of small issues in docs (#386)
* Fix example links in docs

* Restore missing CSR READMEs

* Document need to enable features on `leptos_router` and `leptos_meta`

* Add "Is it production ready?" to FAQs

* Document which types are provided as contexts in server integrations

* Fix broken links and other issues in docs
2023-01-26 21:44:01 -05:00
jclmnop d1333a3402 modify component attribute macro to allow snake_case fn names 2023-01-22 14:04:36 +00:00
Greg Johnston ebe5bf4600
Merge pull request #330 from martinfrances107/typed_builder
typed-builder inconsistent version.
2023-01-17 13:53:58 -05:00
Martin 586e9be99a Minor - type-builder version is inconsistent. 2023-01-17 17:23:05 +00:00
Martin 1fe93fd588 Minor: For each sub crate the landing page should be the root README.md. 2023-01-17 17:05:09 +00:00
hakesson 884297706a Search https://github.com/gbj/ and replace with https://github.com/leptos-rs/ 2023-01-13 09:03:11 +01:00
Greg Johnston cdf709fb09 `0.1.0` 2023-01-12 09:57:08 -05:00
Martin 1621b86d8f Minor: "leptos.workspace = true" is invalid. 2023-01-11 17:09:10 +00:00
hakesson b852e459a9 Unify workspace dependencies 2023-01-07 18:00:37 +01:00