Skip to content

Releases: ItemConsulting/enonic-fp

Add notifications, task and websocket libraries

28 Dec 10:48
58957a2
Compare
Choose a tag to compare

New wrappers are added for the following libraries

  • Notifications
  • Task
  • Websocket

Existing libraries has been updated to be compatible with the latest version of enonic-types.

Re-implement EnonicError

18 Sep 12:29
c13f4e7
Compare
Choose a tag to compare

The EnonicError type has been reimplemented to use RFC 7807 as the error format. This is also a simpler structure then before, so it will make things easier moving forward.

enonic-fp has also received some functions that previously was found in enonic-wizardry. These functions are viewed as essential to using functional programming with Enonic, and so they are moved here, so that we are not always dependent to also have enonic-wizardry installed. The module moved over are:

  1. Array
  2. Controllers

Controllers contains functions such as ok() and errorResponse(req) that can be used with IOEither.fold to create the Response.

Initial release

28 Aug 13:49
Compare
Choose a tag to compare
Initial release Pre-release
Pre-release

This release contains Either<Error, T> wrappers for a subset of methods in the following Enonic libraries:

  • auth
  • content
  • context
  • mail