Skip to content

Releases: team-plain/typescript-sdk

v3.0.1

26 Oct 16:01
fa7fcd5

Choose a tag to compare

Patch Changes

  • b8ab363: Added replyToThread support. This lets you quickly reply to any thread when, for example, building an autoresponder.

v3.0.0

26 Oct 11:50
dce1336

Choose a tag to compare

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 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.

    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 and 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 instead.

    The following methods have been removed from the client:

    • sendChat

v2.19.0

18 Oct 18:13
d4f5a70

Choose a tag to compare

Minor Changes

  • 0869269: Add support for deleting customers (deleteCustomer())

Patch Changes

  • f781425: Improve permission denied error handling so that if you are missing any permissions, the error now tells you which ones they are.

v2.18.0

10 Oct 09:40
8082fb5

Choose a tag to compare

Minor Changes

  • 2ec7d29: Switch out axios for native fetch so that the SDK can be used in edge functions/runtimes.

v2.17.0

09 Oct 18:00
58484af

Choose a tag to compare

Minor Changes

  • d25f9eb: Update CreateThreadInput to take description instead of previewText

v2.16.0

09 Oct 13:35
b47410d

Choose a tag to compare

Minor Changes

  • a817cfa: Fix removing of labels from threads and document client methods which were previously marked as experimental.

v2.15.0

15 Sep 08:30
4198e92

Choose a tag to compare

Minor Changes

  • 0b1f810: Added more queries and mutations relating to threads (experimental)

v2.14.0

14 Sep 14:56
119d226

Choose a tag to compare

Minor Changes

  • 1a69fa8: Add uiComponent builder so you can more easily create ui components for use with the API.

v2.13.1

07 Sep 11:42
96908ff

Choose a tag to compare

Patch Changes

  • bb1ea6a: Updated error handling to avoid ignoring bad input errors

v2.13.0

28 Aug 15:04
4786673

Choose a tag to compare

Minor Changes

  • 18ae5a5: Add support for changing thread priority. Expose ThreadStatus and other useful enums and types