Files
dioxus/packages/core/CHANGELOG.md
T

61 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.3 (2021-12-15)

Documentation

  • update local examples and docs to support new syntaxes
  • fix table
  • more docs
  • strong improvmenets, first major section done
  • start on components
  • lnks to projects
  • big updates to the reference
  • examples
  • more docs
  • move around examples
  • move into a fromjs tutorial
  • add some more sources in the core implementation

New Features

  • move back to combined cx/props

  • bubbling

  • it compiles once more

  • should be functional across the boar

  • wire tasks up

  • wire up linked nodes

  • it properly bubbles

  • upgrade syntax

  • fake bubbling

  • events bubble now

  • pull children out of component definition

  • cleanuup

  • full html support

  • improve FC handling to allow lifetimes of parent

  • improve safety

  • massage lifetimes

  • support desktop more completely

  • add update functionality to useref

  • desktop functioning well

  • shared state mechanisms

  • mutations

  • re-enable suspense

  • amazingly awesome error handling

  • proper handling of events

  • keyed diffing!!

  • update root props

  • some docs, cleaning

  • more and more sophisticated diff

  • a new vnode type for anchors

  • code quality improvements for core

  • mvoe away from compound context

  • wire up resource pool

  • make hooks free-functions

  • transition to cx, props

  • omg what a dumb mistake

  • suspense!

  • bless up, no more segfaults

  • more suspended nodes!

  • wire up event delegator for webview

  • fix some lifetime issues

  • move over to push based mechanism

  • architecture document and edit list

  • task system works but I broke the other things :(

  • rebuild doesn't return errors

  • add aria

  • buff up html allowed attributes

  • enable components in ssr

  • keyed diffing

  • static node infrastructure and ssr changes

  • tests and benchmarks

  • dedicated mutations module

  • refactor out the hooks implementation

  • fix compiling

  • move webview to wry

  • beaf up the use_state hook

  • 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

  • move to slotmap

  • integrate serialization and string borrowing This commit adds lifetimes to the diff and realdom methods so consumers may borrow the contents of the DOM for serialization or asynchronous modifications.

  • events work again!

  • 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

  • somewhat working with rc and weak

  • dyn scope

  • update builder

Bug Fixes

  • really big bug around hooks
  • desktop and mobile
  • it compiles again
  • use annotation method from rust/58052 to fix closure lifetimes
  • messed up how lifetimes worked, need to render once per component
  • all the bugs!

Performance

  • remove global allocation for props
  • refcell to cell for hookidx

Commit Statistics

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

Commit Details

view details