<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>https://docs.squake.earth/changelog/api</id>
  <title>SQUAKE API changelog</title>
  <link href="https://docs.squake.earth/changelog/api"/>
  <link rel="self" href="https://docs.squake.earth/api/changelog.xml"/>
  <updated>2026-11-02T00:00:00Z</updated>
  <entry>
    <id>https://docs.squake.earth/changelog/api#2026-11-02-optional-sustainability-labels-on-hotel-travel-data</id>
    <title>Added: Optional sustainability labels on hotel travel data</title>
    <link href="https://docs.squake.earth/changelog/api#2026-11-02-optional-sustainability-labels-on-hotel-travel-data"/>
    <updated>2026-11-02T00:00:00Z</updated>
    <category term="Added"/>
    <content type="text">Hotel activities accept the sustainability labels or certifications the hotel holds. The field is optional, so existing integrations need no change. See [Create travel data items](/docs/travel-data/create-travel-data-items).
added: `trips[].activities[hotel].eco_labels`, an array of strings such as `[&quot;eu_ecolabel&quot;, &quot;green_key&quot;]`. SQUAKE trims each label and drops blank and duplicate entries.</content>
  </entry>
  <entry>
    <id>https://docs.squake.earth/changelog/api#2026-10-20-green-travel-pledge-is-now-green-travel-data</id>
    <title>Added, Deprecated: Green Travel Pledge is now Green Travel Data</title>
    <link href="https://docs.squake.earth/changelog/api#2026-10-20-green-travel-pledge-is-now-green-travel-data"/>
    <updated>2026-10-20T00:00:00Z</updated>
    <category term="Added"/>
    <category term="Deprecated"/>
    <content type="text">The Rail Delivery Group renamed the train methodology. Send `GREEN-TRAVEL-DATA` from now on. `GREEN-TRAVEL-PLEDGE` is still accepted and calculates the same way. See [Green Travel Pledge Is Now Green Travel Data](/changelog/calculation-changes/train-green-travel-data) for details.
added: `items[train].methodology` value `GREEN-TRAVEL-DATA`
deprecated: `items[train].methodology` value `GREEN-TRAVEL-PLEDGE`, still accepted
changed: `items[train].origin` and `destination` must be CRS codes of GB National Rail stations, such as `KGX`
changed: Error code `green_travel_pledge_emission_not_found` is now `green_travel_data_emission_not_found`</content>
  </entry>
  <entry>
    <id>https://docs.squake.earth/changelog/api#2026-10-20-one-status-vocabulary-for-travel-data-trips</id>
    <title>Changed: One status vocabulary for travel data trips</title>
    <link href="https://docs.squake.earth/changelog/api#2026-10-20-one-status-vocabulary-for-travel-data-trips"/>
    <updated>2026-10-20T00:00:00Z</updated>
    <category term="Changed"/>
    <content type="text">Trip `status` is no longer echoed as sent. SQUAKE maps whatever wording the source uses onto five values, and the trip's dates decide the value where they can.
changed: `status` in responses is one of `planned`, `confirmed`, `in_progress`, `completed`, `canceled` or `null`
changed: `status` in requests is still free text, mapped on ingestion; common wordings such as `booked` and `cancelled` are recognised</content>
  </entry>
  <entry>
    <id>https://docs.squake.earth/changelog/api#2026-09-04-invitations-endpoints</id>
    <title>Added: Invitations endpoints</title>
    <link href="https://docs.squake.earth/changelog/api#2026-09-04-invitations-endpoints"/>
    <updated>2026-09-04T00:00:00Z</updated>
    <category term="Added"/>
    <content type="text">Invite users to one of your sub-clients and read an invitation back. Re-inviting the same email address for the same sub-client is safe and sends the email again.
added: `POST /v2/invitations` and `GET /v2/invitations/{id}`
added: Error code `client_not_invitable` (`403`) when `client_id` isn't one of your sub-clients</content>
  </entry>
  <entry>
    <id>https://docs.squake.earth/changelog/api#2026-09-02-rem-commuter-and-urban-rail-train-types</id>
    <title>Added: REM commuter and urban rail train types</title>
    <link href="https://docs.squake.earth/changelog/api#2026-09-02-rem-commuter-and-urban-rail-train-types"/>
    <updated>2026-09-02T00:00:00Z</updated>
    <category term="Added"/>
    <content type="text">Two new train types for the REM methodology. Existing train types are unchanged.
added: `items[train].train_type` values `commuter` and `urban_rail`</content>
  </entry>
  <entry>
    <id>https://docs.squake.earth/changelog/api#2026-08-27-flight-schema-no-longer-declares-a-discriminator</id>
    <title>Changed: Flight schema no longer declares a discriminator</title>
    <link href="https://docs.squake.earth/changelog/api#2026-08-27-flight-schema-no-longer-declares-a-discriminator"/>
    <updated>2026-08-27T00:00:00Z</updated>
    <category term="Changed"/>
    <content type="text">The API accepts the same flight payloads as before. Only the OpenAPI description changed: clients generated from it may change shape, so regenerate typed clients and check how they handle flight items.
removed: `Flight` schema: the `methodology` discriminator</content>
  </entry>
</feed>
