From ce5742e1c44bb7a08fec1d78c9f3def26d6c625a Mon Sep 17 00:00:00 2001 From: richan-fongdasen Date: Thu, 18 Apr 2024 11:53:20 +0000 Subject: [PATCH 1/3] Update CHANGELOG --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0383c5c..4853e27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to `richan-fongdasen/turso-laravel` will be documented in this file. +## 0.4.0 - 2024-04-18 + +* Calling `Turso::sync()` without specifying the `DB_REPLICA` path raises an exception. +* The `TursoConnection` class now inherits directly from `Illuminate\Database\Connection`. +* Completed major code refactoring. + ## 0.3.0 - 2024-04-16 * Fixed an error that occurred when dropping database indexes. From 2b4911badf731ec8c969f3581c7f3b18c1170f8c Mon Sep 17 00:00:00 2001 From: Richan Fongdasen Date: Thu, 18 Apr 2024 18:57:46 +0700 Subject: [PATCH 2/3] Update README.md --- README.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/README.md b/README.md index 0594bf3..a6792f9 100644 --- a/README.md +++ b/README.md @@ -16,11 +16,6 @@ Some features are not yet supported by this package: - Creating and dropping database - [Database Transactions](https://turso.tech/blog/bring-your-own-sdk-with-tursos-http-api-ff4ccbed) -- [Turso Batch Request](https://github.com/tursodatabase/libsql/blob/main/docs/HTTP_V2_SPEC.md#execute-a-batch) -- [Turso Sequence Request](https://github.com/tursodatabase/libsql/blob/main/docs/HTTP_V2_SPEC.md#execute-a-sequence-of-sql-statements) -- [Turso Describe Request](https://github.com/tursodatabase/libsql/blob/main/docs/HTTP_V2_SPEC.md#describe-a-statement) -- [Turso Store SQL Request](https://github.com/tursodatabase/libsql/blob/main/docs/HTTP_V2_SPEC.md#store-an-sql-text-on-the-server) -- [Turso Close Stored SQL Request](https://github.com/tursodatabase/libsql/blob/main/docs/HTTP_V2_SPEC.md#close-a-stored-sql-text) ## Requirements From 771442f4729c28e0e7d4cee87f276fcf96bb77ea Mon Sep 17 00:00:00 2001 From: Richan Fongdasen Date: Thu, 18 Apr 2024 19:38:22 +0700 Subject: [PATCH 3/3] Update README.md The sync script is actually working with the Turso local database --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index a6792f9..a235c60 100644 --- a/README.md +++ b/README.md @@ -123,8 +123,6 @@ $users = User::with('posts')->orderBy('name')->get(); The driver supports the embedded replica feature. If you're unfamiliar with this feature, refer to the [Turso embedded replica article](https://turso.tech/blog/introducing-embedded-replicas-deploy-turso-anywhere-2085aa0dc242) for more information. -> If you're using Turso CLI to run the local Turso database server, there is no need to set the `DB_REPLICA` environment variable. The sync script does not work with the local Turso database server. - ### Running the sync script from artisan command Run the sync script manually using the following Artisan command: