Skip to content

Releases: raitucarp/epub

Release list

v0.4.0

Choose a tag to compare

@raitucarp raitucarp released this 25 Aug 10:33
8799002

Full Changelog: v0.3...v0.4.0

v0.3

Choose a tag to compare

@raitucarp raitucarp released this 18 Aug 06:13
50addaa

What's Changed

  • 🧪 Add error tests for OpenReader by @raitucarp in #1
  • 🧪 Test improvement for OCFZipContainer.MimeType by @raitucarp in #2
  • 🧪 [testing improvement] Add tests for Writer.guardCheck by @raitucarp in #3
  • 🧪 Add unit tests for Reader resource selection methods by @raitucarp in #4
  • 🧹 refactor: extract helper function to reduce code duplication in Refines by @raitucarp in #5
  • 🔒 Fix Zip Bomb (Unbounded Read) in ocf/ocf.go by @raitucarp in #6
  • ⚡ Optimize O(N^2) parsing loop in Description extraction by @raitucarp in #7
  • 🧪 Testing improvement: tests for OCFZipContainer methods by @raitucarp in #8
  • 🔒 Fix path traversal in AddContentFile, AddImageFile, and CoverFile by @raitucarp in #9
  • ⚡ perf: Optimize memory allocation in TOC parsing by @raitucarp in #10
  • docs: add collaboration disclaimer to README by @raitucarp in #11
  • 🔒 Fix Zip Slip Vulnerability in OCF Container Processing by @raitucarp in #14
  • 🧹 [code health improvement] Return error from CoverFile method by @raitucarp in #13
  • 🧪 Test OCFZipContainer.AddMimeType() by @raitucarp in #12
  • 🧪 Add tests for ReadContentMarkdownById by @raitucarp in #16
  • 🧪 Add tests for ReadContentHTMLById by @raitucarp in #17
  • 🧪 [testing improvement] Add tests for Reader.Description fallback logic by @raitucarp in #15
  • 🧪 Add test for Reader.Version by @raitucarp in #18
  • 🧪 add test for Epub.SelectPackage by @raitucarp in #19
  • ⚡ Optimize Spine() Method from O(N*M) to O(N+M) Using Map Lookup by @raitucarp in #20
  • 🔒 Fix Zip Slip vulnerability in EPUB reader by @raitucarp in #21
  • 🧪 Add unit test for TOC JSON serialization by @raitucarp in #23
  • 🧹 Fix incorrect unmarshalling in ocf metainf by @raitucarp in #24
  • 🧪 [Testing Improvement] Add unit tests for ncx Parse by @raitucarp in #25
  • 🔒 Fix Path Traversal / Arbitrary File Read in AddContentFile, AddImageFile, and CoverFile by @raitucarp in #26
  • Add Git Hooks for testing and coverage by @raitucarp in #27
  • 🧹 Replace "cover-image" magic string with pkg.CoverImageProperty constant in writer.go by @raitucarp in #28
  • 🧪 [testing improvement] Add comprehensive tests for ncx Parse by @raitucarp in #31
  • 🧪 Refactor TOC.JSON to remove unreachable error branch and add JSON tests by @raitucarp in #32
  • 🧹 Refactor duplicate HTML tree traversal logic into generic utilities by @raitucarp in #30
  • 🔒 fix: prevent arbitrary file read via symlink traversal in writer by @raitucarp in #29
  • Refactor metadata getters to return slice of strings by @raitucarp in #35

New Contributors

Full Changelog: v0.2.7...v0.3