Skip to content

Commit

Permalink
v2.14.14 (#647)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewHerbst authored Sep 22, 2023
1 parent 5f1c144 commit 834dd40
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# CHANGELOG

## 2.14.14 (September 22nd, 2023)

- FIX [635](https://github.com/gregnb/react-to-print/issues/635): Ensure proper handling of `<link>` nodes that have multiple value `rel` attributes set such as `rel="prefetch stylesheet"`, and, ensure proper handling of `<link>` nodes using `rel="preload" + as="style"`
- DOCS [637](https://github.com/gregnb/react-to-print/issues/637): Added README section regarding having proper a `media` attribute set on `<link>` nodes
- DOCS [633](https://github.com/gregnb/react-to-print/pull/633) Added README section regarding proper printing of scrolled containers. Thanks [siaikin](https://github.com/siaikin)!
- DEPENDENCIES: Upgrade all `devDependencies` to their latest versions

## 2.14.13 (June 7th, 2023)

- FIX [616](https://github.com/gregnb/react-to-print/issues/616): When passing a custom `print` function we were not waiting for that function to resolve its promise before removing the printing iframe if `removeAfterPrint={true}` was set. Further, we were not calling `onAfterPrint` at all when a custom printing function was passed. While not strictly needed since the caller knows when the printing has completed by resolving the promise, we now call `onAfterPrint` when that promise has resolved and before removing the print iframe
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.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-to-print",
"version": "2.14.13",
"version": "2.14.14",
"description": "Print React components in the browser",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -23,9 +23,9 @@
"reactjs",
"react-to-print"
],
"author": "gregnb <gregnb@gmail.com>",
"author": "Matthew Herbst <MatthewHerbst.com>",
"contributors": [
"Matthew Herbst <MatthewHerbst.com>"
"gregnb <gregnb@gmail.com>"
],
"license": "MIT",
"bugs": {
Expand Down

0 comments on commit 834dd40

Please sign in to comment.