Skip to content

Commit 0b77846

Browse files
committed
update changelog and go-toolkit
1 parent a238bf3 commit 0b77846

File tree

3 files changed

+23
-9
lines changed

3 files changed

+23
-9
lines changed

CHANGELOG.MD

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.
44

55
**Warning:** Features marked as *alpha* may change or be removed in a future release without notice. Use with caution.
66

7+
## [0.6.2] - 2025-12-04
8+
9+
### Fixed
10+
11+
- Problems with [remote streaming of compressed multimedia](https://github.com/readium/cli/issues/27) have been addressed. This was due to a combination a bug in the implementation of partial resource reading, as well as special logic to make the kinds of requests browsers send for audio/video stream lead to smaller reads of the original resource. It's better just not to compressed multimedia in an EPUB though
12+
- This update also fixes the issues with image inspection (failure to decode images) that occured due the bug in the partial resource reading, which was triggered by image decoding libraries reading fragments of the image files
13+
14+
### Changed
15+
16+
- Go and third-party dependencies updated
17+
718
## [0.6.1] - 2025-11-03
819

920
### Fixed

go.mod

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ require (
1515
github.com/gorilla/mux v1.8.1
1616
github.com/gotd/contrib v0.21.1
1717
github.com/pkg/errors v0.9.1
18-
github.com/readium/go-toolkit v0.12.1
18+
github.com/readium/go-toolkit v0.13.0
1919
github.com/spf13/cobra v1.10.1
2020
github.com/vmihailenco/go-tinylfu v0.2.2
2121
github.com/zeebo/xxh3 v1.0.2
@@ -56,6 +56,7 @@ require (
5656
github.com/azr/phash v0.2.0 // indirect
5757
github.com/bbrks/go-blurhash v1.1.1 // indirect
5858
github.com/cespare/xxhash/v2 v2.3.0 // indirect
59+
github.com/chocolatkey/gzran v0.0.0-20251204101541-d8891e235711 // indirect
5960
github.com/cncf/xds/go v0.0.0-20250501225837-2ac532fd4443 // indirect
6061
github.com/deckarep/golang-set v1.8.0 // indirect
6162
github.com/disintegration/imaging v1.6.2 // indirect
@@ -78,7 +79,7 @@ require (
7879
github.com/kettek/apng v0.0.0-20220823221153-ff692776a607 // indirect
7980
github.com/klauspost/compress v1.18.0 // indirect
8081
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
81-
github.com/pdfcpu/pdfcpu v0.11.0 // indirect
82+
github.com/pdfcpu/pdfcpu v0.11.1 // indirect
8283
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
8384
github.com/readium/xmlquery v0.0.0-20230106230237-8f493145aef4 // indirect
8485
github.com/relvacode/iso8601 v1.7.0 // indirect
@@ -98,7 +99,7 @@ require (
9899
go4.org v0.0.0-20230225012048-214862532bf5 // indirect
99100
golang.org/x/crypto v0.45.0 // indirect
100101
golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0 // indirect
101-
golang.org/x/image v0.32.0 // indirect
102+
golang.org/x/image v0.33.0 // indirect
102103
golang.org/x/net v0.47.0 // indirect
103104
golang.org/x/oauth2 v0.33.0 // indirect
104105
golang.org/x/sync v0.18.0 // indirect

go.sum

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA
111111
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
112112
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
113113
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
114+
github.com/chocolatkey/gzran v0.0.0-20251204101541-d8891e235711 h1:KXBH2rdtVs70qr55arSwgrXZq6QasYgox1GbYdi3kRg=
115+
github.com/chocolatkey/gzran v0.0.0-20251204101541-d8891e235711/go.mod h1:jk2T+gAWOv82T5A5XU+h/bA+9ngcj+DkHNrP/Ktyt88=
114116
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
115117
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
116118
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
@@ -231,8 +233,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
231233
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
232234
github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A=
233235
github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA=
234-
github.com/pdfcpu/pdfcpu v0.11.0 h1:mL18Y3hSHzSezmnrzA21TqlayBOXuAx7BUzzZyroLGM=
235-
github.com/pdfcpu/pdfcpu v0.11.0/go.mod h1:F1ca4GIVFdPtmgvIdvXAycAm88noyNxZwzr9CpTy+Mw=
236+
github.com/pdfcpu/pdfcpu v0.11.1 h1:htHBSkGH5jMKWC6e0sihBFbcKZ8vG1M67c8/dJxhjas=
237+
github.com/pdfcpu/pdfcpu v0.11.1/go.mod h1:pP3aGga7pRvwFWAm9WwFvo+V68DfANi9kxSQYioNYcw=
236238
github.com/pierrec/lz4/v4 v4.1.18 h1:xaKrnTkyoqfh1YItXl56+6KJNVYWlEEPuAQW9xsplYQ=
237239
github.com/pierrec/lz4/v4 v4.1.18/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=
238240
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
@@ -243,8 +245,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
243245
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
244246
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
245247
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
246-
github.com/readium/go-toolkit v0.12.1 h1:pkCbRu4uVRsojUFvJ/gQ9XN5NGUEFSAN+OkONHEqAh4=
247-
github.com/readium/go-toolkit v0.12.1/go.mod h1:JbWaW+zzXFTWIde55PH0s6HQKnJguqh0ZSh9C/fzQgU=
248+
github.com/readium/go-toolkit v0.13.0 h1:gF+veOwYc4a+M1pBnnQS8azRao9kIwnWOLbdVGpNZzA=
249+
github.com/readium/go-toolkit v0.13.0/go.mod h1:3J5gOFGpZ05eRIHRRpnJ1RGJtDqDv9PgQw7XHscx7ao=
248250
github.com/readium/xmlquery v0.0.0-20230106230237-8f493145aef4 h1:iEQhT4jOppg7EK/r4/1e4ULIeCsugv35O+sDlvce5Bo=
249251
github.com/readium/xmlquery v0.0.0-20230106230237-8f493145aef4/go.mod h1:S7gZ8KUgPbsdlF9/iomcwnU31iHMyFEO66+JFJE8uz8=
250252
github.com/relvacode/iso8601 v1.7.0 h1:BXy+V60stMP6cpswc+a93Mq3e65PfXCgDFfhvNNGrdo=
@@ -337,8 +339,8 @@ golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0/go.mod h1:S9Xr4PYopiDyqSyp5N
337339
golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
338340
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
339341
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
340-
golang.org/x/image v0.32.0 h1:6lZQWq75h7L5IWNk0r+SCpUJ6tUVd3v4ZHnbRKLkUDQ=
341-
golang.org/x/image v0.32.0/go.mod h1:/R37rrQmKXtO6tYXAjtDLwQgFLHmhW+V6ayXlxzP2Pc=
342+
golang.org/x/image v0.33.0 h1:LXRZRnv1+zGd5XBUVRFmYEphyyKJjQjCRiOuAP3sZfQ=
343+
golang.org/x/image v0.33.0/go.mod h1:DD3OsTYT9chzuzTQt+zMcOlBHgfoKQb1gry8p76Y1sc=
342344
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
343345
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
344346
golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=

0 commit comments

Comments
 (0)