# Upgrade from 4.x to 5.0.0

Previously, the `promiseTypeSeparator` config property was used to change the character used to join type strings.

Now, the `promiseTypeDelimiter` config property is used. Why? Because [delimiters](https://en.wikipedia.org/wiki/Delimiter) are one or more characters used to specify the boundaries in strings. It’s s delimiter, not a separator!

```javascript
applyMiddleware(
  promiseMiddleware({
    promiseTypeDelimiter: '/'
  })
)
```

With this configuration, given `FOO` async action, the type will be appended with a forward slash `/` delimiter.

```javascript
{
  type: 'FOO/PENDING'
}
```


---

# 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://pburtchaell.gitbook.io/redux-promise-middleware/upgrade-guides/v5.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.
