Releases: rage/tmc-langs-rust
Releases · rage/tmc-langs-rust
0.2.0
- Improved progress status reporting: new posted-submission result type with url data when submitting
{"status":"in-progress","message":"Submission running at https://tmc.mooc.fi/submissions/8105529","result":"posted-submission","percent-done":0.5,"data":{"show_submission_url":"https://tmc.mooc.fi/submissions/8105529","paste_url":"","submission_url":"https://tmc.mooc.fi/api/v8/core/submissions/8105529"}}- Improved authentication error handling: removed error kind authorization-error, added forbidden (403 from server) and not-logged-in (401 from server or no stored token found)
{"status":"finished","message":"Failed to submit","result":"error","percent-done":1.0,"data":{"kind":"forbidden","trace":["Caused by: Failed to submit","Caused by: HTTP error 403 Forbidden for https://tmc.mooc.fi/api/v8/core/exercises/83114/submissions: Authentication required"]}}{"status":"finished","message":"Failed to get courses","result":"error","percent-done":1.0,"data":{"kind":"not-logged-in","trace":["Caused by: Failed to get courses","Caused by: Authentication required"]}}- Don't write .tmcparams when packaging submission if the file would be empty
0.1.0
0.1.20-alpha
CLI
- prepare-submission's flag output-zip -> output-format which takes tar, zip or zstd and defaults to tar
--output-format <output-format> The output format of the submission archive. Defaults to tar. [default: tar] [possible values: tar, zip, zstd]
Other
- sign release binary on macos CI
- major refactoring
0.1.19-alpha
get-course-data, bugfix
0.1.18-alpha
Bug fix release
0.1.17-alpha
CLI
- improved docs
- fixed and simplified project directory discovery in archives
- special result for RunResults without tests changed to failure, improved message (mention exit())
0.1.16-alpha
CLI
- removed http-error-code from ErrorData
- added kind to ErrorData: generic, authorization-error or connection-error
- fix: parses output-path correctly in reset-exercise and download-old-submission
0.1.15-alpha
CLI
- Improved progress tracking (single progress bar for all commands)
- Reset clears directory contents instead of removing it
- Changed error data format from Vec to output::ErrorData
- fix: extract student files properly in download-old-submissions
- improvements to reset
Other
- RunResult logs field from byte vector to String
- fix: Improved project extraction
0.1.14-alpha
CLI
- Improved progress tracking
- Reset clears directory contents instead of removing it
Other
- fix: Improved project extraction
0.1.13-alpha
CLI
- Changed CLI status on non-fatal error to Finished instead of Crashed
- Improved error messages when external command not found
- Improved download-old-submission
Core
- Reset attempts to remove the target directory multiple times to circumvent Windows in-use issue
Other
- Moved language plugins to a subdirectory
- Made zip generic instead of dynamic