File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
src/main/java/com/meilisearch/sdk Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ Add the following code to the `<dependencies>` section of your project:
5858<dependency >
5959 <groupId >com.meilisearch.sdk</groupId >
6060 <artifactId >meilisearch-java</artifactId >
61- <version >0.14.3 </version >
61+ <version >0.14.4 </version >
6262 <type >pom</type >
6363</dependency >
6464```
@@ -68,7 +68,7 @@ Add the following code to the `<dependencies>` section of your project:
6868Add the following line to the ` dependencies ` section of your ` build.gradle ` :
6969
7070``` groovy
71- implementation 'com.meilisearch.sdk:meilisearch-java:0.14.3 '
71+ implementation 'com.meilisearch.sdk:meilisearch-java:0.14.4 '
7272```
7373
7474:warning : ` meilisearch-java ` also requires ` okhttp ` as a peer dependency.
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ plugins {
1818
1919group = ' com.meilisearch.sdk'
2020archivesBaseName = ' meilisearch-java'
21- version = ' 0.14.3 '
21+ version = ' 0.14.4 '
2222
2323java {
2424 sourceCompatibility = JavaVersion . VERSION_1_8
@@ -63,10 +63,10 @@ dependencies {
6363 testImplementation ' org.hamcrest:hamcrest:3.0'
6464 testImplementation ' com.squareup.okio:okio:3.10.2'
6565 testImplementation ' com.squareup.okhttp3:okhttp:4.12.0'
66- testImplementation ' com.fasterxml.jackson.core:jackson-databind:2.18.2 '
66+ testImplementation ' com.fasterxml.jackson.core:jackson-databind:2.18.3 '
6767
6868 // https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind
69- compileOnly group : ' com.fasterxml.jackson.core' , name : ' jackson-databind' , version : ' 2.18.2 '
69+ compileOnly group : ' com.fasterxml.jackson.core' , name : ' jackson-databind' , version : ' 2.18.3 '
7070
7171 // Lombok
7272 compileOnly ' org.projectlombok:lombok:1.18.38'
Original file line number Diff line number Diff line change 11package com .meilisearch .sdk ;
22
33public class Version {
4- static final String VERSION = "0.14.3 " ;
4+ static final String VERSION = "0.14.4 " ;
55
66 public static String getQualifiedVersion () {
77 return "Meilisearch Java (v" + VERSION + ")" ;
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ private Request buildRequest(HttpRequest request) throws MalformedURLException {
5656 Request .Builder builder = new Request .Builder ();
5757 builder .url (url );
5858
59- if (this .config .getApiKey () != null )
59+ if (this .config .getApiKey () != null && ! this . config . getApiKey (). isEmpty () )
6060 builder .addHeader ("Authorization" , this .config .getBearerApiKey ());
6161
6262 for (Map .Entry <String , String > entry : request .getHeaders ().entrySet ()) {
You can’t perform that action at this time.
0 commit comments