Releases: The-Egg-Corp/ThunderGo
Releases · The-Egg-Corp/ThunderGo
ThunderGo v0.8.1
Changelog
Submission (Experimental)
- Documented
ValidateManifest
andValidateReadme
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
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 updatedValidateIcon
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.
- Removed
-
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
Changelog
- Implemented
IsModpack
convenience method on thev1.Package
struct. - Added a test for
v1.PackageFromCommunity
.
ThunderGo v0.7.1
Changelog
- Fixed
util.Zero
being accidentally inverted, causing it to always be wrong. - Implemented
Package.LatestVersion
andPackageVersion.Download
methods.
ThunderGo v0.7.0
Changelog
- Replace all occurences of "author" with "owner".
- Implement v1
PackageFromCommunity
method. - Implement v1
PackagesFromCommunity
method.
ThunderGo v0.6.0
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 aNewCommunityList
helper func. - Changes in
v1/api.go
- Due to TS rate limits,
GetAllPackages
was replaced withPackagesFromCommunities
. - Switched from a
sync.WaitGroup
to anerrgroup.Group
to enable a concurrency limit. - Made use of a Mutex to ensure no data race happens when adding packages to the resulting slice.
- Due to TS rate limits,
ThunderGo v0.5.0
Changelog
- Implemented v1
GetAllPackages
. Gets the packages of every community and returns a single flattened slice. - Removed unnecessary
Next
andPrevious
fields fromCommunitiesResponse
. - Added a
Size
helper function to theCommunityList
type. - Fix security issue by upgrading
golang.org/x/net
tov0.23.0
. #1
ThunderGo v0.4.2
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
Changelog
- Fixed
GetPackage
returning zero value instead of nil - Fully implemented
ValidateManifest
- Slightly improve how
ValidateManifest
is tested
ThunderGo v0.4.0
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.