Releases: MSRevive/nexus2
Releases · MSRevive/nexus2
v2.0.0-rc3
Full Changelog: v2.0.0-rc2...v2.0.0-rc3
v2.0.0-rc2
Full Changelog: v2.0.0-rc1...v2.0.0-rc2
v2.0.0-rc1
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
- The database system is now modular so it's easier to add new databases. Here are the current DB options:
- 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
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
~100msnow it's~30ms
- With character data the size of 5001 bytes, was
Removed
- Removed API endpoint to get all characters in via database, since it could be used to DoS the server.
v1.3.0
Added
- Config options to modify the driver for SQLite.
maxidleconns: 0 # Max idle connectionsmaxopenconns: 0 # Max open connectionsconnmaxlifetime: "" # 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/rollbackendpoints are now in their own routing group. This will break any automated rollback systems.- Moved versions and restore endpoints to be under via
/character/rollbackrouting group.
Fixed
- Fixed SQL connection not being closed.
- Fixed slot being wrong for generated character file.
v1.1.0
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
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
Changes
- Make sure slot is always emitted, and defaults to 0 if there's no slot.
v1.0.3-rc1
Added
- Add debug message to see if request is received by server.
v1.0.2
Added
- Add (bool)isBanned field to JSON response for
api/v1/character/{steamid64},api/v1/character/{steamid64}/{slot},api/v1/character/id/{id}