forked from IQSS/dataverse
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into 11037_deploy_bet…
…a_concurrency
- Loading branch information
Showing
64 changed files
with
1,345 additions
and
326 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Improvements have been made in handling the errors when a dataset has been edited in one window and an attempt is made to | ||
edit/publish it in another. |
21 changes: 21 additions & 0 deletions
21
doc/release-notes/10888-add-api-for-comparing-dataset-versions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The following API have been added: | ||
|
||
/api/datasets/{persistentId}/versions/{versionId0}/compare/{versionId1} | ||
|
||
This API lists the changes between 2 dataset versions. The Json response shows the changes per field within the Metadata block and the Terms Of Access. Also listed are the files that have been added or removed. Files that have been modified will also display the new file data plus the fields that have been modified. | ||
When compare includes an unpublished/draft version the api token must be associated with a user having view unpublished privileges | ||
An error will be returned if VERSION0 was not created before VERSION1 | ||
|
||
Example of Metadata Block field change: | ||
```json | ||
{ | ||
"blockName": "Life Sciences Metadata", | ||
"changed": [ | ||
{ | ||
"fieldName": "Design Type", | ||
"oldValue": "", | ||
"newValue": "Parallel Group Design; Nested Case Control Design" | ||
} | ||
] | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
The updateDataverse API endpoint has been updated to support an "inherit from parent" configuration for metadata blocks, facets, and input levels. | ||
|
||
When it comes to omitting any of these fields in the request JSON: | ||
|
||
- Omitting ``facetIds`` or ``metadataBlockNames`` causes the Dataverse collection to inherit the corresponding configuration from its parent. | ||
- Omitting ``inputLevels`` removes any existing custom input levels in the Dataverse collection. | ||
|
||
Previously, not setting these fields meant keeping the existing ones in the Dataverse. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## Fix My Data filter results by username for Administrators | ||
|
||
The filtering for the username on the MyData page was not working. This is only available for superusers. This fixes the "Results for Username" field to return the data for the desired user. See also #7239 and #10980. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
###Private URL renamed Preview URL | ||
|
||
With this release the name of the URL that may be used by dataset administrators to share a draft version of a dataset has been changed from Private URL to Preview URL. | ||
|
||
Also, additional information about the creation of Preview URLs has been added to the popup accessed via edit menu of the Dataset Page. | ||
|
||
Any Private URLs created in previous versions of Dataverse will continue to work. | ||
|
||
The old "privateUrl" API endpoints for the creation and deletion of Preview (formerly Private) URLs have been deprecated. They will continue to work but please switch to the "previewUrl" equivalents that have been [documented](https://dataverse-guide--10961.org.readthedocs.build/en/10961/api/native-api.html#create-a-preview-url-for-a-dataset) in the API Guide. | ||
|
||
See also #8184, #8185, #10950, and #10961. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## Release Highlights | ||
|
||
### Adding fileCount as SOLR field | ||
|
||
A new search field called `fileCount` can be searched to discover the number of files per dataset. (#10598) | ||
|
||
## Upgrade Instructions | ||
|
||
1. Update your Solr `schema.xml` to include the new field. | ||
For details, please see https://guides.dataverse.org/en/latest/admin/metadatacustomization.html#updating-the-solr-schema | ||
|
||
2. Reindex Solr. | ||
Once the schema.xml is updated, Solr must be restarted and a reindex initiated. | ||
For details, see https://guides.dataverse.org/en/latest/admin/solr-search-index.html but here is the reindex command: | ||
`curl http://localhost:8080/api/admin/index` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# New API method for listing the available exporters | ||
Found at `/api/info/exportFormats`, produces an object with available format names as keys, and as values an object with various info about the exporter. See also #10739. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.