Skip to content

Releases: MSRevive/nexus2

v1.3.1

01 Jun 14:34
Compare
Choose a tag to compare

Added

  • New API endpoint to transfer characters and copy characters to another account.
  • More detailed error responses for JSON errors.

Changed

  • Drasticly imporved the response speed and RAM usage when updating characters.
    • With character data the size of 5001 bytes, was ~100ms now it's ~30ms

Removed

  • Removed API endpoint to get all characters in via database, since it could be used to DoS the server.

v1.3.0

20 Feb 03:24
Compare
Choose a tag to compare

Added

  • Config options to modify the driver for SQLite.
    • maxidleconns: 0 # Max idle connections
    • maxopenconns: 0 # Max open connections
    • connmaxlifetime: "" # Max lifetime of connections.
  • Rate limiting by IP instead.
  • Permission check for database file; make sure the database file has read-write permissions.
  • New endpoint to restore by SteamID instead of character UID.

Changed

  • Changed the router to chi instead of gorilla/mux
    • RiP gorilla/mux since it's no longer maintained.
  • Better error handling for database opening.
  • /character/rollback endpoints are now in their own routing group. This will break any automated rollback systems.
  • Moved versions and restore endpoints to be under via /character/rollback routing group.

Fixed

  • Fixed SQL connection not being closed.
  • Fixed slot being wrong for generated character file.

v1.1.0

12 Feb 06:52
15d666a
Compare
Choose a tag to compare

Added

  • Add migration system (with -m flag) to migrate TOML/INI config file to YAML
  • Add authentication to check useragent as well.
  • Add database migration system, thanks to @pbarnum
  • Add new endpoints for rollback system, thanks to @pbarnum
    • PATCH /character/{uid}/restore - Restore character to original version.
    • GET /character/{steamid}/{slot}/versions - Get all character versions.
    • PATCH /character/{steamid}/{slot}/rollback/{version} - Rollback character to specified version.

Fixed

  • Fix issue of creating character not overwriting, thanks to @pbarnum

v1.0.4

14 May 01:29
Compare
Choose a tag to compare

Added

  • Add isAdmin field for FN admins.
  • Add API endpoint to generate character file from data on via database for steamid64 and slot.
  • Add API endpoint to check if FN connection is valid.
  • Add new middleware method to bypass authorization so we can do manual authorization.
  • Add support for YAML config file.

Fixed

  • Fix GET endpoint for steamid and slot to return single character instead of array of characters.

v1.0.3

02 Apr 01:38
Compare
Choose a tag to compare

Changes

  • Make sure slot is always emitted, and defaults to 0 if there's no slot.

v1.0.3-rc1

26 Mar 22:08
Compare
Choose a tag to compare
v1.0.3-rc1 Pre-release
Pre-release

Added

  • Add debug message to see if request is received by server.

v1.0.2

15 Mar 22:49
Compare
Choose a tag to compare

Added

  • Add (bool)isBanned field to JSON response for api/v1/character/{steamid64}, api/v1/character/{steamid64}/{slot}, api/v1/character/id/{id}

v1.0.1

04 Mar 00:45
Compare
Choose a tag to compare

Added

  • Add size field

Changes

  • Data is now text instead of blob type.

v1.0.0

26 Feb 19:06
Compare
Choose a tag to compare

Initial Release

Removed

  • Removed race field since it's no longer used.
  • Removed all unnecessary fields and replaced them with a single blob field.

Changes

  • Say the actual license in startup instead of just linking to license.

Removed

  • Got rid of sheaths field.

Changes

  • Switched bags, spells, and equipped to text to support large JSON data.
  • Switched to new migration engine.

Added

  • Adds ExpireTime to config so you can modify when the log rotates.
  • Adds Version to program start so you know what version you're running.

Fixed

  • Fixes log rotate not working.

  • Fixes log not appending when resuming log file.

  • Concurrency support for lists.

  • Fixes api/v1 endpoints not returning the result.

  • Reverted config for HTTP and HTTPS ports, cause it is not needed.

  • Auto cert http server will now error out if it fails.

  • Enabled tls-alpn ACME challenges for TLS.

  • Switched from TOML to INI config format because it's more standard.

  • Set control headers to further secure the server.

  • Added config for HTTP and HTTPS ports

  • Renamed config IP to address.

  • Renamed cdir flag to cfile.

v1.0.0-rc11

02 Feb 03:04
Compare
Choose a tag to compare
v1.0.0-rc11 Pre-release
Pre-release

Changes

  • Changed all JSON fields to be text instead of varchar(255)