From 037c331485505eecab763cbd8ed0518c6892e087 Mon Sep 17 00:00:00 2001 From: joelbutcher Date: Fri, 27 Oct 2023 17:43:42 +0000 Subject: [PATCH 1/2] Update CHANGELOG --- CHANGELOG.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58df60ef..58c2c1f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,15 @@ # Release Notes -## [Unreleased](https://github.com/joelbutcher/socialstream/compare/v5.0.3...5.x) +## [Unreleased](https://github.com/joelbutcher/socialstream/compare/v5.1.0...5.x) + +## [v5.1.0](https://github.com/joelbutcher/socialstream/compare/v5.0.3...v5.1.0) - 2023-10-27 + +### What's Changed + +- [5.x] Fix Filament with other Stacks by [@joelbutcher](https://github.com/joelbutcher) in https://github.com/joelbutcher/socialstream/pull/306 +- [5.x] Standalone Socialstream 🚀 by [@joelbutcher](https://github.com/joelbutcher) in https://github.com/joelbutcher/socialstream/pull/307 + +**Full Changelog**: https://github.com/joelbutcher/socialstream/compare/v5.0.3...v5.1.0 ## [v5.0.3](https://github.com/joelbutcher/socialstream/compare/v5.0.2...v5.0.3) - 2023-10-25 From 6b371b27637e4a78dccd6ee2a4d8bf557b7b768f Mon Sep 17 00:00:00 2001 From: Joel Butcher Date: Fri, 27 Oct 2023 19:00:34 +0100 Subject: [PATCH 2/2] [5.x] Fix filament errors (#308) --- src/Filament/SocialstreamPlugin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Filament/SocialstreamPlugin.php b/src/Filament/SocialstreamPlugin.php index f9326378..58a2fcc8 100644 --- a/src/Filament/SocialstreamPlugin.php +++ b/src/Filament/SocialstreamPlugin.php @@ -5,6 +5,7 @@ use Filament\Contracts\Plugin; use Filament\Panel; use Illuminate\Support\Facades\Config; +use Illuminate\Support\ViewErrorBag; use JoelButcher\Socialstream\Features; use JoelButcher\Socialstream\Socialstream; @@ -24,7 +25,7 @@ public function register(Panel $panel): void $panel->renderHook('panels::auth.login.form.after', function () { return Socialstream::show() ? view(config('socialstream.component', 'socialstream::components.socialstream'), [ - 'errors' => session('errors')?->get('socialstream') ?? [], + 'errors' => session('errors') ?? new ViewErrorBag(), ]) : ''; }); }