Skip to content

Commit 1276506

Browse files
author
PSPDFKit
committed
Release 4.2.0
1 parent c6eaf43 commit 1276506

File tree

173 files changed

+10051
-1445
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+10051
-1445
lines changed

ACKNOWLEDGEMENTS.md

+326-3
Large diffs are not rendered by default.

CHANGELOG.md

+64-58
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1-
## Newest Release
1+
## 4.2.0 - 03 Mar 2025
22

3-
### 4.1.1 - 17 Jan 2025
4-
- Fixes build issues where some Android resource ids are missing. (J#HYB-625)
5-
- Fixes issue where oPageChanged callback returns the wrong page index on iOS. (J#HYB-575)
3+
- Adds `Annotation` model classes. (J#HYB-614)
4+
- Adds ability to set and get an annotation's author name programmatically. (J#HYB-678)
5+
- Adds a `getPageCount` API to `PdfDocument`. (J#HYB-680)
6+
- Adds support for custom data. (J#HYB-682)
7+
- Adds support for annotation flags. (J#HYB-683)
8+
- Adds support for custom stamps. (J#HYB-685)
9+
- Fixes issue where setting an iOS license key shows "PSPDFKit Licensing Issue" error. (J#HYB-658)
10+
- Fixes Annotation preset customizations not being set correctly. (J#HYB-686)
611

7-
## Previous Releases
12+
## 4.1.1 - 17 Jan 2025
813

9-
### 4.1.0 - 03 Jan 2024
14+
- Fixes build issues where some Android resource IDs are missing. (J#HYB-625)
15+
- Fixes issue where `onPageChanged` callback returns the wrong page index on iOS. (J#HYB-575)
16+
17+
## 4.1.0 - 03 Jan 2025
1018

1119
- Adds support for `PspdfkitWidgetController.addEventListener` to iOS and Android. (J#HYB-550)`
1220
- Adds support for the latest Android Studio version. (J#HYB-539)
@@ -16,7 +24,7 @@
1624
- Updates for Nutrient iOS SDK 14.3.0.
1725
- Fixes onPageChanged callback being triggered early on iOS. (J#HYB-596)
1826

19-
### 4.0.0 - 01 Nov 2024
27+
## 4.0.0 - 01 Nov 2024
2028

2129
- Adds Pigeon for communication between Flutter and native iOS and Android platforms. (J#HYB-455)
2230
- Fixes issue where annotation preset configurations are not applied to some annotation tools. (J#HYB-185)
@@ -25,34 +33,32 @@
2533
- Updates for Nutrient iOS SDK 14.1.1. (#45458)
2634
- Updates for Nutrient Web SDK 2024.7.0. (#45458)
2735

28-
### 3.12.0 - 30 Jul 2024
29-
30-
### 3.12.1 - 11 Sep 2024
36+
## 3.12.1 - 11 Sep 2024
3137

3238
- Updates for PSPDFKit 2024.5.1 for Android. (J#HYB-506)
3339
- Updates for PSPDFKit 13.9.1 for iOS. (J#HYB-506)
3440
- PSPDFKit for Flutter now requires Flutter 3.24.1 or later.
3541
- Fixes an issue where some annotation toolbar items are not displayed when custom grouping is used. (J#HYB-440)
3642
- Fixes an issue where `onDocumentLoaded` is triggered multiple times. (J#HYB-494)
3743

38-
### 3.12.0 - 30 Jul 2024
44+
## 3.12.0 - 30 Jul 2024
3945

4046
- Adds `zoomToRect` and `getVisibleRect` APIs to `PspdfkitWidgetController`. (J#HYB-429)
4147
- Adds `processAnnotations` API support for Android. (J#HYB-426)
4248
- Updates the `processAnnotations` parameter types to `AnnotationType` and `AnnotationProcessingMode` enums. (#44722)
4349
- Updates for PSPDFKit 2024.4.0 for Android. (J#HYB-422)
4450
- Updates for PSPDFKit 13.8.0 for iOS. (J#HYB-422)
4551

46-
### 3.11.0 - 21 Jun 2024
52+
## 3.11.0 - 21 Jun 2024
4753

4854
- Adds API to get form filled properties to `PdfDocument`. (J#HYB-169)
4955
- Adds Instant synchronization support on Web. (J#HYB-377)
5056

51-
### 3.10.1 - 28 May 2024
57+
## 3.10.1 - 28 May 2024
5258

5359
- Fixes an issue where `ViewUtils.generateViewId()` cannot be resolved. (J#HYB-379)
5460

55-
### 3.10.0 - 03 May 2024
61+
## 3.10.0 - 03 May 2024
5662

5763
- Adds APIs to get page information such as size, rotation, and label. (J#HYB-195)
5864
- Adds document load callbacks to `PspdfkitWidget`. (J#HYB-195)
@@ -61,13 +67,13 @@
6167
- Updates for PSPDFKit 2024.2.1 for Android.
6268
- Updates for PSPDFKit 13.4.1 for iOS.
6369

64-
### 3.9.1 - 12 Apr 2024
70+
## 3.9.1 - 12 Apr 2024
6571

6672
- Downgrades to AGP 7.* for backward compatibility (J#HYB-290)
6773
- Allow null value for `Pspdfkit.setLicenseKey` (J#HYB-294)
6874
- Updates for PSPDFKit 2024.2.1 for Android (J#HYB-303)
6975

70-
### 3.9.0 - 22 Mar 2024
76+
## 3.9.0 - 22 Mar 2024
7177

7278
- Adds annotation toolbar customization for iOS and Android. (J#HYB-209)
7379
- Adds support for `MeasurementValueConfiguration` to replace `setMeasurementScale` and `setMeasurementPrecision`. (J#HYB-206)
@@ -76,17 +82,17 @@
7682
- Fixes events callback functions not being triggered on Web. (J#HYB-221)
7783
- Fixes blank page when an annotation toolbar item is selected on Web. (#43792)
7884

79-
### 3.8.2 - 27 Feb 2024
85+
## 3.8.2 - 27 Feb 2024
8086

8187
- Updates for PSPDFKit 13.3.1 for iOS. (#43550)
8288
- Fixes issue where PSPDFKit for Flutter does not work on web with Flutter SDK version 13.19.0 (J#HYB-216)
8389
- Fixes issue where annotation toolbar items are not being displayed on Web. (J#HYB-217)
8490

85-
### 3.8.1 - 14 Feb 2024
91+
## 3.8.1 - 14 Feb 2024
8692

8793
- Fixes callbacks when Pspdfkit.present() is used. (J#HYB-204)
8894

89-
### 3.8.0 - 06 Feb 2024
95+
## 3.8.0 - 06 Feb 2024
9096

9197
- Adds Flutter for Web support. (#42151)
9298
- Replaces configuration `Map` with a dedicated `PdfConfiguration` class. (#42191)
@@ -96,57 +102,57 @@
96102
- Updates for PSPDFKit 13.3.0 for iOS. (#43305)
97103
- Compile SDK version 34 is now required on Android. (#43305)
98104

99-
### 3.7.2 - 12 Jan 2024
105+
## 3.7.2 - 12 Jan 2024
100106

101107
- Adds `flutterPdfFragmentAdded` callback for Android. (#42631)
102108
- Updates FlutterAppCompatActivity to Support Flutter 3.16.0. (#42767)
103109

104-
### 3.7.1 - 18 Oct 2023
110+
## 3.7.1 - 18 Oct 2023
105111

106112
- Fixes issue where iOS Appstore upload fails due to PSPDFKit Flutter missing "CFBundleShortVersionString" key. (#42166)
107113
- Fixes issue where Plugin returned "Document is missing or invalid" during pdfViewControllerWillDismiss events. (#42255)
108114

109-
### 3.7.0 - 07 Sep 2023
115+
## 3.7.0 - 07 Sep 2023
110116

111117
- Adds annotation preset customization. (#41669)
112118
- Updates for PSPDFKit 8.8.1 for Android. (#41910)
113119
- Updates for PSPDFKit 12.3.1 for iOS. (#41910)
114120
- Updates the deployment target to iOS 15. (#39956)
115121
- Updates example catalog with PspdfkitWidget usage. (#40861)
116122

117-
### 3.6.0 - 08 May 2023
123+
## 3.6.0 - 08 May 2023
118124

119125
- Adds measurement tools. (#39806)
120126
- Updates for PSPDFKit 8.6.0 for Android. (#39501)
121127
- Updates for PSPDFKit 12.2 for iOS. (#39995)
122128

123-
### 3.5.1 - 15 Mar 2023
129+
## 3.5.1 - 15 Mar 2023
124130

125131
- Updates iOS license initialization in the example catalog. (#38999)
126132
- Updates Instant web demo links. (#39018)
127133
- Updates for PSPDFKit 8.5.1 for Android. (#39090)
128134
- Updates for PSPDFKit 12.1.2 for iOS. (#39090)
129135

130-
### 3.5.0 - 17 Jan 2023
136+
## 3.5.0 - 17 Jan 2023
131137

132138
- Adds Instant Synchronization support. (#37675)
133139
- Updates for PSPDFKit 8.5 for Android. (#38136)
134140
- Updates for PSPDFKit 12.0.2 for iOS. (#38136)
135141

136-
### 3.4.1 - 18 Nov 2022
142+
## 3.4.1 - 18 Nov 2022
137143

138144
- Updates for PSPDFKit 12.0 for iOS. (#37508)
139145
- Fixes missing header file issue. (#37283)
140146

141-
### 3.4.0 - 26 Oct 2022
147+
## 3.4.0 - 26 Oct 2022
142148

143149
- Adds generating PDF from images, templates and HTML. (#36736)
144150
- Updates for PSPDFKit 8.4.1 Android. (#37192)
145151
- Updates for PSPDFKit 12.0 for iOS. (#37192)
146152
- Fixes keyboard cutting off search results when inline search is disabled. (#35418)
147153
- Fixes an issue where the `PspdfkitView` widget is not rendered in Flutter versions 3.3.0 and above on Android. (#37044)
148154

149-
### 3.3.0 - 19 Jul 2022
155+
## 3.3.0 - 19 Jul 2022
150156

151157
- Moved package files from `lib/src` to `lib` to remove import warnings and renamed `main.dart` to `pspdfkit.dart`. (#34058)
152158
- Updates the deployment target to iOS 14.0. (#33871)
@@ -157,18 +163,18 @@
157163
- Fixes an issue where tapping on form fields yields unexpected behavior in the Catalog basic example. (#33853)
158164
- Fixes the configuration option `userInterfaceViewMode: 'alwaysHidden'` not hiding the widget’s top bar on iOS. (#31095)
159165

160-
### 3.2.2 - 16 Mar 2022
166+
## 3.2.2 - 16 Mar 2022
161167

162168
- Improves the example project by using the `PlatformUtils` class to check for supported platforms (#33212)
163169
- Adds a new **Save As** example to the example project. (#33376)
164170
- Updates for PSPDFKit 11.3.0 for iOS. (#33514)
165171

166-
### 3.2.1 - 04 Mar 2022
172+
## 3.2.1 - 04 Mar 2022
167173

168174
- Updates for PSPDFKit 8.1.2 for Android. (#33314)
169175
- Updates for PSPDFKit 11.2.4 for iOS. (#33314)
170176

171-
### 3.2.0 - 14 Feb 2022
177+
## 3.2.0 - 14 Feb 2022
172178

173179
- This release requires you to update your Android project's `compileSdkVersion` to version 31. Please refer to [our migration guide](https://pspdfkit.com/guides/flutter/migration-guides/flutter-3-2-migration-guide) for this release.
174180
- PSPDFKit now requires Flutter 2.10.1 or later. (#33016)
@@ -177,7 +183,7 @@
177183
- Updates for PSPDFKit 8.1.1 for Android. (#33016)
178184
- Updates for PSPDFKit 11.2.2 for iOS. (#33016)
179185

180-
### 3.1.0 - 06 Jan 2022
186+
## 3.1.0 - 06 Jan 2022
181187

182188
- Adds Flutter widget support for Android. (#23824)
183189
- Adds `tiff` support for image documents for Android. (#23824)
@@ -201,22 +207,22 @@
201207
- Renames `pspdfkit_view.dart` into `pspdfkit_widget_controller.dart`. (#23824)
202208
- Fixes button overflow issue on iOS devices in the Flutter example. (#31198)
203209

204-
### 3.0.3 - 07 Dec 2021
210+
## 3.0.3 - 07 Dec 2021
205211

206212
- Updates for PSPDFKit 8.0.2 for Android. (#32165)
207213

208-
### 3.0.2 - 02 Nov 2021
214+
## 3.0.2 - 02 Nov 2021
209215

210216
- Updates for PSPDFKit 11.1 for iOS. (#31654)
211217
- Updates for PSPDFKit 8.0.1 for Android. (#31743)
212218
- Improves the repository's README. (#31633)
213219

214-
### 3.0.1 - 21 Oct 2021
220+
## 3.0.1 - 21 Oct 2021
215221

216222
- Update to PSPDFKit for Android 8.
217223
- PSPDFKit now requires Flutter 2.5.3 or later. (#31360)
218224

219-
### 3.0.0 - 28 Sep 2021
225+
## 3.0.0 - 28 Sep 2021
220226

221227
- Adds the ability to open TIFF images as Image Documents. (#28630)
222228
- Adds a `setLicenseKeys` method which accepts both Android and iOS license keys. (#30943)
@@ -226,108 +232,108 @@
226232
- Migrates Flutter APIs to Android embedding v2. (#30680)
227233
- Removes `path_provider` as a dependency. (#30680)
228234

229-
### 2.4.0 - 22 Jul 2021
235+
## 2.4.0 - 22 Jul 2021
230236

231237
- Updates to PSPDFKit for Android 7.0. (#30286)
232238
- Bump minimum SDK version `androidMinSdkVersion` to API 21. (#30286)
233239

234-
### 2.3.3 - 19 Jul 2021
240+
## 2.3.3 - 19 Jul 2021
235241

236242
- Improves readme file removing `compileOptions` section as not required anymore. (#30258)
237243

238-
### 2.3.2 - 07 Jul 2021
244+
## 2.3.2 - 07 Jul 2021
239245

240246
- Updates the deployment target of iOS to 13 for PSPDFKit 10.5 for iOS. (#30057)
241247

242-
### 2.3.1 - 03 Jun 2021
248+
## 2.3.1 - 03 Jun 2021
243249

244250
- Updates readme example to enable running with sound null safety. (#29631)
245251
- Adds the implementation for the `save` method on iOS. (#29644)
246252

247-
### 2.3.0 - 01 Jun 2021
253+
## 2.3.0 - 01 Jun 2021
248254

249255
- Removes the need of a trial key for running PSPDFKit Flutter in demo mode. (#28297)
250256
- Updates to PSPDFKit for Android 6.6.2 (#29523)
251257

252-
### 2.2.2 - 06 May 2021
258+
## 2.2.2 - 06 May 2021
253259

254260
- Adds a title image for the plugin frontpage. (#29330)
255261

256-
### 2.2.1 - 03 May 2021
262+
## 2.2.1 - 03 May 2021
257263

258264
- Reverts some unneeded file changes. (#29286)
259265

260-
### 2.2.0 - 03 May 2021
266+
## 2.2.0 - 03 May 2021
261267

262268
- Updates the minimum required Dart version to 2.12.0. (#29277)
263269
- Migrates the plugin and the examples to support Sound Null Safety. (#29277)
264270

265-
### 2.1.0 - 20 Apr 2021
271+
## 2.1.0 - 20 Apr 2021
266272

267273
- Adds a string for the reader view button in iOS so that it can be used in PSPDFViewController's toolbar. (#28465)
268274
- Fixes dart code formatting. (#28303)
269275
- Updates the `README` for easier getting started instructions and simpler example code. (#28303)
270276
- Updates to PSPDFKit for Android 6.6.0. (#28926)
271277
- Updates example app dependencies to latest: `path_provider` and `cupertino_icons`. (#28926)
272278

273-
### 2.0.1 - 24 Feb 2021
279+
## 2.0.1 - 24 Feb 2021
274280

275281
- Updates package description for pub.dev. (#28225)
276282
- Adds pedantic static analysis check and addresses the analysis warnings. (#28225)
277283

278-
### 2.0.0 - 17 Feb 2021
284+
## 2.0.0 - 17 Feb 2021
279285

280286
- First pub.dev published version. (#28157)
281287
- Updates the minimum required Flutter SDK version to 1.12.0. (#28157)
282288

283-
### 1.10.6 - 9 Feb 2021
289+
## 1.10.6 - 9 Feb 2021
284290

285291
- Adds “Migrating from Version 1.10.3” section in the main README. (pspdfkit-flutter:#83)
286292
- Fixes import in getting started code snippets for iOS and Android. (pspdfkit-flutter:#83)
287293
- Updates the requirements in the iOS README. (pspdfkit-flutter:#83)
288294

289-
### 1.10.5 - 2 Feb 2021
295+
## 1.10.5 - 2 Feb 2021
290296

291297
- Fixes the license key in the example project. (pspdfkit-flutter:#82)
292298

293-
### 1.10.4 - 2 Feb 2021
299+
## 1.10.4 - 2 Feb 2021
294300

295301
- Updates Gradle version and enable AndroidX for Android plugin and example. (pspdfkit-flutter:#80)
296302
- Updates for PSPDFKit 10.2 for iOS and Xcode 12.4. (pspdfkit-flutter:#81)
297303
- Changes open source license to modified BSD instead of Apache. (pspdfkit-flutter:#79)
298304
- Fixes versioning system to not require a manual update in two places. (pspdfkit-flutter:#80)
299305

300-
### 1.10.3 - 11 Jan 2021
306+
## 1.10.3 - 11 Jan 2021
301307

302308
- Updates copyright year to 2021. (pspdfkit-flutter:#75)
303309

304-
### 1.10.2 - 20 Nov 2020
310+
## 1.10.2 - 20 Nov 2020
305311

306312
- Updates for PSPDFKit for iOS 10.1 and Xcode 12.2. (pspdfkit-flutter:#74)
307313

308-
### 1.10.1 - 28 Oct 2020
314+
## 1.10.1 - 28 Oct 2020
309315

310316
- Updates to PSPDFKit for Android 6.5.3. (pspdfkit-flutter:#71)
311317

312-
### 1.10.0 - 9 Oct 2020
318+
## 1.10.0 - 9 Oct 2020
313319

314320
- Updates to PSPDFKit for Android 6.5. (pspdfkit-flutter:#66)
315321

316-
### 1.9.0 - 3 Mar 2020
322+
## 1.9.0 - 3 Mar 2020
317323

318324
- Updates to PSPDFKit for Android 6.2. (pspdfkit-flutter:#62)
319325

320-
### 1.8.0 - 21 Jan 2020
326+
## 1.8.0 - 21 Jan 2020
321327

322328
- Updates to PSPDFKit for Android 6.1.1. (pspdfkit-flutter:#54)
323329
- Adds Instant JSON document support. (pspdfkit-flutter:#48)
324330
- Fixes example project. (pspdfkit-flutter:#50, #53)
325331

326-
### 1.7.1 - 26 Nov 2019
332+
## 1.7.1 - 26 Nov 2019
327333

328334
- Exposes the `pageLayoutMode` and `isFirstPageAlwaysSingle` configuration options. (pspdfkit-flutter:#46)
329335

330-
### 1.7.0 - 8 Oct 2019
336+
## 1.7.0 - 8 Oct 2019
331337

332338
- Updates to PSPDFKit for Android 6.0. (pspdfkit-flutter:#36)
333339
- Updates to PSPDFKit for iOS 9. (pspdfkit-flutter:#42)

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
All items and source code Copyright © 2010-2024 PSPDFKit GmbH.
1+
All items and source code Copyright © 2010-2025 PSPDFKit GmbH.
22

33
PSPDFKit is a commercial product and requires a license to be used.
44

analysis_options.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2019-2024 PSPDFKit GmbH. All rights reserved.
1+
# Copyright © 2019-2025 PSPDFKit GmbH. All rights reserved.
22
#
33
# THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
44
# AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
@@ -22,7 +22,6 @@ linter:
2222
- prefer_single_quotes
2323
- sort_child_properties_last
2424
- unawaited_futures
25-
- unsafe_html
2625
- use_full_hex_values_for_flutter_colors
2726

2827

0 commit comments

Comments
 (0)