Skip to content

Releases: useshortcut/shortcut-client-js

v0.10.0

22 Jan 15:35
Compare
Choose a tag to compare

v0.9.0

05 Nov 21:11
Compare
Choose a tag to compare

In order to provide trust-worthy types to interface with Clubhouse's API, this library has been rewritten in TypeScript. 🎉

TypeScript definitions are — of course — still exported, but they're generated directly from the source code.

Flow type definitions are now generated based on our TypeScript definitions, and are available in this package, thanks to flowgen.

At the same time, we updated our types to match with our latest version of the API (v3).

Breaking Changes

  • API calls are now using v3 by default. Thanks to @jeremyheiler.
  • Types have been updated to match with API v3. (Documentation available here)
  • Exports are compatible with CommonJS.

👏 Thanks to everyone who contributed to this release, and a special thanks to @j-martin who lead the way to TypeScript.

v0.8.0

23 Aug 18:40
Compare
Choose a tag to compare

Add support for:

  • edit story comment
  • delete story comment
  • list labels
  • add a label
  • delete reaction
  • add reaction

v0.6.0

25 Apr 15:33
Compare
Choose a tag to compare

Breaking Changes

v0.4.1

12 Feb 17:49
Compare
Choose a tag to compare
  • Fix GET requests that include parameters by combining token with existing parameters: #30

v0.3.1

11 Oct 14:45
Compare
Choose a tag to compare

Add support for supplying query params to GET requests.

v0.3.0

20 Feb 15:07
Compare
Choose a tag to compare

Breaking changes

  • Catch response parsing errors as ClientError (#21) (Thanks @andjosh!)
    • This may cause some more errors to be thrown at call sites, which users will need to handle. As such, it's been marked as a breaking change.

v0.1.6

15 Jun 15:39
Compare
Choose a tag to compare
  • Fixes issue with story comment endpoint

v0.1.1

29 Mar 15:07
Compare
Choose a tag to compare

Fix issue with Flowtypes being mismatched for consumers.

v0.1.0

27 Mar 23:29
Compare
Choose a tag to compare

Breaking Changes

  • new Clubhouse(token) is now Clubhouse.create(token)
  • Configuration options (such as API endpoint and version) are now passed in to the constructor, along with a request factory.

What's New

  • Rewritten core using flowtype.