Skip to content

Commit 908000f

Browse files
committed
Preparing for version v0.9.3
1 parent 198b49d commit 908000f

File tree

4 files changed

+47
-3
lines changed

4 files changed

+47
-3
lines changed

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,48 @@
11
# Metadata Quality Assessment Framework API Changelog
22

3+
## v0.9.3 (2023-07-14)
4+
5+
Important API change:
6+
- in `pattern` the tool use find() instead of matches(), so one should not specify a complex pattern from the beginning to the end
7+
8+
The release contains dependency updates.
9+
10+
The artefacts of the release are available in Maven Central as well: https://central.sonatype.dev/artifact/de.gwdg.metadataqa/metadata-qa-api/0.9.3
11+
12+
## v0.9.2 (2023-06-09)
13+
14+
- Set AND, NOT, OR NA if the data is NA.
15+
16+
## v0.9.1 (2023-05-16)
17+
18+
- rename PathCache to Selector
19+
- adding constants for using in QA catalogue
20+
- update dependencies and adapt code to the API changes
21+
22+
## v0.9.0 (2022-11-21)
23+
24+
This release contains the results of two important developments adding a command line interface created by
25+
Miel Vander Sande (@mielvds) and applying the framework on the data of Deutsche Digitale Bibliothek. These two
26+
developments made the tool more robust, and more flexible so became applicable to different situations.
27+
28+
To use the command line interface, download mqa and metadata-qa-api-0.9.0-shaded.jar, and follow the suggestions of the README.md file.
29+
30+
new rules:
31+
- unique: checks if the value of the field is unique
32+
- dependencies: checks if other rules has already checked and passed
33+
- dimension: checks if a linked image fits to some dimension constraints (unit in pixel)
34+
- hidden: if the rule is hidden it will be calculated, but its output will not be present in the overall output
35+
- skip: prevents a particular rule to be part of calculation
36+
- debug: log the rule ID, value and result
37+
38+
The schema is called MQA Schema. Some instances are available in the metadata-qa-ddb repository: https://github.com/pkiraly/metadata-qa-ddb/tree/main/src/main/resources
39+
40+
Important API changes:
41+
- the JsonBranch class has been renamed to DataElement
42+
- the OaiPmhXPath class has been renamed to XPathWrapper
43+
44+
The artefacts of the release are available in Maven Central as well: https://central.sonatype.dev/artifact/de.gwdg.metadataqa/metadata-qa-api/0.9.0
45+
346
## v0.8 (2022-03-16)
447

548
- improve the rule checking mechanisms: adding IDs, minWords and maxWords checkers, content type checker, optimizing OR checker and range rules, successScore and failureScore

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,8 @@ Example: the value should be either "dataverse", "dataset" or "file".
649649

650650
##### `pattern <regular expression>`
651651
A regular expression that each field value matches to satisfy the condition.
652-
The expression should cover the whole string, not only a part of it
652+
The expression can match a a part of the whole string (see the Java Matcher
653+
object's [find](https://docs.oracle.com/javase/8/docs/api/java/util/regex/Matcher.html#find--) method).
653654
(API: `setPattern(String)` or `withPattern(String)`)
654655

655656
Example: the field value should start with http:// or https:// and end with

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>de.gwdg.metadataqa</groupId>
66
<artifactId>metadata-qa-api</artifactId>
77
<packaging>jar</packaging>
8-
<version>0.9.3-SNAPSHOT</version>
8+
<version>0.9.3</version>
99
<name>Metadata Quality Assurance Framework API</name>
1010
<description>
1111
A metadata quality assurance framework. It checks some metrics of

src/test/java/de/gwdg/metadataqa/api/cli/VersionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
public class VersionTest {
88

9-
private final String EXPECTED_VERSION = "0.9.3-SNAPSHOT";
9+
private final String EXPECTED_VERSION = "0.9.3";
1010
;
1111

1212
@Test

0 commit comments

Comments
 (0)