This repository has been archived by the owner on Jan 4, 2019. It is now read-only.
Releases: SenseNet/sn-redux
Releases · SenseNet/sn-redux
5.1.0
5.0.0
Changes and improvement
- Reviewed and improved the type safety of all reducers and actions
- Updated the @sensenet/redux-promise-middleware to the latest version
4.1.2
4.1.1
4.1.0
New features
- A new action
changeFieldValue
is added to bind input controls of a form to properties in the redux store field
reducer is changed to hold updated field values after dispatchingchangeFieldValue
- A new reducer
getFields
is created to return list of changed fields and their values - Custom enhancer can be added at store creation
- Redux DevTools can be switched on at store creation (related issue: #85)
Changes
- Properties of
CreateStoreOptions
are now typed (related issue: #84) - redux-logger can be switched off at store creation.
Fixes
loginState
is now set toPending
whenUSER_LOGIN_LOADING
is dispatched (related issue: #83)ids
reducer is now fixed and contains the appropriate id list after dispatchingcreateContent
action (related issue: #87)loginState
is now set toUnauthenticated
if the login request responses with false in the payloadloginError
is now contains an error message if the login request responses with false in the payload- empty
userLoginGoogle
is now implemented in this version like it was before in the redux-observable Epic-era before version 4.0.0
4.0.1
3.4.3
Changes
- Internal modules are changed to namespaces (thx to @B3zo0)
Fixes
- Epic tests are fixed after the latest version of redux-mock-store (v1.5.1)
- Fix
entities
reducer if the action has not the common response type
3.4.2
3.4.1
3.4.0
New features
Upload
- Three new actions:
UPLOAD_CONTENT_REQUEST
,UPLOAD_CONTENT_SUCCESS
,UPLOAD_CONTENT_FAILURE
- One new Epic:
uploadFileEpic
ids
andentities
will be updated after content is successfully uploaded
Batch actions
- Three new actions for batch copying:
COPY_BATCH_REQUEST
,COPY_BATCH_SUCCESS
,COPY_BATCH_FAILURE
- Three new actions for batch moving:
MOVE_BATCH_REQUEST
,MOVE_BATCH_SUCCESS
,MOVE_BATCH_FAILURE
- Three new actions for batch deleting:
DELETE_BATCH_REQUEST
,DELETE_BATCH_SUCCESS
,DELETE_BATCH_FAILURE
- Three new epics:
deleteBatchEpic
,copyBatchEpic
,moveBatchEpic
ids
andentities
will be updated after content items are successfully copied, moved or deletedbatchResponses
reducer holds data about batch operations (responses, errormessages)
Authentication with Google account
- A new action for login a user with her Google account
UserLoginGoogle
- One new epic
userLoginGoogleEpic
- After success response everything works the same as in the case of simple authentication with jwt