Skip to content

Commit

Permalink
Merge branch 'release/22.10.0' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
mfraezz committed Oct 25, 2022
2 parents 2896ff0 + 7508aab commit 3c0fc59
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,44 @@

We follow the CalVer (https://calver.org/) versioning scheme: YY.MINOR.MICRO.

22.10.0 (2022-10-25)
====================
- Upgrade Django from 1.11 to 3.2
- Squashed and fix all migrations up to (and including) 22.09.2
- Moved DB population, data backfill and validation "migrations" to post-migrate signals
- Updated DB indexes by adding customized indexes created via RunSQL
- Upgraded django to 3.2 and fixed incompatibility issues
- Due to migration squash, follow the following steps to when updating to 22.10.0
1. Bring your server up-to-date (code and database) with 22.09.2
2. Optionally disable automigrations, optionally scale down replicasets of API and Web to halt database traffic
3. Update the following server settings before deployment
- Update `CORS_ORIGIN_WHITELIST`: add `https://` prefix to all active domains
- Set `SESSION_COOKIE_SAMESITE` to `'Lax'` for admin server only
4. Upgrade to 22.10.0 and deploy the code and run the following migrations in order, ignore warning until the last `migrate` command is done.
- `python3 manage.py migrate osf 0003 --fake`
- `python3 manage.py migrate osf 0004`
- ```
python3 manage.py migrate addons_bitbucket 0002 --fake
python3 manage.py migrate addons_box 0002 --fake
python3 manage.py migrate addons_dataverse 0002 --fake
python3 manage.py migrate addons_dropbox 0002 --fake
python3 manage.py migrate addons_figshare 0002 --fake
python3 manage.py migrate addons_forward 0002 --fake
python3 manage.py migrate addons_github 0002 --fake
python3 manage.py migrate addons_gitlab 0002 --fake
python3 manage.py migrate addons_googledrive 0002 --fake
python3 manage.py migrate addons_onedrive 0002 --fake
python3 manage.py migrate addons_osfstorage 0002 --fake
python3 manage.py migrate addons_s3 0002 --fake
python3 manage.py migrate addons_twofactor 0002 --fake
python3 manage.py migrate addons_mendeley 0002 --fake
python3 manage.py migrate addons_owncloud 0002 --fake
python3 manage.py migrate addons_wiki 0002 --fake
python3 manage.py migrate addons_zotero 0002 --fake
```
- `python3 manage.py migrate`
5. Revert any optional config changes from step 2 and redeploy if necessary.
22.09.0 (2022-09-15)
====================
- Add metric classes for storing analytic data
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "OSF",
"version": "22.09.0",
"version": "22.10.0",
"description": "Facilitating Open Science",
"repository": "https://github.com/CenterForOpenScience/osf.io",
"author": "Center for Open Science",
Expand Down

0 comments on commit 3c0fc59

Please sign in to comment.