Skip to content

Commit 2e3982d

Browse files
committed
Updating version from 2.3.0 to 2.3.1
1 parent e94c684 commit 2e3982d

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The MIT License (MIT)
2-
Copyright © 2024 Philip Hutchison
2+
Copyright © 2025 Philip Hutchison
33
https://pipwerks.mit-license.org/
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pdfobject",
33
"description": "A lightweight JavaScript utility for dynamically embedding PDFs in HTML documents",
4-
"version": "2.3.0",
4+
"version": "2.3.1",
55
"main": "pdfobject.js",
66
"moduleType": [
77
"globals",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pdfobject",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "A lightweight JavaScript utility for dynamically embedding PDFs in HTML documents",
55
"main": "pdfobject.js",
66
"scripts": {

pdfobject.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
2-
* PDFObject v2.3.0
2+
* PDFObject v2.3.1
33
* https://github.com/pipwerks/PDFObject
44
* @license
5-
* Copyright (c) 2008-2024 Philip Hutchison
5+
* Copyright (c) 2008-2025 Philip Hutchison
66
* MIT-style license: http://pipwerks.mit-license.org/
77
* UMD module pattern from https://github.com/umdjs/umd/blob/master/templates/returnExports.js
88
*/
@@ -30,7 +30,7 @@
3030

3131
if(typeof window === "undefined" || window.navigator === undefined || window.navigator.userAgent === undefined){ return false; }
3232

33-
let pdfobjectversion = "2.3.0";
33+
let pdfobjectversion = "2.3.1";
3434
let win = window;
3535
let nav = win.navigator;
3636
let ua = nav.userAgent;

readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@ Examples and documentation can be found at https://pdfobject.com.
88

99
A PDFObject component for Vue.js 3 can be found at https://github.com/pipwerks/pdfobject-vue/
1010

11-
Copyright (c) 2008-2024 Philip Hutchison
11+
Copyright (c) 2008-2025 Philip Hutchison
1212

1313
MIT-style license: http://pipwerks.mit-license.org/
1414

1515
-----
1616

1717
## Changelog
1818

19+
### 2.3.1 (February 2025)
20+
- Added `fallbackFileNameForBase64` option. If the browser doesn't support PDF embeds, and the PDF is a base64 file, this option will enable the developer to specify the filename for the downloaded PDF. Previously, the filename was hardcoded to 'file.pdf'. Thanks to Joshua Newall (@imjosh) for the contribution.
21+
1922
### 2.3 (February 2024)
2023
- Removed `<embed>` in favor of `<iframe>`. PDFObject had previously defaulted to an `<embed>` element, but over time it has become apparent the superior solution is `<iframe>`. It's universally supported, and does not suffer from `<embed>`'s odd quirks and spotty support. This should make PDFObject more consistent and robust across platforms.
2124
- As a result of removing `<embed>` and redefining the detection logic, some PDFObject options have become obsolete. They are safe to keep in your code (will not throw errors), but are no longer used by PDFObject. The deprecated options are: `assumptionMode`, `forceIframe`, and `supportRedirect`.

0 commit comments

Comments
 (0)