From 90aec9724385bfc0027146764ce935fb96386257 Mon Sep 17 00:00:00 2001 From: sampoyigi <6567634+sampoyigi@users.noreply.github.com> Date: Mon, 26 Jan 2026 14:43:56 +0000 Subject: [PATCH 1/3] refactor(core): simplify `Igniter` version string format --- src/Flame/Support/Igniter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Flame/Support/Igniter.php b/src/Flame/Support/Igniter.php index 2b07a37e..84cb79f7 100644 --- a/src/Flame/Support/Igniter.php +++ b/src/Flame/Support/Igniter.php @@ -13,7 +13,7 @@ class Igniter { - protected const string VERSION = 'minor (v4.2.0)'; + protected const string VERSION = 'v4.2.0'; /** * The base path for extensions. From 244cd9ccdc17cae4a936ce19e952fdec2213d7c4 Mon Sep 17 00:00:00 2001 From: sampoyigi <6567634+sampoyigi@users.noreply.github.com> Date: Fri, 30 Jan 2026 18:23:53 +0000 Subject: [PATCH 2/3] fix(database): prevent empty filter values from applying --- src/Flame/Database/Traits/HasQueryModifier.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Flame/Database/Traits/HasQueryModifier.php b/src/Flame/Database/Traits/HasQueryModifier.php index 3cb35cca..545efe61 100644 --- a/src/Flame/Database/Traits/HasQueryModifier.php +++ b/src/Flame/Database/Traits/HasQueryModifier.php @@ -41,8 +41,7 @@ public function scopeApplyFilters(Builder $builder, array $options = []): Builde collect($this->queryModifierFilters) ->each(function($value, $key) use ($builder, $options) { $params = (array)$value; - if (array_key_exists($key, $options)) { - $filterValue = array_get($options, $key, array_get($params, 'default')); + if ($filterValue = array_get($options, $key, array_get($params, 'default'))) { (new FiltersScope)($builder, $filterValue, $params[0]); } }); From 23c622340a69ea7036b399000ce916aa63764a0f Mon Sep 17 00:00:00 2001 From: sampoyigi <6567634+sampoyigi@users.noreply.github.com> Date: Fri, 30 Jan 2026 22:37:07 +0000 Subject: [PATCH 3/3] Update version to v4.2.1 --- src/Flame/Support/Igniter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Flame/Support/Igniter.php b/src/Flame/Support/Igniter.php index 84cb79f7..1626a239 100644 --- a/src/Flame/Support/Igniter.php +++ b/src/Flame/Support/Igniter.php @@ -13,7 +13,7 @@ class Igniter { - protected const string VERSION = 'v4.2.0'; + protected const string VERSION = 'v4.2.1'; /** * The base path for extensions.