Skip to content

Commit 2c0a276

Browse files
bors[bot]meili-botcurquizadependabot[bot]
authored
Merge #166
166: Changes related to the next Meilisearch release (v0.26.0) r=brunoocasali a=meili-bot This PR gathers the changes related to the next Meilisearch release (v0.26.0) so that this package is ready when the official release is out. ⚠️ This PR should NOT be merged until: - the next release of Meilisearch (v0.26.0) is out. - the [`meilisearch-php`](https://github.com/meilisearch/meilisearch-php) dependency has been released to be compatible with Meilisearch v0.26.0. Once the release is out, the upgrade of the `meilisearch-php` dependency might be committed to this branch. _This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/master/guides/pre-release-week.md) purpose._ _Related to this issue: https://github.com/meilisearch/integration-guides/issues/181_ Co-authored-by: meili-bot <[email protected]> Co-authored-by: Clémentine Urquizar - curqui <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 parents dce22c5 + fd8dae3 commit 2c0a276

File tree

6 files changed

+5
-40
lines changed

6 files changed

+5
-40
lines changed

.github/workflows/pre-release-test.yaml renamed to .github/workflows/pre-release-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ jobs:
3030
- name: Get the latest Meilisearch RC
3131
run: echo "MEILISEARCH_VERSION=$(curl https://raw.githubusercontent.com/meilisearch/integration-guides/main/scripts/get-latest-meilisearch-rc.sh | bash)" >> $GITHUB_ENV
3232
- name: Meilisearch (${{ env.MEILISEARCH_VERSION }}) setup with Docker
33-
run: docker run -d -p 7700:7700 getmeili/meilisearch:${{ env.MEILISEARCH_VERSION }} ./meilisearch --master-key=masterKey --no-analytics=true
33+
run: docker run -d -p 7700:7700 getmeili/meilisearch:${{ env.MEILISEARCH_VERSION }} ./meilisearch --master-key=masterKey --no-analytics
3434
- name: Run test suite
3535
run: composer test:unit

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
SYMFONY_REQUIRE: ${{ matrix.sf-version }}
4343
run: composer install --prefer-dist --no-progress --quiet
4444
- name: Meilisearch setup with Docker
45-
run: docker run -d -p 7700:7700 getmeili/meilisearch:latest ./meilisearch --master-key=masterKey --no-analytics=true
45+
run: docker run -d -p 7700:7700 getmeili/meilisearch:latest ./meilisearch --master-key=masterKey --no-analytics
4646
- name: Run test suite
4747
run: composer test:unit
4848

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Also, see our [Documentation](https://docs.meilisearch.com/learn/tutorials/getti
4848

4949
## 🤖 Compatibility with Meilisearch
5050

51-
This package only guarantees the compatibility with the [version v0.25.0 of Meilisearch](https://github.com/meilisearch/meilisearch/releases/tag/v0.25.0).
51+
This package only guarantees the compatibility with the [version v0.26.0 of Meilisearch](https://github.com/meilisearch/meilisearch/releases/tag/v0.26.0).
5252

5353
## 💡 Learn More
5454

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"ext-json": "*",
2323
"doctrine/doctrine-bundle": "^2.4",
2424
"illuminate/collections": "^8.47",
25-
"meilisearch/meilisearch-php": "^0.21.0",
25+
"meilisearch/meilisearch-php": "^0.23.0",
2626
"symfony/filesystem": "^4.4 || ^5.0 || ^6.0",
2727
"symfony/property-access": "^4.4 || ^5.0 || ^6.0",
2828
"symfony/serializer": "^4.4 || ^5.0 || ^6.0"

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111

1212
meilisearch:
1313
image: getmeili/meilisearch
14-
command: ./meilisearch --master-key=masterKey --no-analytics=true
14+
command: ./meilisearch --master-key=masterKey --no-analytics
1515
ports:
1616
- target: 7700
1717
published: 7700

tests/Integration/SettingsTest.php

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -40,41 +40,6 @@ public function setUp(): void
4040
$this->application = new Application(self::$kernel);
4141
}
4242

43-
public function testGetDefaultSettings(): void
44-
{
45-
$primaryKey = 'ObjectID';
46-
$indexAName = $this->getPrefix().'indexA';
47-
$indexBName = $this->getPrefix().'indexB';
48-
$this->client->createIndex($indexAName);
49-
$this->client->createIndex($indexBName, ['primaryKey' => $primaryKey]);
50-
51-
$firstTask = $this->client->getTasks()['results'][0];
52-
$this->client->waitForTask($firstTask['uid']);
53-
54-
$settingA = $this->client->index($indexAName)->getSettings();
55-
$settingB = $this->client->index($indexBName)->getSettings();
56-
57-
$this->assertEquals(self::DEFAULT_RANKING_RULES, $settingA['rankingRules']);
58-
$this->assertNull($settingA['distinctAttribute']);
59-
$this->assertIsArray($settingA['searchableAttributes']);
60-
$this->assertEquals(['*'], $settingA['searchableAttributes']);
61-
$this->assertIsArray($settingA['displayedAttributes']);
62-
$this->assertEquals(['*'], $settingA['displayedAttributes']);
63-
$this->assertIsArray($settingA['stopWords']);
64-
$this->assertEmpty($settingA['stopWords']);
65-
$this->assertIsArray($settingA['synonyms']);
66-
$this->assertEmpty($settingA['synonyms']);
67-
68-
$this->assertEquals(self::DEFAULT_RANKING_RULES, $settingB['rankingRules']);
69-
$this->assertNull($settingB['distinctAttribute']);
70-
$this->assertEquals(['*'], $settingB['searchableAttributes']);
71-
$this->assertEquals(['*'], $settingB['displayedAttributes']);
72-
$this->assertIsArray($settingB['stopWords']);
73-
$this->assertEmpty($settingB['stopWords']);
74-
$this->assertIsArray($settingB['synonyms']);
75-
$this->assertEmpty($settingB['synonyms']);
76-
}
77-
7843
public function testUpdateSettings(): void
7944
{
8045
$index = $this->getPrefix().self::$indexName;

0 commit comments

Comments
 (0)