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
3.3.1
New features
New actions UPLOAD_CONTENT_REQUEST
, UPLOAD_CONTENT_SUCCESS
, UPLOAD_CONTENT_FAILURE
handling the upload process
New epic uploadFileEpic
to upload a file into the Content Repository
Changes
Entities and Ids reducers can now handle the newly created, upload related actions
sn-client-js version is now upgraded to 2.5.0 (it came out with supporting the upload process and some othe API changes) so some of the repository related function calls needed to be changed mostly in the EpicTests
3.2.2
3.2.1
3.2.0
New features
- New actions
SELECT_CONTENT
andDESELECT_CONTENT
for selecting and deselecting a content. - New actions for loading sensenet actions of a Content (REQUEST_CONTENT_ACTIONS, REQUEST_CONTENT_ACTIONS_SUCCESS, REQUEST_CONTENT_ACTIONS_FAILURE)
childrenaction
reducer handles now the loaded sensenet actions- New reducer
isOpened
to store the content's id on which the action loading was called last time - New function
getOpenedContent
to return the opened content's id from the current state - New function
getChildrenActions
to return the actions of the currently selected content from the current state - New epic
getContentActions
to handle the sensenet action loading process - New function
getCurrentContent
to return the current content object from the current state
Changes
- Dispatching requestContent action is removed from store initialization.
selected
reducer sets value now by the two new actionSELECT_CONTENT
andDESELECT_CONTENT
Fixes
userAvatarPath
contains the value of the Avatar fieldgetError
returns the proper value of the error paramorder
contains the proper order infos
3.1.1
New features
- repository Config is now available in the state tree under
session
- new Action
LoadRepository
for loading the repository Config - new Reducer
getRepositoryUrl
to get the current repository url from the store LoadRepository
Action is called at the store initialization ininitSensenetStoreEpic
- path of the current users avatar image is now available in the state tree under
session.user
3.0.1
3.0.0
Breaking change
- State tree is restructured and refactored, so now the following are the branches at the top level
-- children (contains children item of the current content)
-- currentcontent (contains the current content)
-- selected (contains the selected items)
-- session (contains session with user infos, login state, related error messages, etc.)
New features
- New Action
INIT_SENSENET_STORE
and EpicinitSensenetStoreEpic
for initializing a sensenet redux store to build up the default branches with default values - New Action
USER_CHANGED
to check if the user or one of its properties is changed - New Actions for loading actions of a Content (
LOAD_CONTENT_ACTIONS
,LOAD_CONTENT_ACTIONS_SUCCESS
,LOAD_CONTENT_ACTIONS_FAILURE
)
Changes
- Actions (
RequestContent
,LoadContent
) now working with a typed params attribute - Action that are called on a Content have now a not-normalized response
2.1.0
Features
- New Actions and an Epic for loading a Content from the Content Repository with
repository.Load
- New Actions and an Epic for reloading a Content with
repository.Reload
- New Actions and an Epic for reloding fields of a Content with
repository.ReloadFields
Updates
- Params and their order is changed in CreateContent and UpdateContent Actions to (content, contenttype)
- createContent and updateContent Epics are changed based on the Action changes above
repository.Content.x
calls are changed toaction.content.x
in Content related Epicsrepository.Content.Fetch
is changed toaction.collection.Read
in fetchContent Epic
2.0.0
Fixes
- redux-logger import syntax fix
Updates
- Updated sn-client-js dependency to 2.0.0
- Typescript 2.4.1 support
2.0.0 Release Candidate 2
Changes
- Refactored the some inernal references in Epics regarding the sn-client-js 2.0.0-RC2 changes