From 89db5a369ffc2696ea7e1582247e1bb978cee1da Mon Sep 17 00:00:00 2001 From: Johnathan Clementi Date: Tue, 28 Nov 2023 13:26:45 -0500 Subject: [PATCH] Add release notes and update versions for 7.4.3 release (#10298) * Prepare for 743 release * Add 743 release notes * nit release number --- README.md | 2 +- arches/__init__.py | 2 +- package.json | 2 +- releases/7.4.3.md | 67 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+), 3 deletions(-) create mode 100644 releases/7.4.3.md diff --git a/README.md b/README.md index 6242921aa96..89c6ddf57b0 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Issue reports are encouraged! [Please read this article](http://polite.technolog * [Report a Bug](https://github.com/archesproject/arches/issues/new?template=bug.md) * [File a Feature Ticket](https://github.com/archesproject/arches/issues/new?template=feature.md) -[Version 7.4.2 release notes](https://github.com/archesproject/arches/blob/dev/7.4.x/releases/7.4.2.md) +[Version 7.4.3 release notes](https://github.com/archesproject/arches/blob/dev/7.4.x/releases/7.4.3.md) #### Quick Install diff --git a/arches/__init__.py b/arches/__init__.py index 6d938b29418..1b5f1fe7b45 100644 --- a/arches/__init__.py +++ b/arches/__init__.py @@ -10,6 +10,6 @@ except Exception as e: pass -VERSION = (7, 4, 2, "beta", 0) # VERSION[3] options = "alpha", "beta", "rc", or "final" +VERSION = (7, 4, 3, "beta", 0) # VERSION[3] options = "alpha", "beta", "rc", or "final" __version__ = get_version(VERSION) diff --git a/package.json b/package.json index 28ab94a4e1b..3043258699c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "arches", - "version": "7.4.2", + "version": "7.4.3", "scripts": { "build_production": "./arches/app/media/node_modules/.bin/cross-env NODE_PATH=./arches/app/media/node_modules NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=production ./arches/app/media/node_modules/.bin/webpack --config arches/webpack/webpack.config.prod.js", "build_development": "./arches/app/media/node_modules/.bin/cross-env NODE_PATH=./arches/app/media/node_modules NODE_OPTIONS=--max_old_space_size=8192 ./arches/app/media/node_modules/.bin/webpack --config arches/webpack/webpack.config.dev.js", diff --git a/releases/7.4.3.md b/releases/7.4.3.md new file mode 100644 index 00000000000..cfeb4fea6f8 --- /dev/null +++ b/releases/7.4.3.md @@ -0,0 +1,67 @@ +Arches 7.4.3 release notes +------------------------ + +### Bug Fixes and Enhancements + +- Fixes version number of arches-django-revproxy in release note #10026 +- Fixes is required constraint of resource instance and file-list nodes #10077 +- Fixes undefined graph error in resource instance widget #10152 +- Adds missing file renderers to project template #10171 +- Fixes multiple EDTF nodes in single card used in advanced search returning too many records #10202 +- Fixes error when handling multiple subcard levels in search export #10214 +- Fixes default sort order of search results #10220 +- Hides separator line for invisible cards #10221 +- Fixes resetting the maximum number of files for a file-list node #10229 +- Fixes geometries not being updated for geojson nodes #10292 + + +### Dependency changes: +``` +None +``` + +### Upgrading Arches + +1. Upgrade to version 7.4.0 before proceeding. If upgrading from an earlier version, refer to the upgrade process in the [Version 7.4.0 release notes](https://github.com/archesproject/arches/blob/dev/7.4.x/releases/7.4.0.md) + +2. Upgrade to Arches 7.4.3 + ``` + pip install --upgrade arches==7.4.3 + ``` + +3. Update the JavaScript dependencies and devDependencies: + In the project's `package.json` file change arches from `stable/7.4.2` to `stable/7.4.3`: + ``` + "dependencies": { + "arches": "archesproject/arches#stable/7.4.3", + }, + "devDependencies": { + "arches-dev-dependencies": "archesproject/arches-dev-dependencies#stable/7.4.3" + } + ``` + If upgrading from 7.4.0 (if upgrading from 7.4.1 or 7.4.2 you can skip this) - in your terminal navigate to the directory with your project's package.json file. Then run: + + yarn install + + +4. Start your application server in a separate terminal if it's not already running. Your webpack build will not complete without your application server running. + +5. In a different terminal navigate to the directory with your project's package.json file, run `yarn start` or `yarn build_development`. This will generate your `media/build` directory. + - If running your project in development: + - `yarn start` will build the frontend of the application and then start a webpack development server + - `yarn build_development` will build a development bundle for the frontend assests of the application -- this should complete in less than 2 minutes + - If running your project in production: + - `yarn build_production` This builds a production bundle. **takes up to 2hrs depending on resources** + - Alternatively you can `cd ..` up a directory and run `python manage.py build_production`. This will create a production bundle of frontend assessts and also call `collectstatic`. + + +6. If you are running Arches on Apache, be sure to run: + + ``` + collectstatic + ``` + and restart your server: + ``` + sudo service apache2 reload + ``` +