bvaughn/react-error-boundary (react-error-boundary)
### [`v4.0.11`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.11)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.10...4.0.11)
- Re-throw original error in the event that no fallback is specified ([#160](https://togithub.com/bvaughn/react-error-boundary/issues/160))
- Improved exported prop types def ([#152](https://togithub.com/bvaughn/react-error-boundary/issues/152))
- Bundle built with Preconstruct ([#144](https://togithub.com/bvaughn/react-error-boundary/issues/144), [#149](https://togithub.com/bvaughn/react-error-boundary/issues/149), [`9b7b15b`](https://togithub.com/bvaughn/react-error-boundary/commit/9b7b15bc29829b2a145c047ef188fecb90c9894e))
### [`v4.0.10`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.10)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.9...4.0.10)
- Target Safari 12+ compatibility (by removing optional chaining operator and default parameters)
### [`v4.0.9`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.9)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.8...4.0.9)
- [145](https://togithub.com/bvaughn/react-error-boundary/issues/145): Removed explicit `ErrorBoundary.render` return type to avoid TypeScript error:
> 'ErrorBoundary' cannot be used as a JSX component.
### [`v4.0.8`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.8)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.7...4.0.8)
- [144](https://togithub.com/bvaughn/react-error-boundary/pull/144): Build release bundle with Preconstruct
### [`v4.0.7`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.7)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.6...4.0.7)
\*Replaced post-processing `"use client"` insertion step with a custom Parcel plug-in. This should hopefully produce better source maps.
### [`v4.0.6`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.6)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.5...4.0.6)
- Removed arrow function syntax to support older versions of Safari
### [`v4.0.5`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.5)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.4...4.0.5)
Move `"use client"` directive to top of the bundled file.
### [`v4.0.4`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.4)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.3...4.0.4)
README changes only
### [`v4.0.3`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.3)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.2...4.0.3)
- `withErrorBoundary` forwards refs
- Add `"use client"` directive
### [`v4.0.2`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.2)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.1...4.0.2)
Fix broken TypeScript definitions file ([#133](https://togithub.com/bvaughn/react-error-boundary/issues/133), [https://github.com/parcel-bundler/parcel/issues/8908](https://togithub.com/parcel-bundler/parcel/issues/8908))
### [`v4.0.1`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.1)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.0...4.0.1)
- Render `ErrorBoundaryContext` around fallback UI as well, so the `useErrorBoundary` hook could be used within the fallback component to reset the boundary.
For example:
```js
import { useErrorBoundary } from "react-error-boundary";
function ErrorFallback({ error }) {
const { resetBoundary } = useErrorBoundary();
return (
Something went wrong:
{error.message}
);
}
```
See this demo: https://codesandbox.io/s/nostalgic-browser-e9lpmf
### [`v4.0.0`](https://togithub.com/bvaughn/react-error-boundary/compare/a0a370c7fe145e5cf169063eb4b7ff1a059fd84c...66cc1a2ab1d24e1cba4728dd286812355befeed3)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/v3.1.4...4.0.0)
### [`v3.1.4`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/v3.1.4)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/v3.1.3...v3.1.4)
##### Bug Fixes
- remove class instance property ([#98](https://togithub.com/bvaughn/react-error-boundary/issues/98)) ([a0a370c](https://togithub.com/bvaughn/react-error-boundary/commit/a0a370c7fe145e5cf169063eb4b7ff1a059fd84c))
### [`v3.1.3`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/v3.1.3)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/v3.1.2...v3.1.3)
##### Bug Fixes
- **useErrorHandler:** use unknown instead of Error ([#89](https://togithub.com/bvaughn/react-error-boundary/issues/89)) ([ec81d61](https://togithub.com/bvaughn/react-error-boundary/commit/ec81d61fb225dfbd3ba53476113b5e5c99b43225)), closes [#83](https://togithub.com/bvaughn/react-error-boundary/issues/83)
### [`v3.1.2`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/v3.1.2)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/v3.1.1...v3.1.2)
##### Bug Fixes
- **TS:** help typescript to find his way for the ErrorBoundaryProps union ([#90](https://togithub.com/bvaughn/react-error-boundary/issues/90)) ([fb0b859](https://togithub.com/bvaughn/react-error-boundary/commit/fb0b85960f8d99759de52c14d9d0e113983eb246))
### [`v3.1.1`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/v3.1.1)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/v3.1.0...v3.1.1)
##### Bug Fixes
- ignored update after error triggered on component mount ([#85](https://togithub.com/bvaughn/react-error-boundary/issues/85)) ([125d9e9](https://togithub.com/bvaughn/react-error-boundary/commit/125d9e90ee14db9958fb31d4677b85679942e4cd)), closes [#74](https://togithub.com/bvaughn/react-error-boundary/issues/74) [#84](https://togithub.com/bvaughn/react-error-boundary/issues/84)
### [`v3.1.0`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/v3.1.0)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/v3.0.2...v3.1.0)
##### Features
- **TS:** migrate to TypeScript ([#76](https://togithub.com/bvaughn/react-error-boundary/issues/76)) ([947035a](https://togithub.com/bvaughn/react-error-boundary/commit/947035a7453cdde3fe1a0e16157a71d4a35f5cce))
### [`v3.0.2`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/v3.0.2)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/v3.0.1...v3.0.2)
##### Bug Fixes
- **TS:** TypeScript types for onError ([#70](https://togithub.com/bvaughn/react-error-boundary/issues/70)) ([c8272e2](https://togithub.com/bvaughn/react-error-boundary/commit/c8272e2f72be0a318a964973b36f11718636f509))
### [`v3.0.1`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/v3.0.1)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/v3.0.0...v3.0.1)
##### Bug Fixes
- **TS:** types for v3 breaking change ([#69](https://togithub.com/bvaughn/react-error-boundary/issues/69)) ([6810c4e](https://togithub.com/bvaughn/react-error-boundary/commit/6810c4e887fa3030c86da5f248fed18a6cad47a0))
### [`v3.0.0`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/v3.0.0)
[Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/v2.3.2...v3.0.0)
##### Bug Fixes
- avoid double-render ([#68](https://togithub.com/bvaughn/react-error-boundary/issues/68)) ([b2f82ce](https://togithub.com/bvaughn/react-error-boundary/commit/b2f82cee7a600643dcb5cb4e0e629f10942f0beb))
##### BREAKING CHANGES
- This removes the `componentStack` in the props given to the `FallbackComponent` and `fallbackRender`
Configuration
📅 Schedule: Branch creation - "every weekday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^2.3.1
->^4.0.0
Release Notes
bvaughn/react-error-boundary (react-error-boundary)
### [`v4.0.11`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.11) [Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.10...4.0.11) - Re-throw original error in the event that no fallback is specified ([#160](https://togithub.com/bvaughn/react-error-boundary/issues/160)) - Improved exported prop types def ([#152](https://togithub.com/bvaughn/react-error-boundary/issues/152)) - Bundle built with Preconstruct ([#144](https://togithub.com/bvaughn/react-error-boundary/issues/144), [#149](https://togithub.com/bvaughn/react-error-boundary/issues/149), [`9b7b15b`](https://togithub.com/bvaughn/react-error-boundary/commit/9b7b15bc29829b2a145c047ef188fecb90c9894e)) ### [`v4.0.10`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.10) [Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.9...4.0.10) - Target Safari 12+ compatibility (by removing optional chaining operator and default parameters) ### [`v4.0.9`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.9) [Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.8...4.0.9) - [145](https://togithub.com/bvaughn/react-error-boundary/issues/145): Removed explicit `ErrorBoundary.render` return type to avoid TypeScript error: > 'ErrorBoundary' cannot be used as a JSX component. ### [`v4.0.8`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.8) [Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.7...4.0.8) - [144](https://togithub.com/bvaughn/react-error-boundary/pull/144): Build release bundle with Preconstruct ### [`v4.0.7`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.7) [Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.6...4.0.7) \*Replaced post-processing `"use client"` insertion step with a custom Parcel plug-in. This should hopefully produce better source maps. ### [`v4.0.6`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.6) [Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.5...4.0.6) - Removed arrow function syntax to support older versions of Safari ### [`v4.0.5`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.5) [Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.4...4.0.5) Move `"use client"` directive to top of the bundled file. ### [`v4.0.4`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.4) [Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.3...4.0.4) README changes only ### [`v4.0.3`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.3) [Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.2...4.0.3) - `withErrorBoundary` forwards refs - Add `"use client"` directive ### [`v4.0.2`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.2) [Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.1...4.0.2) Fix broken TypeScript definitions file ([#133](https://togithub.com/bvaughn/react-error-boundary/issues/133), [https://github.com/parcel-bundler/parcel/issues/8908](https://togithub.com/parcel-bundler/parcel/issues/8908)) ### [`v4.0.1`](https://togithub.com/bvaughn/react-error-boundary/releases/tag/4.0.1) [Compare Source](https://togithub.com/bvaughn/react-error-boundary/compare/4.0.0...4.0.1) - Render `ErrorBoundaryContext` around fallback UI as well, so the `useErrorBoundary` hook could be used within the fallback component to reset the boundary. For example: ```js import { useErrorBoundary } from "react-error-boundary"; function ErrorFallback({ error }) { const { resetBoundary } = useErrorBoundary(); return (Something went wrong:
Configuration
📅 Schedule: Branch creation - "every weekday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.