Portablemc

Latest version: v4.3.0

Safety actively analyzes 623106 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

4.3.0

Changes
- *CLI*: Improved authentication error messages (199)
- *CLI*: Added support for starting and searching legacyfabric (205, thanks BluCobalt)
- *CLI*: Fixed an issue with stdout/stderr where encoding was not UTF-8 and therefore crashes the launcher in some case, reported on Windows (210, thanks marewey)
- *CLI*: Running the game in dry mode now build the command line, that can be shown using `-vv` verbosity flag
- *API*: Added support for "legacyfabric" fabric *unstable* API (205, thanks BluCobalt)
- *API*: Automatic XML log detection has been improved (209)
- *API*: Fixed a potential bug for invalid HTTP response when batch downloading

4.2.1

Changes
- *API*: Forge *(not including NeoForge)* alias `-recommended` or `-latest` can now fall back to the other one if not found. (189, thanks MisileLab)
- *API*: The methods `get_authentication_url` and `get_logout_url` from class `MicrosoftAuthSession` are now deprecated.
- *CLI*: Microsoft authentication has been improved to support systems where no browser can be found. If the launcher cannot find a web browser, or the option `--auth-no-browser` has been set, the user can authenticate on another computer and then copy-paste the token in the terminal. (194, thanks theoparis)
- *CLI*: Shell completion for Bash and Zsh to generate with `show completion`. (111, suggestion from JamiKettunen)
- *CLI*: The temporary local server is now using a dynamically allocated port.
- *CLI*: Added a deprecation info message when using Yggdrasil (Mojang) authentication.
- *CLI*: Fixed formatting of numbers.
- *CLI*: Improved some commands help messages, looking forward to improving the CLI.
- *Misc*: The `certifi` extra has been added to the package to explicitly specify the dependency (install with `pip install portablemc[certifi]`).
- *Doc*: Fixed doc links (for PyPI rendering).
- *Doc*: Added sponsors to documentation.
- *AUR*: The AUR package automatically installs autocompletion scripts (thanks to Maks Jopek).

> [!NOTE]
> Version 4.2.0 has been abandonned due to wrong build being pushed to PyPI.

4.1.0

Changes
- *API*: LWJGL fix can now support all present and future 3.3.* versions, including 3.2.3 like before (181, thanks snoopchallenge)
- *API*: Added **unstable** support for NeoForge repository in `ForgeVersion` (180, thanks MisileLab)
- *API*: Added a default User-Agent for HTTP requests *(not for downloads)* of `portablemc/<version>`
- *CLI*: LWJGL fix is no longer restricted to specific values, you can enter any value and the launcher will raise an error (download error if the version is not yet available) if it is not supported (181)
- *CLI*: Added support for NeoForge launch with `neoforge:` id and associated `--neoforge-prefix` argument (180)
- *CLI*: Notice about the `--login` argument when using thje `login` command (182, thanks superniels09)
- *CLI*: Search is not yet supported for NeoForge!
- *Doc*: Improved README

4.0.3

Changes
- *CLI*: When socket errors happen with the `search` and `start` commands, the CLI provides tips to use it in offline-mode
- *CLI*: Fixed a concerning issue where the locally cached version manifest was not used for the `start` command.

4.0.2

Changes
- *CLI*: Fixed some printing issues with authentication
- *CLI*: Better error message for network errors, and less verbose by default (use -v instead when backtrace needed)
- *API*: Fixed issues with relative path for work/main directories: relative paths are still usable in the launcher code, but when running sub processes, absolute paths are used instead (171, thanks RiverRyan3000)
- *API*: Retro-compatible changes to HttpResponse and HttpError to support network error wrapping (173, thanks again RiverRyan3000)
- *Doc*: Improved API documentation about authentication and runners (172, 174, thanks creeper-0910 and JXSnack)
- *Doc*: Updated README illustration (167)

4.0.1

Changes
- *CLI*: Now using Bytes instead of octets for download progress (164, thanks Ristovski!)
- *API*: Standard events `VersionLoadingEvent`, `VersionFetchingEvent`, `JarFoundEvent`, `LibrariesResolvingEvent` and `JvmLoadingEvent` are now using slots
- *API*: Forge events `ForgePostProcessingEvent` and `ForgePostProcessedEvent` are now using slots
- *API*: Batch download API (`portablemc.download` module) now support `certifi` as an SSL context provider and also supports optional URL port
- *API*: Fixed some rare unhandled connection errors that happened when downloading
- *Dev*: Added tests for forge/fabric/quilt loader version resolving
- *Doc*: Improved versioning and stability documentation of the API

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.