Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7439 - 5.3 release notes #7446

Merged
merged 17 commits into from
Dec 10, 2020
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
150 changes: 150 additions & 0 deletions doc/release-notes/5.3-release-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
# Dataverse 5.3

This release brings new features, enhancements, and bug fixes to Dataverse. Thank you to all of the community members who contributed code, suggestions, bug reports, and other assistance across the project.

## Release Highlights

### Auxiliary Files (Experimental)

Auxiliary files can now be added to datafiles and accessed using new experimental API endpoints. These endpoints allow additional, non-Dataverse generated metadata to be added alongside datafiles in dataverse.

The support for auxiliary files in Dataverse is being driven by integration with the [Open Differential Privacy (DP) Project](https://opendp.io) and is designed to support the deposit and retrieval of differentially private metadata, but the endpoints are not specific to differential privacy use cases.

### Additional Banner Functionality

Banners in Dataverse can now be set to allow dismissal by a logged in user. Previously, banners would persist until they were removed by an administrator. This allows administrators to more easily communicate one-time messages to users.

### File Tags Searchable from Advanced Search and Dataset Search

File tags ("Documentation", "Data", "Code", etc.) now appear on the Advanced Search page.

Performing a search for files on the dataset page now includes file tags. Previously, only file name and file description were searched.

### Easier Configuration of Database Connections

Previously, the configuration of the database connections has been quite static and not very easy to update. This has been an issue especially for cloud and container usage. Using new technologies provided by the move to Payara, you can now more easily configure the connection to your PostgreSQL DB.

Using MicroProfile Config API (Issue #7000, Issue #7418), you can much more easily specify configuration
details. For an overview of supported options, please see the
[Installation Guide](https://guides.dataverse.org/en/5.3/installation/config.html#jvm-options).

Note that some settings have been moved from domain.xml to code, such as min and max pool size.

## Major Use Cases

Newly-supported use cases in this release include:

- Users can use an API to add auxiliary files to files in order to provide metadata representations for specific tools or integrations (Issue #7275, PR #7350)
- Administrators can use a new API to manage banner messages and take advantage of new banner display options (Issue #7263, PR #7434)
- Users replacing files will now have their files renamed when a file name conflict exists, making the behavior consistent with upload and edit (Issue #7335, PR #7336)
- Users will now be able to search on file tags on the advanced search and dataset pages (Issue #7194, PR #7385)

## Notes for Dataverse Installation Administrators

### Payara 5.2020.6 Required

Some changes in this release require an upgrade to Payara 5.2020.6.

Instructions how to update can be found in the
[Payara documentation](https://docs.payara.fish/community/docs/5.2020.6/documentation/user-guides/upgrade-payara.html)

### New Banner API, Obsolete DB Settings

The functionality previously provided by the DB settings :StatusMessageHeader and ::StatusMessageText is no longer supported and is now provided through the Manage Banner Messages API. Learn more in the [API Guide](https://guides.dataverse.org/en/5.3/api/).

### New Database Settings and JVM Options

Several new JVM options have been added in this release:

- dataverse.db.name
- dataverse.db.user
- dataverse.db.password
- dataverse.db.host
- dataverse.db.port

For an overview of these new options, please see the
[Installation Guide](https://guides.dataverse.org/en/5.3/installation/config.html#jvm-options)

See above note about obsolete DB options.

### Java Message System Configuration

The Ingest process uses the Java Message System to create ingest tasks in a queue. That queue had been configured from command line or domain.xml before. This has now changed to being done
in code.

In the unlikely case you might want to change any of these settings, feel free to change and recompile or raise an issue on Github. See `IngestQueueProducer` for more details.

If you want to clean up your existing installation, you can delete the old, unused queue like this:

- `<payara install path>/bin/asadmin delete-connector-connection-pool --cascade=true jms IngestQueueConnectionFactoryPool`

## Notes for Tool Developers and Integrators

### Experimental Auxiliary File Support

Experimental endpoints have been added to allow auxiliary files to be added to datafiles. These auxiliary files can be deposited and accessed via API. Later releases will include options for accessing these files through the UI. For more information, see the Auxiliary File Support section of the [Developer Guide](https://guides.dataverse.org/en/5.3/developers/).

## Complete List of Changes

For the complete list of code changes in this release, see the [5.3 Milestone](https://github.com/IQSS/dataverse/milestone/93?closed=1) in Github.

For help with upgrading, installing, or general questions please post to the [Dataverse Google Group](https://groups.google.com/forum/#!forum/dataverse-community) or email support@dataverse.org.

## Installation

If this is a new installation, please see our [Installation Guide](https://guides.dataverse.org/en/5.3/installation/).

## Upgrade Instructions

0\. These instructions assume that you've already successfully upgraded from Dataverse 4.x to Dataverse 5 following the instructions in the [Dataverse 5 Release Notes](https://github.com/IQSS/dataverse/releases/tag/v5.0).

1\. Upgrade to Payara 5.2020.6.

Instructions how to update can be found in the
[Payara documentation](https://docs.payara.fish/community/docs/5.2020.6/documentation/user-guides/upgrade-payara.html)

2\. Undeploy the previous version.

- `<payara install path>/bin/asadmin list-applications`
- `<payara install path>/bin/asadmin undeploy dataverse<-version>`

(where `<payara install path>` is where Payara 5 is installed, for example: `/usr/local/payara5`)

3\. Update your database connection.

Please configure your connection details, replacing all the `${DB_...}`.
(If you are using a PostgreSQL server on `localhost:5432`, you can omit `dataverse.db.host` and `dataverse.db.port`.)

- `<payara install path>/bin/asadmin create-system-properties "dataverse.db.user=${DB_USER}"`
- `<payara install path>/bin/asadmin create-system-properties "dataverse.db.host=${DB_HOST}"`
- `<payara install path>/bin/asadmin create-system-properties "dataverse.db.port=${DB_PORT}"`
- `<payara install path>/bin/asadmin create-system-properties "dataverse.db.name=${DB_NAME}"`
- `echo "AS_ADMIN_ALIASPASSWORD=${DB_PASS}" > /tmp/password.txt`

- `<payara install path>/bin/asadmin create-password-alias --passwordfile /tmp/password.txt dataverse.db.password`
- `rm /tmp/password.txt`

4\. Reset the EJB timer database back to default:

- `<payara install path>/bin/asadmin set configs.config.server-config.ejb-container.ejb-timer-service.timer-datasource=jdbc/__TimerPool`

5\. Delete the old password alias and DB pool:

- `<payara install path>/bin/asadmin delete-jdbc-connection-pool --cascade=true dvnDbPool`
- `<payara install path>/bin/asadmin delete-password-alias db_password_alias`

6\. Stop payara and remove the generated directory, start.

- `service payara stop`
- remove the generated directory:
`rm -rf <payara install path>/glassfish/domains/domain1/generated`
- `service payara start`

7\. Deploy this version.

- `<payara install path>/bin/asadmin deploy dataverse-5.3.war`

8\. Restart payara

- `service payara stop`
- `service payara start`
4 changes: 0 additions & 4 deletions doc/release-notes/5345-ejb-timers.md

This file was deleted.

5 changes: 0 additions & 5 deletions doc/release-notes/7194-file-tags-search.md

This file was deleted.

7 changes: 0 additions & 7 deletions doc/release-notes/7263-banner-messages.md

This file was deleted.

3 changes: 0 additions & 3 deletions doc/release-notes/7275-aux-files.md

This file was deleted.

12 changes: 0 additions & 12 deletions doc/release-notes/7417-payara-5.2020.6.md

This file was deleted.

88 changes: 0 additions & 88 deletions doc/release-notes/7418-datasourcedefinition.md

This file was deleted.

13 changes: 0 additions & 13 deletions doc/release-notes/7423-jms-move-to-code.md

This file was deleted.