Skip to content

Commit 978e3cd

Browse files
committed
Preparation for 1.4.0 release, updated CHANGELOG, updated README, updated dependencies to service-base and repo-core
1 parent 4ac6602 commit 978e3cd

File tree

3 files changed

+37
-5
lines changed

3 files changed

+37
-5
lines changed

CHANGELOG.md

+33-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,37 @@ Changed
1515

1616
Fixed
1717

18+
## [1.4.0] - 2023-03-17
19+
20+
Added
21+
- 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/.
22+
- Added support for using PIDs (prefix/suffix) as resource id without escaping while accessing them, e.g., GET /api/v1/dataresources/<prefix>/<suffix>
23+
24+
Changed
25+
26+
- ContentInformation metadata now returns own ETags different from the ETag of the parent resource.
27+
- Creating resources from DataCite JSON metadata is now triggered by providing Content-Type 'application/vnd.datacite.org+json' at POST /api/v1/dataresources/.
28+
- The allowed size of description content has been changed from 255 to 10240 characters (see 'Migration Remarks').
29+
30+
Fixed
31+
32+
- Creating resource from DataCite JSON metadata has been fixed.
33+
- MediaType detection and providing mediaType by user now finally works for ContentInformation.
34+
35+
Security
36+
37+
* Bump service-base from 1.1.0 to 1.1.1
38+
* Bump repo-core from 1.1.1 to 1.1.2
39+
40+
### Migration Remarks
41+
42+
For existing databases, a manual update is required to adjust the column size.
43+
The query may depend on the used database system, for PostgreSQL this would be:
44+
45+
```
46+
alter table description alter column description type character varying(10240);
47+
```
48+
1849
## [1.3.0] - 2023-02-03
1950

2051
Security
@@ -118,7 +149,8 @@ Added
118149

119150
- First public version
120151

121-
[Unreleased]: https://github.com/kit-data-manager/base-repo/compare/v1.3.0...HEAD
152+
[Unreleased]: https://github.com/kit-data-manager/base-repo/compare/v1.4.0...HEAD
153+
[1.4.0]: https://github.com/kit-data-manager/base-repo/compare/v1.3.0...v1.4.0
122154
[1.3.0]: https://github.com/kit-data-manager/base-repo/compare/v1.2.0...v1.3.0
123155
[1.2.0]: https://github.com/kit-data-manager/base-repo/compare/v1.1.0...v1.2.0
124156
[1.1.0]: https://github.com/kit-data-manager/base-repo/compare/v1.0...v1.1.0

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ data resource management, e.g. register DataCite-oriented metadata and upload/do
1515

1616
In order to build this microservice you'll need:
1717

18-
* Java SE Development Kit 8 or higher
18+
* Java SE Development Kit 11 or higher
1919

2020
After obtaining the sources change to the folder where the sources are located perform the following steps:
2121

@@ -58,7 +58,7 @@ user@localhost:/home/user/base-repo$ ./build/libs/base-repo.jar
5858
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
5959
' |____| .__|_| |_|_| |_\__, | / / / /
6060
=========|_|==============|___/=/_/_/_/
61-
:: Spring Boot :: (v2.0.5.RELEASE)
61+
:: Spring Boot :: (v2.7.5)
6262
[...]
6363
1970-01-01 00:00:00.000 INFO 56918 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
6464

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ dependencies {
7878
implementation "org.springdoc:springdoc-openapi-data-rest:${springDocVersion}"
7979
implementation "org.springdoc:springdoc-openapi-webmvc-core:${springDocVersion}"
8080

81-
implementation "edu.kit.datamanager:repo-core:1.1.1-SNAPSHOT"
82-
implementation "edu.kit.datamanager:service-base:1.1.1-SNAPSHOT"
81+
implementation "edu.kit.datamanager:repo-core:1.1.2"
82+
implementation "edu.kit.datamanager:service-base:1.1.1"
8383

8484
//implementation "com.github.victools:jsonschema-generator:4.23.0"
8585

0 commit comments

Comments
 (0)