Skip to content

v0.5.0

Latest
Compare
Choose a tag to compare
@dark-person dark-person released this 08 Jun 12:06
1c31e33

What's Changed

This version focus on code tidy & rewrite test in existing code.

Features

  • Load ComicInfo.xml content in selected folder to GUI if file exists

Code File change

  • Rename archive/archive.go to archive/zip.go
  • Rename multiple file in comicInfo package
  • Move rename related function in archive to archive/rename.go
  • Move filename utils from parser package to files package

Code

  • comicInfo: New() will now have XML Name by default
  • Add function Load() & Save() for comicinfo
  • Add function to check filepath valid in files package

Testing Change

  • Rewrite all tests with package testify, includes:
    • scanner
    • files
    • parser
    • app.go
    • comicinfo
  • Increase parser package test coverage by add test & new test case
  • Add more ComicInfo.xml for testing, include a close tag version
  • Fix comicinfo & scanner not using correct temp folder

Development Guideline

  • Add vscode suggested extensions & sql formatter
  • Add more word to vscode dictionary
  • Update DEVELOPMENT.md

Github Repo Related

  • Update issue templates
  • Update README.md

Fixes

  • app.go: Fix ExportXml accept empty path
  • scanner: Fix able to pass invalid path in ScanBooks
  • scanner: Typo Fix

Full Changelog: v0.4.2...v0.5.0