> ## Documentation Index
> Fetch the complete documentation index at: https://nestjs-query.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# v2.x.x to v3.x.x

## Relation decorators[​](#relation-decorators "Direct link to Relation decorators")

In versions prior to `v3.0.0` the relation decorators had `disableRemove: true` and `disableUpdate: true` as default, from `v3.0.0` and onward this behavior will now be opt-in instead of opt-out.

Also, support for NestJS 8 and TypeORM prior versions of `v0.3.15` has been dropped.

### Old[​](#old "Direct link to Old")

The old `@Relation` with update and remove disabled would look like this

```ts theme={null}
@Relation('todoItem', () => TodoItem, {
  disableUpdate: true,
  disableRemove: true
})
```

### New[​](#new "Direct link to New")

```ts theme={null}
@Relation('todoItem', () => TodoItem)
```

To enable it again:

```ts theme={null}
@Relation('todoItem', () => TodoItem, {
  update: {
    enabled: true,
    // other options now available like: description, decorators etc
  },
  remove: {
    enabled: true,
    // other options now available like: description, decorators etc
  }
})
```

[Edit this page](https://github.com/tripss/nestjs-query/edit/master/docs/migration-guides/v2.x.x-to-v3.x.x)
