base-repo v1.5.6 released
published 2024-11-10
Today, we like to announce the new release v1.5.6 of base-repo. This release mainly contains bugfixes and security updates.
If you face any new issues, please tell us via the Issue Tracker.
New Features
- Added configuration support for CORS, enhancing security and request handling.
Bugfixes
- Addressed specific issues related to Spring Cloud Gateway configuration.
- Improved error handling and logging in the Gradle wrapper scripts.
Dependency Upgrades
- Updated various GitHub Actions in workflows for improved performance and functionality.
- Enhanced Gradle build configurations with updated plugin versions for better compatibility.
- Updated Spring Boot and related dependencies for enhanced stability and performance.
- Updated Gradle distribution and wrapper properties for better performance.
base-repo v1.5.5 released
published 2024-04-22
Today, we like to announce the new release v1.5.5 of base-repo. This release mainly contains bugfixes and security updates.
If you face any new issues, please tell us via the Issue Tracker.
New Features
- Added new search endpoint ‘/api/v1/{index}/_search’ to match default Elastic endpoints
Bugfixes
- Fixed accessibility of Swagger-UI (#229)
- Fixed issue with internal authentication using JWT (#261)
Dependency Upgrades
- Bump org.springframework.boot to 3.2.4
- Bump org.owasp.dependencycheck to 9.1.0
- Bump postgresql to 42.7.3
- Bump spring-messaging to 6.1.6
- Bump spring-data-elasticsearch to 5.2.5
- Bump spring-boot-admin-starter-client to 3.2.3
- Bump spring-cloud-gateway-mvc to 4.1.2
- Bump spring-cloud-starter-config to 4.1.1
- Bump spring-cloud-starter-netflix-eureka-client to 4.1.1
- Bump service-base to 1.3.1
base-repo v1.5.4 released
published 2024-04-03
Today, we like to announce the new release v1.5.4 of base-repo. This release mainly contains bugfixes and security updates.
If you face any new issues, please tell us via the Issue Tracker.
New Features
- Allow builds outside Git repository, e.g., when building from release packages
- Pagination now returns HTTP 416 (RangeNotSatisfiable) if page number exceeds total pages
Bugfixes
- Added fix in default application.properties to make Elastic proxy work again
- Fixed issue disallowing OPTIONS requests outside browser
Dependency Upgrades
- Bump gradle to 8.5
- Bump jacoco to 0.8.11
- Bump org.owasp.dependencycheck to 9.0.10
- Bump io.freefair.maven-publish-java to 8.6
- Bump org.springframework.boot to 3.2.4
- Bump spring-security-web to 6.2.1
- Bump spring-security-config to 6.2.1
- Bump spring-messaging to 6.1.4
- Bump spring-cloud-gateway-mvc to 4.1.2
- Bump spring-boot-admin-starter-client to 3.2.3
- Bump spring-cloud-starter-netflix-eureka-client to 4.1.1
- Bump spring-cloud-starter-config to 4.1.1
- Bump spring-data-elasticsearch to 5.2.4
- Bump io.freefair.lombok to 8.6
- Bump org.asciidoctor.jvm.convert to 4.0.2
- Bump postgresql to 42.7.3
- Bump service-base to 1.2.1
- Bump repo-core to 1.2.2
base-repo v1.5.3 released
published 2023-12-17
Today, we like to announce the new release v1.5.3 of base-repo. This release is a minor bugfix release.
If you face any new issues, please tell us via the Issue Tracker.
Bugfixes
- Added data folder creation to Docker build as workaround
base-repo v1.5.2 released
published 2023-12-15
Today, we like to announce the new release v1.5.2 of base-repo. This release is a minor bugfix release.
If you face any new issues, please tell us via the Issue Tracker.
Bugfixes
Dependency Upgrades
- Bump spring-boot to 3.2.0
- Bump spring-cloud-starter-config to 4.1.0
- Bump spring-cloud-starter-netflix-eureka-client to 4.1.0
- Bump spring-cloud-gateway-mvc to 4.1.0
base-repo v1.5.1 released
published 2023-12-11
Today, we like to announce the new release v1.5.1 of base-repo. This release is a minor bugfix release.
If you face any new issues, please tell us via the Issue Tracker.
Bugfixes
- Added ElasticConfiguration again to support indexing and search
Dependency Upgrades
- Bump spring-cloud-gateway-mvc to 4.0.8
- Bump spring-restdocs-mockmvc to 3.0.1
- Bump nimbus-jose-jwt to 9.37.3
- Bump dependency-management to 1.1.4
- Bump spring-messaging to 6.1.1
- Bump postgresql to 42.7.1
base-repo v1.5.0 released
published 2023-12-03
Today, we like to announce the new release v1.5.0 of base-repo. This release mainly contains the upgrade to Spring Boot 3, but also fixes some minor issues.
If you face any new issues, please tell us via the Issue Tracker.
New Features
- Upgrade to Spring Boot 3
- Java 17 is now mandatory
- Indexing support now requires Elastic 8+
Bugfixes
- Correctly ignore user-provided primary keys (https://github.com/kit-data-manager/base-repo/pull/131)
- Fixed issues while providing escaped slashes in request URL
Dependency Upgrades
- Bump spring-boot to 3.1.5
- Bump spring-cloud-starter-config to 4.0.4
- Bump spring-cloud-starter-netflix-eureka-client to 4.0.3
- Bump spring-cloud-gateway-mvc to 4.0.6
- Bump spring-data-elasticsearch to 5.2.0
- Bump spring-messaging to 6.0.13
- Bump spring-security-web to 6.2.0
- Bump spring-security-config to 6.2.0
- Bump spring-boot-admin-starter-client to 3.1.8
- Bump io.spring.dependency-management to 1.1.0
- Bump io.freefair.lombok to 8.4.0
- Bump io.freefair.maven-publish-java to 8.4.0
- Bump org.owasp.dependencycheck to 9.0.2
- Bump net.researchgate.release to 3.0.2
- Bump com.gorylenko.gradle-git-properties to 2.4.1
- Bump javers-core to 7.0.0
- Bump httpclient to 4.5.14
- Bump postgresql to 42.6.0
- Bump nimbus-jose-jwt to 9.37
- Bump h2 to 2.2.224
- Bump postgresql to 42.7.0
- Bump spring-restdocs-mockmvc to 3.0.0
- Bump mockito-inline to 5.2.0
- Bump json-utils to 0.1.8
- Bump repo-core to 1.2.1
- Bump service-base to 1.2.0
base-repo v1.4.0 released
published 2023-03-17
Today, we like to announce the new release v1.4.0 of base-repo. Besides regular dependency updates for security reasons, we’ve added some new nice features which
will increase your productivity while using base-repo for managing your research data.
New Features
- Creating resources from Zenodo JSON metadata has been added and is triggered by providing Content-Type ‘application/vnd.zenodo.org+json’ at POST /api/v1/dataresources/.
- Creating resources from DataCite JSON metadata is now triggered by providing Content-Type ‘application/vnd.datacite.org+json’ at POST /api/v1/dataresources/.
- Added support for using PIDs (prefix/suffix) as resource id without escaping while accessing them, e.g., GET /api/v1/dataresources//
- ContentInformation metadata now returns own ETags different from the ETag of the parent resource.
- The allowed size of description content has been changed from 255 to 10240 characters (see ‘Migration Remarks’).
Bugfixes
- Creating resources from DataCite JSON metadata has been fixed.
- MediaType detection and providing mediaType by user now finally works for ContentInformation.
Dependency Upgrades
- Bump edu.kit.datamanager.repo-core from 1.1.0 to 1.1.2
- Bump edu.kit.datamanager.service-base from 1.1.0 to 1.1.1
For existing databases, a manual update is required to adjust the column size of the ‘description’ column of the Description table.
The query may depend on the used database system, for PostgreSQL this would be:
alter table description alter column description type character varying(10240);
base-repo v1.3.0 released
published 2023-02-03
Today, we like to announce the new release v1.3.0 of base-repo. Besides regular dependency updates for security reasons, we’ve added some new nice features which
will increase your productivity while using base-repo for managing your research data.
New Features
- Added CSRF and CORS configuration support to application.properties
- Added support for indexing and searching (new endpoint /api/v1/search if search is enabled) for DataResources via Elastic
- Added new endpoint at GET /api/v1/dataresources for content type ‘application/tabulator+json’ for direct support of listing in Tabulator
Bugfixes
- User role INACTIVE is now properly checked. If a user is marked inactive, all access attempts will be answered with HTTP 403 (FORBIDDEN)
- Attempts to write DataResources if repository is in readOnly mode now returns HTTP 403 (FORBIDDEN) instead of HTTP 503 (SERVICE_UNAVAILABLE)
- Attempts to write DataResources without permissions now returns HTTP 403 (FORBIDDEN) instead of HTTP 401 (UNAUTHORIZED)
- MediaType detection and providing mediaType by user now properly works for ContentInformation
Dependency Upgrades
- Bump spring-security-config from 5.5.2 to 5.7.3 by @dependabot in https://github.com/kit-data-manager/base-repo/pull/58
- Bump postgresql from 42.4.1 to 42.5.0 by @dependabot in https://github.com/kit-data-manager/base-repo/pull/68
- Bump spring-cloud-starter-netflix-eureka-client from 3.1.3 to 3.1.4 by @dependabot in https://github.com/kit-data-manager/base-repo/pull/69
- Bump io.freefair.maven-publish-java from 6.5.0.3 to 6.5.1 by @dependabot in https://github.com/kit-data-manager/base-repo/pull/70
- Bump io.freefair.lombok from 6.5.0.3 to 6.5.1 by @dependabot in https://github.com/kit-data-manager/base-repo/pull/71
- Bump spring-messaging from 5.3.22 to 5.3.23 by @dependabot in https://github.com/kit-data-manager/base-repo/pull/77
- Bump org.owasp.dependencycheck from 7.1.2 to 7.2.1 by @dependabot in https://github.com/kit-data-manager/base-repo/pull/80
- Bump net.researchgate.release from 3.0.1 to 3.0.2 by @dependabot in https://github.com/kit-data-manager/base-repo/pull/73
- Bump nimbus-jose-jwt from 9.24.3 to 9.25.6 by @dependabot in https://github.com/kit-data-manager/base-repo/pull/82
- Bump io.spring.dependency-management from 1.0.13.RELEASE to 1.0.14.RELEASE by @dependabot in https://github.com/kit-data-manager/base-repo/pull/84
- Bump spring-security-config from 5.7.4 to 5.7.5 by @dependabot in https://github.com/kit-data-manager/base-repo/pull/92
- Bump spring-security-web from 5.7.4 to 5.7.5 by @dependabot in https://github.com/kit-data-manager/base-repo/pull/91
- Bump spring-cloud-starter-config from 3.1.4 to 3.1.5 by @dependabot in https://github.com/kit-data-manager/base-repo/pull/93
- Bump mockito-inline from 4.8.1 to 4.9.0 by @dependabot in https://github.com/kit-data-manager/base-repo/pull/94
- Bump Gradle from 7.4.2 to 7.6 by @VolkerHartmann in https://github.com/kit-data-manager/base-repo/pull/110
- Bump org.springframework.boot from 2.7.3 to 2.7.5
- Bump javers from 6.6.5 to 6.8.0
- Bump service-base from 1.0.4 to 1.1.0
- Bump repo-core from 1.0.3 to 1.1.1
Removed
- Removed old configuration properties for indexing in application-default.properties
base-repo v1.2.0 released
published 2022-08-04
After a long time of background work, we like to announce the new release v1.2.0 of base-repo. Although it seems that most of the work went into dependency updates, there are also some nice new features hidden in the changelog below, e.g., versioning support for data, Keycloak support for authentication and the possibility to provide DataResource metadata in the official DataCite JSON format. If you face any issues with the current version, please use the Issue Tracker.
Security
- Update to h2 2.1.214:
- Please migrate your database if you want to update base-repo while using h2!
See: https://h2database.com/html/migration-to-v2.html
Added
- File versioning support for content elements
- Added Keycloak support for authentication
- Creating new DataResources accepts now official DataCite documents by providing Content-Type header with value ‘application/datacite+json’
Changed
- Additional field in content information metadata for providing the used versioning (none, simple, ocfl)
- Moved endpoint for audit information to base path /api/v1/audit/
- More consistent content-type handling
- Externalized documentation to https://kit-data-manager.github.io/webpage/base-repo.html
- Update to service-base 1.0.4
- Update to repo-core 1.0.3
- Update to io.freefair.lombok 6.5.0.3
- Update to org.owasp.dependencycheck 7.1.1
- Update to spring-boot 2.7.2
- Update to spring-doc 1.6.9
- Update to spring-cloud 3.1.3
- Update to spring-messaging 5.3.22
- Update to spring-restdocs-mockmvc 2.0.6.RELEASE
- Update to postgresql 42.4.0
Fixed
- Fixed minor issues in queries of search endpoint if providing a search template resource, e.g., queries involving ResourceType or ACL information
Removed
- Property ‘repo.audit.enabled’ is no longer needed. Instead, ‘repo.plugin.versioning’ should be either set to ‘none’ or ‘simple’ to disable/enable versioning of both, metadata and data.
base-repo v1.1.0 released
published 2020-12-17
Today, we like to announce version 1.1.0 of the base-repo service. Below, you can find the list of changes.
Changed
- Truncating service-assigned times to milliseconds for compatibility reasons
- Change of messaging property names including documentation
- Update to service-base 0.2.0
- Update to generic-message-consumer 0.2.0
Fixed
- Fixed wrong HATEOAS links for search endpoint
If you face any issues, please file an issue on GitHub.