Skip to content

Releases: donejs/done-ssr

Adds the xhrCache option

Choose a tag to compare

@matthewp matthewp released this 29 Oct 19:48

This adds xhrCache: false as an option.

Specifies if the XHR cache should be inlined into the page. The XHR cache is used to prevent duplicate requests from occuring in the client when hydrating from server-rendering HTML. In some cases you might not use XHR in the client and therefore want to prevent the script from being included.

const ssr = require('done-ssr');

const render = ssr({}, {
  xhrCache: false
});

Ensure can-globals is cleaned up at the end of the zone

Choose a tag to compare

@matthewp matthewp released this 17 May 18:20
v3.2.11

3.2.11

Adds missing dependency

Choose a tag to compare

@matthewp matthewp released this 13 May 12:13

can-view-nodelist was a missing dependency. This adds it.

Unregister nodeLists set on Zone's data object

Choose a tag to compare

@matthewp matthewp released this 07 May 18:20
v3.2.8

3.2.8

3.2.5

Choose a tag to compare

@matthewp matthewp released this 16 Jan 19:05

This fixes a bug when setting cookies one the Zone has expired.

3.2.4

Choose a tag to compare

@matthewp matthewp released this 14 Jan 13:23

This is a refactor of incremental rendering's reattachment markup. It fixes a bug with React.

3.2.0

Choose a tag to compare

@matthewp matthewp released this 04 Jan 19:01

This is a minor release that allows a function to be provided as the first
argument of ssr, instead of a steal configuration. Doing this you do not use
steal, but rather the function executes.

const ssr = require("done-ssr");

const render = ssr(() => {
	let el = document.createElement("div");
	document.body.appendChild(el);
});

require("http").createServer(render);

3.1.0

Choose a tag to compare

@matthewp matthewp released this 04 Jan 18:59

This is a minor release that adds a domZone option, which allows providing an alternative zone for the DOM.

3.0.3

Choose a tag to compare

@matthewp matthewp released this 13 Dec 15:13

This is a patch release, fixing a bug with the <link rel="preload"> for incremental rendering did not contain a valid as attribute.

3.0.2

Choose a tag to compare

@matthewp matthewp released this 10 Dec 22:07

Fixes a bug with libraries that expect there to always be a documentElement.