Skip to content

v4.8.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@mjackson mjackson released this 30 Oct 22:54

In 4.8.0 we will ship a single bundle for each module format (CJS, ESM, and UMD) using Rollup.

In this release we are deprecating support for

import createHistory from "history/createMemoryHistory";
// and
var createHistory = require('history/createMemoryHistory');

Instead, use:

import { createMemoryHistory as createHistory } from "history";
// and
var createHistory = require("history").createMemoryHistory;

together with a bundler that supports tree-shaking (Rollup or webpack 4 in production mode) to get your bundle sizes down.

Fixes