From 4f530b3f0916a48921a74afe6ddecc5da8d087e4 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Sat, 22 Jun 2024 17:22:19 +0200 Subject: [PATCH 1/6] Use libzim 9.2.2 --- lib/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build.gradle b/lib/build.gradle index 0a6d221..2ad2f9e 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -24,7 +24,7 @@ ext { // Replace these versions with the latest available versions of libkiwix and libzim ext.libkiwix_version = "13.1.0-3" -ext.libzim_version = "9.2.1-1" +ext.libzim_version = "9.2.2" apply from: 'publish.gradle' android { From 8f098924e96ce83be29014f89f1f9ef19013b313 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Sat, 22 Jun 2024 17:22:52 +0200 Subject: [PATCH 2/6] Bump-up version to 2.2.1 --- lib/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build.gradle b/lib/build.gradle index 2ad2f9e..0a825a1 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -19,7 +19,7 @@ ext["sonatypeStagingProfileId"] = properties.getProperty("sonatypeStagingProfile ext { set("GROUP_ID", "org.kiwix") set("ARTIFACT_ID", "libkiwix") - set("VERSION", "2.2.0") + set("VERSION", "2.2.1") } // Replace these versions with the latest available versions of libkiwix and libzim From 568c169d7f71c011ae9346577bffbb83845566c7 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Sat, 22 Jun 2024 17:24:29 +0200 Subject: [PATCH 3/6] 2.2.1 Changelog --- CHANGELOG | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 903761a..a2abde7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2.2.1 +* NEW: Use libzim 9.2.2 (@kelson42 https://github.com/kiwix/java-libkiwix/pull/108) + 2.2.0 * NEW: Use libzim 9.2.1-1 and libkiwix 13.1.0-3 (@kelson42 https://github.com/kiwix/java-libkiwix/pull/98) * NEW: Added support for SDK 34 (@MohitMaliFtechiz https://github.com/kiwix/java-libkiwix/pull/97) From 1188219fcbc30435f64b0329284172dfded5db03 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Fri, 28 Jun 2024 10:53:52 +0200 Subject: [PATCH 4/6] Use last build of libkiwix --- lib/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build.gradle b/lib/build.gradle index 0a825a1..c8421e1 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -23,7 +23,7 @@ ext { } // Replace these versions with the latest available versions of libkiwix and libzim -ext.libkiwix_version = "13.1.0-3" +ext.libkiwix_version = "13.1.0-4" ext.libzim_version = "9.2.2" apply from: 'publish.gradle' From b9cf818ccea5aba5afd767b0f3e6c91263178ab0 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Fri, 28 Jun 2024 10:56:22 +0200 Subject: [PATCH 5/6] Update test with new error message --- lib/src/test/test.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/test/test.java b/lib/src/test/test.java index 25a4df7..c084738 100644 --- a/lib/src/test/test.java +++ b/lib/src/test/test.java @@ -236,7 +236,7 @@ public void testNonExistant() { TestArchive archive1 = new TestArchive(zimFile); fail("ERROR: Archive created with invalid ZIM file!"); } catch (Exception e) { - assertEquals("Error opening as a split file: " + zimFile, e.getMessage()); + assertEquals("Error opening ZIM file: " + zimFile, e.getMessage()); } } From cc64d2f49e91f85c477f87d70d709bc8a323e518 Mon Sep 17 00:00:00 2001 From: MohitMaliFtechiz Date: Fri, 28 Jun 2024 15:13:11 +0530 Subject: [PATCH 6/6] Fixed lint issue while compiling the project. --- lib/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build.gradle b/lib/build.gradle index c8421e1..d901fed 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -75,7 +75,7 @@ android { abortOnError true checkAllWarnings = true warningsAsErrors true - disable("GradleDependency", "UnknownNullness") + disable("GradleDependency", "UnknownNullness", "OldTargetApi") } }