# REST Adapter 2.1 Release Notes

## 2.1.0 (31 October 2024)

### Improvements in 2.1.0

### Configuration

#### RES-7: Added support for polling OAuth-enabled REST APIs

It is now possible to access REST APIs that require OAuth tokens. See the user guide for configuration parameters to set such services.

### General

#### RES-55: Handle HTTP response code 429

When the response from a REST API contains a 429 HTTP status code (Too Many Requests), the adapter will now be paused to prevent further REST calls. If a configuration parameter 'retryIntervalInMinutes' is set, the service will resume after that interval, continuing the REST calls.

#### RES-56: Added support for Custom Publishers

With this release, custom publishers can be used with the REST adapter. See the user guide of the Gateway Framework for more details on custom publishers.

#### RES-60: Updated adapter startup scripts to supply path of the directory containing external JARs of payload converters or custom publishers

External JARs containing payload converters or custom publishers can now be placed in a specific folder, which will be loaded during application startup. The packaged REST adapter bundle now includes an empty directory named 'ext,' and the startup scripts have been updated to configure that directory to supply the external JARs.

#### RES-63: Updated to use Gateway framework version 2.2.0

The adapter has been updated to use Gateway Framework 2.2.0. Any functional changes and new features provided by the framework are available in this version of the adapter.