Skip to content

Releases: The-Egg-Corp/ThunderGo

ThunderGo v0.8.1

20 Dec 13:22
Compare
Choose a tag to compare
ThunderGo v0.8.1 Pre-release
Pre-release

Changelog

Submission (Experimental)

  • Documented ValidateManifest and ValidateReadme methods.
  • ValidateReadme now accumulates errors instead of returning at the first encountered error.
  • When 'validate' methods accumulate errors, the output is now []error instead of []string.
  • Added test for ValidateReadme.

ThunderGo v0.8.0

20 Dec 05:49
Compare
Choose a tag to compare
ThunderGo v0.8.0 Pre-release
Pre-release

Changelog

  • Edited the README.md to include both Experimental and V1 examples.
  • Moved tests into separate Experimental and V1 sub-folders.

Submission (Experimental)

  • Removed unnecessary IconValidatorParams struct and updated ValidateIcon params accordingly.

  • Slightly tweaked ValidateIcon.

    • Removed fileName param and check.
    • Added check: File size must not exceed 6MB.
    • Added check: File must be in PNG format.
  • Added some extra checks to ValidateManifest.

    • Property 'dependencies' can no longer contain self.
    • Only get package if semver is valid (to check latest ver).
    • If semver is invalid, function will no longer exit but continue gathering errors.
  • Implemented ValidateReadme with the same checks as Thunderstore.

    • Must be UTF-8 compatible.
    • Cannot begin with a UTF8-BOM.
    • Size of data cannot exceed 100kb.
  • Implemented SubmitPackage to submit a pre-uploaded package given the UUID.
    This method is in line with the TS API. It takes PackageSubmissionMetadata, makes the POST request and gives you back a PackageSubmissionResult (success) or nil (error).

ThunderGo v0.7.2

29 Aug 20:21
Compare
Choose a tag to compare
ThunderGo v0.7.2 Pre-release
Pre-release

Changelog

  • Implemented IsModpack convenience method on the v1.Package struct.
  • Added a test for v1.PackageFromCommunity.

ThunderGo v0.7.1

25 Aug 15:41
Compare
Choose a tag to compare
ThunderGo v0.7.1 Pre-release
Pre-release

Changelog

  • Fixed util.Zero being accidentally inverted, causing it to always be wrong.
  • Implemented Package.LatestVersion and PackageVersion.Download methods.

ThunderGo v0.7.0

08 May 19:01
Compare
Choose a tag to compare
ThunderGo v0.7.0 Pre-release
Pre-release

Changelog

  • Replace all occurences of "author" with "owner".
  • Implement v1 PackageFromCommunity method.
  • Implement v1 PackagesFromCommunity method.

ThunderGo v0.6.0

23 Apr 19:15
Compare
Choose a tag to compare
ThunderGo v0.6.0 Pre-release
Pre-release

Changelog

  • Testing QoL. Implemented CI, made sure API isn't called unnecessarily & commented slow PrettyPrint calls.
  • Implemented v1 PackageList.ToMap method.
  • Implemented v1 PackageList.ExcludeCategories method.
  • Implemented v1 CommunityList alias for []Community with a NewCommunityList helper func.
  • Changes in v1/api.go
    • Due to TS rate limits, GetAllPackages was replaced with PackagesFromCommunities.
    • Switched from a sync.WaitGroup to an errgroup.Group to enable a concurrency limit.
    • Made use of a Mutex to ensure no data race happens when adding packages to the resulting slice.

ThunderGo v0.5.0

19 Apr 19:40
a84cfe1
Compare
Choose a tag to compare
ThunderGo v0.5.0 Pre-release
Pre-release

Changelog

  • Implemented v1 GetAllPackages. Gets the packages of every community and returns a single flattened slice.
  • Removed unnecessary Next and Previous fields from CommunitiesResponse.
  • Added a Size helper function to the CommunityList type.
  • Fix security issue by upgrading golang.org/x/net to v0.23.0. #1

ThunderGo v0.4.2

14 Apr 13:15
Compare
Choose a tag to compare
ThunderGo v0.4.2 Pre-release
Pre-release

Changelog

  • Temporarily commented the v1 package cache until TTL is implemented.
  • GetPackage in experimental now returns a 'not found' error instead of nil.
  • Fixed some test file names not ending in proper format.

ThunderGo v0.4.1

12 Apr 16:34
Compare
Choose a tag to compare
ThunderGo v0.4.1 Pre-release
Pre-release

Changelog

  • Fixed GetPackage returning zero value instead of nil
  • Fully implemented ValidateManifest
  • Slightly improve how ValidateManifest is tested

ThunderGo v0.4.0

11 Apr 18:57
Compare
Choose a tag to compare
ThunderGo v0.4.0 Pre-release
Pre-release

Changelog

  • General project qol (fcf69bb)
  • GetCommunities now returns the results directly.
  • ValidateIcon now takes optional file name param.
  • Implemented CheckSemVer util method.
  • Add github action for announcing a release in discord.