# What's New?

## 2.2.0

* [Relationship Fetch Methods](/2.2.0/relationships/retrieving-relationships.md) (`first` and `find` methods)

## 2.1.0

* [Subselect Helper](/2.2.0/getting-started/query-scopes.md#subselects)
* [Global Scopes](/2.2.0/getting-started/query-scopes.md#global-scopes)
* [saveMany](/2.2.0/relationships/relationship-types/hasmany.md#saveMany)
* Mapping foreign keys for relationships is now optional
* Either entities or primary key values can be passed to relationship persistance methods
* Relationships can also be saved by calling `"set" & relationshipName`
* [Virtual Inheritance](/2.2.0/getting-started/defining-an-entity.md) works on ColdBox 5.2+


---

# 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://quick.ortusbooks.com/2.2.0/whats-new.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.
