Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 8.0.0 #204

Merged
merged 43 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
4664398
fixed rawg 404 message
Alfagun74 Sep 26, 2023
48158ea
test file stat
Alfagun74 Sep 26, 2023
8e70ab2
no need for a fix
Alfagun74 Sep 26, 2023
6a3fe3f
backup & restore for sqlite
Alfagun74 Sep 28, 2023
0399cde
lckf
Alfagun74 Sep 29, 2023
57557d9
dump trycach
Alfagun74 Sep 29, 2023
202be69
error handling
Alfagun74 Sep 29, 2023
7f1732f
show me the error
Alfagun74 Sep 29, 2023
4abfb4d
f
Alfagun74 Sep 29, 2023
13987cb
fix restore
Alfagun74 Sep 29, 2023
c0577fe
sf
Alfagun74 Sep 29, 2023
fb4c76c
no create
Alfagun74 Sep 29, 2023
07f7efa
remove v flag
Alfagun74 Sep 29, 2023
dacbf1f
verbose error
Alfagun74 Sep 29, 2023
762ef71
fix log
Alfagun74 Sep 29, 2023
2a40130
use node native way to spawn processes
Alfagun74 Sep 29, 2023
daa5221
fix progresses
Alfagun74 Oct 7, 2023
37832b8
refactor
Alfagun74 Oct 7, 2023
daccfc8
restore issue
Alfagun74 Oct 7, 2023
edd413b
fix exec
Alfagun74 Oct 7, 2023
33e3820
fix db restore
Alfagun74 Oct 7, 2023
63edd20
forgot supplying password
Alfagun74 Oct 7, 2023
1745307
hard restore
Alfagun74 Oct 7, 2023
3527685
clean agian
Alfagun74 Oct 7, 2023
e4584ad
fix more
Alfagun74 Oct 7, 2023
6261d4a
fix restore
Alfagun74 Oct 10, 2023
81af42c
wrote todos
Alfagun74 Oct 10, 2023
5e872e5
Implemented database migration, improved Progress API, and conducted …
Alfagun74 Oct 10, 2023
3fefe80
kudos
Alfagun74 Oct 10, 2023
2a9ba20
return empty instead of 404
Alfagun74 Oct 11, 2023
e3d43b6
fix nfe
Alfagun74 Oct 11, 2023
eeb2d16
fix empty progresses
Alfagun74 Oct 12, 2023
1110053
clean code
Alfagun74 Oct 12, 2023
f906a20
less useless data
Alfagun74 Oct 12, 2023
413df94
fix api spec
Alfagun74 Oct 12, 2023
340ba42
fix urls
Alfagun74 Oct 12, 2023
f67f46b
drop db with force
Alfagun74 Oct 14, 2023
862bf65
better error messages
Alfagun74 Oct 14, 2023
c4ad15d
more health info
Alfagun74 Oct 15, 2023
ef30096
admin endpoint
Alfagun74 Oct 15, 2023
b3cab60
include version in backup
Alfagun74 Oct 17, 2023
34182df
remove log
Alfagun74 Oct 17, 2023
08b5776
remove log
Alfagun74 Oct 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# GameVault Backend Server Changelog

## 8.0.0

Recommended Gamevault App Version: `v1.7.0`

### Breaking Changes & Migration

