Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Changelog

## 0.2.0 (2026-10-01)


### ⚠ BREAKING CHANGES

* Upgrading from 0.1.x:
* **Type names now come from the API contract.** Names that 0.1.x derived from operations are gone, for example `AssignSmsLineCampaignResponse200ApplicationJson` is now `AssignSmsLineCampaignResponse`. Update imports of renamed types. Methods, requests and responses on the wire keep their names.
* **Account deletion and account service keys no longer accept OAuth tokens** with `account:write`; use an account service key.
* **The SMS line campaign response drops** `campaignObservedAt`, `observedAt`, `operationId`, `providerAssignmentStatus` and `requestedCampaignId`.

### Features

* Add `auth.disableOrganizationSso` (`POST /v1/auth/organizations/{orgId}/sso/disable`).


### Bug Fixes

* Python: the attachment upload body is typed as `bytes`.
* The `Sunset` response header is documented as an HTTP date.


### Documentation

* **postman:** add the Run in Postman button and the public workspace link

## 0.1.1 (2026-09-30)


Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ The public OpenAPI contract of the Photon API, a Postman collection generated
from it, and TypeScript, Python and Rust clients generated from the same
contract.

> **Preview release.** This version is generated from the current production
> contract before all of its schemas have stable names. Types the contract
> does not name yet have names derived from their operation (for example
> `ListProjectsResponse200ApplicationJson`) or carry a version prefix such as
> `Photon20260701_`. These type names change in 0.2.0, when the contract
> names them; the rename does not change requests, responses or method names.

| Language | Package | Install | Documentation |
| --- | --- | --- | --- |
| TypeScript / JavaScript | [`@photon-ai/api`](https://www.npmjs.com/package/@photon-ai/api) | `npm install @photon-ai/api` | [packages/typescript](packages/typescript/README.md) |
Expand All @@ -24,10 +17,11 @@ contract.

## Try it in Postman

Every release also updates the hosted collection in Photon's public Postman
workspace. You can instead download
[`postman/collection.json`](postman/collection.json) and import it into your own
workspace.
[![Run in Postman](https://run.pstmn.io/button.svg)](https://app.getpostman.com/run-collection/58645896-f0273a59-bd8f-4c08-8f76-62b74a7cbdd1?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D58645896-f0273a59-bd8f-4c08-8f76-62b74a7cbdd1%26entityType%3Dcollection%26workspaceId%3D4c8fb23d-a1e6-4292-9475-6696a2618aa8)

The button forks the hosted collection into your own Postman workspace. Every
release updates it in [Photon's public Postman workspace](https://www.postman.com/photonhq/photon-api). You can instead
download [`postman/collection.json`](postman/collection.json) and import it.

1. Set the empty `apiToken` variable to a supported API key or token. Keep it
private.
Expand Down
4 changes: 0 additions & 4 deletions config/sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,5 @@
}
}
}
},
"namingWaiver": {
"reason": "Type names for unnamed schemas are generated and change in 0.2.0, when the production contract names them.",
"until": "0.2.0"
}
}
Loading
Loading