Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Sycamore v0.8.0 #142

Merged
merged 40 commits into from
May 30, 2022
Merged

Upgrade to Sycamore v0.8.0 #142

merged 40 commits into from
May 30, 2022

Commits on Apr 20, 2022

  1. chore: updated versions and editions

    Sycamore v0.8 only runs on Rust 2021.
    arctic-hen7 committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    3031f79 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. Configuration menu
    Copy the full SHA
    0c3d37a View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2022

  1. fix: fixed easy errors in perseus crate

    Still have to do:
    - `router/`
    - `template/`
    - `shell.rs`
    - One tricky error in `error_pages.rs`
    arctic-hen7 committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    cedd446 View commit details
    Browse the repository at this point in the history
  2. fix: fixed all errors in perseus crate

    I removed the troublesome function in `error_pages.rs`, so that may bite
    me soon.
    arctic-hen7 committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    7c34fbd View commit details
    Browse the repository at this point in the history
  3. fix: fixed clippy lints

    arctic-hen7 committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    6762645 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2022

  1. Configuration menu
    Copy the full SHA
    0df349b View commit details
    Browse the repository at this point in the history
  2. fix: partial fixes for rx_state

    Still have problems with `bind:value` (as we will in all the state
    platform examples for now).
    arctic-hen7 committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    d1b8a7f View commit details
    Browse the repository at this point in the history
  3. fix: updated state examples (errors persist)

    The remaining errors will be fixed after `make_rx` can work with
    non-`Rc` `Signal`s.
    arctic-hen7 committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    d3962c3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6345dfc View commit details
    Browse the repository at this point in the history
  5. fix: fixed engine

    Nothing works without hydration disabled though...
    arctic-hen7 committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    e2d01ca View commit details
    Browse the repository at this point in the history
  6. refactor: made renderers use top-level router context

    This *should* make the state platform work with lifetimes.
    arctic-hen7 committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    8b8e00b View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2022

  1. Configuration menu
    Copy the full SHA
    e47101d View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. Configuration menu
    Copy the full SHA
    ea98940 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9786088 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2022

  1. Configuration menu
    Copy the full SHA
    295954e View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2022

  1. Configuration menu
    Copy the full SHA
    15187b5 View commit details
    Browse the repository at this point in the history
  2. revert: revert to before axing RcSignals

    I have been shown a much better way of achieving the same outcome.
    arctic-hen7 committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    8f7447b View commit details
    Browse the repository at this point in the history
  3. revert: return to previous changes

    It will be easier to manually undo changes to make sure we preserve some
    good things.
    
    This reverts commit 15187b5.
    arctic-hen7 committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    c7d1475 View commit details
    Browse the repository at this point in the history
  4. feat: moved back to RcSignals

    This avoids a huge number of lifetime issues, and actually ends up being
    more performant, without compromising on ergonomics.
    arctic-hen7 committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    e7228a8 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2022

  1. feat: made struct given to user's template use &'a RcSignal<T>

    This should make Perseus several orders of magnitude more ergonomic, in
    line with Sycamore's new no-clones system!
    arctic-hen7 committed May 5, 2022
    Configuration menu
    Copy the full SHA
    e2c5d52 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2022

  1. fix: fixed global state functionality in the macros

    This requires an irritating change to import practices unfortunately,
    but the convenience and ergonomics are worth it.
    arctic-hen7 committed May 6, 2022
    Configuration menu
    Copy the full SHA
    39450d6 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2022

  1. Configuration menu
    Copy the full SHA
    5d3097a View commit details
    Browse the repository at this point in the history

Commits on May 8, 2022

  1. fix: fixed all lifetimes issues

    This also involved some minor changes to the macros to fix some nested
    state issues.
    arctic-hen7 committed May 8, 2022
    Configuration menu
    Copy the full SHA
    50d4b4c View commit details
    Browse the repository at this point in the history

Commits on May 9, 2022

  1. fix: fixed nested state references

    This improves ergonomics and makes the auth example compile.
    arctic-hen7 committed May 9, 2022
    Configuration menu
    Copy the full SHA
    4e4b20d View commit details
    Browse the repository at this point in the history

Commits on May 10, 2022

  1. fix: fixed hydration by not inserting hydration keys in <head> (#137)

    * refactor: simplify provide_context_signal_replace
    
    Also slightly improves performance in only making a single call to use_context
    
    * fix: do not insert hydration keys in the head string
    
    * chore: remove perseus/hydrate feature from Cargo.toml
    
    * chore: merge imports for consistent code style
    
    * fix: update sycamore to v0.8.0-beta.5 and remove workaround
    
    Co-authored-by: arctic_hen7 <arctic_hen7@pm.me>
    lukechu10 and arctic-hen7 authored May 10, 2022
    Configuration menu
    Copy the full SHA
    990de00 View commit details
    Browse the repository at this point in the history
  2. chore: updated deps after #137

    These were just for the demos that weren't ready at the time of the PR.
    arctic-hen7 committed May 10, 2022
    Configuration menu
    Copy the full SHA
    5bf3f3c View commit details
    Browse the repository at this point in the history
  3. chore: re-added hydrate feature to basic example

    Hydration still doesn't work in the `auth` example.
    arctic-hen7 committed May 10, 2022
    Configuration menu
    Copy the full SHA
    31f5fd0 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2022

  1. chore: removed unused dep

    arctic-hen7 committed May 11, 2022
    Configuration menu
    Copy the full SHA
    65eee55 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a17f85 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2022

  1. Configuration menu
    Copy the full SHA
    9708a2e View commit details
    Browse the repository at this point in the history

Commits on May 15, 2022

  1. Configuration menu
    Copy the full SHA
    da442d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    33ab0b0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3c1f892 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2022

  1. chore: updated to latest sycamore beta

    This should fix the issues with the `body` element.
    arctic-hen7 committed May 27, 2022
    Configuration menu
    Copy the full SHA
    b28c031 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d761ef4 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2022

  1. Configuration menu
    Copy the full SHA
    cdb5166 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2022

  1. Configuration menu
    Copy the full SHA
    7c01711 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e40381b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    77ded1e View commit details
    Browse the repository at this point in the history

Commits on May 30, 2022

  1. docs: added new docs for v0.4.x

    Also locked the old v0.3.4-5 docs to a specific commit hash, which keeps
    the examples there safe to use.
    arctic-hen7 committed May 30, 2022
    Configuration menu
    Copy the full SHA
    0feb4b6 View commit details
    Browse the repository at this point in the history