- Added support for getting a list of images in an album via
rokka.render.imagesByAlbum
- Added support for locked sourceimages. See the Source images Guide for details.
- Added support for API Tokens. See the Authentication Guide for details
- Added possibility to add a comment to new memberships
- Export more typescript interfaces
- Fix request interface
- Added
rokka.sourceimages.downloadAsBuffer
to get a Buffer more easily - Added
rokka.render(path, method, payload)
to do any request against the rokka API - Fixed return type of body for non JSON responses. It's now always a Stream.
- Added
rokka.sourceimages.addDynamicMetaData
androkka.sourceimages.deleteDynamicMetaData
method.
- Added User Api Keys methods. See https://rokka.io/documentation/references/users-and-memberships.html#rotate-your-api-key for details.
- Added agent transport option (for example for adding proxy options. See the README for an example)
- Added
rokka.sourceimages.putName
method to change the name of an image.
- Actually release the correct version
- Converted to typescript. Even though it's supposed to be 100% backwards compatible, we decided to make this a major release.
- Moved tests from ava to jest and nock.
- Added
rokka.render.signUrl
method. - Added
rokka.render.addStackVariables
method. - Added
rokka.render.getUrlComponents
method. - Added
rokka.sourceimages.setProtected
method (and support for setting it during creation) - Added
rokka.organizations.setOption
method.
- Small, non-code related fixes.
- Use rollup instead of babel for packaging files.
- Replace request package with cross-fetch. rokka.js uses now cross-fetch instead of "request" for making the actual http calls. It's much smaller as the main reason. The object returned as response in the Promises therefore also changed. We tried to make it as backwards compatible as possible with providing the relevant properties as before, but we can't guarantee 100% BC
- Added deleted query support for
rokka.sourceimages.get
androkka.sourceimages.list
- Added
rokka.memberships.get(organization,userId)