From 6279b1da672554ffd98b1633263b95e8f8245c4c Mon Sep 17 00:00:00 2001 From: Joshua Fredrickson Date: Fri, 2 Aug 2024 09:24:39 -0500 Subject: [PATCH 1/2] Add note regarding Acorn cache when bumping from v3 to 4 This gotcha's got me more than once updating older sites. --- acorn/upgrading-acorn.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/acorn/upgrading-acorn.md b/acorn/upgrading-acorn.md index dce68571..3953bc13 100644 --- a/acorn/upgrading-acorn.md +++ b/acorn/upgrading-acorn.md @@ -206,6 +206,8 @@ namespace App\Providers; } ``` +After doing so, you may need to delete [Acorn's application cache directory](https://roots.io/acorn/docs/directory-structure/). By default, this is located in `[wp-content|app]/cache/acorn/`. + Reference the [Acorn v3 upgrade pull request on the Sage repo](https://github.com/roots/sage/pull/3097) to see a full diff. #### Target class [assets.manifest] does not exist From 9b380f532a57c028015bbc2a7fc3eef7f575c02a Mon Sep 17 00:00:00 2001 From: Ben Word Date: Fri, 2 Aug 2024 13:45:03 -0500 Subject: [PATCH 2/2] Update upgrading-acorn.md --- acorn/upgrading-acorn.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/acorn/upgrading-acorn.md b/acorn/upgrading-acorn.md index 3953bc13..9af9a4a7 100644 --- a/acorn/upgrading-acorn.md +++ b/acorn/upgrading-acorn.md @@ -1,10 +1,11 @@ --- -date_modified: 2024-01-16 11:38 +date_modified: 2024-08-02 13:45 date_published: 2023-01-13 13:12 description: Acorn v4 introduces some minimal breaking changes that may require updates when coming from Acorn v3. title: Upgrading Acorn authors: - ben + - joshf --- # Upgrading Acorn