Releases: SkygearIO/skygear-SDK-JS
v0.24.1
Incompatible Changes
Separate react-native related logic from main code (#160)
Skygear has special integration with React Native to leverage the
extended capability of the platform. Instead of just importing the normal
skygear, you should do this
import skygear from 'skygear/react-native'Features
- Using lerna to make repo ready for multiple-packages (#192)
- Support plugin only request during plugin initialization (#189)
- Make S3 signer respect url prefix (#214)
- Read
.envas in skygear-server (#179) - Allow config of pg pool size (#201)
- Separate react-native related logic from main code
Bug Fixes
- Fix unable to use SkygearResponse returned from handler
Other Notes
- Refactor the usage of closure and promise
- Upgrade to loadash v4
- Add trailing slash to end-point if missing
v0.23.1
v0.23.0
Features
- Add pubsub.once helper function
- Accept arguments to create profile when creating user
(SkygearIO/skygear-server#54) - Move default ACL to server side (SkygearIO/skygear-server#309)
- Add an function to return user-readable error message
Bug Fixes
- Fix unable to parse boolean value from envvar (#194)
- Fix shared user between containers (#186)
- Fix auth provider not binding when calling
handleAction
Other Notes
- Fix esdoc generation
v0.22.2
v0.22.1
v0.22.0
v0.21.0
Features
- Call includeme in index.js for user cloud code
- Add support for LOAD_MODULES and includeme (#155)
- Accept bundle name when register device (SkygearIO/skygear-server#239)
Bug Fixes
-
Fix unable to start when LOAD_MODULES is not set
This happens because when LOAD_MODULES is not set the parsed module
list will be an array with an empty string. This causes configModule
to be called with an empty string.
v0.20.0
Features
- Set request context when calling cloud code (#143)
- Support unregister device (SkygearIO/skygear-server#245, SkygearIO/skygear-server#249)
- Support union database for cloud code development
- Export SkygearRequest and SkygearResponse
- Add poolConnect to select the app's database schema
- Implement server unknown type (SkygearIO/skygear-server#231)
- Make the cache become LRU cache (#130, #128)
Bug Fixes
-
Fix binary static asset encoding
The existing implementation cannot send binary static asset through
a handler. The new static asset handler returns a buffer so that
that the transport layer uses the buffer's base64 encoding to fix this problem. -
Fix not able to create Record with
idattrThe constructor of Record prefers
idto pass record ID, but it is not
possible to use this attr as the update function will set the record ID
toidproperty, which is readonly.Not having this change will result in TypeError:
TypeError: Cannot set property id of #<Record> which has only a getter
Other Notes
- Fix nodedev Dockerfile working directory
v0.19.2
Features
- Exposing skygear error codes (#51)
- Allow opt-out cache (#76)
- cloud: Support static asset
- Expose pg pool, settings and CloudCodeContainer
Bug Fixes
- cloud: Return error to skygear-server in correct format (#127)
- cloud: Fix undefined result with no event handlers
- cloud: Fix base64 encoding error with utf-16 characters (#126)
Other Notes
- Remove dep on localforage (#39)
- cloud: Update Dockerfile to add NODE_PATH