You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: releases/8.0.0.md
+20-8
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@ Arches 8.0.0 Release Notes
21
21
- Improve handling of longer model names [#11317](https://github.com/archesproject/arches/issues/11317)
22
22
- Support more expressive plugin URLs [#11320](https://github.com/archesproject/arches/issues/11320)
23
23
- Concepts API no longer responds with empty body for error conditions [#11519](https://github.com/archesproject/arches/issues/11519)
24
+
- Generates static `urls.json` file for frontend consumption [#11567](https://github.com/archesproject/arches/issues/11567)
24
25
25
26
### Dependency changes
26
27
```
@@ -69,9 +70,9 @@ JavaScript:
69
70
70
71
1. In settings.py, add the following key to `DATABASES` to [improve indexing performance](https://github.com/archesproject/arches/issues/11382):
71
72
```
72
-
"OPTIONS": {
73
-
"options": "-c cursor_tuple_fraction=1",
74
-
},
73
+
"OPTIONS": {
74
+
"options": "-c cursor_tuple_fraction=1",
75
+
},
75
76
```
76
77
77
78
1. Update your frontend dependencies:
@@ -80,21 +81,32 @@ JavaScript:
80
81
npm install
81
82
```
82
83
83
-
2. Within your project, with your Python 3 virtual environment activated:
84
+
1. Replace the `generate_frontend_configuration` import statement in `apps.py`:
85
+
```
86
+
from arches.settings_utils import generate_frontend_configuration
87
+
```
88
+
89
+
Should be updated to:
90
+
91
+
```
92
+
from arches.app.utils.frontend_configuration_utils import generate_frontend_configuration
93
+
```
94
+
95
+
1. Within your project, with your Python 3 virtual environment activated:
84
96
```
85
97
python manage.py migrate
86
98
```
87
99
88
-
3. Create editable_future_graphs for your Resource Models using the command `python manage.py graph create_editable_future_graphs`. This will publish new versions of each Graph.
100
+
1. Create editable_future_graphs for your Resource Models using the command `python manage.py graph create_editable_future_graphs`. This will publish new versions of each Graph.
89
101
90
-
4. Update your Graph publications and Resource instances to point to the newly published Graphs by running `python manage.py graph publish --update -ui`
102
+
1. Update your Graph publications and Resource instances to point to the newly published Graphs by running `python manage.py graph publish --update -ui`
91
103
92
-
5. Within your project with your Python 3 virtual environment activated:
104
+
1. Within your project with your Python 3 virtual environment activated:
93
105
```
94
106
python manage.py es reindex_database
95
107
```
96
108
97
-
6. Run `npm start` or `npm run build_development` to rebuild your static asset bundle:
109
+
1. Run `npm start` or `npm run build_development` to rebuild your static asset bundle:
98
110
- If running your project in development:
99
111
- `npm start` will build the frontend of the application and then start a webpack development server
100
112
- `npm run build_development` will build a development bundle for the frontend assests of the application -- this should complete in less than 2 minutes
0 commit comments