Skip to content

Commit

Permalink
v3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewHerbst committed Dec 22, 2024
1 parent c87add2 commit ada7849
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# CHANGELOG

## 3.0.3-beta-1 (December 16th, 2024)

This is a beta release. Please report any issues in the issue below, thank you!
## 3.0.3 (December 22th, 2024)

- FIX [764](https://github.com/MatthewHerbst/react-to-print/pull/764) Ensure `onAfterPrint` is called, and print iframe is removed, after the print preview dialog has closed. Previously these would happen when the `afterprint` event was received which, as noted in the README, may occur immediately in some browsers, rather than when the print preview dialog closes. Thanks [sensasi-delight](https://github.com/sensasi-delight)
- FIX [768](https://github.com/MatthewHerbst/react-to-print/issues/768) React 19 made a small change to the typing for Refs which requires explicitly handling `null`/`undefined` initial types
- CHORE: Minor code cleanup and comments
- CHORE: Updated `devDependencies` to latest, including now using React 19 for our examples
- DOCS: README updates, including a link to using the lazy method of providing content

### Beta Versions

- `3.0.3-beta-1` (16th Dec 2024)

## 3.0.2 (October 17th, 2024)

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-to-print",
"version": "3.0.3-beta-1",
"version": "3.0.3",
"description": "Print React components in the browser",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down

0 comments on commit ada7849

Please sign in to comment.