Skip to content

Commit

Permalink
v2.15.1 (#687)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewHerbst authored Feb 14, 2024
1 parent d172651 commit 5b56731
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 2.15.1 (February 13th, 2024)

- FIX [686](https://github.com/gregnb/react-to-print/pull/686) A breaking type error was mistakenly introduced as part of [652](https://github.com/gregnb/react-to-print/issues/652). This has been fixed.

## 2.15.0 (February 11th, 2024)

- FEATURE [652](https://github.com/gregnb/react-to-print/issues/652): When using the `useReactToPrint` hook it is now possible to pass the returned callback the `content` ref at call time, rather than needing to pass it to the hook directly. This allows for generating the content to be printed closer to when the print occurs. Thanks [isocroft](https://github.com/isocroft)
Expand Down
2 changes: 1 addition & 1 deletion 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": "2.15.0",
"version": "2.15.1",
"description": "Print React components in the browser",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down

0 comments on commit 5b56731

Please sign in to comment.