- Add meta_static interface and autodescription method to sourceimages API
- Add source image alias support. See the Source Images Alias Guide for details.
- Export StackOperation, StackOptions, Variables from rokka-render for BC reasons
- Use rokka-render.js
- Add
variables
toStackConfig
interface
- Fix url signing when it contains a filename
- Fix hostname replacement in
rokka.render.getUrlFromUrl
- Put variables into ?v when long or have a space in it
- Added variables support to
rokka.render.getUrlFromUrl
androkka.render.getUrl
- Added
rokka.render.getUrlFromUrl(rokkaUrl, stack, options)
to change a rokka render URL string to other stacks/options.
- Remove 3rd parameter in
rokka.sourceimages.downloadAsBuffer
, it's not used. - Add stackoptions option to getUrl 5th parameter
- Add support for downloading a list of images as Zip via
rokka.sourceimages.listDownload
- Fix getting new Token, when apiKey is set via
rokka.user.getNewToken
- 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)