Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update: bump versions #76

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ name: "CodeQL"

on:
push:
branches: [ "v1.10" ]
branches: [ "v1.11" ]
pull_request:
branches: [ "v1.10" ]
branches: [ "v1.11" ]
schedule:
- cron: '43 8 * * 2'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gradle-oss-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
distribution: 'temurin'

- name: Start MeiliSearch
run: docker run -d -p 7700:7700 -e MEILI_ENV='development' -e MEILI_MASTER_KEY='MASTER_KEY' getmeili/meilisearch:v1.10.0
run: docker run -d -p 7700:7700 -e MEILI_ENV='development' -e MEILI_MASTER_KEY='MASTER_KEY' getmeili/meilisearch:v1.11.0-rc.0

# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies.
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ name: Java CI with Gradle

on:
push:
branches: [ "v1.10" ]
branches: [ "v1.11" ]
pull_request:
branches: [ "v1.10" ]
branches: [ "v1.11" ]

jobs:
build:
Expand All @@ -29,7 +29,7 @@ jobs:
distribution: 'temurin'

- name: Start MeiliSearch
run: docker run -d -p 7700:7700 -e MEILI_ENV='development' -e MEILI_MASTER_KEY='MASTER_KEY' getmeili/meilisearch:v1.10.0
run: docker run -d -p 7700:7700 -e MEILI_ENV='development' -e MEILI_MASTER_KEY='MASTER_KEY' getmeili/meilisearch:v1.11.0-rc.0

# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies.
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ The version number of this library is named by appending `.X` to the version num

| Doc's Version | Library's Version |
|---------------|-------------------|
| V1.10(latest) | 1.10.X.X |
| V1.11(latest) | 1.11.X.X |
| V1.10 | 1.10.X.X |
| V1.9 | 1.9.X.X |
| V1.8 | 1.8.X.X |
| V1.7 | 1.7.X.X |
Expand All @@ -50,15 +51,15 @@ $ ./gradlew publishToMavenLocal

```groovy
// Gradle
implementation 'io.github.honhimw:meilisearch-rest-client:1.10.0.0'
implementation 'io.github.honhimw:meilisearch-rest-client:1.11.0.0'
```

```xml
<!-- Maven -->
<dependency>
<groupId>io.github.honhimw</groupId>
<artifactId>meilisearch-rest-client</artifactId>
<version>1.10.0.0</version>
<version>1.11.0.0</version>
</dependency>
```

Expand Down Expand Up @@ -150,7 +151,7 @@ public static void blocking() {
```java
public static void reactive() {
ReactiveTypedDetailsSearch<Movie> searcher = client.indexes().searchWithDetails("movies", Movie.class);
searcher.find(builder ->builder
searcher.find(builder -> builder
.q("hello world")
.filter("id < 10")
.showRankingScore(true)
Expand All @@ -161,7 +162,7 @@ public static void reactive() {
return response.getHits();
})
.doOnNext(hitDetails -> {
for(HitDetails<Movie> hitDetail :hitDetails){
for (HitDetails<Movie> hitDetail : hitDetails) {
SearchDetails details = hitDetail.getDetails(); // Search Details
Movie source = hitDetail.getSource(); // Source Document

Expand All @@ -183,7 +184,7 @@ public static void blocking() {
Integer estimatedTotalHits = response.getEstimatedTotalHits();
Long processingTimeMs = response.getProcessingTimeMs();
List<HitDetails<Movie>> hitDetails = response.getHits();
for(HitDetails<Movie> hitDetail :hitDetails){
for (HitDetails<Movie> hitDetail : hitDetails) {
SearchDetails details = hitDetail.getDetails(); // Search Details
Movie source = hitDetail.getSource(); // Source Document

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ plugins {
}

group = 'io.github.honhimw'
version = '1.10.0.0' // API docs version plus '.x(-SNAPSHOT/RC.x)?'
version = '1.11.0.0' // API docs version plus '.x(-SNAPSHOT/RC.x)?'
description = 'Reactive meilisearch rest client powered by reactor-netty-http.'

def title = 'Meilisearch rest client for java'
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/github/honhimw/ms/client/ClientTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void healthy() {
@Test
void version() {
Version version = blockingClient.version();
assert StringUtils.startsWith(version.getPkgVersion(), "1.10");
assert StringUtils.startsWith(version.getPkgVersion(), "1.11");
}

@Order(1)
Expand Down