Skip to content

ThunderGo v0.8.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@Owen3H Owen3H released this 20 Dec 05:49
· 5 commits to main since this 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).