Changelog
Want to see how the rest of your backend is evolving? Check out the timeline.
4.1.0
- Jun 7, 2021
- Add support for login hooks
3.2.0
- Dec 10, 2018
- Validated support for node v6.x, node v8.x, and node v10.x
- Updated dependencies
- Adjusted Linitng and fixed linting issues
3.1.2
- Jul 3, 2018
- FLEX-286 Fixed setQuery to propagate on FSR prehook
- Stringify query.query and query.sort if they are objects before returning
3.1.1
- Jul 3, 2018
- FLEX-293 Removed SIGKILL handler to prevent crash
3.1.0
- Jun 29, 2018
- FLEX-270 Added graceful shutdown
- Now on ctrl-c, SIGTERM, SIGINT, or SIGKILL, the sdk will attempt to wait for in-process tasks to finish.
- Will time out and force-quit if all tasks aren't complete in 50 seconds
- Pressing ctrl-c, or sending SIGINT/SIGTERM/SIGKILL a second time will terminate the process immediately.
- FLEX-291 Remove lodash as a dependency
- FLEX-290 Changed destination property in body for sendPush to recipients
- Removed CoffeeScript as a dependency
- Updated code-task-receiver to 2.3.1
- Updated kinvey-datalink-errors to 0.3.2
3.0.0
- Jun 15, 2018
- See README for migration guide
- BREAKING CHANGE: email and push modules now require a callback or promise handlers. They can no longer be executed as "fire and forget".
- FLEX-206 Added Promise support to Asynchronous flex-sdk modules
- dataStore
- userStore
- groupStore
- push
- email
- FLEX-176 Add RoleStore
- FLEX-240 Add endpointRunner to support executing of custom endpoints
- FLEX-246 Use new KCS endpoints for push/email
- FLEX-248 Removed deprecated skipBl and useMasterSecret options for all stores
- FLEX-247 Change baasUrl property to retrieve it from top-level task object
- Updated dependencies with nsp warnings
- Removed lodash isNil package
Flex-sdk 3.x contains several breaking changes as well as new features. To upgrade your service from Flex-sdk 2.x to 3.x:
- All email and push methods now return a promise. It is now required that you either handle the promise, or pass a callback.
- For all stores (e.g. dataStore, userStore, etc), the deprecated options
skipBl
and useMasterSecret
have been removed and no longer function. Use useBl
and useUserContext
instead.
- All asynchonous modules (dataStore, groupStore, roleStore, endpointRunner, userStore, email, and push) now return a promise or accept a callback.
- For more information on what's new, see the Changelog.
Open the Flex SDK GitHub repo for more information and source code.
2.1.0
- May 11, 2018
- Added role helper to the
kinveyEntity
module
- Disable the proxy when using
dataStore
- Disable the proxy for push and email modules
- Fixed errors for null or empty
entityId
s for dataStore
, groupStore
, and userStore
- Updated the
request
module to 2.85.0
- Updated
code-task-receiver
to 2.2.3 to add response object parsing for FlexFunctions
Open the Flex SDK GitHub repo for more information and source code.