Skip to content

Releases: OwenCochell/PaperMC-Update

3.0.2

22 Jan 22:16

Choose a tag to compare

3.0.2

Bug Fixes:

  • REALLY resolved error where oldest build is selected. We now sort to remove any ordering issues.

3.0.1

12 Jul 22:58

Choose a tag to compare

Bug Fixes:

  • Resolved error where oldest build is selected when choosing the latest

3.0.0

12 Jul 04:37

Choose a tag to compare

Huge changes!
We now utilize the V3 PaperMC API,
as well as some minor behind the scene changes.

Features Added:

  • Now supports V3 API
  • By default, PaperMC now uses a special user agent string: PaperMC-Update/VERSION (https://github.com/OwenCochell/PaperMC-Update)
  • Added option to specify a custom user agent string, which is now REQUIRED by PaperMC (see readme for info)
  • We now use pathlib under the hood
  • Very minor file reading/writing optimizations when preforming download and checksum check

Bug Fixes:

  • A bunch of misc. errors related to old V2 API usage

Other Fixes:

  • Added documentation on custom user agent string argument
  • Added section describing why you should define a custom agent string

2.2.3

03 Jan 02:35

Choose a tag to compare

Bug Fixes:

  • Now uses correct API URL

2.2.2

02 Aug 02:47

Choose a tag to compare

Bug Fixes:

  • Now reads new version info format
    • Caused config version load failures

Other Fixes:

  • Minor refactor and documentation change

2.2.1

10 Jun 00:45

Choose a tag to compare

Bug Fixes:

  • Changed the lowest required version from 3.6 to 3.7.
  • Fixed bug where script crashes if no builds are available for the selected version.
    We now display a message and exit.
  • Fixed bug where option '--stats' fails if the selected version and build are invalid.

Other Fixes:

  • Changed the lowest version required in the readme.
  • Fixed some errors and typos in the readme.

2.2.0

09 Mar 07:51

Choose a tag to compare

Features Added:

  • We can now upgrade ourselves! You can do this using the -u parameter.

Bug Fixes:

  • Using the current keyword when selecting the build no longer fails.

Other Fixes:

  • Added section to readme describing the update process.

2.1.0 Release

02 Mar 08:07

Choose a tag to compare

Features Added:

  • Added a new keyword, current, which will automatically select the current version/build to install

Bug Fixes:

  • Removed some junk debugging messages that would appear even if we are quieted.

other Fixes:

  • Added section to the readme that describes how to use keywords.

2.0.0 Release

07 Nov 22:33

Choose a tag to compare

Major changes!

Due to numerous code and feature changes, we have bumped to version 2.
This update mostly focuses on behind the scene bug fixes and improvements,
but we do have some new features to offer.

Features Added:

  • Added the ability to check the integrity of the file using the SHA256 hash provided by the PaperMC API
  • Implemented a very basic caching system to reduce the number of calls made to the PaperMC API
    (Makes your network happy due to saved bandwidth, and makes you happy due to saved time).
    This may get improved in the future if necessary.
  • Added the ability to view install data such as changelogs and hashes
  • Made determining the output filename a bit simpler, check out the readme

Bug Fixes:

  • When a filename is not specified, we install the file to the given location instead of the parent directory
  • Version checks will NOT determine an update is necessary if the currently installed version and
    version to install is the same(This goes for builds as well)
  • Fixed bugs related to manually specifying the output filename
  • Fixed bugs were the script will not backup the jar file when necessary

Other Fixes:

  • Cleaned up the code to be more readable(Typing, better docstrings, cleaner code)
  • Made the Updater class and other components usable by third parties!
    You can import these components into your own scripts to easily communicate with the PaperMC API!
    Checkout the readme for more info on this!
  • Cleaned up the readme to be easier to read, and added sections to explain this update

1.4.0 Release

21 Oct 18:23

Choose a tag to compare

Features Added:

  • Added support for the PaperMC v2 API, the usage of the script remains unchanged

Also, I have noticed that Windows Defender is flagging bundled PyInstaller binaries as malicious. It does not seem to do this with regular builds, so I am including it here as well(Download and extract server_update.zip).