- Expose
session.config
. See documentation. - Use
Promise.reject
instead ofthrow
in the api and error response interceptors. - Removed
bluebird
dependency in tests. - Made
retry aborted
example more robust.
- Bugfix for response interceptor execution order
- Bugfix for failed delta patching when falsy values are unchanged
-
Possibility to add request interceptors. See documentation.
-
Bugfix for delta flag (was unable to turn it off, regression from 2.0 rewrite)
-
New schema: 12.34.11
- Bugfix for suspended state when network caused a socket disconnect.
- Bugfix for
suspendOnClose
configuration option when session is closed by network.
This is a new major version and introduces some breaking changes. Please check the migration guide and make sure you understand the impact on your application before upgrading.
See migration guide.
- Interceptor concept publicly available. See documentation.
- Support for named QIX method parameters. See documentation.
- New optional module sense-utilities. See documentation.
- No more product-specific configuration, 23 settings down to 8. See documentation.
- Dropped enigma.js REST service. See documentation.
- File size is ~15 times smaller (around 7kb gzipped)
- Full control of session life-cycles. See documentation.
- Bugfix related to suspend/resume, notification should be qSessionState (not qConnectedState).
- Suspend/Resume: It is now possible to suspend an resume qix sessions. See session.md.
- Logging (QIX/REST): It is now possible to (optionally) log traffic (request/response), this may be expanded to log other things in the future. See configuration entry
handleLog
for QIX and REST. - API types (QIX): All object APIs returned from enigma.js now exposes their generic type (e.g.
sheet
), and their "engine" type (e.g.GenericObject
). They can be accessed usingapi.genericType
andapi.type
. - URL Parameters (QIX): You can now specify additional querystring parameters that should be added to the websocket URL by using
session.urlParams
configuration option. See configuration documentation. - New schema (QIX): A schema for version
3.2
has been added. - Documentation (QIX): Added documentation of the object API
.session
property, which (among other things) allows you to close apps.
- Configuration (QIX):
config.session.reloadUri
in favor ofconfig.session.urlParams
. - Configuration (QIX/REST):
config.unsecure
(defaultfalse
) in favor ofconfig.secure
(defaulttrue
).
Broken release. Do not use.
- Fix #5: Make / optional in prefix
Initial public release.