Skip to content

Commit

Permalink
Updated the Changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
SHugBot committed Apr 27, 2024
1 parent f8bd6c5 commit 4dce4b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
#### Changes

- Replaced Flask with Quart as the primary framework powering the back-end. This includes:
- Replaced Flask-CORS with Quart-cors to handle cross-origin resource sharing.
- All endpoints, as well as the `requires_auth` decorator, now use the async/await pattern. ([#615](https://github.com/sendahug/send-hug-backend/pull/615))

#### Chores

- Added pytest-asyncio and updated all tests to use the async/await pattern as well (since the test client's HTTP-based methods and the request's data both return a coroutine). ([#615](https://github.com/sendahug/send-hug-backend/pull/615))
- Changed the way the database is reset between tests. Previously, we created a database dump file that was restored between tests. This was over-complicated and unscalable. Now, we populate the database once, before tests start; in order to ensure the database returns to its original state between tests, tests are run within a nested session, which is then rolled back between tests. ([#619](https://github.com/sendahug/send-hug-backend/pull/619))

### 2024-04-25

Expand Down
9 changes: 0 additions & 9 deletions changelog/pr619.json

This file was deleted.

0 comments on commit 4dce4b5

Please sign in to comment.