# Upgrade Guide

**Estimated Upgrade Time: Five Minutes**

{% hint style="warning" %}
We attempt to document every possible breaking change. Since some of these breaking changes are in hidden parts of the library only a portion of these changes may actually affect your application.
{% endhint %}

### Updating dependencies

Update your `inspector-apm/inspector-laravel` dependency to `^4.4` in your `composer.json` file.

Update packages in your application by:

```
composer update
```

### Change Inspector URL

The url of Inspetor ingestion system was changed a few month ago, so if you have published the `inspector.php` configuration file in the config directory be sure that the `url` parameter is set to: **<https://ingest.inspector.dev>**

**Change the env viariable name**

In the previous package version you have installed the KEY to enable data transfer from your server to Inspector API in the application's environment file:

```
INSPECTOR_API_KEY=xxx
```

The name of this environment variable was changed as `INSPECTOR_INGESTION_KEY`, so be sure to change the `.env` file as below:

```
INSPECTOR_INGESTION_KEY=xxx
```

### What's new

* [**A redesigned version of our Middleware**](/guides/laravel/http-requests-monitoring.md#ignore-web-requests) to provide better support for http requests ignoring.
* [**Ignore Jobs**](https://docs.inspector.dev/platforms/laravel/configuration#ignore-transactions-command-url-jobs)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.inspector.dev/guides/laravel/upgrade-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
