Skip to content

Commit

Permalink
Release 10.3.0 (#263)
Browse files Browse the repository at this point in the history
* test if gif issue is caused by compressor

* gif issue was caused by compressor

* impl debugger for filetype validator

* fix log

* Fixed deleted sub-entities being returned in /api/games/{id}

* Update FUNDING.yml

* initial user feature

* fix recovery

* chlog of last major

* restructure project and clean up a bit

* improve logs and update dependencies

* ignore directories reading in files

* more verbose logging

* fixed stat error and made image deletion less aggressive

* migrate images to one to one

* prettier

* test if query relation increases performance

* final 10.3.0 changelog

* final 10.3.0 changelog
  • Loading branch information
Alfagun74 authored Mar 28, 2024
1 parent 8cdad09 commit c064a14
Show file tree
Hide file tree
Showing 41 changed files with 1,547 additions and 1,550 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
github: phalcode
ko_fi: phalcode
liberapay: phalcode
custom: "https://paypal.me/phalcode"
9 changes: 4 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@

# compiled output
/dist
/node_modules
/images
/files
/logs
/db

.local/*/*
!.gitkeep

# Logs
logs
*.log
npm-debug.log*
pnpm-debug.log*
Expand Down
10 changes: 6 additions & 4 deletions .local.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
VOLUMES_SQLITEDB=./.local/db
VOLUMES_IMAGES=./.local/images
VOLUMES_FILES=./.local/files
VOLUMES_LOGS=./.local/logs

DB_SYSTEM=SQLITE
TESTING_GOOGLE_API_DISABLED=true
SERVER_ACCOUNT_ACTIVATION_DISABLED=true
SERVER_ADMIN_USERNAME=admin
VOLUMES_SQLITEDB=.
VOLUMES_FILES=.
VOLUMES_IMAGES=.
SERVER_ADMIN_USERNAME=admin
Empty file added .local/db/.gitkeep
Empty file.
Empty file added .local/files/.gitkeep
Empty file.
Empty file added .local/images/.gitkeep
Empty file.
Empty file added .local/logs/.gitkeep
Empty file.
5 changes: 5 additions & 0 deletions .testing.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
VOLUMES_SQLITEDB=./.local/db
VOLUMES_IMAGES=./.local/images
VOLUMES_FILES=./.local/files
VOLUMES_LOGS=./.local/logs

SERVER_LOG_LEVEL=debug
SERVER_ADMIN_USERNAME=admin
SERVER_ADMIN_PASSWORD=12345678
Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# GameVault Backend Server Changelog

## 10.3.0

### Changes

- Fixed a bug where not all frames of uploaded .gif images would be saved to the filesystem.
- Fixed deleted sub-entities being returned in /api/games/{id}
- You can now mark bot users for API access, that are hidden from the public user list, by prefixing usernames with `gvbot_`.
- The first registered user is now granted automatically granted admin privileges
- Enhanced logs within the RAWG GameMatcher
- Adjusted the Image Garbage Collector to be less aggressive, now exclusively deleting files with filenames starting with a valid UUID4
- Huge Performance Improvement of /game/:id up to 1000% faster for slow-loading games. (they loaded up to 4s, now 40ms)

### Thanks

- @lordfransie

## 10.2.0

### Changes
Expand Down Expand Up @@ -87,6 +103,8 @@ Recommended Gamevault App Version: `v1.8.0`

- Fixed a bug where the `SERVER_MAX_DOWNLOAD_BANDWIDTH_IN_KBPS` config would not be used.

- Default `SERVER_MAX_DOWNLOAD_BANDWIDTH_IN_KBPS` is now unlimited.

- `SERVER_REGISTRATION_DISABLED` no longer blocks registration calls by administrators. [#221](https://github.com/Phalcode/gamevault-backend/issues/221)

- Fixed initial folder generation not occurring.
Expand Down
2 changes: 1 addition & 1 deletion migrations.docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.8"
services:
db:
image: postgres:15
image: postgres:16
restart: unless-stopped
environment:
POSTGRES_USER: gamevault
Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gamevault-backend",
"version": "10.2.0",
"version": "10.3.0",
"description": "the self-hosted gaming platform for drm-free games",
"author": "Alkan Alper, Schäfer Philip GbR / Phalcode",
"private": true,
Expand Down Expand Up @@ -48,17 +48,17 @@
"class-validator": "0.14.1",
"compression": "1.7.4",
"cookie-parser": "1.4.6",
"dotenv": "16.4.3",
"express": "4.18.2",
"fastify": "4.26.1",
"file-type-checker": "1.0.8",
"dotenv": "16.4.5",
"express": "4.18.3",
"fastify": "4.26.2",
"file-type-checker": "1.0.9",
"helmet": "7.1.0",
"lodash": "^4.17.21",
"mime": "3.0.0",
"morgan": "1.10.0",
"nest-winston": "1.9.4",
"nestjs-asyncapi": "1.3.0",
"nestjs-paginate": "8.6.0",
"nestjs-paginate": "8.6.2",
"node-7z": "3.0.0",
"passport": "0.7.0",
"passport-http": "0.3.0",
Expand All @@ -74,7 +74,7 @@
"typeorm": "0.3.20",
"typeorm-naming-strategies": "4.1.0",
"unidecode": "^0.1.8",
"winston": "3.11.0",
"winston": "3.12.0",
"winston-console-format": "1.0.8",
"winston-daily-rotate-file": "5.0.0"
},
Expand All @@ -84,30 +84,30 @@
"@nestjs/testing": "^10.3.3",
"@types/bcrypt": "5.0.2",
"@types/compression": "1.7.5",
"@types/cookie-parser": "1.4.6",
"@types/cookie-parser": "1.4.7",
"@types/express": "4.17.21",
"@types/jest": "^29.5.12",
"@types/mime": "3.0.4",
"@types/morgan": "1.9.9",
"@types/multer": "^1.4.11",
"@types/node": "20.11.17",
"@types/node": "20.11.26",
"@types/node-7z": "2.1.8",
"@types/passport-http": "0.3.11",
"@types/string-similarity": "4.0.2",
"@types/unidecode": "^0.1.3",
"@typescript-eslint/eslint-plugin": "7.0.1",
"@typescript-eslint/parser": "7.0.1",
"eslint": "8.56.0",
"@typescript-eslint/eslint-plugin": "7.2.0",
"@typescript-eslint/parser": "7.2.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.1.3",
"jest": "^29.7.0",
"prettier": "3.2.5",
"prettier-plugin-jsdoc": "1.3.0",
"simple-git-hooks": "2.9.0",
"simple-git-hooks": "2.10.0",
"ts-jest": "^29.1.2",
"ts-node": "10.9.2",
"typescript": "5.3.3"
"typescript": "5.4.2"
},
"jest": {
"moduleFileExtensions": [
Expand Down
Loading

0 comments on commit c064a14

Please sign in to comment.