From 2c2685426b2836aed7f21309fefaf29abc0fae2b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 10 Jul 2023 08:49:50 +0000 Subject: [PATCH] Version Packages --- .changeset/cold-otters-argue.md | 14 -------------- CHANGELOG.md | 15 +++++++++++++++ package.json | 2 +- 3 files changed, 16 insertions(+), 15 deletions(-) delete mode 100644 .changeset/cold-otters-argue.md diff --git a/.changeset/cold-otters-argue.md b/.changeset/cold-otters-argue.md deleted file mode 100644 index 96a29455..00000000 --- a/.changeset/cold-otters-argue.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'preact-render-to-string': minor ---- - -Add support for error boundaries via `componentDidCatch` and `getDerivedStateFromError` - -This feature is disabled by default and can be enabled by toggling the `errorBoundaries` option: - -```js -import { options } from 'preact'; - -// Enable error boundaries -options.errorBoundaries = true; -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 35f17d76..8aac6205 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # preact-render-to-string +## 6.2.0 + +### Minor Changes + +- [#305](https://github.com/preactjs/preact-render-to-string/pull/305) [`568f139`](https://github.com/preactjs/preact-render-to-string/commit/568f139a6c7916e0b6eebb7c51f1abf035850b7c) Thanks [@marvinhagemeister](https://github.com/marvinhagemeister)! - Add support for error boundaries via `componentDidCatch` and `getDerivedStateFromError` + + This feature is disabled by default and can be enabled by toggling the `errorBoundaries` option: + + ```js + import { options } from 'preact'; + + // Enable error boundaries + options.errorBoundaries = true; + ``` + ## 6.1.0 ### Minor Changes diff --git a/package.json b/package.json index a88de033..7ffdf75a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "preact-render-to-string", "amdName": "preactRenderToString", - "version": "6.1.0", + "version": "6.2.0", "description": "Render JSX to an HTML string, with support for Preact components.", "main": "dist/index.js", "umd:main": "dist/index.umd.js",