diff --git a/.changeset/brave-candles-agree.md b/.changeset/brave-candles-agree.md deleted file mode 100644 index fd948f7..0000000 --- a/.changeset/brave-candles-agree.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@team-plain/typescript-sdk': major ---- - -Breaking change `uiComponent.spacer({ spacingSize: 'M' })` is now `uiComponent.spacer({ size: 'M' })` to match naming convention with all other components. diff --git a/.changeset/funny-wombats-act.md b/.changeset/funny-wombats-act.md deleted file mode 100644 index dd869ee..0000000 --- a/.changeset/funny-wombats-act.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -'@team-plain/typescript-sdk': major ---- - -Removed deprecated endpoints in support of the release of threads for Plain. For a full migration guide visit [Migrate to threads](https://www.plain.com/docs/migrate-to-threads) on our docs site. - -The breaking changes are as follows: - -## Customer changes - -The `customer` object has been simplified thanks to the introduction of the `Thread` object. Specifically the following fields were removed: - -- `status` -- `statusChangedAt` -- `assignedToUser` -- `assignedAt` -- `lastIdleAt` - -The following related methods have been removed from the client: - -- `changeCustomerStatus` - -## Issue removal - -Issues have been removed and replaced with [Labels](https://www.plain.com/docs/graphql/labels). - -The following related methods have been removed from the client: - -- `createIssue` -- `resolveIssue` -- `deleteIssue` -- `getIssues` - -## Custom Timeline Entries - -Custom timeline entries have been split into two more specific APIs: [threads](https://www.plain.com/docs/graphql/threads) and [events](https://www.plain.com/docs/graphql/events). - -The following methods have been removed from the client: - -- `upsertCustomTimelineEntry` - -## Chat - -Chat support in Plain has been deprecated. As a replacement you may want to consider building a [contact form](https://www.plain.com/docs/contact-forms-setup) instead. - -The following methods have been removed from the client: - -- `sendChat` diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f04fc8..04a9ca2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,55 @@ # @team-plain/typescript-sdk +## 3.0.0 + +### Major Changes + +- dfa8d1c: Breaking change `uiComponent.spacer({ spacingSize: 'M' })` is now `uiComponent.spacer({ size: 'M' })` to match naming convention with all other components. +- dfa8d1c: Removed deprecated endpoints in support of the release of threads for Plain. For a full migration guide visit [Migrate to threads](https://www.plain.com/docs/migrate-to-threads) on our docs site. + + The breaking changes are as follows: + + ## Customer changes + + The `customer` object has been simplified thanks to the introduction of the `Thread` object. Specifically the following fields were removed: + + - `status` + - `statusChangedAt` + - `assignedToUser` + - `assignedAt` + - `lastIdleAt` + + The following related methods have been removed from the client: + + - `changeCustomerStatus` + + ## Issue removal + + Issues have been removed and replaced with [Labels](https://www.plain.com/docs/graphql/labels). + + The following related methods have been removed from the client: + + - `createIssue` + - `resolveIssue` + - `deleteIssue` + - `getIssues` + + ## Custom Timeline Entries + + Custom timeline entries have been split into two more specific APIs: [threads](https://www.plain.com/docs/graphql/threads) and [events](https://www.plain.com/docs/graphql/events). + + The following methods have been removed from the client: + + - `upsertCustomTimelineEntry` + + ## Chat + + Chat support in Plain has been deprecated. As a replacement you may want to consider building a [contact form](https://www.plain.com/docs/contact-forms-setup) instead. + + The following methods have been removed from the client: + + - `sendChat` + ## 2.19.0 ### Minor Changes diff --git a/package.json b/package.json index 88844be..1638a01 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@team-plain/typescript-sdk", - "version": "2.19.0", + "version": "3.0.0", "description": "Typescript SDK for Plain's Core GraphQL API", "main": "dist/index.js", "module": "dist/index.mjs",