Releases: rage/tmc-langs-rust
Releases · rage/tmc-langs-rust
0.17.2.4: Merge pull request #185 from rage/zip-permissions
- fixed C# point annotation parsing
0.17.2.3
0.20.0: Merge pull request #180 from rage/refresh-sandbox
- changed the return type of get_language_plugin_type to
Option<PluginType>
instead ofResult<PluginType, PluginError>
- added field
sandbox-image
to each exercise returned from course-refresh, which contains either a language-dependent default sandbox image URL such aseu.gcr.io/moocfi-public/tmc-sandbox-python:latest
or the sandbox-image field from tmcproject.yml
0.19.0: Merge pull request #178 from rage/reintroduce-urls
tmc-langs-cli
- several commands now take IDs instead of URLs as parameters:
- download-model-solution: solution-download-url -> exercise-id
- download-old-submission: no longer takes a submission-url
- get-unread-reviews: reviews-url -> course-id
- mark-review-as-read: review-update-url -> course-id and review-id
- request-code-review: submission-url -> exercise-id
- reset-exercise: submission-url -> exercise-id
- send-feedback: feedback-url -> submission-id
- submit: submission-url -> exercise-id
- wait-for-submission: submission-url -> submission-id
tmc-langs
- init_tmc_client_with_credentials now takes an URL instead of a String
- download_old_submission now takes a submission_id parameter instead of a submission_url
tmc-client
- removed unused error types
- removed TmcClient::new_in_config
- removed config_dir parameter from TmcClient::new-
- changed TmcClient::new to panic if a trailing slash is missing and one cannot be added to the root URL
- changed TmcClient::{set_token, authenticate} to panic if called when clones of the client exist
- functions that took usize parameters now take u32
- removed all methods that directly access the API from TmcClient and moved them to the new api_v8 module
- replaced old TmcClient::paste with TmcClient::paste_exercise_by_id
- created new api_v8 module that contains functions for accessing tmc-server's API from https://testmycode.github.io/tmc-server/#/
- removed top-level re-exports of response and request types and made the modules public instead
- removed unnecessary re-exports of RunResult and StyleValidationResult
- added docs
- refactored API module
etc
- changed usize to u32 for non-index variables
0.18.0
new
- support for comma-separated points in points annotations in C#, Ant, Maven, Python 3, R
- TmcClient::paste_exercise_by_id
- TmcClient::submit_exercise_by_id
- StudentFilePolicy::would_be_student_file
- file_util::remove_all to remove a file or directory
- tmc_langs_util::parse_util that contains common parser functions that can be shared between plugins
- tmc_langs::submit_exercise
- tmc_langs;;paste_exercise
change
- moved client-name and client-version to the root level in the CLI
- removed reading password from stdin from tmc_langs::login_with_password
- renamed zip to zip_student_files
- removed StudentFilePolicy parameter from unzip as it was used with the same mock policy everywhere
- deny clippy::unwrap_used in all projects
- improved hidden test file detection
fix
- tmc_langs::extract_student_files
- fixed issues in the overwriting logic of LanguagePlugin::extract_project and LanguagePlugin::extract_student_files
- fixed bugs in tmc_langs::update_exercises
- fixed bugs in tmc_langs::download_old_submission
etc
- replaced unnecessary temporary file usage with in-memory buffers in tmc-client
0.17.2.2
0.17.5
0.17.4: Merge pull request #167 from rage/r-fix
changes
- added support for comma separated points in R
etc
- switched to structopt
0.17.2.1
0.17.3: Merge pull request #154 from noobLue/master
change
- improved the caching logic for C# runner and maven
- updated maven to 3.8.1
- moved bundled maven location from tmc/apache-maven-3.6.3 to tmc/apache-maven
- added progress tracking to paste
- improved dl tracking message
- changed prepare-submission to prefix the submission zip contents with the course and exercise names
fix
- clippy lints
- added back progress tracking to dl
etc
- documented course-wide tmcproject files
- improved docks for sandbox_image in tmcproject