From b06de66c242cc3025d632ccc649bb82788de07fb Mon Sep 17 00:00:00 2001 From: inmanturbo <47095624+inmanturbo@users.noreply.github.com> Date: Sat, 5 Oct 2024 10:37:31 -0400 Subject: [PATCH 1/5] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 28149b8..f04b44d 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,8 @@ This is the contents of the published config file: return [ 'model' => \Envor\Datastore\Models\Datastore::class, 'create_databases' => env('DATASTORE_CREATE_DATABASES', true), + 'push_middleware' => env('DATASTORE_PUSH_CONTEXT_MIDDLEWARE', false), + 'autoconfigure_default_context' => env('AUTOCONFIGURE_DEFAULT_CONTEXT', false), ]; ``` From 871cb695a24295e9c922e2b7801381ff3c7f95b4 Mon Sep 17 00:00:00 2001 From: inmanturbo Date: Sat, 5 Oct 2024 14:38:53 +0000 Subject: [PATCH 2/5] Update CHANGELOG --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index db7596f..9e55469 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ All notable changes to `laravel-datastore` will be documented in this file. +## v2.0.0 - 2024-10-05 + +### What's Changed + +* Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 by @dependabot in https://github.com/envor/laravel-datastore/pull/15 +* Bump aglipanci/laravel-pint-action from 2.3.1 to 2.4 by @dependabot in https://github.com/envor/laravel-datastore/pull/17 +* Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 by @dependabot in https://github.com/envor/laravel-datastore/pull/18 +* Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in https://github.com/envor/laravel-datastore/pull/25 +* main by @inmanturbo in https://github.com/envor/laravel-datastore/pull/28 + +**Full Changelog**: https://github.com/envor/laravel-datastore/compare/v1.2.8...v2.0.0 + ## v1.2.19 - 2024-08-02 ### What's Changed From 6882e7a223c0f84a8e53659edf9d6d23a7ac3622 Mon Sep 17 00:00:00 2001 From: inmanturbo <47095624+inmanturbo@users.noreply.github.com> Date: Sat, 5 Oct 2024 10:44:33 -0400 Subject: [PATCH 3/5] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index f04b44d..ed4906b 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,16 @@ A simple strategy for handling dynamic databases of varying types +## Upgrade Guide +Upgrading from 1.x to 2.x. + +2x does not push middleware by default, or configure context by default. To continue using as before add the folowing to your project's .env file: + +```ini +DATASTORE_PUSH_CONTEXT_MIDDLEWARE=true +AUTOCONFIGURE_DEFAULT_CONTEXT=true +``` + ## Installation You can install the package via composer: From 0b9305e195dbfb91f5d042bc88468e4c6fba26fd Mon Sep 17 00:00:00 2001 From: inmanturbo <47095624+inmanturbo@users.noreply.github.com> Date: Sat, 5 Oct 2024 10:46:44 -0400 Subject: [PATCH 4/5] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index ed4906b..3af1bad 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,12 @@ DATASTORE_PUSH_CONTEXT_MIDDLEWARE=true AUTOCONFIGURE_DEFAULT_CONTEXT=true ``` +2x does not require `envor/platform` by default, Next you will need to manually require `envor/platform` + +```bash +composer require envor/platform +``` + ## Installation You can install the package via composer: From 66b3b3f869e3e7875d975f9077f0c1665882f752 Mon Sep 17 00:00:00 2001 From: inmanturbo <47095624+inmanturbo@users.noreply.github.com> Date: Sat, 5 Oct 2024 10:47:09 -0400 Subject: [PATCH 5/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3af1bad..41ea0ac 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ A simple strategy for handling dynamic databases of varying types ## Upgrade Guide Upgrading from 1.x to 2.x. -2x does not push middleware by default, or configure context by default. To continue using as before add the folowing to your project's .env file: +2x does not push middleware by default, or configure context by default. To continue using as before add the following to your project's .env file: ```ini DATASTORE_PUSH_CONTEXT_MIDDLEWARE=true