From b06b81fce1fd4ca26a876e5b0ae5f02eb0d0613f Mon Sep 17 00:00:00 2001 From: Jean-Pascal Devierne Date: Thu, 1 Oct 2020 11:40:29 +0200 Subject: [PATCH 1/2] :memo: Updating doc Signed-off-by: Jean-Pascal Devierne --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6cf76be..2b83c09 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # novaway/elasticsearch-bundle -A bundle to integrate add debug information to elasticsearch/elasticsearch and ruflin/elastica in your Symfony Applications +A bundle to add debug information to elasticsearch/elasticsearch and ruflin/elastica in your Symfony Applications ## Usage -The bundle provides a Elasticsearch\Client override, throwing events during search, and displaying it in the symfony toolbar. +The bundle provides a Elastica\Client override, throwing events during search, and displaying it in the symfony toolbar. ## Installation ``` @@ -21,7 +21,7 @@ services: Novaway\ElasticsearchBundle\Elastica\Client: arguments: $config: - url: '%elasticsearch_host%/' + url: '%elasticsearch_host%' Elastica\Client: '@Novaway\ElasticsearchBundle\Elastica\Client' ``` @@ -36,7 +36,7 @@ And voila, when you use this client for search, the queries and requests will be novaway_elasticsearch: logging: enabled: false # if true, log every search request with a LoggerInterface service - logger: 'logger' # the logger service id + logger: 'logger' #the logger service id ``` From 05cd83b3661682cedc8d83bf1ac756eefb52f307 Mon Sep 17 00:00:00 2001 From: Jean-Pascal Devierne Date: Thu, 1 Oct 2020 11:41:54 +0200 Subject: [PATCH 2/2] :wrench: Fix https://github.com/advisories/GHSA-754h-5r27-7x3r Signed-off-by: Jean-Pascal Devierne --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 369db4b..35921cc 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "novaway/elasticsearch-bundle", "type": "symfony-bundle", - "description": "Symfony bundle to integrate novaway/elasticsearch-client", + "description": "Symfony bundle to add debug information to elasticsearch/elasticsearch and ruflin/elastica", "keywords": ["elasticsearch"], "homepage": "https://github.com/novaway/elasticsearch-bundle", "license": "MIT", @@ -9,7 +9,7 @@ "php": "^7.1", "elasticsearch/elasticsearch": "^5.2 || ^6.0", "ruflin/elastica": "^6.0 || ^7.0", - "symfony/http-kernel": "^3.4 || ^4.1 || ^5.0", + "symfony/http-kernel": "^3.4 || ^4.1 || >=5.1.5", "symfony/dependency-injection": "^4.2 || ^5.0", "symfony/web-profiler-bundle": "^4.2 || ^5.0", "symfony/config": "^4.2 || ^5.0",