Skip to content

Commit

Permalink
v2.15.0 (#684)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewHerbst authored Feb 12, 2024
1 parent 756888b commit 223730c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## 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)
- DEPENDENCIES: Upgraded all `devDependencies` to their latest versions
- CHORE: broke up the single file in the repo, started organizing things a bit

## 2.14.15 (October 2nd, 2023)

This is a republish of 2.14.14 since that version got screwed up by some [downtime at npm](https://status.npmjs.org/incidents/b54856c1ljt7) and seems to be in an unrecoverable state.
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.14.15",
"version": "2.15.0",
"description": "Print React components in the browser",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down

0 comments on commit 223730c

Please sign in to comment.