Skip to content

Releases: Leonidas-from-XIV/slacko

0.15.0

17 Feb 09:27
Compare
Choose a tag to compare

CHANGES:

  • Better handling of timestamps (@paurkedal)
  • Update user type to match what Slack returns (@Khady)
  • Update OPAM metadata to 2.0 format
  • Fixed brittle build

0.14.1

28 Aug 18:50
Compare
Choose a tag to compare

CHANGES:

  • Support additional arguments to chat.post_message and chat.update
  • Adjust build process to use dune instead of jbuilder
  • Replace topkg code with dune-release

More typing, less broken endpoints

29 Jun 18:27
Compare
Choose a tag to compare

This release fixes a number of previously broken endpoints and adds an integration test to make sure that whatever is implemented keeps on working.

Further strenghtened type safety by removing stringly types

12 Dec 20:15
Compare
Choose a tag to compare
  • Added type chat to abstract away from all types of channels Slack supports
  • Removed topic-is-too-long errors as the binding checks the topic length beforehand
  • Added conversation as a new type instead of string IM conversation type
  • More syntactic sugar in code, endpoint definitions now a long pipe

Type safety increased, more Slack API supported

29 Nov 15:44
Compare
Choose a tag to compare

The binding now looks up User/Channel/Group IDs and rejects invalid ones. The message length is now validated: messages that are too long cannot be generated anymore.

Adds support for some more new Slack methods:

  • channels.archive
  • channels.create
  • channels.rename
  • channels.unarchive
  • groups.archive
  • groups.rename
  • groups.unarchive

API calls now represented by proper types

19 Oct 12:51
Compare
Choose a tag to compare

In this release, one of the main criticisms was addressed: the API calls are now represented by their own types, so there are now channel types, user types and many more. Some parameters can have only a limited number of values, these are also represented using their own types so calling the methods with incorrect values is impossible.

The code was updated to use the new Lwt 2.4.6 ppx macros instead of CamlP4, so this is the minimum required release. Also, better use OCaml 4.02.0 for improved support for ppx.

More API coverage, better types

06 Oct 09:53
Compare
Choose a tag to compare

Added users.info method, broken up apierror into a set of more relevant types per function.

First public release: 0.9.0

01 Oct 20:04
Compare
Choose a tag to compare

Time to get this code to the internetz! Features: 100% API coverage and a handy tool to post messages to Slack. Also, some rudimentary docs and a neat logo made by yours truly.