From 1934e85c841eb5ccde6686f0e83ad6bcd79a6a36 Mon Sep 17 00:00:00 2001 From: Sergey Yarkov Date: Sun, 6 Mar 2022 23:04:32 +0300 Subject: [PATCH] changelog --- CHANGELOG.md | 8 +++++--- package.json | 2 +- start/routes.ts | 2 ++ start/routes/index.ts | 3 +++ 4 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 start/routes/index.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index 92aaab0..c0729d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,17 +4,19 @@ - API deployment with Docker and Nginx web server. -## [1.1.1] - +## [1.2.1] - 2022-03-06 ## Added - Saving latest notifications about new messages -- Chat between users. (chat history). -- About description for user and `last_login` column date +- Saving recent conversation messages based on constant (now 100) +- Simple chat implementation between users +- Added `about` and `last_login` columns for user - Updating info api route of authorized user ### Fix +- Refactored routes import - Fixed updating user info - Cleaning up session store before starting websocket server diff --git a/package.json b/package.json index c1c19b0..28ce582 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "server", - "version": "1.1.0", + "version": "1.2.1", "private": true, "scripts": { "build": "node ace build --production", diff --git a/start/routes.ts b/start/routes.ts index 57c0d27..2149622 100644 --- a/start/routes.ts +++ b/start/routes.ts @@ -1,3 +1,5 @@ +import './routes/index'; + /** * API v1 */ diff --git a/start/routes/index.ts b/start/routes/index.ts new file mode 100644 index 0000000..b4523b0 --- /dev/null +++ b/start/routes/index.ts @@ -0,0 +1,3 @@ +import Route from '@ioc:Adonis/Core/Route'; + +Route.get('/', () => 'Educt Backend API');