# Acorn v4.0.0-beta.0 released

**URL:** https://discourse.roots.io/t/acorn-v4-0-0-beta-0-released/26322
**Category:** acorn
**Tags:** releases
**Created:** 2023-11-25T02:27:45Z
**Posts:** 2

## Post 1 by @QWp6t — 2023-11-25T02:27:46Z

[acorn v4.0.0-beta.0 released](https://github.com/roots/acorn/releases/tag/v4.0.0-beta.0)

## What’s Changed

- :up_arrow: Laravel v10 by @QWp6t in [⬆️ Laravel v10 by QWp6t · Pull Request #299 · roots/acorn · GitHub](https://github.com/roots/acorn/pull/299)
- :bug: Exit `parse_request` to short circuit wordpress during custom routes. by @eavonius in [https://github.com/roots/acorn/pull/301](https://github.com/roots/acorn/pull/301)
- :sparkles: ‘enqueueJs()’ support to registering scripts with `async` and `defer` by @ouun in [https://github.com/roots/acorn/pull/313](https://github.com/roots/acorn/pull/313)

## New Contributors

- @eavonius made their first contribution in [https://github.com/roots/acorn/pull/301](https://github.com/roots/acorn/pull/301)
- @szepeviktor made their first contribution in [https://github.com/roots/acorn/pull/312](https://github.com/roots/acorn/pull/312)

**Full Changelog** : [https://github.com/roots/acorn/compare/v3.2.0...v4.0.0-beta.0](https://github.com/roots/acorn/compare/v3.2.0...v4.0.0-beta.0)

---

## Post 2 by @Log1x — 2023-11-28T16:22:58Z

## Upgrading to Acorn 4.x

### Step 1. Upgrade Acorn

```
$ composer remove roots/acorn
$ composer upgrade
$ composer require roots/acorn:v4.0.0-beta.0 -W
```

### Step 2. Upgrade Packages

All of my packages other than ACF Composer have a release and should bump with `composer upgrade`. For ACF Composer, you should be able to safely use `log1x/acf-composer:dev-master` for now.

### Step 3. Update Parent Namespace in Service Providers

All service providers used inside of your application or packages should now extend Illuminate:

```
- use Roots\Acorn\ServiceProvider;
+ use Illuminate\Support\ServiceProvider;
```

### Step 4. Update Acorn Configs (If Applicable)

If you previously published Acorn’s config(s), you can delete them all and re-publish/re-modify them with your changes or grab them manually from the [Acorn repo](https://github.com/roots/acorn/tree/main/config). You mainly need the [new provider stuff](https://github.com/roots/acorn/blob/6b7b1a328ec6cf9a515b2c5f30919a84d7c16519/config/app.php#L160-L169) if you published `config/app.php`.

:warning: **If any packages/dependencies have conflicts while updating, try removing and then re-requiring them after Acorn is bumped to 4.x.**
