dioxus/packages/core-macro/CHANGELOG.md
2022-01-29 10:17:14 -05:00

30 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.

Unreleased

New Features

  • flatten props attrs
  • add "optional" flag for props

Bug Fixes

  • detection of f-string formatting in components

Commit Statistics

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

Commit Details

view details
  • Uncategorized
    • Merge pull request #95 from DioxusLabs/jk/filedragindrop (ca0dd4a)
    • Fix various typos and grammar nits (9e4ec43)
    • flatten props attrs (d237271)
    • Merge pull request #108 from DioxusLabs/jk/fstring-component-fields (f4132d1)
    • detection of f-string formatting in components (90abd9c)
    • Enable clippy (b6903bf)
    • Merge pull request #107 from autarch/autarch/half-assed-router (8d3ac3f)
    • Merge pull request #127 from DioxusLabs/jk/handler-tweak (5bce294)
    • add "optional" flag for props (47bc4e4)

v0.1.6 (2022-01-08)

Documentation

  • remove all usages of static closure syntax and update readme
  • update cargo tomls
  • update local examples and docs to support new syntaxes
  • big updates to the reference
  • examples
  • more work on docs

New Features

  • add prevent default attribute and upgrade router

  • more API updates

  • enable children properly

  • 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

  • component pass thru events
  • attempt to fix ice
  • tests
  • readme and examples syntax
  • really big bug around hooks
  • keyword length
  • tags
  • use annotation method from rust/58052 to fix closure lifetimes
  • messed up how lifetimes worked, need to render once per component

Commit Statistics

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

Commit Details

view details
  • Uncategorized
    • Release dioxus-core-macro v0.1.6 (db0a5bd)
    • Release dioxus-core v0.1.7, dioxus-core-macro v0.1.6, dioxus-html v0.1.4, dioxus-desktop v0.1.5, dioxus-hooks v0.1.6, dioxus-mobile v0.0.3, dioxus-router v0.1.0, dioxus-ssr v0.1.2, dioxus-web v0.0.4, dioxus v0.1.7 (40d1f85)
    • component pass thru events (c439b0a)
    • Merge pull request #74 from mrxiaozhuox/master (47056fd)
    • Merge pull request #80 from DioxusLabs/jk/router2dotoh (cdc2d8e)
    • Merge pull request #79 from DioxusLabs/jk/better_rehydration (34b0cb5)
    • Merge pull request #78 from higumachan/patch-1 (c9aaa96)
    • add prevent default attribute and upgrade router (427b126)
    • memoize dom in the prescence of identical components (cb2782b)
    • Fix typo "misisng" that occurred in several error messages (51c177b)
    • Fix reference to "html!" macro in "rsx!" macro docs (706b0e2)
    • new versions of everything (4ea5c99)
    • attempt to fix ice (2481cd0)
    • tests (bd341f5)
    • update core, core-macro, and html (f9b9bb9)
    • remove all usages of static closure syntax and update readme (cafb7df)
    • remove runner on hook and then update docs (d156045)
    • arbitrary expressions excepted without braces (4c85bcf)
    • polish some more things (1496102)
    • more API updates (a4f280d)
    • upgrade hooks (b3ac2ee)
    • bump macro crate (639f9f5)
    • readme and examples syntax (3dc0e59)
    • upgrade to new version of dioxus core. (cda759c)
    • enable children properly (b997b8e)
    • docs (8814977)
    • polish (8bf57dc)
    • really big bug around hooks (52c7154)
    • Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.1 (2b92837)
    • rename (36d89be)
    • Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0 (0d480a4)
    • updates to router (bab21a0)
    • add router (d298b62)
    • keyword length (868f673)
    • docs and router (a5f05d7)
    • upgrade syntax (fd93ee8)
    • Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0 (b32665d)
    • tags (a33f770)
    • Merge branch 'master' into jk/remove_node_safety (db00047)
    • Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0 (3a706ac)
    • pull children out of component definition (2cf90b6)
    • update cargo tomls (e4c06ce)
    • 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)
    • update local examples and docs to support new syntaxes (4de16c4)
    • 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)

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
  • tags
  • keyword length