Skip to content

Releases: PhlexPlexico/G5API

V2.0.1.0

30 Jun 01:18
c8a595b

Choose a tag to compare

What's Changed

  • More changes in OnPlayerDeath, leading up to the removal of updating player stats.
  • Fixed post call in matches that had an incorrect spelling for match spectators.

Full Changelog: V2.0.1...V2.0.1.0

Thanks to @Bunker56 for giving me a hand in testing on servers as well!

Version 2.0.0.1

26 Jun 23:01
7172950

Choose a tag to compare

What's Changed

Full Changelog: V2.0.0.1...V2.0.1

Version 2.0.0.1

26 Jun 21:54
fff92cd

Choose a tag to compare

What's Changed

  • Update packages, update queries in API.
  • Tons of bug fixes and hopefully resolves client headers not being sent.
  • Update api.ts
  • Include a debug log to check the body of requests being sent in.
  • Update case statement due to missing breaks.
  • De-duplicate match check codes and move them up to the api.
  • Adjust onplayerdeath to take care of any issues with sql pains.
  • Include default case to throw 400 on API calls that are not implemented and reply accordingly.
  • Find a better way for concurrent match restores.
  • Update to implement round_end.
  • Update demos to properly upload to folder.
  • Update map stats on round end as well.
  • Remove unused import in backupapi
  • Fixed demoapi to rename the demo to zip as we are zipping the file, just not renaming the extension.
  • Update veto picks in maplflow service to choose the correct maps from the in-game veto pool.
  • Move updatePlayerStats to the Utils class as it's used in seriesflow and mapflow services.
  • Update seriesflowservice to update the stats a final time to ensure data correctness at the end of a map.
  • Update map flow to catch an edge case where player stats do not exist yet.

Full Changelog: V2.0.0...V2.0.0.1

Special Thanks

To @Bunker56 for helping me test out all the basic cases. I know there are some edge cases that were most likely missed, but please if there are any, create an issue so it can be patched accordingly!

  • Phlex 🤙

Version 2.0.0

23 Jun 18:11

Choose a tag to compare

Version 2.0.0 Pre-release
Pre-release

Version 2 of the game server API is here! Now with support for get5 0.14, the plugin G5WS is no longer needed. The only thing missing from this is team logos, but those are seemingly fairly broken to begin with - so users will still be able to upload and use them on the website. For the entire list of changes, please see #251

What's Changed

Full Changelog: V1.7.0...V2.0.0

Version 1.7.0

09 Sep 18:29
1721957

Choose a tag to compare

This new version upgrade contains quite an amount of new features, which are mainly listed below.

Please note that if you are not using the Docker images provided, you must update your config files, as there was some breaking changes and moving some config options up to a different portion of the file to avoid deprecation warnings.

Also included is a new map_sides value for match configs, which will now allow users to do vetoes outside of the system and choose sides.

Server Sent Events are also now included which should allow for real time updates for data, as soon as the game server sends updates to the database.

What's Changed

Full Changelog: V1.6.0...V1.7.0

Cheers!

  • Phlex 🤙

Version 1.6.0

04 Apr 23:34
91982bb

Choose a tag to compare

I figured this would be a bigger point release since all the frameworks for Challonge integration is now complete. Users are now able to integrate fully with their own Challonge API keys, and will be able to automagically track their matches as they happen on the game server. There's been a few other fixes under the hood (like Jest tests), but there isn't anything major or breaking that should harm any users from going from 1.5.0 to 1.6.0. Please make sure to upgrade your database with the given yarn commands though!

What's Changed

Full Changelog: V1.5.0...V1.6.0

Cheers!

  • Phlex 🤙

Version 1.5.0

18 Feb 20:43
2a553f4

Choose a tag to compare

What's Changed

Full Changelog: V1.4.0...V1.5.0

Version 1.4.0

10 Dec 03:26
01789d5

Choose a tag to compare

Hey there, it's been awhile! This new update actually brings quite a few new features. So buckle up and get ready to read

What's new

  • Add side types table for vetoes - these display which team picks which side provided sides are chosen by a team.
  • Change Dockerfile to utilize environmental variables (thanks @ebuttonsdude!).
  • Added ability to check if the server is up to date (thanks @thboss!).
  • Accept API token only as HTTP Headers (thanks @kdev!).
  • Migrate to Node.js version 14 (thanks @kdev!).
    • This was needed as there was some more recent conventions used for NULL checks.
  • Fix Bug not allowing authentication at /servers (thanks @kdev!).
  • Added 4 new stats to track during games.
  • Include upload demos directive - users can now enable/disable demo uploads from the server side, this allows usage for public panels to be setup!
  • Docker Compose File Implemented to run the whole "G5X" stack (shoutouts to @kubo6472 for the name).
  • Added GHCR CD (thanks @kubo6472!)
  • Consolidate API key with user ID - this is to ensure a user only has to send one key value and makes a bit more sense in how API keys are used.
  • Fixed an issue with the leaderboard if a match was deleted and a user still existed.
  • Database calls have been refactored. This means that the app should no longer have dangling connections and crash (at the cost of transactions, which is okay to be honest, they can be implemented another time).
  • Team names have been denormalized in the player stats table. This resolves #108 as users would not be able to sort their pug stats based on the team they were on after a match.

New Contributors

Full Changelog: 1.3.0...V1.4.0

  • Phlex 🤙

Version 1.3.0

26 May 16:13
78912d8

Choose a tag to compare

New release that includes a few things that is more for code re-usability and stability.

What's new

  • Routes have been simplified that require checking if a match is complete or if a user has access to said matches.
  • Certain checks are now more in line with other checks.
  • Allow NULLs to be inserted in specific scenarios (such as seasons)
  • Include a BO2 setting.
  • Change from max_maps (which is [deprecated[(https://github.com/splewis/get5/blob/2b3e3d9ec883e09a86023c6f015db9b2178428a5/scripting/get5/matchconfig.sp#L343)) to num_maps instead.
  • Sanitize quotes in CVARS for seasons.
  • Vulnerability fixes for redis.
  • Move some dependencies to development only (such as jsdoc, and redis-mock)
  • Sanitize custom CVARs in individual matches.
  • Restart command has been added in the package scripts for production.

Bugs, Questions?

  • Possible outstanding bug #98 - not confirmed yet if it's to do with the API or Get5 not reporting OnSeriesResult with the given conditions.

What's next?

-Phlex 🤙

Version 1.2.0.1

11 Feb 01:36

Choose a tag to compare

Just a quick version tag for the latest stable release. This is just a patch to ensure that the database should now no longer fail out.

What's new

  • Database calls are now all wrapped in a transaction. This should prevent any transactions from dying now!

Bugs, Questions?

  • Please create an Issue if you run into any problems. My testing doesn't cover everything but it sure covers enough to take up a bunch of time.

What's next?

  • Not even sure!

-Phlex 🤙