> For the complete documentation index, see [llms.txt](https://docs.elentra.org/ejs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.elentra.org/ejs/1.3/guide/introduction/upgrading-to-v1.2.md).

# Upgrading to v1.2

## Introduction

This guide is intended to provide you with everything you need to successfully upgrade to EJS 1.2.

## Changes to environment configuration

In EJS 1.2, all of the existing [instance methods](/ejs/1.3/guide/plugins/core-plugins/instance-methods.md) were moved to [plugins](/ejs/1.3/guide/plugins.md).  As such, you will need to update your [environment configuration file](/ejs/1.3/guide/environments/configuration.md) to include them so they will be loaded at runtime.

To learn about these plugins, check out the [core plugin reference](/ejs/1.3/guide/plugins/core-plugins.md).

{% code title="environment.js" %}

```javascript
...
plugins: [
    // Added in EJS 1.1
    'Vue/Directive/i18nDirective',
    
    // Added in EJS 1.2
    'Vue/InstanceMethod/Api',
    'Vue/InstanceMethod/FindRouteByName',
    'Vue/InstanceMethod/GeneratePath',
    'Vue/InstanceMethod/GetRoute',
    'Vue/InstanceMethod/RedirectTo',
    'Vue/InstanceMethod/SetLocale',
    'Vue/InstanceMethod/Translate'
]
...
```

{% endcode %}
