Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Releases: SenseNet/sn-redux

3.3.1

24 Oct 11:42
Compare
Choose a tag to compare

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

09 Oct 13:11
Compare
Choose a tag to compare

New features

New action CLEAR_SELECTION for clearing the selected reducer

Fixes

Entity list is not broken after UPDATE_CONTENT_SUCCESS

3.2.1

22 Sep 11:12
Compare
Choose a tag to compare

Fixes

  • Ordering of the action dispatches in the login process are now fixed: there's a new action called 'USER_LOGIN_BUFFER' to handle the state, when the user is logged in, but the user content is not returned yet

3.2.0

19 Sep 15:35
Compare
Choose a tag to compare

New features

  • New actions SELECT_CONTENT and DESELECT_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 action SELECT_CONTENT and DESELECT_CONTENT

Fixes

  • userAvatarPath contains the value of the Avatar field
  • getError returns the proper value of the error param
  • order contains the proper order infos

3.1.1

31 Aug 11:27
Compare
Choose a tag to compare

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 in initSensenetStoreEpic
  • path of the current users avatar image is now available in the state tree under session.user

3.0.1

28 Aug 08:07
Compare
Choose a tag to compare

Fix:

  • checkoutLoginState Epic now returns null instead of error message when user is not authenticated

3.0.0

22 Aug 11:23
Compare
Choose a tag to compare

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 Epic initSensenetStoreEpic 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

31 Jul 09:41
Compare
Choose a tag to compare

Features

  • New Actions and an Epic for loading a Content from the Content Repository withrepository.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 to action.content.x in Content related Epics
  • repository.Content.Fetch is changed to action.collection.Read in fetchContent Epic

2.0.0

05 Jul 11:48
Compare
Choose a tag to compare

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

16 May 09:04
Compare
Choose a tag to compare
Pre-release

Changes