piqueserver v1.0.0.rc1 Release Notes

Release Date: 2019-04-03 // almost 5 years ago
  • ๐Ÿš€ Release Candidate

    ๐Ÿš€ This is the first release candidate for RC1. We have a few more things we want to get into this release, but are tagging the current state as a preview of what's to come and to allow people to test it easier.

    ๐Ÿš€ This prerelease can be installed via pip directly from git: pip install git+https://github.com/piqueserver/[email protected]

    ๐Ÿš€ Release Notes

    ๐Ÿš€ Piqueserver has hit 1.0.0! This release has been around a year in the making and is accordingly jam-packed with new features:

    TOML config

    0๏ธโƒฃ JSON is hard to write and doesn't support comments. Many beginners had lots of issues with the strict syntax of the JSON format and we could not show useful comments describing the options directly in the config file. We've switched the default config to TOML, which is an .ini inspired format that is easier for humans to read and work with.

    ๐Ÿ‘ JSON is of course still supported, but only recommended if you are using another program to generate piqueserver configs.

    ๐Ÿ†• New config engine

    โœ๏ธ We've added a new config engine that allows you to declare options and sections in code, then automatically fetch and validate the values. Declaring options in advance also allows us to tell you about options which are unused, helping you catch typos.

    ๐ŸŒฒ Logging with log levels

    ๐ŸŒฒ Piqueserver's logging was always a pain when debugging the server or scripts. Piqueserver now emits low-level debug messages for things such as grenade throws, player spawns, etc.

    0๏ธโƒฃ Since these messages are not of interest to most users, they are turned off by default. You can enable them with:

    [logging]
    loglevel = "debug"
    

    Time Values in Config

    ๐Ÿ‘ Piqueserver now supports setting time values with time units, instead of opaque values:

    tips_frequency = "5min12sec"
    

    ๐Ÿ Lots of Windows fixes

    ๐Ÿ While Windows was theoretically supported before, support should have improved a lot now. Please report any bugs in our issue tracker!

    ๐Ÿ‘ Removal of python2 support

    ๐Ÿš€ As announced previously, this is the first version will not support python2.x. We are also removing support for python3.4 in this release.

    ๐Ÿ‘Œ Improved docs

    ๐Ÿ“š Our docs at https://piqueserver.readthedocs.io have improved a lot. Instead of only being useful for devs, they now contain documentation for all config options, scripts and of course setting up Piqueserver. Have a read!

    Multi-threaded map generation

    ๐Ÿšš People on lower-powered hardware have complained about map generation taking too long and timing out players. We've moved those to a new thread for a smother experience switching maps.

    HELLOLAN

    ๐Ÿ‘ HELLOLAN is an AoS 1.x feature that allows you to auto-discover servers on your LAN. It is currently only supported by BetterSpades

    GeoIP2

    ๐Ÿ‘ Piqueserver now supports the new GeoIP2 format, the downloads for the old format were shut off. It is also now downloaded and checked securely. Thanks @bieito98!

    โšก๏ธ Data saving on world updates

    โšก๏ธ While not intended, it is possible to save bandwidth when sending out world updates by only sending updates for players that are actually connected. We now do this. We have tested this, but it might occasionally cause issues with Voxlap. If you have issues with players moving to weird positions after this update, let us know!

    ๐Ÿ”จ Refactoring

    As always, a lot of our work goes into improving and renovating the insides of piqueserver. This does not affect users, but is always prerequisite to making more changes in the future.

    Misc

    • --copy-config will now not fail if the directory already exists. Instead, it will attempt to create any files that don't yet exist
    • ๐Ÿšค farbuild exploit mitigation is improved and less susceptible to latency
    • ๐Ÿ›  fixed several DOS exploits (crashes caused by malicious players)
    • โšก๏ธ updated status server to new bootstrap version
    • the status server now returns the correct MIME type for the overview
    • no longer make all users admins if no passwords are given
    • โž• add development dockerfile
    • โฌ‡ decrease size of docker container
    • 0๏ธโƒฃ the analyze script is now part of the default distribution
    • the commands command lists available command
    • more commands now have a help message
    • ๐Ÿ›  a bug was fixed that prevented joining the spectator team on ARM
    • โž• add `--version' option to view installed version
    • you can now use asyncio in piqueserver in addition to twisted