diff --git a/CHANGELOG.md b/CHANGELOG.md index b955ec0..8197c97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 `` nodes that have multiple value `rel` attributes set such as `rel="prefetch stylesheet"`, and, ensure proper handling of `` 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 `` 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 diff --git a/package-lock.json b/package-lock.json index 3da178b..e52ec4c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "react-to-print", - "version": "2.14.13", + "version": "2.14.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "react-to-print", - "version": "2.14.13", + "version": "2.14.14", "license": "MIT", "devDependencies": { "@types/react": "^18.2.22", diff --git a/package.json b/package.json index fee2627..8569262 100644 --- a/package.json +++ b/package.json @@ -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", @@ -23,9 +23,9 @@ "reactjs", "react-to-print" ], - "author": "gregnb ", + "author": "Matthew Herbst ", "contributors": [ - "Matthew Herbst " + "gregnb " ], "license": "MIT", "bugs": {