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: docs/operate/customize/require_community.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# Require community for record publication
2
2
3
+
_Introduced in v13_
4
+
3
5
Institutional policies may require all published records to belong to at least one community. InvenioRDM enforces this requirement through the `RDM_COMMUNITY_REQUIRED_TO_PUBLISH` configuration parameter.
4
6
To activate this feature, open your `invenio.cfg` and add:
Copy file name to clipboardExpand all lines: docs/releases/v12/version-v12.0.0.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -130,6 +130,7 @@ Here is a quick summary of the myriad other improvements in this release:
130
130
- Great improvements in bulk serialization performance
131
131
- The communities REST endpoint accepts both UUID and slug in the URL
132
132
- Many new configuration variables (e.g., `COMMUNITIES_SEARCH_SORT_BY_VERIFIED`) to tune your instance
133
+
- The new `generator` HTML `meta` tag identifies the repository technology. This is used by services like [OpenDOAR](https://opendoar.ac.uk/) to correctly catalog open access repositories.
Copy file name to clipboardExpand all lines: docs/releases/v13/upgrade-v13.0.md
+17-19Lines changed: 17 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -26,22 +26,6 @@ invenio-cli, version 1.8.0
26
26
In case you are not inside a virtual environment, make sure that you prefix each `invenio`
27
27
command with `pipenv run`.
28
28
29
-
**Local development**
30
-
31
-
Changing the Python version in your development environment highly
32
-
depends on your setup, so we won't cover it here.
33
-
One way would be to use [PyEnv](https://github.com/pyenv/pyenv).
34
-
35
-
!!! warning "Risk of losing data"
36
-
37
-
Your virtual environment folder a.k.a., `venv` folder, may contain uploaded files. If you kept the default
38
-
location, it is in `<venv folder>/var/instance/data`. If you need to keep those files,
39
-
make sure you copy them over to the new `venv` folder in the same location.
40
-
The command `invenio files location list` shows the file upload location.
41
-
42
-
If you upgraded your python version, you should recreate your virtual environment before
43
-
running `invenio-cli` or `pipenv` commands below.
44
-
45
29
### Upgrade InvenioRDM
46
30
47
31
#### Requirements
@@ -75,6 +59,13 @@ This approach will create a new virtual environment and leaves the v12 one as-is
75
59
If you are using a docker image on your production instance this will be the
76
60
option you choose.
77
61
62
+
!!! warning "Risk of losing data"
63
+
64
+
Your virtual environment folder a.k.a., `venv` folder, may contain uploaded files. If you kept the default
65
+
location, it is in `<venv folder>/var/instance/data`. If you need to keep those files,
66
+
make sure you copy them over to the new `venv` folder in the same location.
67
+
The command `invenio files location list` shows the file upload location.
68
+
78
69
##### Step 1
79
70
80
71
- create a new virtual environment
@@ -193,7 +184,7 @@ If you choose to delete and re-create your search cluster as part of the upgrade
193
184
Be sure to repeat the [Rebuild search indices](#rebuild-search-indices) step to ensure your system is fully functional.
194
185
195
186
#### Jobs
196
-
The new Jobs feature uses a custom celery task scheduler which requires a separate celery beat. See the [related documentation](../../operate/customize/jobs.md#scheduler)on how to add it or [this change](https://github.com/inveniosoftware/cookiecutter-invenio-rdm/pull/314) in the InvenioRDM boilerplate for reference.
187
+
The new Jobs feature uses a custom celery task scheduler which requires a separate celery beat. See the [related documentation](../../operate/customize/jobs.md#scheduler) or [the scheduler service](https://github.com/inveniosoftware/cookiecutter-invenio-rdm/blob/ff6c652091d56e7a8aa0a90487f91352f70c4e33/%7B%7Bcookiecutter.project_shortname%7D%7D/docker-compose.full.yml) in the InvenioRDM boilerplate for how to add it.
197
188
198
189
!!! note
199
190
Be sure to run this additional Celery beat scheduler in your production or deployed environments. Without it, scheduled and on-demand jobs will not be executed.
@@ -216,10 +207,17 @@ To resolve this, simply add a custom [`types`](https://nginx.org/en/docs/http/ng
216
207
217
208
### Optional changes
218
209
219
-
#### Deprecated configurations
210
+
#### Deprecations
211
+
212
+
*`APP_ALLOWED_HOSTS`*
213
+
220
214
With the upgrade to Flask version 3, the configuration variable `APP_ALLOWED_HOSTS` has been renamed to `TRUSTED_HOSTS`. The value remains unchanged.
221
215
You should review your `invenio.cfg`, environment variables, and deployment configuration for any occurrences of the old variable name.
222
-
It is recommended to update all references to `TRUSTED_HOSTS` to avoid deprecation warnings in the console.
216
+
It is recommended to update all references to `TRUSTED_HOSTS` to avoid deprecation warnings in the console and prepare for its eventual complete removal.
217
+
218
+
*`invenio_records_resources.services.Link`*
219
+
220
+
Usage of `invenio_records_resources.services.Link` is deprecated in favor of `invenio_records_resources.services.EndpointLink` for InvenioRDM links and `invenio_records_resources.services.ExternalLink` for external third-party links. Replace instances of `Link` in your custom code, if any, appropriately. `Link` will be removed in a future major InvenioRDM release.
223
221
224
222
#### Display versions in administration panel
225
223
As described in the [release notes](./version-v13.0.0.md#miscellaneous-additions), you can now display the versions of your installed modules directly in the Administration panel.
0 commit comments