# Changelog 2021

## 22nd November 2021

* Extended [Availability block parameters](/connector-api/operations/availabilityblocks.md#availability-block-parameters) with `State`.

## 13th August 2021

* Added [Update availability blocks](/connector-api/operations/availabilityblocks.md#update-availability-blocks) operation.

## 21st June 2021

* Extended [Get all accounting items](/connector-api/operations/accountingitems.md#get-all-accounting-items) parameters with `ClosedUtc` and `ConsumedUtc`.
* Extended [Add external payment](/connector-api/operations/payments.md#add-external-payment) parameters with `CrossSettlement` type and `ExternalIdentifier` key.

## 29th March 2021

* Added new type `ResourceUpdated` of [Webhook event](/connector-api/events/wh-general.md).

## 18th March 2021

* For demo environment, platform URL changed to `https://api.mews-demo.com`.
* For demo environment, web socket URL changed to `wss://ws.mews-demo.com`.

## 3rd March 2021

* Removed obsolete property `CompanionIds` from [Reservation](/connector-api/operations/reservations.md#reservation) surpassed by operation [Get all companionships](/connector-api/operations/companionships.md#get-all-companionships).

## 22nd February 2021

* Added [Get all resource access tokens](/connector-api/operations/resourceaccesstokens.md#get-all-resource-access-tokens), [Add resource access tokens](/connector-api/operations/resourceaccesstokens.md#add-resource-access-tokens), [Update resource access tokens](/connector-api/operations/resourceaccesstokens.md#update-resource-access-tokens), [Delete resource access tokens](/connector-api/operations/resourceaccesstokens.md#delete-resource-access-tokens).

## 21st January 2021

* Added [Add availability blocks](/connector-api/operations/availabilityblocks.md#add-availability-blocks), [Delete availability blocks](/connector-api/operations/availabilityblocks.md#delete-availability-blocks).
* Extended [Update service availability](/connector-api/operations/services.md#update-service-availability) with `AvailabilityBlockId`.
* Split [Get all tax environments](/connector-api/operations/taxenvironments.md#get-all-tax-environments) and [Get all taxations](/connector-api/operations/taxations.md#get-all-taxations).
* Extended [Tax Rate](/connector-api/operations/taxations.md#tax-rate) discriminator with `Dependent`.

## 6th January 2021

* Specified limitations on operation parameters (generally 1000 items in collection and maximum time filter length of 3 months).
* Changed the [WebSockets](/connector-api/events/websockets.md) authentication method to use cookies instead of URL query parameters.
* Extended [Space resource data](/connector-api/operations/resources.md#space-resource-data) with `LocationNotes`.
* Extended [Space resource data update](/connector-api/operations/resources.md#space-resource-data-update) with `LocationNotes`.


---

# 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://docs.mews.com/connector-api/changelog/changelog2021.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.
