Releases: CalebQ42/stupid-backend
Releases · CalebQ42/stupid-backend
Extras
User Roles
- Users now have roles to act as permissions
Fix race error with alternate names
- Fix a race error with alternate names
Small tweaks
- Detect AlternateNamedApp at launch instead of everytime a request is made that may be for an alternate named app
UnKeyedApp
- Modularized the
App
interface and renamed it toKeyedApp
KeyedApp
only requires theLogs()
andCrashes()
- Added
CrashFilteredApp
interface which replacesIgnoreOldVersionCrashes()
- This allows for the filtering to be a bit more nuanced, though more manual
- Added
ExtendedApp
interface which replacesExtension(req)
- Added 'UnKeyedApp'
- This is far more manual App interface, but allows for an App that does not require an API Key
- Added 'UnKeyedWithAlternateNameApp`
- Allows for an UnKeyedApp to have an alternate or easier to use name.
- Moved
db
andcrash
package out of the pkg directory.- Follows the official organization recommendations
Fix log cleanup
- Fixed log cleanup not functioning properly.
- Additionally made the log cleanup to happen on server start-up
- Added
robots.txt
to disallow crawlers since they wouldn't have an api key anyway.
CORS
Proper 201 sending
- Proper 201 sending
Stable?
Version aware & cleanup
- Crashes now have a version field.
- Added
App.IgnoreOldVersionCrashes
- Added
App.CurrentVersions
to facilitate ignoring old version crashes while allow multiple valid versions (such as stable and beta versions). - Every 24 hours logs with a last connection date older then 30 days are removed.