File tree Expand file tree Collapse file tree 4 files changed +15
-4
lines changed
Expand file tree Collapse file tree 4 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,16 @@ 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.6] - 2025-03-09
8+
9+ ### Fixed
10+
11+ - Updated the go-toolkit, which fixes a race condition (error) that could occur reading local files
12+
13+ ### Changed
14+
15+ - Now, OPUS files has the mimetype ` audio/opus ` in manifests, but remain ` audio/ogg; codecs=opus ` in webserver responses for better compatibility
16+
717## [ 0.6.5] - 2025-02-28
818
919### Fixed
Original file line number Diff line number Diff 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.13.3
18+ github.com/readium/go-toolkit v0.13.4
1919 github.com/spf13/cobra v1.10.2
2020 github.com/vmihailenco/go-tinylfu v0.2.2
2121 github.com/zeebo/xxh3 v1.1.0
Original file line number Diff line number Diff line change @@ -243,8 +243,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
243243github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U =
244244github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
245245github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 /go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA =
246- github.com/readium/go-toolkit v0.13.3 h1:r7XzLSHP3/7GhOuvnSGkI2QCbZeCmvGz3lsI7vut7sI =
247- github.com/readium/go-toolkit v0.13.3 /go.mod h1:u0OcOYKB/Vp4wLRbC7ezY+EMfr0ZfraBP++yCpI1FMU =
246+ github.com/readium/go-toolkit v0.13.4 h1:Kg+Xydq6rwBAiF9NITOQE+VuzDUaYzGMt02lvEDxfUk =
247+ github.com/readium/go-toolkit v0.13.4 /go.mod h1:u0OcOYKB/Vp4wLRbC7ezY+EMfr0ZfraBP++yCpI1FMU =
248248github.com/readium/xmlquery v0.0.0-20230106230237-8f493145aef4 h1:iEQhT4jOppg7EK/r4/1e4ULIeCsugv35O+sDlvce5Bo =
249249github.com/readium/xmlquery v0.0.0-20230106230237-8f493145aef4 /go.mod h1:S7gZ8KUgPbsdlF9/iomcwnU31iHMyFEO66+JFJE8uz8 =
250250github.com/relvacode/iso8601 v1.7.0 h1:BXy+V60stMP6cpswc+a93Mq3e65PfXCgDFfhvNNGrdo =
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ import (
1010)
1111
1212var mimeSubstitutions = map [string ]string {
13- "application/vnd.ms-opentype" : "font/otf" , // Not just because it's sane, but because CF will compress it!
13+ "application/vnd.ms-opentype" : "font/otf" , // Not just because it's sane, but because CF will compress it!
14+ "audio/opus" : "audio/ogg; codecs=opus" , // For max compatibility
1415}
1516
1617var utfCharsetNeeded = []string {
You can’t perform that action at this time.
0 commit comments