- [Issue #234](https://github.com/Phalcode/gamevault-app/issues/234): Added a new Health API endpoint for administrators to access detailed server information.

- The health endpoints now provide data in JSON format, replacing the previous fancy HTML page.

### Changes

- [Issue #253](https://github.com/Phalcode/gamevault-app/issues/253): Implemented the Database Backup and Restoration API.
- Improved data management: The server no longer saves empty progress entries with a "UNPLAYED" state and 0 minutes of playtime.
- This change involved a database migration to remove such empty progress entries.
- The Progress API now permanently deletes entries marked as unplayed with 0 minutes of playtime.
- Enhanced the Progress Upsert API to handle nullable fields, enabling partial updates.
- Performed additional code refactoring to ensure consistency in code structure and naming.

### Thanks

- @Kudjo

## 7.0.0

Recommended Gamevault App Version: `v1.6.1`
Expand Down Expand Up @@ -54,7 +77,7 @@ Recommended Gamevault App Version: `v1.6.0`
- Fixed the Broken Content-Disposition Header for some downloads. [#209](https://github.com/Phalcode/gamevault-app/issues/209).
- Game Type only gets detected once, or when a game file changes and not on every index. [#200](https://github.com/Phalcode/gamevault-backend/issues/200)
- Unified global error handler for 4XX and 5XX messages. The Problem is now directly inside the response without the duplicated status.
- Implemented `(NC)` flag to disable rawg-caching for single games. #194(https://github.com/Phalcode/gamevault-app/issues/194)
- Implemented `(NC)` flag to disable rawg-caching for single games. [#194](https://github.com/Phalcode/gamevault-app/issues/194)

### Thanks

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ VOLUME /files /images /logs /db
# Install pnpm and other needed tools
RUN sed -i -e's/ main/ main non-free non-free-firmware contrib/g' /etc/apt/sources.list.d/debian.sources \
&& apt update \
&& apt install -y sudo tzdata curl p7zip-full p7zip-rar \
&& apt install -y sudo tzdata curl p7zip-full p7zip-rar postgresql-client \
&& npm i -g pnpm
WORKDIR /app

Expand Down
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gamevault-backend",
"version": "7.0.0",
"version": "8.0.0",
"description": "the self-hosted gaming platform for drm-free games",
"author": "Alkan Alper, Schäfer Philip GbR / Phalcode",
"private": true,
Expand All @@ -22,36 +22,36 @@
},
"dependencies": {
"@nestjs/axios": "3.0.0",
"@nestjs/common": "10.2.6",
"@nestjs/core": "10.2.6",
"@nestjs/common": "10.2.7",
"@nestjs/core": "10.2.7",
"@nestjs/passport": "10.0.2",
"@nestjs/platform-express": "10.2.6",
"@nestjs/platform-express": "10.2.7",
"@nestjs/schedule": "3.0.4",
"@nestjs/swagger": "7.1.12",
"@nestjs/swagger": "7.1.13",
"@nestjs/typeorm": "10.0.0",
"async-g-i-s": "1.5.1",
"axios": "1.5.0",
"axios": "1.5.1",
"bcrypt": "5.1.1",
"better-sqlite3": "8.6.0",
"better-sqlite3": "9.0.0",
"class-transformer": "0.5.1",
"class-validator": "0.14.0",
"compression": "1.7.4",
"cookie-parser": "1.4.6",
"dotenv": "16.3.1",
"express": "4.18.2",
"fastify": "4.23.2",
"fastify": "4.24.1",
"file-type-checker": "^1.0.8",
"helmet": "7.0.0",
"mime": "3.0.0",
"morgan": "1.10.0",
"nest-winston": "1.9.4",
"nestjs-paginate": "8.3.0",
"nestjs-paginate": "8.3.3",
"node-7z": "3.0.0",
"passport": "0.6.0",
"passport-http": "0.3.0",
"pg": "8.11.3",
"reflect-metadata": "0.1.13",
"rimraf": "5.0.1",
"rimraf": "5.0.5",
"rxjs": "7.8.1",
"sanitize-filename": "^1.6.3",
"sharp": "0.32.6",
Expand All @@ -60,7 +60,7 @@
"typeorm": "0.3.17",
"typeorm-naming-strategies": "4.1.0",
"unidecode": "^0.1.8",
"winston": "3.10.0",
"winston": "3.11.0",
"winston-console-format": "1.0.8",
"winston-daily-rotate-file": "4.7.1"
},
Expand All @@ -70,24 +70,24 @@
"@types/bcrypt": "5.0.0",
"@types/compression": "1.7.3",
"@types/cookie-parser": "1.4.4",
"@types/express": "4.17.18",
"@types/mime": "3.0.1",
"@types/morgan": "1.9.5",
"@types/multer": "^1.4.7",
"@types/node": "20.6.5",
"@types/express": "4.17.19",
"@types/mime": "3.0.2",
"@types/morgan": "1.9.6",
"@types/multer": "^1.4.8",
"@types/node": "20.8.6",
"@types/node-7z": "2.1.6",
"@types/passport-http": "0.3.9",
"@types/string-similarity": "4.0.0",
"@types/throttle": "^1.0.2",
"@types/unidecode": "^0.1.1",
"@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "6.7.2",
"eslint": "8.50.0",
"@typescript-eslint/eslint-plugin": "6.7.5",
"@typescript-eslint/parser": "6.7.5",
"eslint": "8.51.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-prettier": "5.0.1",
"prettier": "3.0.3",
"prettier-plugin-jsdoc": "1.0.2",
"prettier-plugin-jsdoc": "1.1.1",
"simple-git-hooks": "2.9.0",
"ts-node": "10.9.1",
"typescript": "5.2.2"
Expand Down
Loading