From c251f3a5a17f4fbfd686bfc8a3eb25c702ad8d88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Juh=C3=A1s?= <xjuhas@fi.muni.cz>
Date: Mon, 3 Jun 2024 10:57:05 +0200
Subject: [PATCH] Bump backend version

---
 CHANGELOG.md          | 57 ++++++++++++++++++++++++++++++++++++++++++-
 pyproject.toml        |  2 +-
 rolling-changelog.txt | 48 ------------------------------------
 3 files changed, 57 insertions(+), 50 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index fcae7bcc..3b5f98d9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,58 @@
+## 0.4.0
+
+### New features
+ - add endpoint for specific definition #147
+ - add new table in DB that holds milestone history #46
+ - add channels to definition and exercise #151
+ - add overlay to info and email alternatives #153
+ - configure logging for project, add `INJECT_LOGS` env variable for specifying path where logs should be saved #157
+ - add authorization and user management #85
+ - add Docker container generation to `container-registry`
+ - add questionnaires #165
+ - add learning objectives #170
+ - add first_name and last_name fields into csv user upload #172
+ - add INJECT_NOAUTH env var for AAI deactivation #166
+ - add user info and ip address to logs #169
+ - add `TeamQuestionnaireStateSubscription` for notifying instructors about questionnaire state changes #173
+ - add django manage command `initadmins`
+ - add missing LO/LA query and reached properties #187
+ - add name to exercises #145
+ - add `exercise_definition/validate` endpoint for definition validation #144
+ - add `validate_email_address` query for validation purposes #188
+ - implement formatted welcome email and modify email sender, add DOMAIN env var #185
+ - addition of INJECT_SECRET_KEY env variable #141
+ - endpoint for re-generation of user login credentials #202
+ - add endpoint for user deletion - accessible only to admin #199
+ - add new fields `username`, `first_name`, `last_name` to `users` query #195
+
+### Changes
+ - rework file handling #139
+ - rework action logs #70
+ - many exercise definition types and their corresponding exercise types were changed, see [CHANGELOG](definitions/CHANGELOG.md) for more details #151
+ - inject categories, injects and their exercise counterparts were renamed accordingly to #113
+ - changed the endpoint for graphql subscriptions to `subscription` instead of `graphql` #164
+ - squash all migrations
+ - add INJECT prefix to all env variables
+ - make name parameter during definition upload optional #146
+ - rename api prefix from `ttxbackend` to `inject` #183
+ - set csrf cookie for `/version` endpoint
+
+### Fixes
+ - set correct types and resolvers for user_set attributes in schema_types #174
+ - fix incorrect permissions on `questionnaireState` query #177
+ - fix aai decorator placement and check_function, turn on csrf check on graphql
+ - update performance testing tools to the newest API
+ - fix SendEmailInput authorization checks
+ - user_set resolvers are dependent on the user.group in schema_types #204
+ - prevent instructor promoting himself to admin #206
+
+### Documentation updates
+ - removed swagger documentation available through the API, it is now available in `openapi.yml` file #176
+ - split main README into 2 files, README and INSTALATION
+ - update INSTALATION.md env variables description
+ - update INSTALATION.md and move poetry description back into README.md
+
+
 ## 0.3.0
 
 ### New features
@@ -54,4 +109,4 @@
 
 
 ## 0.1.0
-Initial version, no changes.
\ No newline at end of file
+Initial version, no changes.
diff --git a/pyproject.toml b/pyproject.toml
index 5410f945..44d4d662 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "ttxbackend"
-version = "0.3.0"
+version = "0.4.0"
 description = ""
 authors = ["Michal Urban <485429@mail.muni.cz>"]
 readme = "README.md"
diff --git a/rolling-changelog.txt b/rolling-changelog.txt
index abeed52e..e69de29b 100644
--- a/rolling-changelog.txt
+++ b/rolling-changelog.txt
@@ -1,48 +0,0 @@
-feat: improve Docker deployment, it's now more resilient to schema migrations, allows running of tests directly #122
-feat: add endpoint for specific definition #147
-feat: add new table in DB that holds milestone history #46
-change: rework file handling #139
-change: rework action logs #70
-feat: add channels to definition and exercise #151
-change: many exercise definition types and their corresponding exercise types were changed, see [CHANGELOG](definitions/CHANGELOG.md) for more details #151
-change: inject categories, injects and their exercise counterparts were renamed accordingly to #113
-feat: add overlay to info and email alternatives #153
-feat: configure logging for project, add `INJECT_LOGS` env variable for specifying path where logs should be saved #157
-change: changed the endpoint for graphql subscriptions to `subscription` instead of `graphql` #164
-feat: add authorization and user management #85
-change: squash all migrations
-feat: add Docker container generation to `container-registry`
-feat: add questionnaires #165
-feat: add INJECT_NOAUTH env var for AAI deactivation
-feat: add learning objectives #170
-
-feat: add first_name and last_name fields into csv user upload #172
-feat: add INJECT_NOAUTH env var for AAI deactivation #166
-feat: add user info and ip address to logs #169
-feat: add `TeamQuestionnaireStateSubscription` for notifying instructors about questionnaire state changes #173
-docs: removed swagger documentation available through the API, it is now available in `openapi.yml` file #176
-feat: trimmings to compiled docker image
-fix: set correct types and resolvers for user_set attributes in schema_types #174
-fix: fix incorrect permissions on `questionnaireState` query #177
-docs: split main README into 2 files, README and INSTALATION
-docs: update INSTALATION.md env variables description
-fix: fix aai decorator placement and check_function, turn on csrf check on graphql
-change: add INJECT prefix to all env variables
-feat: add INJECT_INITIAL_ADMINS env var for seeding first admins via "initadmins" command
-feat: add missing LO/LA query and reached properties #187
-feat: add name to exercises #145
-change: make name parameter during definition upload optional #146
-feat: add `exercise_definition/validate` endpoint for definition validation #144
-change: rename api prefix from `ttxbackend` to `inject` #183
-feat: add `validate_email_address` query for validation purposes #188
-docs: update INSTALATION.md and move poetry description back into README.md
-feat: implement formatted welcome email and modify email sender, add DOMAIN env var #185
-fix: update performance testing tools to the newest API
-fix: fix SendEmailInput authorization checks
-feat: addition of INJECT_SECRET_KEY env variable #141
-change: set csrf cookie for `/version` endpoint
-feat: endpoint for re-generation of user login credentials #202
-feat: add endpoint for user deletion - accessible only to admin #199
-fix: user_set resolvers are dependant on the user.group in schema_types #204
-feat: add new fields `username`, `first_name`, `last_name` to `users` query #195
-fix: prevent instructor promoting himself to admin #206
-- 
GitLab