From 25e4836164766e26293522e69d61a45bd7eb6363 Mon Sep 17 00:00:00 2001 From: Andrew Welch Date: Sat, 6 Jan 2018 15:20:10 -0500 Subject: [PATCH 1/2] Add LocalValetDriver.php for static asset filename-based cache busting Signed-off-by: Andrew Welch --- LocalValetDriver.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 LocalValetDriver.php diff --git a/LocalValetDriver.php b/LocalValetDriver.php new file mode 100644 index 0000000..1f96406 --- /dev/null +++ b/LocalValetDriver.php @@ -0,0 +1,44 @@ +frontControllerDirectory($sitePath).$matches[1].'.'.$matches[2]; + } + + return false; + } +} From d0efc96bcc00cde4c61a766e390945619585d763 Mon Sep 17 00:00:00 2001 From: Andrew Welch Date: Sat, 6 Jan 2018 15:20:35 -0500 Subject: [PATCH 2/2] Version 1.0.9 Signed-off-by: Andrew Welch --- CHANGELOG.md | 4 ++++ composer.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ba28e7..a7efcb8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # nystudio107/craft Change Log +## 1.0.9 - 2018.01.06 +### Added +* Added a static asset filename-based cache busting `LocalValetDriver.php` for Laravel Valet + ## 1.0.8 - 2018.01.01 ### Added * Added a better PurgeCSS pipeline diff --git a/composer.json b/composer.json index 565f130..525784c 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "nystudio107/craft", "description": "nystudio107 Craft 3 CMS scaffolding project", - "version": "1.0.7", + "version": "1.0.9", "keywords": [ "craft", "cms",