Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansolid committed Aug 24, 2020
1 parent 68e7b44 commit 87c60f2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changelog
## 0.19.0
## 0.19.0 - 2020-08-23
API Changes to support better SSR
### Breaking Changes:

Expand All @@ -22,7 +22,7 @@ After writing `setDefaults`, `cloneProps`, and about to introduce `mergeProps` i

```js
// default props
props = assignProps({ name; "Smith" }, props);
props = assignProps({}, { name: "Smith" }, props);

// clone props
newProps = assignProps({}, props);
Expand All @@ -38,6 +38,8 @@ These APIs never had the most obvious naming, borrowing from SRP and digital cir
#### Resource API
For better automatic hydration support it is prudent to change resource signatures to take functions that return promises rather than promises themselves. This factory function has a lot advantages. This allows the library to decide whether to execute it or not. In certain cases we can choose skipping creating the promise altogether. It also leaves the door open for things like retry.

We use this mechanism to wire up streamed data from the server and automatic data hydration for resources rendered into the page in async SSR.

#### SSR Improvements

New experimental support for Suspense aware synchronous, asynchronous, and streaming SSR with hydration, progressive hydration, and automatic isomorphic data serialization. Completely removed what was there before with a simple static generator and more examples, so all existing projects using `solid-ssr` package will break with this release. This is a much better foundation, and I hope to build better things on top.
Expand Down

0 comments on commit 87c60f2

Please sign in to comment.