All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- groups: added includeInherited option to groups.getUsersByGroupId, groups.getUsersByGroupName, groups.getChildGroupsByGroupId and groups.getChildGroupsByGroupName operations
- entries: changed entries.search to use either a string, a ManagementQuery or a ManagementZenqlQuery type
- entries: added usage operation to get the usage for a given entry
- add new options for handling entries in recycle bin supported in Contensis 15.2 onwards
- search query accepts new parameters includeDeleted and includeArchived
- add new optional argument to delete entries permanent - default is false
- updated @types/node package to be compatible with the installed TypeScript version
- add paging/search options to group "child group" and "user" listings
- updated packages
- added additional parameters to freeText
- added owner and slug fields to EntrySys class
- the "Authorization" header is using the correct prefix of "Bearer "
- general release for version 2.0
- Query: removed fields property
- users: renamed user properties to 'firstName' and 'lastName'
- users: renamed user properties to 'username', 'firstname' and 'lastname'
- roles: changed role 'name' and 'description' properties type to string
- updated reference to contensis-core-api
- updated reference to contensis-core-api
- events: initial support
- users: create a user with initial status of suspended
- users: added suspend, unlock, unsuspend operations
- client creation: the default Client object targets a platform that already provides a global 'fetch' (e.g. a modern browser). There are UniversalClient and NodejsClient objects for other platforms and scenarios;
- updated EntrySys type definition;
- users and groups: removed 'management' from requests path;
- groups: updated path for adding and removing child groups;
- groups: added addUsers method;
- entries: added search via GET;
- users and groups: added security. namespace for users and groups methods
- client: improved exception handling
- client: added contensisClassicToken field for internal use
- client: added refresh token expiry date and isBearerTokenExpired(), isRefreshTokenExpired() methods
- users: use PATCH instead of PUT for update() , updated User property names
- users: added getCurrent()
- added suport for 'contensis_classic' and 'contensis_classic_refresh_token' flows and changed how a client is created;
- check if running in Node.js when calling specific functions;
- use graceful-fs instead of Node.js module fs for better cross platform support;
- corrected access token expiry check;
- users and groups: changed isInGroup/isinGroups to userIsMemberOf, changed getGroups to getUserGroups;
- full users and groups api implementation;
- initial users api for get and list methods;
- initial groups api for get and list methods;
- use cross-fetch to make configuration identical between browser and Node.js;
- the fetch function can now be injected to support better testing;
- added unit tests for get and list methods;
- fixed bugs discovered by unit tests;
- entries search method;
- support for non language specific workflow events for entries;
- support for deleting entry variations;
- support for defaultHeaders;
- updated Component and Node models;
- full api support for components, roles and permissions;
- full api support for projects, content types, entries and nodes;
- content type and entries api bugfixes;
- added full entries api support;
- added read only content types and entries api support;
- added basic node api support;