Skip to content

Commit

Permalink
Remove beta flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm committed Oct 21, 2020
1 parent 6619fb4 commit a61fe80
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Added `Elastica\Aggregation\PercentilesBucket` aggregation [#1806](https://github.com/ruflin/Elastica/pull/1806)
* Added `weighted_avg` to aggregations DSL [#1814](https://github.com/ruflin/Elastica/pull/1814)
* Supported PHP 8.0 [#1794](https://github.com/ruflin/Elastica/pull/1794)
* Added support for defining a connection pool with DSN. Example `pool(http://127.0.0.1 http://127.0.0.2/bar?timeout=4)` [#1808](https://github.com/ruflin/Elastica/pull/1808)
* Added support for defining a connection pool with DSN. Example: `pool(http://127.0.0.1 http://127.0.0.2/bar?timeout=4)` [#1808](https://github.com/ruflin/Elastica/pull/1808)
### Changed
* Allow `string` such as `wait_for` to be passed to `AbstractUpdateAction::setRefresh` [#1791](https://github.com/ruflin/Elastica/pull/1791)
* Changed the return type of `AbstractUpdateAction::getRefresh` to `boolean|string` [#1791](https://github.com/ruflin/Elastica/pull/1791)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"ext-json": "*",
"psr/log": "^1.0",
"elasticsearch/elasticsearch": "^7.1.1 !=7.4.0",
"nyholm/dsn": "2.0.0-beta1"
"nyholm/dsn": "^2.0.0"
},
"require-dev": {
"aws/aws-sdk-php": "^3.155",
Expand Down
4 changes: 2 additions & 2 deletions tests/ClientConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ class ClientConfigurationTest extends TestCase
public function testInvalidDsn(): void
{
$this->expectException(\Elastica\Exception\InvalidException::class);
$this->expectExceptionMessage('DSN "test:0" is invalid.');
$this->expectExceptionMessage('DSN "test:foo" is invalid.');

ClientConfiguration::fromDsn('test:0');
ClientConfiguration::fromDsn('test:foo');
}

public function testInvalidDsnPortOnly(): void
Expand Down

0 comments on commit a61fe80

Please sign in to comment.