-Places: Do not geolocate place with id
-Policies: Allow single Policy access.
-Policies: Add Policy resource to Roles.
-Schemas: Add Schema resource in Operator scope.
-Permissions: Add support for old Permission API.
-Permissions: Add Permission resource to Roles.
- HTTP: Fix incorrect Content-Type header check in Node.
-Roles: Add Role resource in Operator and User scope.
- Files: CRD access in the Operator scope.
- Scopes: Read data from any scope on creation via
$init
.
- Reactor scripts: Add nested reactor script status
resource
app.reactor.script().status()
.
- Auth: Allow to pass FB initialization settings
- Auth: Read user details when login in application
- Reactor logs: Move
app.reactorLog()
resource within theapp.reactor.log()
namespace (only available in evrythng-extended.js). - Search: Global
.search()
has been removed to match API. Use filters instead. - Multimedia: Multimedia resource has been removed to match API.
- Reactor schedules: Add Reactor schedules resource in the
app.reactor.schedule()
namespace (only available in evrythng-extended.js). - Reactor scripts: Add Reactor scripts resource in the
app.reactor.script()
namespace (only available in evrythng-extended.js).
- Collections: Add nested collection resource
operator.collection('id').collection()
.
- Iterator API: Use
sortOrder=DESCENDING
param by default. - Application: Reject
application.$init
promise if app does not exist. - AJAX Headers: Fix response headers not being handled correctly.
- Batches: CRUD access in the Operator scope.
- Batch tasks: CR access in the Batch resource.
- Iterator API: Async generator
iterator()
added to every Resource, supporting looping through the new pagination links. - Utils: Added
forEachAsync()
utility to loop through async generator values. - Utils: Added
spawn()
utility to run through generator function.
- Count:
count()
method on the Resource has been removed.
- AJAX Headers: Header values were being lowercased.
- Request interceptors: Added Promise support for request interceptors.
- Callback API: Make deprecation warning mutable.
- Errors: Added
code
andmoreInfo
and removedmessage
andtype
to/from EVT.js errors. - Callback API: Added deprecation when callbacks are executed.
- Transport: Common transport module for Node.js and Browser.
- Projects: CRUD access in the Operator scope.
- Applications: CRUD access in the Project resource.
- Reactor Logs: RD access in the Operator scope.
- Actions: allow to override global Geolocation setting per request.
- Resource path: newly created entities have wrong resource path [#37].
- Properties: normalize arguments with falsy values (e.g.
0
,false
) on property creation or update.
- Trusted App: updated permissions for TrustedApp scope.
- Custom headers: allow to setup custom headers with headers object option.
- Action Types: CRUD access like other entities.
- Filters: escape special characters for filter param when using object notation.
- Properties: normalize arguments on creation, just like updates. Read properties with special characters.
- Empty fields: empty fields not being sent to API request.
- Encoding: nested params objects (e.g. filters) are only encoded once.
- Trusted App: scope to use with you Application Secret Key, mainly used in Reactor scripts (only available in evrythng-extended.js).
- plugins:
EVT.use()
to install plugin is now synchronous. Callback has been removed. Required dependencies now use$inject
property instead ofrequires
.
- documentation: clearer usage and installation steps. Consistent format from other libs.
- package.json: Github url with
git://
protocol.
- xhr: responses without headers were being ignored.
- interceptors: setup request and response interceptors globally or as a one-off request settings.
- plugins: ability to install/use plugins for additional functionality.
- synchronous requests: sync option removed for Node.js vs Browser consistency and to promote best practices.