Skip to content

Commit dce1336

Browse files
Version Packages (#86)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent dfa8d1c commit dce1336

File tree

4 files changed

+51
-54
lines changed

4 files changed

+51
-54
lines changed

.changeset/brave-candles-agree.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/funny-wombats-act.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,55 @@
11
# @team-plain/typescript-sdk
22

3+
## 3.0.0
4+
5+
### Major Changes
6+
7+
- dfa8d1c: Breaking change `uiComponent.spacer({ spacingSize: 'M' })` is now `uiComponent.spacer({ size: 'M' })` to match naming convention with all other components.
8+
- 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.
9+
10+
The breaking changes are as follows:
11+
12+
## Customer changes
13+
14+
The `customer` object has been simplified thanks to the introduction of the `Thread` object. Specifically the following fields were removed:
15+
16+
- `status`
17+
- `statusChangedAt`
18+
- `assignedToUser`
19+
- `assignedAt`
20+
- `lastIdleAt`
21+
22+
The following related methods have been removed from the client:
23+
24+
- `changeCustomerStatus`
25+
26+
## Issue removal
27+
28+
Issues have been removed and replaced with [Labels](https://www.plain.com/docs/graphql/labels).
29+
30+
The following related methods have been removed from the client:
31+
32+
- `createIssue`
33+
- `resolveIssue`
34+
- `deleteIssue`
35+
- `getIssues`
36+
37+
## Custom Timeline Entries
38+
39+
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).
40+
41+
The following methods have been removed from the client:
42+
43+
- `upsertCustomTimelineEntry`
44+
45+
## Chat
46+
47+
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.
48+
49+
The following methods have been removed from the client:
50+
51+
- `sendChat`
52+
353
## 2.19.0
454

555
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@team-plain/typescript-sdk",
3-
"version": "2.19.0",
3+
"version": "3.0.0",
44
"description": "Typescript SDK for Plain's Core GraphQL API",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

0 commit comments

Comments
 (0)