Releases: Leonidas-from-XIV/slacko
0.15.0
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
CHANGES:
- Support additional arguments to
chat.post_message
andchat.update
- Adjust build process to use
dune
instead ofjbuilder
- Replace
topkg
code withdune-release
More typing, less broken endpoints
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
- 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
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
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
Added users.info
method, broken up apierror
into a set of more relevant types per function.
First public release: 0.9.0
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.