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 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).