dioxus/packages/core-macro/CHANGELOG.md

18 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

v0.1.2 (2021-12-15)

Documentation

  • update local examples and docs to support new syntaxes
  • big updates to the reference
  • examples
  • more work on docs
  • update cargo tomls

New Features

  • upgrade syntax

  • pull children out of component definition

  • cleanuup

  • full html support

  • massage lifetimes

  • mutations

  • amazingly awesome error handling

  • mvoe away from compound context

  • wire up event delegator for webview

  • add aria

  • beaf up the use_state hook

  • enable arbitrary body in rsx! macro

  • namespaced attributes this commit adds namespaced attributes. This lets us support attribute groups, and thus, inline styles.

    This namespaced attribute stuff is only available for styles at the moment, though it theoretically could be enabled for any other attributes.

  • add edits back! and more webview support! This commit adds a new type - the DomEdit - for serializing the changes made by the diffing machine. The architecture of how DomEdits fit into the cooperative scheduling is still TBD but it will allow us to build change lists without applying them immediately. This is more performant and allows us to only render parts of the page at a time.

    This commit also adds more infrastructure around webview. Dioxus can now run on the web, generate static pages, run in the desktop, and run on mobile, with a large part of thanks to webview.

  • two calculator examples

  • props memoization is more powerful This commit solves the memoization , properly memoizing properties that don't have any generic parameters. This is a rough heuristic to prevent non-static lifetimes from creeping into props and breaking our minual lifetime management.

    Props that have a generic parameter are opted-out of the partialeq requirement and props without lifetimes must implement partialeq. We're going to leave manual disabling of memoization for future work.

  • todomvc

Bug Fixes

  • really big bug around hooks
  • use annotation method from rust/58052 to fix closure lifetimes
  • messed up how lifetimes worked, need to render once per component

Commit Statistics

  • 108 commits contributed to the release over the course of 329 calendar days.
  • 104 commits where understood as conventional.
  • 0 issues like '(#ID)' where seen in commit messages

Commit Details

view details
  • Uncategorized
    • update cargo tomls (e4c06ce)
    • update local examples and docs to support new syntaxes (4de16c4)
    • docs (8814977)
    • polish (8bf57dc)
    • really big bug around hooks (52c7154)
    • rename (36d89be)
    • updates to router (bab21a0)
    • add router (d298b62)
    • docs and router (a5f05d7)
    • upgrade syntax (fd93ee8)
    • Merge branch 'master' into jk/remove_node_safety (db00047)
    • pull children out of component definition (2cf90b6)
    • bubbling in progress (a21020e)
    • cleanuup (84fd0c6)
    • clippy happy on macro (e1c858d)
    • remove bump (fcc6738)
    • fix some bugs around the rsx macro (339e450)
    • full html support (79503f1)
    • remove HTML macro and add custom fields (9f7eb0f)
    • use annotation method from rust/58052 to fix closure lifetimes (27d8919)
    • worked backwards a bit and got it slightly figured out (9ee2bfb)
    • massage lifetimes (9726a06)
    • book documentation (16dbf4a)
    • messed up how lifetimes worked, need to render once per component (ba9e1db)
    • major cleanups to scheduler (2933e4b)
    • move everything over to a stack dst (0e9d5fc)
    • remove warnings on core macero (6587224)
    • mutations (fac4233)
    • bottom up dropping (f2334c1)
    • fill out the snippets (6051b0e)
    • amazingly awesome error handling (4a72b31)
    • big updates to the reference (583fdfa)
    • docs, html! macro, more (caf772c)
    • get keyed diffing compiling (0a0be95)
    • changes to scheduler (098d382)
    • clean up warnings (b32e261)
    • mvoe away from compound context (a2c7d17)
    • wire up event delegator for webview (7dfe89c)
    • basic support for scheduled rendering (c52af22)
    • solve some issues regarding listeners (dfaf5ad)
    • change in cx to cx (9971ff2)
    • move things into a "shared" object (f644d7c)
    • apply formatting (a85b8c4)
    • more upgades to html parser (22f894e)
    • serious refactor with const generics (160d86a)
    • ....sigh..... so the diffing algorithm is robust (68ed1c0)
    • add aria (4091846)
    • move examples around (304259d)
    • beaf up the use_state hook (e4cdb64)
    • enable arbitrary body in rsx! macro (7aec40d)
    • move some examples around (98a0933)
    • fix issues with lifetimes (a38a81e)
    • namespaced attributes (22e659c)
    • groundwork for noderefs (c1afeba)
    • add edits back! and more webview support! (904b26f)
    • enable more diffing (e8f29a8)
    • two calculator examples (b5e5ef1)
    • examples (d9e6d09)
    • wip (952a91d)
    • rename ctx to cx (81382e7)
    • rethinking stack machine (62ae5d3)
    • more work on docs (daa9bd8)
    • some cleanup and documentation (517d7f1)
    • docs (f5683a2)
    • pre vnodes instead of vnode (fe6938c)
    • props memoization is more powerful (73047fe)
    • merge in some code from the other branch (7790750)
    • move the rsx macro around (50c8b93)
    • massive changes to definition of components (508c560)
    • move to static props (c1fd848)
    • more progress on parity docs. (c5089ba)
    • buff the readme and docs (3cfa1fe)
    • Todomvc in progress (b843dbd)
    • remove old code (3de54d0)
    • some code health (c28697e)
    • major overhaul to diffing (9810fee)
    • todos (8c541f6)
    • todomvc (cfa0927)
    • todomvc (ce33031)
    • more ergonomics, more examples (0bcff1f)
    • use rsx! inline! (44aad27)
    • building large apps, revamp macro (9f7f43b)
    • begint to accept iterator types (742f150)
    • props now autoderives its own trait (b3c96a5)
    • staticify? (5ad8188)
    • cargo fix to clean up things (78d093a)
    • wire up props macro (37f5a7a)
    • revert FC changes (like the old style). (7158bc3)
    • yeet, synthetic somewhat wired up (d959806)
    • remove FC (92d9521)
    • more cleanup (5a9155b)
    • add context to builder (cf16090)
    • listeners now have scope information (fcd68e6)
    • broken, but solved (cb74d70)
    • accept closures directly in handler (f225030)
    • wowza got it all working (4b8e9f4)
    • parse custom rsx syntax (da00df6)
    • update readme and examples (ffaf687)
    • add core macro crate (6a7bf3f)
    • add in style crate, and abort any styligng (c09b71f)
    • remove html crate (9dcee01)
    • add core macro crate (9f49ecb)
    • custom format_args for inlining variables into html templates (e4b1f6e)
    • comment out examples and move lifetime in FC type (62d4ad5)
    • include the helper (07341d2)
    • Dioxus-webview (9c01736)
    • update fc_macro (28ac37a)
    • dioxus frontend crate (4d7ac5b)