# Nexus Repository 3.40.0 - 3.40.1 Release Notes

| #### Highlights in This Release |
| --- |
| **Critical Bug Fix (3.40.1)**<br>Fixed a bug (NEXUS-33568) that prevented downloading and uploading files for those with an H2 or PostgreSQL database who upgraded from 3.39.0 to 3.40.0.<br>**Docker Subdomain Connector (3.40.0)**<br>This release introduces subdomain connectors for Docker repositories – a new way to improve Docker port scalability without needing to set up a reverse proxy.<br>**Optimized Maven Metadata Rebuilding (3.40.0)**<br>This release introduces a new SQL-based Maven metadata rebuild implementation to optimize rebuilding maven-metadata.xml files. |

**3.40.1 Release June 24, 2022**

This release fixes a bug (NEXUS-33568) that prevented downloading and uploading files for those with an H2 or PostgreSQL database who upgraded from 3.39.0 to 3.40.0.

**3.40.0 Release June 22, 2022**

## Docker Subdomain Connector PRO

Before this release, those with Docker repositories may have experienced scaling challenges related to the number of port connectors needed for their deployment. These customers had to set up a reverse proxy, and we know that this was often a pain point. In 3.34.0, we introduce a way to avoid using a reverse proxy: the subdomain connector for Docker.

By using a subdomain, you can reduce your deployment complexity, save on ongoing maintenance costs, and reduce administrative time and effort while improving Docker port scalability.

The problem is that each port connector consumes resources. The more port connectors you need, the more performance issues you are likely to encounter. In fact, if you need 20+ port connectors, you must set up a reverse proxy or subdomain to properly scale.

Best of all, setting up subdomain routing is easy. See the [Docker subdomain connector documentation](https://help.sonatype.com/en/docker-subdomain-connector.html "Docker Subdomain Connector") for implementation information.

Note that [SSL](https://help.sonatype.com/en/configuring-ssl.html "Configuring SSL") is required for Docker to work properly.

## Maven Metadata Rebuild Optimizations for SQL Databases PRO

This release introduces a new SQL-based Maven metadata rebuild implementation to optimize rebuilding maven-metadata.xml files. This new implementation is enabled by default for SQL-based deployments.

If you must revert to the previous legacy SQL implementation Maven metadata rebuilder, you can do so by adding the following line to $data-dir/etc/nexus.properties:

```
nexus.maven.datastore.legacy.rebuild=true
```

## Upgrade Database Migrator to Spring 5.3.18

While the Database Migrator is not vulnerable to [CVE-2022-22965](https://tanzu.vmware.com/security/cve-2022-22965), out of an abundance of caution, we upgraded Spring Boot to 2.6.6, which upgrades Spring to 5.3.18.

| Bug Fixes | Description |
| --- | --- |
| NEXUS-33568 | Fixed a bug that prevented downloading and uploading files for those with an H2 or PostgreSQL database who upgraded from 3.39.0 to 3.40.0. |
| NEXUS-26584 | Updated our API documentation for the privileges API (under security management) so that it now correctly asks that you use privilegeName instead of privilegeId. |
| NEXUS-27494 | Resolved an image handling issue with Docker. |
| NEXUS-29558 | Fixed a bug that allowed a RELEASE version to be selectable for the _Maven - Delete unused SNAPSHOT_ task. |
| NEXUS-31410 | The Search REST API no longer returns a null value for the `lastModified` attribute. |

## Search results

No results found
