File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ Documentation for this project is now availiable on it's own page at
1919finished will include full usage information and how-to's.
2020
2121- [ Important note on Versioning] ( #important-note-on-versioning )
22+ - [ Breaking Changes] ( #breaking-changes )
2223- [ Changes from version 0.4.x] ( #changes-from-version-04x )
2324- [ Functionality] ( #functionality )
2425- [ Installation] ( #installation )
@@ -50,6 +51,13 @@ previous version. This will be in the form of a `.patch` file which can be
5051applied to their project using the ` git apply ` command. This will be documented
5152in the release notes.
5253
54+ ## Breaking Changes
55+
56+ There will be breaking changes implemented from time to time, as the template is
57+ still evolving. These may be due to security issues or changes in philosophy.
58+ These can always be found [ here] ( https://api-template.seapagan.net/important/ )
59+ on the website.
60+
5361## Changes from version 0.4.x
5462
5563Starting from version 0.5.0, the template has been refactored to use SQLAlchemy
Original file line number Diff line number Diff line change 44
55| Version | Supported |
66| ------- | ------------------ |
7- | >=0.6.0 | :white_check_mark : |
7+ | >=0.7.1 | :white_check_mark : |
88
99Until we reach a 1.0 milestone, we will generally only support the latest
1010release of the project. If you are having issues with an older version, please
Original file line number Diff line number Diff line change 88
99None.
1010
11+ ## Breaking changes in 0.7.1
12+
13+ ### Modified the API Key Hashing method
14+
15+ The API key is ** NEVER** stored in the database, however a ** hashed** version of
16+ this is so that we can authenticate. Previously it used a plain SHA256
17+ algorythm, and has now been switched to using ` HMAC ` in conjunction with SHA256
18+ instead. This allows using the ` SECRET_KEY ` already set to make the API keys
19+ more secure. As a result, ** any existing API Keys are now invalid and will need to
20+ be deleted and regenerated** .
21+
1122## Breaking Changes in 0.7.0
1223
1324### Modified the Authentication backend
@@ -37,7 +48,7 @@ Several function signatures have changed, generally to fix boolean
3748inconsistencies. Boolean parameters should be passed as named parameters
3849instead of positional parameters. This is to make the code more readable and
3950maintainable. The ` UserManager.set_ban_status ` function is one of these changes
40- that causes a breaking change. However, this method is only called from and API
51+ that causes a breaking change. However, this method is only called from an API
4152endpoint for the moment, so it should not affect any existing code that
4253depends on it unless you are using it directly in your code.
4354
You can’t perform that action at this time.
0 commit comments