diff --git a/CHANGELOG.md b/CHANGELOG.md index c77e8ef..b8b1a1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 5.1.0 - 2024-07-14 + +### Changed + +- Requires `formal/access-layer:~3.0` + ## 5.0.0 - 2024-03-10 ### Added diff --git a/composer.json b/composer.json index 840dc7f..cdc3a73 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "innmind/signals": "~3.0", "innmind/file-watch": "~4.0", "innmind/stream": "~4.0", - "formal/access-layer": "^2.0", + "formal/access-layer": "~3.0", "innmind/io": "~2.7" }, "autoload": { diff --git a/src/Remote/Generic.php b/src/Remote/Generic.php index 2d40b67..70a19ba 100644 --- a/src/Remote/Generic.php +++ b/src/Remote/Generic.php @@ -99,6 +99,6 @@ public function http(): HttpTransport public function sql(Url $server): Connection { - return new Connection\Lazy(static fn() => Connection\PDO::of($server)); + return Connection\Lazy::of(static fn() => Connection\PDO::of($server)); } }