Skip to content

Commit

Permalink
prep for release
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansolid committed Nov 17, 2019
1 parent a598912 commit 30ff6db
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 22 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# Changelog

## 0.14.0 - 2019-11-16
v0.14.0 brings changes to the render runtime and `setState` API

* Adds diffing to batched computations to improve update performance
* Supports support for mutable(TypeScript safe) `setState` API inspired by Immer. Function setters in Solid now pass a mutable version of state. Modifying will schedule updates. This form must not return a value. It can still be used immutably simply by returning the new value.
* Changes how `force` and `reconcile` helpers work. They can now be used on nested paths.
* Removes support for multi-path `setState`.

## 0.13.0 - 2019-10-27
v0.13.0 contains large changes to the reactive system and compiler.

The main update is to simplify reactivity by removing computation recycling. While this was a useful feature to avoid unnecessary computation nodes, Solid now uses batching as a different approach to get similar results. Most templating libraries can offer breakneck update speeds without fine grained updates. The real cost of these top down approaches is the need to redo structural reconcilliation. The current approach is that different computations will be created for each:
The main update is to simplify reactivity by removing computation recycling. While this was a useful feature to avoid unnecessary computation nodes, Solid now uses batching as a different approach to get similar results. Most templating libraries can offer breakneck update speeds without fine grained updates. The real cost of these top down approaches is the need to redo structural reconciliation. The current approach is that different computations will be created for each:
* Dynamic insert expression (any expression between tags)
* Spread operator
* JSX template entry point(Top level tag, Fragment, or Component Children)
Expand Down
32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "solid-js",
"description": "A declarative JavaScript library for building user interfaces.",
"version": "0.13.2",
"version": "0.14.0",
"author": "Ryan Carniato",
"license": "MIT",
"repository": {
Expand All @@ -28,17 +28,17 @@
"@babel/preset-typescript": "^7.7.2",
"@types/jest": "^24.0.23",
"babel-jest": "^24.9.0",
"babel-plugin-jsx-dom-expressions": "~0.14.5",
"coveralls": "^3.0.6",
"dom-expressions": "0.14.3",
"babel-plugin-jsx-dom-expressions": "~0.14.6",
"coveralls": "^3.0.7",
"dom-expressions": "0.14.4",
"hyper-dom-expressions": "~0.14.0",
"jest": "~24.9.0",
"jest-ts-webcompat-resolver": "^1.0.0",
"lit-dom-expressions": "~0.14.0",
"ncp": "2.0.0",
"npm-run-all": "^4.1.5",
"rimraf": "^2.6.3",
"rollup": "^1.26.3",
"rollup": "^1.27.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-node-resolve": "^5.2.0",
"typescript": "^3.7.2"
Expand Down

0 comments on commit 30ff6db

Please sign in to comment.