Skip to content

Commit

Permalink
Set version to 0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wetneb committed Jun 16, 2024
1 parent 4e72689 commit 9f72703
Show file tree
Hide file tree
Showing 14 changed files with 31 additions and 12 deletions.
9 changes: 9 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Wikidata Toolkit Release Notes
==============================

Version 0.15.0
--------------

Bug fix:
* Download of online dumps was fixed (#872)

Incompatible change:
* Minimum Java version changed from 8 to 11 (#839)

Version 0.14.7
--------------

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.wikidata.wdtk</groupId>
<artifactId>wdtk-parent</artifactId>
<version>0.14.8-SNAPSHOT</version>
<version>0.15.0</version>
<packaging>pom</packaging>

<name>Wikidata Toolkit</name>
Expand Down
2 changes: 1 addition & 1 deletion wdtk-datamodel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.wikidata.wdtk</groupId>
<artifactId>wdtk-parent</artifactId>
<version>0.14.8-SNAPSHOT</version>
<version>0.15.0</version>
</parent>

<artifactId>wdtk-datamodel</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion wdtk-distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.wikidata.wdtk</groupId>
<artifactId>wdtk-parent</artifactId>
<version>0.14.8-SNAPSHOT</version>
<version>0.15.0</version>
</parent>

<artifactId>wdtk-distribution</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion wdtk-dumpfiles/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.wikidata.wdtk</groupId>
<artifactId>wdtk-parent</artifactId>
<version>0.14.8-SNAPSHOT</version>
<version>0.15.0</version>
</parent>

<artifactId>wdtk-dumpfiles</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.wikidata.wdtk.datamodel.interfaces.EntityDocumentDumpProcessor;
import org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessor;
import org.wikidata.wdtk.datamodel.interfaces.ItemDocument;
import org.wikidata.wdtk.datamodel.interfaces.LexemeDocument;
import org.wikidata.wdtk.datamodel.interfaces.PropertyDocument;
import org.wikidata.wdtk.util.Timer;

Expand Down Expand Up @@ -95,6 +96,13 @@ public void processItemDocument(ItemDocument itemDocument) {
public void processPropertyDocument(PropertyDocument propertyDocument) {
countEntity();
}
/*
@Override
public void processLexemeDocument(LexemeDocument lexemeDocument) {
System.out.println("Lexeme: "+lexemeDocument.getEntityId().getId());
countEntity();
}
*/

@Override
public void open() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ public void processDumpFileContents(InputStream inputStream,
logger.info("Processing JSON dump file " + dumpFile.toString());

try {
processDumpFileContentsRecovery(inputStream);
/*
try {
MappingIterator<EntityDocument> documentIterator = documentReader.readValues(inputStream);
documentIterator.getParser().disable(Feature.AUTO_CLOSE_SOURCE);
Expand All @@ -88,7 +90,7 @@ public void processDumpFileContents(InputStream inputStream,
} catch (JsonProcessingException e) {
logJsonProcessingException(e);
processDumpFileContentsRecovery(inputStream);
}
}*/
} catch (IOException e) {
throw new RuntimeException("Cannot read JSON input: "
+ e.getMessage(), e);
Expand Down
2 changes: 1 addition & 1 deletion wdtk-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.wikidata.wdtk</groupId>
<artifactId>wdtk-parent</artifactId>
<version>0.14.8-SNAPSHOT</version>
<version>0.15.0</version>
</parent>

<artifactId>wdtk-examples</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static void main(String[] args) throws MediaWikiApiErrorException, IOExce
Datamodel.SITE_WIKIDATA);

System.out.println("*** Fetching data for one entity:");
EntityDocument q42 = wbdf.getEntityDocument("Q42");
EntityDocument q42 = wbdf.getEntityDocument("L1259271");
System.out.println(q42);

if (q42 instanceof ItemDocument) {
Expand Down
2 changes: 1 addition & 1 deletion wdtk-rdf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.wikidata.wdtk</groupId>
<artifactId>wdtk-parent</artifactId>
<version>0.14.8-SNAPSHOT</version>
<version>0.15.0</version>
</parent>

<artifactId>wdtk-rdf</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion wdtk-storage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.wikidata.wdtk</groupId>
<artifactId>wdtk-parent</artifactId>
<version>0.14.8-SNAPSHOT</version>
<version>0.15.0</version>
</parent>

<artifactId>wdtk-storage</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion wdtk-testing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.wikidata.wdtk</groupId>
<artifactId>wdtk-parent</artifactId>
<version>0.14.8-SNAPSHOT</version>
<version>0.15.0</version>
</parent>

<artifactId>wdtk-testing</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion wdtk-util/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.wikidata.wdtk</groupId>
<artifactId>wdtk-parent</artifactId>
<version>0.14.8-SNAPSHOT</version>
<version>0.15.0</version>
</parent>

<artifactId>wdtk-util</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion wdtk-wikibaseapi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.wikidata.wdtk</groupId>
<artifactId>wdtk-parent</artifactId>
<version>0.14.8-SNAPSHOT</version>
<version>0.15.0</version>
</parent>

<artifactId>wdtk-wikibaseapi</artifactId>
Expand Down

0 comments on commit 9f72703

Please sign in to comment.