Skip to content

Latest commit

 

History

History
129 lines (67 loc) · 4.24 KB

CHANGELOG.md

File metadata and controls

129 lines (67 loc) · 4.24 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and adheres to Semantic Versioning.

Unreleased

Changed

  • Fixed babel helpers file being generated with incorrect filename in esm build. [#2082]

4.1.5 - 2021-09-24

Changed

  • Migrate from sewing-kit-next to loom for building - package build output remains identical. [#2039]

4.1.4 - 2021-08-30

Changed

  • Enable type checking in tests and fix type errors. [#2011]

4.1.3 - 2021-08-24

Changed

  • Updated build tooling, types are now compiled with TypeScript 4.3. [#1997]
  • Added file exclusion for tests to package.json. [#2005]
  • Rename test/ to tests/ [#2005]

4.1.2 - 2021-08-04

Changed

  • Ensure tsconfig.tsbuildinfo file is not uploaded to the npm registry. [#1982]

4.1.1 - 2021-08-03

Changed

  • Update to latest sewing-kit-next for build. Update types/typesVersions fields to point directly into the build folder [#1980]

4.1.0 - 2021-07-13

Added

  • Officially supports React 17.x 1969

4.0.0 - 2021-05-21

Breaking Change

  • Update minimum supported node version to 12.14.0. Add engines field to help enforce usage of this version. #1906

3.3.4 - 2021-04-13

Changed

  • Removed dependency on tslib, as we no-longer compile with tsc. #1829

3.3.2 - 2021-03-03

Fixed

  • Updated multi-build outputs to include mandatory extensions to fix "Module not found" issues reported by ESM supported bundlers #1759

3.3.0 - 2020-12-18

Added

  • Add new build outputs (CommonJS, ESM, esnext, Node) for greater tree-shakability #1698

3.2.13 - 2020-10-20

  • Updated tslib dependency to ^1.14.1. #1657

3.2.1 - 2019-01-27

  • Specify package has no sideEffects (#1233)

3.2.0 - 2019-06-27

Fixed

  • Fixed an issue where betweenEachPass was called on the last pass before maxPasses was reached. In order to correct this issue, returning false from betweenEachPass no longer halts render looping (use afterEachPass instead). #769

3.1.0 - 2019-06-14

Added

  • You can now bail out of render passes in extract by returning false (or a promise that resolves to false) from betweenEachPass/ afterEachPass (#747)

3.0.0 - 2019-04-08

This library now requires React 16.8.

Added

  • Added a useServerEffect hook as an alternative to the <Effect /> component (#547)

2.1.0

Added

  • Added a maxPasses option to extract() in order to limit the potential for infinite loops. This option defaults to 5 max render/ resolve cycles #574
  • All afterEachPass/ betweenEachPass callbacks now receive an argument detailing the current pass index, whether the extraction process is complete, and the duration of the render/ resolve phases #574

2.0.0

Changed

  • Removed react-tree-walker as a way to process the React element. Instead, the application is rendered to a string repeatedly until no more promises have been queued. For full details on migrating to the new API, please read the upgrade guide. #477

1.0.3

  • Manual release

1.0.1

Fixed

  • Published the server entry point. #410

1.0.0

Initial release