Releases: ItemConsulting/enonic-fp
Add notifications, task and websocket libraries
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
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:
- Array
- Controllers
Controllers contains functions such as ok()
and errorResponse(req)
that can be used with IOEither.fold
to create the Response
.
Initial release
This release contains Either<Error, T>
wrappers for a subset of methods in the following Enonic libraries:
- auth
- content
- context