mindstorm38 / portablemc

A fast, reliable and cross-platform command-line Minecraft launcher and API for developers. Including fast and easy installation of common mod loaders such as Fabric, Forge, NeoForge and Quilt.
https://pypi.org/project/portablemc/
GNU General Public License v3.0
372 stars 20 forks source link

Version 4.0.0 candidate #159

Closed mindstorm38 closed 1 year ago

mindstorm38 commented 1 year ago

Tracking issue: #146

Changes

API: Full rewrite of the API (except for authentication), brand-new installation process and configuration, supporting event-based diagnostics (#114) API: New fixes API allowing fixing previse components on demand API: Fixing LWJGL to a specific version is now included in the API, through the new fixes API API: Support for fixing LWJGL to version 3.3.2 (#148, thanks @snoopchallenge) API: Fixing wrong JVM executable path on macOS (#156, #149, thanks @allen546 and @plushTeddy) API: Fixing multiplayer button being disabled in offline mode for versions 1.16.4 and 1.16.5 (#154, thanks @unaiiglesias) API: Supporting quick play arguments on modern versions, with retro-compatible support for older ones (#153, thanks @cunhar) API: Better internal HTTP request API, with easier response and error handling API: Fabric and Quilt now included by default in the API API: Forge now included by default in the API API: Forge installation is no longer running the installer manually, it instead read its inner metadata and manually run processors if required, supporting all versions providing an installer (#133, thanks @rutexd) API: Resources downloading is no parallelized, much, much faster! CLI: Wider support of the --timeout argument CLI: Output format can be selected using the --output argument, supporting by default human and machine outputs, and the default human-color with a bit of coloring CLI: Verbosity can be set using one or more -v flag, mostly supported by start command CLI: Search command has no more -l (--local) flag, instead a -k (--kind) has been introduced that support searching for mojang (like before), local (equivalent of old -l flag), forge, fabric and quilt mod loader versions CLI: On start, login and logout commands, the -m (--microsoft) has been replaced with --auth-service, which now defaults to Microsoft, but still support Yggdrasil CLI: Start flag --anonymise has been replaced by --auth-anonymize CLI: Start flag --no-old-fix replaced with --no-fix, because fixes now also applies to modern versions CLI: Start argument --lwjgl additionally support version 3.3.2 CLI: Start argument --resol renamed --resolution CLI: When starting the game, the game's logs are now formatted by the launcher itself with better Ctrl-C support, therefore the flag --no-better-logging has been removed CLI: Fixed Ctrl+C on Windows (#133) CLI: No add-on support, for now Doc: Documentation has been fully reworked, both for CLI and API! Dev: The repository is no longer a mono-repo, everything interesting will be included directly in the launcher now Dev: Launcher's sources are no better separated in proper modules Dev: Improved GitHub workflow to avoid running for doc changes Dev: Now requiring poetry 1.2 at least, and added pytest/toml tests requirements Contrib: Additional thanks to @Ristovski and @GoodDay360 for their feedbacks! And @TickingFeather for fixing typo in documentation!

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 60.21% and project coverage change: +7.34% :tada:

Comparison is base (7ca0906) 53.84% compared to head (8d78ada) 61.19%. Report is 4 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #159 +/- ## ========================================== + Coverage 53.84% 61.19% +7.34% ========================================== Files 8 19 +11 Lines 2093 2930 +837 ========================================== + Hits 1127 1793 +666 - Misses 966 1137 +171 ``` | [Files Changed](https://app.codecov.io/gh/mindstorm38/portablemc/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Th%C3%A9o+Rozier) | Coverage Δ | | |---|---|---| | [portablemc/cli/\_\_init\_\_.py](https://app.codecov.io/gh/mindstorm38/portablemc/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Th%C3%A9o+Rozier#diff-cG9ydGFibGVtYy9jbGkvX19pbml0X18ucHk=) | `9.67% <9.67%> (ø)` | | | [portablemc/cli/output.py](https://app.codecov.io/gh/mindstorm38/portablemc/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Th%C3%A9o+Rozier#diff-cG9ydGFibGVtYy9jbGkvb3V0cHV0LnB5) | `25.00% <25.00%> (ø)` | | | [portablemc/auth.py](https://app.codecov.io/gh/mindstorm38/portablemc/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Th%C3%A9o+Rozier#diff-cG9ydGFibGVtYy9hdXRoLnB5) | `36.36% <36.36%> (ø)` | | | [portablemc/fabric.py](https://app.codecov.io/gh/mindstorm38/portablemc/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Th%C3%A9o+Rozier#diff-cG9ydGFibGVtYy9mYWJyaWMucHk=) | `69.56% <69.56%> (ø)` | | | [portablemc/standard.py](https://app.codecov.io/gh/mindstorm38/portablemc/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Th%C3%A9o+Rozier#diff-cG9ydGFibGVtYy9zdGFuZGFyZC5weQ==) | `70.47% <70.47%> (ø)` | | | [portablemc/forge.py](https://app.codecov.io/gh/mindstorm38/portablemc/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Th%C3%A9o+Rozier#diff-cG9ydGFibGVtYy9mb3JnZS5weQ==) | `78.78% <78.78%> (ø)` | | | [portablemc/cli/lang.py](https://app.codecov.io/gh/mindstorm38/portablemc/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Th%C3%A9o+Rozier#diff-cG9ydGFibGVtYy9jbGkvbGFuZy5weQ==) | `84.61% <84.61%> (ø)` | | | [portablemc/util.py](https://app.codecov.io/gh/mindstorm38/portablemc/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Th%C3%A9o+Rozier#diff-cG9ydGFibGVtYy91dGlsLnB5) | `85.00% <85.00%> (ø)` | | | [portablemc/http.py](https://app.codecov.io/gh/mindstorm38/portablemc/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Th%C3%A9o+Rozier#diff-cG9ydGFibGVtYy9odHRwLnB5) | `86.95% <86.95%> (ø)` | | | [portablemc/cli/util.py](https://app.codecov.io/gh/mindstorm38/portablemc/pull/159?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Th%C3%A9o+Rozier#diff-cG9ydGFibGVtYy9jbGkvdXRpbC5weQ==) | `88.00% <88.00%> (ø)` | | | ... and [9 more](https://app.codecov.io/gh/mindstorm38/portablemc/pull/159?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Th%C3%A9o+Rozier) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mindstorm38 commented 1 year ago

(I don't care of coverage for now...)

mindstorm38 commented 1 year ago

-> https://github.com/mindstorm38/portablemc/releases/tag/v4.0.0