stimulus-pdf-viewer-rails 0.4.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2304be55407cf2f6bda31771ad7dff2bd54499278bb24b24e0429f161c835569
4
- data.tar.gz: 28149508a79eaabd4b5f65120cb6758082b263e5b66540b693671e3a328d1424
3
+ metadata.gz: 651ed5f4fcb8152f9716cdee8eaa0e69481c9ac0f44534331fa6650fbbf30a76
4
+ data.tar.gz: c045dc496a804a77b19f6d5ef81b9657cc1f5321c857bc04a87103ed0431d9a4
5
5
  SHA512:
6
- metadata.gz: 86c15ca518c858a764d8050175314e96244dd6941dd1b9556d58758e33f8e1767968516ca617e8a3dd9d13752caafbd6c2d1fb429658ba8981f7f730a8ec24d8
7
- data.tar.gz: 757a7972ddabe9b0f12c737dda5336cd1be4f0a319faa73df52887e08bde64de84871cb1d22fce37f8fc571b3a648b1fa229bec9d1c29c3ae6f7f3a0d0a1973d
6
+ metadata.gz: 28a1ad29124fd3cc7d30a470e9774dc0d043aac56b0df4d81f1ae187ea474b9009db8cbd2dedee4b73f4a38edb9ff97ff0ecfe021f402b37df23a0a73694e797
7
+ data.tar.gz: 28302f66b536695dd0fca27167a72d6b111e3290dd5fb2f102db0b710bb07a059353d9bad7cac1580ca68729eef02f337a96c3f20c4d0da72124f58391c6bf61
data/CHANGELOG.md CHANGED
@@ -2,6 +2,41 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [0.6.0] - 2026-09-22
6
+
7
+ ### Fixed
8
+ - Updated stimulus-pdf-viewer to 0.6.0
9
+
10
+ Annotated downloads now include everything shown on screen. Underlines were
11
+ never exported, because the download code expected an `annotation_type` of
12
+ `underline` while the underline tool created `line`. Comments on highlights,
13
+ underlines, and drawings are now exported too. Curly quotes, em dashes, and
14
+ non-Latin text in comments and notes no longer come out garbled. See the
15
+ upstream
16
+ [0.6.0 release notes](https://github.com/jhubert/stimulus-pdf-viewer/releases/tag/v0.6.0)
17
+ for details.
18
+
19
+ ### Upgrade notes
20
+ - New underlines are saved with `annotation_type: "underline"` instead of
21
+ `"line"`. Make sure your `Annotation` model accepts `underline`; with an
22
+ integer enum, rename the `line` key in place. Stored `"line"` records keep
23
+ working, but they are deprecated. The upstream release notes give the SQL to
24
+ migrate them.
25
+
26
+ ## [0.5.0] - 2026-08-11
27
+
28
+ ### Added
29
+ - Updated stimulus-pdf-viewer to 0.5.0
30
+
31
+ Adds support for password-protected PDFs: the viewer prompts for the password
32
+ (with retry on incorrect entry) and opens encrypted documents in read-only
33
+ mode — annotation tools are disabled and the download button delivers the
34
+ original file. The vendored stylesheet includes new rules for the password
35
+ prompt and read-only mode, so recompile your assets after upgrading. See the
36
+ upstream
37
+ [0.5.0 changelog](https://github.com/jhubert/stimulus-pdf-viewer/blob/main/CHANGELOG.md)
38
+ for full details.
39
+
5
40
  ## [0.4.1] - 2026-08-10
6
41
 
7
42
  ### Fixed