From 855ba91508a2d333c14c0e4351bd762facbdbc8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Thu, 26 Dec 2024 05:00:58 +0100 Subject: [PATCH] prepare for public beta --- .github/workflows/ci.yml | 2 +- README.md | 8 +++----- assets/TenancyServiceProvider.stub.php | 9 +++++---- assets/config.php | 2 ++ composer.json | 2 +- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40fb337c..e9672747 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: matrix: include: - laravel: "^11.0" - php: "8.3" + php: "8.4" steps: - name: Checkout diff --git a/README.md b/README.md index 8ce25809..799dc11f 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@

- Laravel 10.x + Laravel 11.x Latest Stable Version GitHub Actions CI status Donate @@ -19,11 +19,9 @@ You won't have to change a thing in your application's code. - :heavy_check_mark: No replacing of Laravel classes (`Cache`, `Storage`, ...) with tenancy-aware classes - :heavy_check_mark: Built-in tenant identification based on hostname (including second level domains) -### [Documentation](https://tenancyforlaravel.com/docs/v3/) +### [Documentation](https://tenancy-v4.pages.dev/) -Documentation can be found here: https://tenancyforlaravel.com/docs/v3/ - -The repository with the documentation source code can be found here: [stancl/tenancy-docs](https://github.com/stancl/tenancy-docs). +Documentation can be found here: https://tenancy-v4.pages.dev/ ### [Need help?](https://github.com/stancl/tenancy/blob/3.x/SUPPORT.md) diff --git a/assets/TenancyServiceProvider.stub.php b/assets/TenancyServiceProvider.stub.php index 87198a06..3d53529e 100644 --- a/assets/TenancyServiceProvider.stub.php +++ b/assets/TenancyServiceProvider.stub.php @@ -195,10 +195,11 @@ class TenancyServiceProvider extends ServiceProvider * return RouteFacade::post('/livewire/update', $handle)->middleware(['web', 'universal']); * }); */ - if (InitializeTenancyByRequestData::inGlobalStack()) { - FortifyRouteBootstrapper::$fortifyHome = 'dashboard'; - TenancyUrlGenerator::$prefixRouteNames = false; - } + + // if (InitializeTenancyByRequestData::inGlobalStack()) { + // FortifyRouteBootstrapper::$fortifyHome = 'dashboard'; + // TenancyUrlGenerator::$prefixRouteNames = false; + // } if (tenancy()->globalStackHasMiddleware(config('tenancy.identification.path_identification_middleware'))) { TenancyUrlGenerator::$prefixRouteNames = true; diff --git a/assets/config.php b/assets/config.php index 0291905b..c97bdd67 100644 --- a/assets/config.php +++ b/assets/config.php @@ -204,6 +204,7 @@ return [ * You can customize the grants given to these users by changing the $grants property. */ // 'mysql' => Stancl\Tenancy\Database\TenantDatabaseManagers\PermissionControlledMySQLDatabaseManager::class, + // 'pgsql' => Stancl\Tenancy\Database\TenantDatabaseManagers\PermissionControlledPostgreSQLDatabaseManager::class, // 'sqlsrv' => Stancl\Tenancy\TenantDatabaseManagers\PermissionControlledMicrosoftSQLServerDatabaseManager::class, /** @@ -211,6 +212,7 @@ return [ * want to separate tenant DBs by schemas rather than databases. */ // 'pgsql' => Stancl\Tenancy\Database\TenantDatabaseManagers\PostgreSQLSchemaManager::class, // Separate by schema instead of database + // 'pgsql' => Stancl\Tenancy\Database\TenantDatabaseManagers\PermissionControlledPostgreSQLSchemaManager::class, // Also permission controlled ], // todo@docblock diff --git a/composer.json b/composer.json index 37f0b918..354ad8a5 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ } ], "require": { - "php": "^8.2", + "php": "^8.4", "ext-json": "*", "illuminate/support": "^10.1|^11.3", "laravel/tinker": "^2.0",