Skip to content

v1.2.0

Compare
Choose a tag to compare
@Breadinator Breadinator released this 08 Apr 22:01
· 3 commits to main since this release

Main changes

  • Removed the build script and old binaries from releases. Cgo required for sqlite-3 (and maybe other dependencies).
  • Config now fetched when first run instead of reading the file and looking for the setting each time. config/config.go, config/readWriteConf.go
  • Databases storing data on installed mods should only be opened once each. When a method accessing one is called, it now opens it if it hasn't already been opened and adds that db connection to a map of games-to-db connections, or accesses that map to find the connection where available. At the end of the program, all connections should be safely closed. versions/dbs.go
  • Data associated with a workshop resource should only be accessed once per call. The ID is only parsed once, the web page is only fetched once, etc. resource/workshop.go

Minor

  • Checks if there is a new version available and tells the user if so.
  • Setting for file read buffer. Can only be changed by manually editing the main config file for now.
  • Fewer panics.

Bug fixes

  • Previously, all dates were based of a hardcoded timestamp I put in for testing then forgot to fully implement. Timestamps for versions should now be scraped from the web page properly.
  • The parser for Steam Workshop's timestamp format didn't allow for mods from this year because the year is omitted in that case. Should be fixed, inserting the user's set year where omitted.

To-do

  • Remove a bunch of the now-unused code, such as some of the old config code. Just need to go through and figure out what exactly is and isn't used.

Full Changelog: v1.1.0...v1.2.0