Skip to content

Releases: MSRevive/nexus2

v2.0.0-rc3

14 Apr 03:51

Choose a tag to compare

v2.0.0-rc3 Pre-release
Pre-release

Full Changelog: v2.0.0-rc2...v2.0.0-rc3

v2.0.0-rc2

21 Mar 23:54

Choose a tag to compare

v2.0.0-rc2 Pre-release
Pre-release

Full Changelog: v2.0.0-rc1...v2.0.0-rc2

v2.0.0-rc1

06 Mar 19:17

Choose a tag to compare

v2.0.0-rc1 Pre-release
Pre-release

Highlights

  • Added several database options including PostgreSQL for a remote database.
    • The database system is now modular so it's easier to add new databases. Here are the current DB options:
      • sqlite
      • pebble
      • postgres
  • Switched to slog instead of using auralog, no more thirdparty dependency for logging!

Full Changelog: v1.3.1...v2.0.0-rc1

v1.3.1

01 Jun 14:34

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

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

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

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

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

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

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}